CN105635337A - Method for binding iOS device, iOS device and auxiliary device - Google Patents
Method for binding iOS device, iOS device and auxiliary device Download PDFInfo
- Publication number
- CN105635337A CN105635337A CN201511030135.3A CN201511030135A CN105635337A CN 105635337 A CN105635337 A CN 105635337A CN 201511030135 A CN201511030135 A CN 201511030135A CN 105635337 A CN105635337 A CN 105635337A
- Authority
- CN
- China
- Prior art keywords
- ios device
- mac address
- ios
- broadcast
- auxiliary equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
- H04L61/3015—Name registration, generation or assignment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for binding an iOS device, the iOS device and an auxiliary device. The method comprises following steps that (11): the iOS device sends broadcast information to the auxiliary device in a local area network; (12): the iOS device waits to receive replying information sent by the auxiliary device; (13): the iOS device acquires own MAC address in the replying information; (14): the iOS device uses the MAC address to generate an unique identifier itself; and (15): the iOS and the iOS device unique identification are bonded. Thus, it is achieved that a binding relation between an iOS application and the iOS device is not affected by re-installation of the application or resetting of a system, thereby achieving that a user can use a customized network service provided by the iOS application without registration and achieving precise information pushing.
Description
Technical field
The present invention relates to and a kind of bind the method for iOS device, iOS device and auxiliary equipment.
Background technology
From iOS7, application developer can be obtained iOS device uniquely identified method and limit by Apple, and iOS application cannot be passed through to iOS device acquisition request MAC (Medium/MediaAccessControl) address. UUID (UniversallyUniqueIdentifier, general unique identifier) allows all elements in distributed system, can have unique identification information, without the appointment doing identification information through central control terminal. So, each application could set up not with the UUID of other application collision. In the case, title replication problem during Database just is not needed to consider. Apple's suggestion uses UUID to generate unique identification strings for application. But, after application is deleted or system resets, UUID is just invalid, when application is installed again, can generate again new UUID, so UUID is it cannot be guaranteed that uniquely identify this equipment.
Summary of the invention
The purpose of the present invention is contemplated to solve the problems referred to above, there is provided a kind of and bind the method for iOS device, iOS device and auxiliary equipment, it solve and start, from iOS7, the problem that application cannot obtain iOS device MAC, MAC Address is utilized to generate unique mark the iOS application binding of iOS device, achieve iOS application and iOS device binding relationship is not reinstalled by application or the impact of system replacement, and then the customization network service that iOS device just can use iOS application to provide without user's registration can be realized, and realize message propelling movement accurately etc.
To achieve these goals, the present invention adopts the following technical scheme that
A kind of method binding iOS device, comprises the steps:
Step (11): iOS device sends broadcast to the auxiliary equipment in LAN;
Step (12): what the auxiliary equipment to be received such as iOS device was sent replies message;
Step (13): iOS device is from the MAC Address replying message middle acquisition self;
Step (14): iOS device uses MAC Address to generate unique mark of iOS device;
Step (15): iOS device and iOS device uniquely identify binds.
Described broadcast is RARP broadcast or gratuitous ARP broadcast.
Described step (14) is further: iOS device directly uses MAC Address uniquely to identify as iOS device; Or iOS device uses hash algorithm that MAC Address is carried out computing, and is uniquely identified as iOS device by operation result; Or iOS device uses hash algorithm that MAC Address and additional information are carried out computing, and is uniquely identified as iOS device by operation result.
Described additional information is eigenvalue and/or the random number of iOS application.
A kind of method binding iOS device, comprises the steps:
Step (21): auxiliary equipment receives the broadcast that iOS device sends;
Step (22): auxiliary equipment obtains the MAC Address of iOS device from broadcast;
Step (23): described MAC Address is encapsulated in replying message by auxiliary equipment;
Step (24): auxiliary equipment transmits a reply message to iOS device.
Described broadcast is RARP broadcast or gratuitous ARP broadcast.
A kind of iOS device, including:
First data transmit-receive module, is configured to receive and transmit broadcast;
First MAC Address acquisition module, is configured to obtain the MAC Address of self in broadcast;
Unique identifier generation module, is configured to, with hash algorithm and uniquely identifies according to MAC Address generation iOS device;
Uniquely identify binding module, be configured to uniquely identify the iOS device of generation bind with iOS device.
Described unique identifier generation module generates uniquely identified method: directly use MAC Address uniquely to identify as iOS device; Or use hash algorithm that MAC Address is carried out computing, and operation result is uniquely identified as iOS device; Or use hash algorithm that MAC Address and additional information are carried out computing, and operation result is uniquely identified as iOS device.
A kind of auxiliary equipment, including:
Second data transmit-receive module, is configured to receive iOS device and sends over broadcast and transmit a reply message to iOS device;
Second MAC Address acquisition module, is configured to obtain the MAC Address of iOS device from the broadcast that iOS device is sent;
Reply message generation module, in being configured to be encapsulated into the MAC Address of the iOS device of acquisition and replying message, and be sent to iOS device by the second data transmit-receive module.
Described second MAC Address acquisition module is additionally configured to obtain MAC Address according to gratuitous ARP agreement or RARP protocol analysis broadcast.
Beneficial effects of the present invention: the invention solves and start, from iOS7, the problem that application cannot obtain iOS device MAC, MAC Address is utilized to generate unique mark the iOS application binding of iOS device, it is achieved that the impact that iOS application and iOS device binding relationship are not reinstalled by application or system resets. MAC Address is that the whole world is unique and changeless, even if system resets or application is reinstalled without causing that MAC Address changes, and then is not result in changing with unique mark of the iOS device of iOS application binding. So after iOS application with iOS device binding, iOS application can use unique mark of iOS device to log in cloud service, it is not necessary to user registers; Cloud service can also provide accurately message push and customize service by iOS application for iOS device according to iOS device mark.
Accompanying drawing explanation
Fig. 1 is the method for the invention embodiment 1 flow chart;
Fig. 2 is the method for the invention embodiment 2 flow chart;
Fig. 3 is iOS device structural representation of the present invention;
Fig. 4 is auxiliary device structure schematic diagram of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the invention will be further described with embodiment.
Embodiment 1:
As it is shown in figure 1, a kind of method binding iOS device, comprise the steps:
Step (11): iOS device sends broadcast to the auxiliary equipment in LAN;
Step (12): what the auxiliary equipment to be received such as iOS device was sent replies message;
Step (13): iOS device is from the MAC Address replying message middle acquisition self;
Step (14): iOS device uses MAC Address to generate unique mark of iOS device;
Step (15): iOS device and iOS device uniquely identify binds.
Described broadcast is RARP broadcast or gratuitous ARP broadcast.
Described step (14) is further: iOS device directly uses MAC Address uniquely to identify as iOS device; Or iOS device uses hash algorithm that MAC Address is carried out computing, and is uniquely identified as iOS device by operation result; Or iOS device uses hash algorithm that MAC Address and additional information are carried out computing, and is uniquely identified as iOS device by operation result.
Described hash algorithm is MD5 algorithm.
Radio communication is carried out by wireless router between described iOS device and described auxiliary equipment.
Described additional information is eigenvalue and/or the random number of iOS application.
Described iOS device is to be provided with the mobile phone of iOS system, PAD, Set Top Box, television set or computer.
Embodiment 2:
As in figure 2 it is shown, a kind of method binding iOS device, comprise the steps:
Step (21): auxiliary equipment receives the broadcast that iOS device sends;
Step (22): auxiliary equipment obtains the MAC Address of iOS device from broadcast;
Step (23): described MAC Address is encapsulated in replying message by auxiliary equipment;
Step (24): auxiliary equipment transmits a reply message to iOS device.
Described broadcast is RARP broadcast or gratuitous ARP broadcast.
Described auxiliary equipment is Set Top Box, television set, mobile phone or PAD.
As it is shown on figure 3, a kind of iOS device, including:
First data transmit-receive module, is configured to receive and transmit broadcast;
First MAC Address acquisition module, is configured to obtain the MAC Address of self in broadcast;
Unique identifier generation module, is configured to, with hash algorithm and uniquely identifies according to MAC Address generation iOS device;
Uniquely identify binding module, be configured to uniquely identify the iOS device of generation bind with iOS device.
Described unique identifier generation module generates uniquely identified method: directly use MAC Address uniquely to identify as iOS device; Or use hash algorithm that MAC Address is carried out computing, and operation result is uniquely identified as iOS device; Or use hash algorithm that MAC Address and additional information are carried out computing, and operation result is uniquely identified as iOS device.
As shown in Figure 4, a kind of auxiliary equipment, including:
Second data transmit-receive module, is configured to receive iOS device and sends over broadcast and transmit a reply message to iOS device;
Second MAC Address acquisition module, is configured to obtain the MAC Address of iOS device from the broadcast that iOS device is sent;
Reply message generation module, in being configured to be encapsulated into the MAC Address of the iOS device of acquisition and replying message, and be sent to iOS device by the second data transmit-receive module.
Described second MAC Address acquisition module is additionally configured to obtain MAC Address according to gratuitous ARP agreement or RARP protocol analysis broadcast.
The specific embodiment of the present invention is described in conjunction with accompanying drawing although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme, those skilled in the art need not pay various amendments or deformation that creative work can make still within protection scope of the present invention.
Claims (10)
1. the method binding iOS device, is characterized in that, comprises the steps:
Step (11): iOS device sends broadcast to the auxiliary equipment in LAN;
Step (12): what the auxiliary equipment to be received such as iOS device was sent replies message;
Step (13): iOS device is from the MAC Address replying message middle acquisition self;
Step (14): iOS device uses MAC Address to generate unique mark of iOS device;
Step (15): iOS device and iOS device uniquely identify binds.
2. the method binding iOS device as claimed in claim 1, is characterized in that, described broadcast is RARP broadcast or gratuitous ARP broadcast.
3. the method binding iOS device as claimed in claim 1, is characterized in that, described step (14) is further: iOS device directly uses MAC Address uniquely to identify as iOS device; Or iOS device uses hash algorithm that MAC Address is carried out computing, and is uniquely identified as iOS device by operation result; Or iOS device uses hash algorithm that MAC Address and additional information are carried out computing, and is uniquely identified as iOS device by operation result.
4. the method binding iOS device as claimed in claim 3, is characterized in that, described additional information is eigenvalue and/or the random number of iOS application.
5. the method binding iOS device, is characterized in that, comprises the steps:
Step (21): auxiliary equipment receives the broadcast that iOS device sends;
Step (22): auxiliary equipment obtains the MAC Address of iOS device from broadcast;
Step (23): described MAC Address is encapsulated in replying message by auxiliary equipment;
Step (24): auxiliary equipment transmits a reply message to iOS device.
6. the method binding iOS device as claimed in claim 5, is characterized in that, described broadcast is RARP broadcast or gratuitous ARP broadcast.
7. an iOS device, is characterized in that, including:
First data transmit-receive module, is configured to receive and transmit broadcast;
First MAC Address acquisition module, is configured to obtain the MAC Address of self in broadcast;
Unique identifier generation module, is configured to, with hash algorithm and uniquely identifies according to MAC Address generation iOS device;
Uniquely identify binding module, be configured to uniquely identify the iOS device of generation bind with iOS device.
8. iOS device as claimed in claim 7, is characterized in that, described unique identifier generation module generates uniquely identified method and is: directly use MAC Address uniquely to identify as iOS device; Or use hash algorithm that MAC Address is carried out computing, and operation result is uniquely identified as iOS device; Or use hash algorithm that MAC Address and additional information are carried out computing, and operation result is uniquely identified as iOS device.
9. an auxiliary equipment, is characterized in that, including:
Second data transmit-receive module, is configured to receive iOS device and sends over broadcast and transmit a reply message to iOS device;
Second MAC Address acquisition module, is configured to obtain the MAC Address of iOS device from the broadcast that iOS device is sent;
Reply message generation module, in being configured to be encapsulated into the MAC Address of the iOS device of acquisition and replying message, and be sent to iOS device by the second data transmit-receive module.
10. assisting equipment as claimed in claim 9, it is characterized in that, described second MAC Address acquisition module is additionally configured to obtain MAC Address according to gratuitous ARP agreement or RARP protocol analysis broadcast.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030135.3A CN105635337A (en) | 2015-12-31 | 2015-12-31 | Method for binding iOS device, iOS device and auxiliary device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511030135.3A CN105635337A (en) | 2015-12-31 | 2015-12-31 | Method for binding iOS device, iOS device and auxiliary device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105635337A true CN105635337A (en) | 2016-06-01 |
Family
ID=56049803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511030135.3A Pending CN105635337A (en) | 2015-12-31 | 2015-12-31 | Method for binding iOS device, iOS device and auxiliary device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105635337A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658586A (en) * | 2016-12-05 | 2017-05-10 | 任子行网络技术股份有限公司 | Method used for acquiring MAC address of iOS device |
CN107330342A (en) * | 2017-06-23 | 2017-11-07 | 广州市百果园信息技术有限公司 | Identification method and device, the storage medium of iOS device |
CN109167851A (en) * | 2018-09-18 | 2019-01-08 | 青岛海信电器股份有限公司 | A kind of method and device obtaining MAC Address |
CN114491680A (en) * | 2021-12-28 | 2022-05-13 | 山东赤子城网络技术有限公司 | Method and system for obtaining unique identifier of iOS terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030076837A1 (en) * | 2001-10-23 | 2003-04-24 | Whitehill Eric A. | System and method for providing a congestion optimized address resolution protocol for wireless Ad-Hoc Networks |
CN103095903A (en) * | 2011-11-08 | 2013-05-08 | 深圳市快播科技有限公司 | Method and system of remotely controlling set top box by cellphone |
CN103259732A (en) * | 2013-04-03 | 2013-08-21 | 北京邮电大学 | SDN broadcast processing method triggering agent based on ARP event |
CN103647856A (en) * | 2013-12-23 | 2014-03-19 | 成都西加云杉科技有限公司 | Method and device for application (APP) to obtain media access control (MAC) address of terminal |
CN105144652A (en) * | 2013-01-24 | 2015-12-09 | 惠普发展公司,有限责任合伙企业 | Address resolution in software-defined networks |
-
2015
- 2015-12-31 CN CN201511030135.3A patent/CN105635337A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030076837A1 (en) * | 2001-10-23 | 2003-04-24 | Whitehill Eric A. | System and method for providing a congestion optimized address resolution protocol for wireless Ad-Hoc Networks |
CN103095903A (en) * | 2011-11-08 | 2013-05-08 | 深圳市快播科技有限公司 | Method and system of remotely controlling set top box by cellphone |
CN105144652A (en) * | 2013-01-24 | 2015-12-09 | 惠普发展公司,有限责任合伙企业 | Address resolution in software-defined networks |
CN103259732A (en) * | 2013-04-03 | 2013-08-21 | 北京邮电大学 | SDN broadcast processing method triggering agent based on ARP event |
CN103647856A (en) * | 2013-12-23 | 2014-03-19 | 成都西加云杉科技有限公司 | Method and device for application (APP) to obtain media access control (MAC) address of terminal |
Non-Patent Citations (1)
Title |
---|
阿妙: ""ios7或以后将不能使用MAC地址生成设备的唯一标识"", 《HTTP:https://QA.BLOG.163.COM/BLOG/STATIC/19014700220136115218919/》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658586A (en) * | 2016-12-05 | 2017-05-10 | 任子行网络技术股份有限公司 | Method used for acquiring MAC address of iOS device |
CN106658586B (en) * | 2016-12-05 | 2019-12-06 | 任子行网络技术股份有限公司 | Method for collecting MAC address of iOS device |
CN107330342A (en) * | 2017-06-23 | 2017-11-07 | 广州市百果园信息技术有限公司 | Identification method and device, the storage medium of iOS device |
CN109167851A (en) * | 2018-09-18 | 2019-01-08 | 青岛海信电器股份有限公司 | A kind of method and device obtaining MAC Address |
CN109167851B (en) * | 2018-09-18 | 2021-06-29 | 海信视像科技股份有限公司 | Method and device for acquiring MAC address |
CN114491680A (en) * | 2021-12-28 | 2022-05-13 | 山东赤子城网络技术有限公司 | Method and system for obtaining unique identifier of iOS terminal equipment |
CN114491680B (en) * | 2021-12-28 | 2023-03-24 | 山东赤子城网络技术有限公司 | Method and system for obtaining unique identifier of iOS terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9462457B2 (en) | Subscription transfer method, apparatus, and system | |
US10270648B2 (en) | Configuration information management method, device, network element management system and storage medium | |
EP2590382B1 (en) | Method and apparatus for tracking device management data changes | |
CN104137518A (en) | Internet protocol connectivity over a service-oriented architecture bus | |
CN103475751B (en) | A kind of method and device of IP address switching | |
EP3022969B1 (en) | Method and system for providing multiple service discovery in a wireless environment | |
KR102059282B1 (en) | Improved Neighbor Discovery in Communication Networks | |
CN102811435A (en) | Method and system for smart phone user identity identification | |
CN105635337A (en) | Method for binding iOS device, iOS device and auxiliary device | |
CN103312708A (en) | Lease file based IP (internet protocol) setting method and system | |
CN104113435A (en) | Method and device for generating identifier | |
CN104853023A (en) | Distribution method and system for electronic business card | |
CN105827463B (en) | A kind of configuration method of client traffic, apparatus and system | |
CN102970387A (en) | Domain name resolution method, device and system | |
WO2019009263A1 (en) | Apparatus and method for remotely managing devices, and program therefor | |
US20120233352A1 (en) | Method and system for managing internet address based on terminal | |
KR20170124055A (en) | APPARATUS FOR COMPATIBILITY BETWEEN ZIGBEE AND CoAP | |
US20160100021A1 (en) | Information processing device, destination information updating method, and record medium | |
CN103701673A (en) | LAN (Local Area Network) equipment query method, device and router | |
KR20160103110A (en) | Network element data access method and apparatus, and network management system | |
CN105472054B (en) | A kind of file transmitting method and access device | |
CN104969598A (en) | Method and device for communication using white spectrum | |
CN115914981A (en) | Auxiliary sensing method and device, network side equipment and terminal | |
CN103532852A (en) | Routing scheduling method, routing scheduling device and network equipment | |
CN105338517B (en) | Send method, mobile broadband equipment and the host of message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160601 |
|
RJ01 | Rejection of invention patent application after publication |