AU2016277747B2 - Method and device for transmitting verification information - Google Patents
Method and device for transmitting verification information Download PDFInfo
- Publication number
- AU2016277747B2 AU2016277747B2 AU2016277747A AU2016277747A AU2016277747B2 AU 2016277747 B2 AU2016277747 B2 AU 2016277747B2 AU 2016277747 A AU2016277747 A AU 2016277747A AU 2016277747 A AU2016277747 A AU 2016277747A AU 2016277747 B2 AU2016277747 B2 AU 2016277747B2
- Authority
- AU
- Australia
- Prior art keywords
- verification information
- sets
- multicast frames
- information
- multiple sub
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A method and a device for transmitting verification information are disclosed.
The method includes following steps: separating the verification information into
multiple sub-verification information; numbering the multiple sub-verification
5 information of the verification information in accordance with sequence numbers of
the multiple sub-verification information in the verification information; generating
sets of multicast frames according to the multiple sub-verification information and the
sequence numbers of the multiple sub-verification information; selecting one set of
multicast frames to be filled with the length of the verification information;
10 transmitting generated sets of multicast frames, when the overall length of the
sub-verification information in the sets of multicast frames received by the recipient,
equating to the length of the verification information in the sets of multicast
information, recombining the sub-verification information to obtain the verification
information according to the sequence numbers of the sub-verification information. A
15 device for transmitting verification information are also disclosed. The present
invention enables a Wi-Fi intelligent device to access a router easily and quickly by
transmitting the verification information in the sets of multicast frames.
Description
[0001] The present invention relates to the field of internet technology, and in particular to a method and device for transmitting and receiving verification information.
[0002] With the development of Internet technology, Wi-Fi technology has been widely applied in our daily lives. When coming into the cafe or restaurant, people usually ask for a password for accessing Wi-Fi. Wi-Fi is all around us.
[0003] Currently, intelligent home is growing vigorously, and Wi-Fi technology is also widely applied in the field of intelligent hardware. Since some Wi-Fi devices are lacking of screens, inputting keys etc, users cannot input the verification information to routers. At present, other function devices having screens and inputting keys may transmit verification information to the router via a special transport protocol, then the router will transmit the verification information to the Wi-Fi devices lacking of screens, input keys etc. However, the aforementioned method needs special transport protocol, and most Wi-Fi devices lacking of screens, input keys etc couldn't adopt the special transport protocol, that means, the aforementioned method is limited in range of uses, and not applicable to all Wi-Fi devices.
[0004] The present invention discloses a method and device for transmitting verification information, aims to solve the problem that the method for Wi-Fi devices lacking of screens, input keys etc accessing Wi-Fi is not applicable to all Wi-Fi devices.
[0005] To realize the above aim, the present invention provides a method for transmitting verification information including: separating verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to sequence numbers of the multiple sub-verification information in the verification information; generating sets of multicast frames according to the multiple sub-verification information and sequence numbers of the multiple sub-verification information; selecting one set of multicast frames to be filled with the length of the verification information; transmitting generated sets of multicast frames, when the overall length of the sub-verification information in the generated sets of multicast frames received by the recipient equating to the length of the verification information in the sets of multicast frames, recombining the sub-verification information according to the sequence numbers of sets of multicast frames to obtain the verification information.
[0006] Preferably, the step of transmitting sets of multicast frames includes: adding identity information into the sets of multicast frames; transmitting the sets of multicast frames after adding identity information into the sets of multicast frames; when the recipient receives the identity information from the sets of multicast frames, then obtaining the sub-verification information from the sets of multicast frames and recombining the sub-verification to obtain the verification information according to the sequence numbers of sets of multicast frames carrying the identity information when overall length of the sub-verification information equating to the length of the identity information in the sets of multicast frames.
[0007] Preferably, the step of generating sets of multicast frames according to the multiple sub-verification information and sequence numbers of the multiple sub-verification information includes: calculating packet length information successively according to the sequence numbers corresponding to the sub-verification information; generating sets of multicast frames according to the packet length information corresponding to the multiple sub-verification information and the sequence numbers of the multiple sub-verification information.
[0008] Furthermore, the present invention discloses a method for receiving the verification information including the following steps: when receiving sets of multicast frames, obtaining the sub-verification information and the sequence numbers of the sub-verification information in sets of multicast frames; obtaining the length of the verification information from the sets of multicast information; when the overall length of the sub-verification information equating to the length of the verification information, recombining the sub-verification information according to the sequence numbers of the sub-verification information, to obtain the verification information.
[0009] Preferably, obtaining the sub-verification information and the sequence numbers of the sub-verification information in sets of multicast frames includes: obtaining sets of multicast frames that each set of multicast frames carries identity information; obtaining the sub-verification information and the sequence numbers of the sub-verification information in the sets of multicast information that each set of multicast frames carries identity information.
[0010] Preferably, the step of obtaining the sub-verification information and the sequence numbers of the sub-verification information includes: calculating packet length information successively and the sub-verification information in the sets of multicast information; respectively calculating numbers of the sub-verification information based on the packet length information.
[0011] Furthermore, the present invention discloses an device for transmitting verification information, includes: a separation module, for separating the verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to the sequence numbers of the multiple sub-verification information in the verification information; a generation module, for generating sets of multicast frames according to the multiple sub-verification information and the sequence numbers of the multiple sub-verification information; a selection module, for selecting one set of multicast frames to be filled with the length of the verification information; a transmission module, for transmitting the sets of multicast frames when overall length of the sub-verification information, in the sets of multicast frames received by a recipient, equating to the length of the identity information in the sets of multicast frames, recombining the sub-verification information according to the sequence numbers of sets of multicast frames to obtain the verification information.
[0012] Preferably, the transmission module includes: an adding unit, for adding identity information to the generated sets of multicast frames; a transmission unit, for transmitting the sets of multicast frames after adding identity information into the generated sets of multicast frames; when the recipient receives the identity information from the sets of multicast frames, then obtaining the sub-verification information from the sets of multicast frames and recombining the sub-verification to obtain the verification information according to the sequence numbers of sets of multicast frames carrying the identity information when overall length of the sub-verification information equating to the length of the verification information in the sets of multicast frames.
[0013] Preferably, the generation module further includes: a calculating unit, for calculating packet length information successively according to the sequence numbers corresponding to the sub-verification information; a generating unit, for generating sets of multicast frames according to the packet length information.
[0014] Furthermore, the present invention discloses an device for receiving the verification information includes: a first obtaining module, for obtaining the sub-verification information and the sequence numbers of the sub-verification information during receiving sets of multicast frames; a second obtaining module, for obtaining the length of the verification information from the selected sets of multicast frames; a recombining module, for recombining the sub-verification information, based on the sequence numbers of the sub-verification information, to obtain verification information when overall length of the sub-verification information equating to the length of the verification information in the sets of multicast frames.
[0015] Preferably, the first obtaining module includes: a first obtaining unit, for obtaining sets of multicast frames carrying identity information; a second obtaining unit, for obtaining sub-verification information and sequence numbers of the sub-verification information from the sets of multicast frames carrying identity information.
[0016] Preferably, the first obtaining module further includes: a third obtaining unit, for obtaining the sub-verification information and length of the packet in each set of multicast frames; a calculating unit, for calculating the sequence numbers of the sub-verification information based on the packet length information.
[0017] The present invention separates the verification information into multiple sub-verification information, numbering the multiple sub-verification information according to the sequence numbers of the multiple sub-verification information in the verification information; generating sets of multicast frames according to the multiple sub-verification information and the sequence numbers of the multiple sub-verification information; selecting one set of multicast frames to be filled with the length of the verification information; transmitting generated sets of multicast frames to a recipient, which enables the sets of multicast frames to send the verification information, the recipient's intelligent devices may receive the verification information from the sets of multicast frames. Therefore, other intelligent devices may connect with the router without the verification information entered manually, without the special transport protocol, but by use of the sets of multicast frames of existing Wi-Fi transport protocol sending the verification information may be applicable to most Wi-Fi intelligent devices, to enable the Wi-Fi intelligent devices to access routers quickly and easily.
[0018] FIG. 1 is a schematic view of the method for transmitting verification information according to the first embodiment of the present invention;
[0019] FIG. 2 is a schematic view of the method for transmitting verification information according to the second embodiment of the present invention;
[0020] FIG.3 is a schematic view of each of sets of transmitting frames filling up with the multiple sub-verification information and the sequence numbers of the multiple sub-verification information according to the third embodiment of the present invention;
[0021] FIG. 4 is a flowchart of the method for receiving verification information according to the first embodiment of the present invention;
[0022] FIG. 5 is a schematic view of the step of obtaining sub-verification information and the sequence numbers of the sub-verification information of the method for receiving verification information according to the second embodiment of the present invention,
[0023] FIG. 6 is a schematic view of the step of obtaining sub-verification information and the sequence numbers of the sub-verification information of the method for receiving verification information according to the third embodiment of the present invention.
[0024] FIG. 7 is a functional module block of the device for transmitting verification information according to the first embodiment of the present invention;
[0025] FIG. 8 is a functional module block of the transmission module in the device for transmitting verification information according to the second embodiment of the present invention;
[0026] FIG. 9 is a functional module block of the transmission module in the device for transmitting verification information according to the third embodiment of the present invention;
[0027] FIG. 10 is a functional module block of the device for receiving verification information according to the first embodiment of the present invention;
[0028] FIG. 11 is a functional module block of the first obtaining module of the device for receiving verification information according to the second embodiment of the present invention;
[0029] FIG. 12 is a functional module block of the first obtaining module of the device for receiving verification information according to the third embodiment of the present invention.
[0030] It should be understood that the specific embodiments described herein are merely used for describing the present invention, but are not intended to limit the present invention.
[0031] The present invention discloses a method for transmitting verification information
[0032] FIG. 1 is a schematic view of the method for transmitting verification information according to the first embodiment of the present invention.
[0033] In the embodiment, the method for transmitting verification information includes: step S110, separating verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to the sequence numbers of the multiple sub-verification information in the verification information.
[0034] In the embodiment, the method for transmitting verification information is applicable for the intelligent terminals such as mobile phones, PAD, intelligent television and so on. The intelligent terminals have screens and/or input keys etc. that is convenient for inputting/displaying instructions. In which, the intelligent terminals store the verification information corresponding to the Wi-Fi module of the wireless router.
[0035] In which, the above verification information for accessing, include a Wi-Fi account (SSID) and a Wi-Fi password, as well as encryption methods corresponding to the Wi-Fi password.
[0036] Specifically, in the embodiment of the present invention, the intelligent terminal sends multicast frames in a local area network system, carrying the Wi-Fi verification information into the multicast address, then sending out the multicast. A multicast frame includes a retry bit, an address and a length. The address includes 6 bytes, and the first three bytes are a fixed set of 01 00 5E, the fourth to tenth and eleventh to twelfth thereafter are the same to low 23 bytes of IP address.
[0037] As a result, we can transmit out data information included in the multicast, by address realm of the multicast, i.e. by effective information carried in the low 23 bytes of IP address. Since the 23 bytes of IP address carries limited information, two bytes of data every time, it's necessary to group the verification information, two bytes of data every time.
[0038] As a result, the intelligent terminals may separate the verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to a sequence of the multiple sub-verification information in the verification information. In other embodiments, before the step S110, the method for transmitting verification information further includes encrypting the verification information to improve safety of the verification information. Later in step S110, separating the encrypted verification information into multiple sub-verification information. Step S120, generating sets of multicast frames according to the multiple sub-verification information and the sequence numbers of the multiple sub-verification information.
[0039] In the embodiment, the intelligent terminal calculates packet length information successively according to the sequence numbers corresponding to the sub-verification information. In which, the packet length information L may be calculated by the formula according to the sequence number Index: L = (Index/16)*16+8 then the intelligent terminal may successively generate sets of multicast frames according to the sub-verification information and the packet length information L corresponding to the sub-verification information. Specifically, the low 23 bytes of IP address which are corresponding to the sequence numbers of the sub-verification information, are filled up with each sub-verification information, by the intelligent terminals. The packet length information of the sets of multicast frames corresponding to the sequence numbers of the sub-verification information is the packet length information L corresponding to the numbers of the sub-verification information, by using the above formula, the packet length information L corresponding to the numbers of sub-verification information is calculated to avoid mistakes due to different lengths of data packets transmitted/received in different Wi-Fi systems, to improve compatibility of the method according to the embodiment of the present invention.
[0040] Step S130: selecting one set of multicast frames to be filled with the length of the verification information.
[0041] The intelligent terminal may select one set of multicast frames, then filling the set of multicast frames with the length of the verification information. For instance, the low seven bytes from the fourth byte in the address of the selected set of multicast frames as a special field represent the overall length of the transmitted verification information. Of course, in the embodiments, the low seven bytes from the fourth byte in the address of the selected set of multiple frames as a special field represent the sequence numbers of the sub-verification information in the transmitted verification information. If the sub-verification information is marked from 1, the number of the sub-verification information is the maximum value.
[0042] Step S140: transmitting the generated sets of multicast frames when overall length of the sub-verification information, in the sets of multicast frames received by a recipient, equating to the length of the verification information in the sets of multicast frames, recombining the sub-verification information according to the sequence numbers of sets of multicast frames to obtain the verification information.
[0043] In the embodiment, the intelligent terminal transmits the generated sets of multicast frames. The intelligent devices including a refrigerator, a washing machine, an air conditioner and so on, may receive the sets of multicast frames transmitted from the intelligent terminal. Of course, the sets of multicast frames transmitted from the intelligent terminal can be transferred via a router to a recipient including a refrigerator, a washing machine, an air conditioning and so on. After receiving the sets of multicast frames, when overall length of the sub-verification information, in the sets of multicast frames received by a recipient, equating to the length of the identity information in the sets of multicast frames, recombining the sub-verification information according to the sequence numbers of sets of multicast frames to obtain the verification information.
[0044] In the embodiment, the present invention separates the verification information into multiple sub-verification information, numbering the multiple sub-verification information according to the sequence numbers of the multiple sub-verification information in the verification information; generating sets of multicast frames according to the multiple sub-verification information and the sequence numbers of the multiple sub-verification information; selecting one set of multicast frames to be filled with the length of the verification information; transmitting generated sets of multicast frames to a recipient, which enables the sets of multicast frames to send the verification information, the recipient's intelligent devices may receive the verification information from the sets of multicast frames. Therefore, other intelligent devices may connect with the router without the verification information entered manually, without the special transport protocol, but by use of the sets of multicast frames of existing Wi-Fi transport protocol sending the verification information may be applicable to most Wi-Fi intelligent devices, to enable the Wi-Fi intelligent devices access routers quickly and easily.
[0045] The second embodiment of the method for transmitting verification information is disclosed based on the first embodiment of the present invention. With reference to FIG. 2, the Step S140 includes:
[0046] Step S141, adding identity information to the generated sets of multicast frames; in which the identity information is used for identifying the sub-verification information carried in sets of multicast frames, which is beneficial for the intelligent devices to obtain the sub-verification information and sequence numbers of the sub-verification information from the sets of multicast frames carrying the identity information.
[0047] Step S142, transmitting the sets of multicast frames after adding identity information, when the recipient receives the identity information from the sets of multicast frames, then obtaining the sub-verification information from the sets of multicast frames and when overall length of the sub-verification information equating to the length of the verification information in the sets of multicast frames, recombining the sub-verification to obtain the verification information according to the sequence numbers of sets of multicast frames carrying the identity information.
[0048] In embodiments of the present invention, by adding identity information to the generated sets of multicast frames and transmitting the sets of multicast frames after adding identity information, when the recipient receives the identity information from the sets of multicast frames, then obtaining the sub-verification information from the sets of multicast frames and when overall length of the sub-verification information equating to the length of the verification information in the sets of multicast frames, recombining the sub-verification information according to the sequence numbers of sets of multicast frames carrying the identity information, to obtain the verification information, which enables the sets of multicast frames to send the verification information, the recipient's intelligent devices may receive the verification information from the sets of multicast frames. The aforementioned embodiment realizes sets of multicast information carrying the sub-verification information to be added by identity information. Therefore, the accuracy of obtaining the sub-verification information and the sequence numbers is improved, as well as convenience and rapidity of the Wi-Fi intelligent devices accessing routers.
[0049] With reference to FIG. 3, the third embodiment discloses a method for transmitting verification information based on the first embodiment of the present invention, in which, the step S120 includes:
[0050] Step S121: calculating packet length information successively according to the sequence numbers corresponding to the sub-verification information.
[0051] In the embodiment of the present invention, the packet length L of sets of multicast frames may be calculated by the formula hereinafter according to the sequence number Index: L = (Index/16)*16+8
[0052] Step S122: generating sets of multicast frames according to the multiple sub-verification information and the sequence numbers of the multiple sub-verification information.
[0053] Specifically, the intelligent terminal enables low 23 bytes of the address realm of the multicast corresponding to the sequence numbers of the sub-verification information, to fill up with the sub-verification information. The packet length information of sets of multicast frames corresponding to the sequence numbers of the sub-verification information is the packet length information L corresponding to the sequence numbers of the sub-verification information.
[0054] In the embodiment, calculating packet length information successively according to the sequence numbers corresponding to the sub-verification information, then successively generating sets of multicast frames according to the sub-verification information and the sequence numbers corresponding to the sub-verification information, which realizes generating sets of multicast frames according to the sub-verification and the packet length information. Therefore, the intelligent devices may obtain the sub-verification information and sequence numbers by receiving the sets of multicast frames, so as to improve the accuracy of obtaining the sub-verification information and sequence numbers, as well as convenience and rapidity of the Wi-Fi intelligent devices accessing routers.
[0055] Furthermore, the present invention discloses a method for receiving verification information.
[0056] With reference to FIG. 4, FIG. 4 is a flowchart of the method for receiving verification information according to the first embodiment of the present invention;
[0057] In the embodiment, the method for receiving verification information includes:
[0058] Step S210: when receiving sets of multicast frames, obtaining the sub-verification information and the sequence numbers of the sub-verification information in sets of multicast frames.
[0059] In the embodiment, the intelligent device receives the data information the low 23 bytes of IP address in sets of multicast frames. The data information is the sub-verification information. The packet length L of each set of multicast frames is obtained. Then the sequence number corresponding to each sub-verification is calculated by the formula hereinafter: L= (Index/16)*16+8
[0060] Step S220: obtaining the length of the verification information from the sets of multicast information;
[0061] the low seven bytes from the fourth byte in the address of the selected set of multiple frames as a special field are obtained by the intelligent device. The information on the special field is the length value of the verification information. Of course, the low seven bytes from the fourth byte in the address of the selected set of multiple frames as a special field may represent the sequence numbers of the sub-verification information in the transmitted verification information. The information on the special field is the sequence numbers of the sub-verification information.
[0062] Step S230: recombining the sub-verification information, based on the sequence numbers of the sub-verification information, to obtain verification information when overall length of the sub-verification information equals to the length of the verification information.
[0063] In the embodiment, when overall length of the sub-verification information equals to the length of the verification information, or when the overall number of the sub-verification information equals to the number of the sub-verification information, recombining the sub-verification information according to the sequence numbers of the sub-verification information, to obtain the verification information.
[0064] Furthermore, in other embodiments, if the verification information is encrypted before separation, after recombining the verification information according to the sequence numbers of sets of the sub-verification information, the recombined verification information have to be decrypted to obtain the verification information.
[0065] Furthermore, in other embodiments, after step S240, the method for receiving the verification information further includes: accessing the router corresponding to the verification information. That means, the intelligent device connects Wi-Fi based on the recombined verification information.
[0066] In the embodiment, when receiving sets of multicast frames, obtaining the sub-verification information and the sequence numbers of the sub-verification information in sets of multicast frames, then obtaining the length of the verification information from the sets of multicast information, when the overall length of the sub-verification information equals to the length of the verification information, recombining the sub-verification information, based on the sequence numbers of the sub-verification information, to obtain verification information. which enables the intelligent device obtains verification information by receiving the sets of multicast frames, the intelligent device may access the router without the verification information entered manually, and but by the existing Wi-Fi transport protocol, the way of the sets of multicast frames transmitting verification information may be applicable to most Wi-Fi intelligent devices, to enable the Wi-Fi intelligent devices to access routers quickly and easily.
[0067] The second embodiment is disclosed according to the first embodiment of the present invention, with reference to FIG. 5. In the second embodiment, step S210 includes:
[0068] step S211: obtaining sets of multicast frames carrying identity information.
[0069] In the second embodiment, each set of multicast frames carrying identity information, when receiving sets of multicast frames, the intelligent device may obtain the sets of multicast frames first that carries identity information. The identity information thereof may be used for identifying the current sets of multicast frames carrying sub-verification information, enabling other intelligent devices to obtain the sub-verification information and sequence numbers from the sets of multicast frames carrying identity information.
[0070] Step S212: obtaining the sub-verification information and sequence numbers of the sub-verification information from the sets of multicast frames carrying identity information.
[0071] In the embodiments, the sets of multicast frames can be transmitted by a sender's intelligent devices or be transferred by the router. If the sets of multicast frames are transferred by the router, since several channels of the router scan simultaneously to receive data, if the sets of multicast frames received by the router are carrying identity information, the router locks the current channel to receive all the sets of multicast frames, then transfer the sets of multicast frames.
[0072] In the embodiment, receiving sets of multicast frames carrying the identity information, then obtaining the sub-verification information and sequence numbers of the sub-verification information from received sets of multicast frames, which may avoid the intelligent device resolving the sets of multicast frames without carrying identity information, to improve efficiency of the intelligent device obtaining the sub-verification information and sequence numbers of the sub-verification information, further to enable the Wi-Fi intelligent device to access routers quickly and easily.
[0073] The third embodiment of the method for receiving verification information is disclosed according to the first embodiment, with reference to FIG. 6. In the third embodiment, step S210 includes:
[0074] step S213: obtaining the sub-verification information and length of the packet in each set of multicast frames;
[0075] step S214: calculating the sequence numbers of the sub-verification information based on the packet length information.
[0076] In the embodiment, the sequence number corresponding to each sub-verification may be calculated by the formula hereinafter: L = (Index/16)*16+8
[0077] In the embodiment, based on the sub-verification information in sets of multicast frames and packet length information, calculating to obtain sequence numbers of the sub-verification information successively, which enables the intelligent devices to obtain the sequence numbers of the sub-verification information, improving the accuracy of obtaining the sub-verification information and numbers, as well as improving convenience and rapidity of the Wi-Fi intelligent devices to access routers.
[0078] The present invention further discloses an device for transmitting verification information.
[0079] With reference to FIG. 7, FIG. 7 is a functional module block of the device for transmitting verification information according to the first embodiment of the present invention.
[0080] In the embodiment, a device for transmitting verification information includes a processor and a memory. In where the processor executes instructions stored in the memory to implement: a separation module 110, for separating the verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to the sequence numbers of the multiple sub-verification information in the verification information.
[0081] In the embodiment, the separation module 110 sends multicast frames in a local area network system, carrying the Wi-Fi verification information into the multicast address, then sending out the multicast. A multicast frame includes a retry bit, an address and a length. The address includes 6 bytes, and the first three bytes are a fixed set of 01 00 5E, the fourth to tenth and eleventh to twelfth thereafter are the same to low 23 bytes of IP address.
[0082] Therefore, we can transmit out data information included in the multicast, by address realm of the multicast, i.e. by effective information carried in the low 23 bytes of IP address. Since the 23 bytes of IP address carries limited information, two bytes of data every time, it's necessary to group the verification information, two bytes of data every time.
[0083] Therefore, the separation module 110 is configured for separating verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to the sequence numbers of the multiple sub-verification information in the verification information.
[0084] In which, the aforementioned verification information includes Wi-Fi account and Wi-Fi password, as well as the encryption method related to the Wi-Fi password.
[0085] The generation module 120, is configured for generating sets of multicast frames according to the sub-verification information and the sequence numbers of the multiple sub-verification information;
[0086] In the embodiment, the generation module 120 calculates packet length information successively according to the sequence numbers corresponding to the sub-verification information, in which, the packet length information L may be calculated by the formula hereinafter: L = (Index/16)*16+8
[0087] then the intelligent terminal generates sets of multicast frames according to the multiple sub-verification information and the packet length information L corresponding to sequence numbers of the multiple sub-verification information. Specifically, the low 23 bytes of IP address which are corresponding to the sequence numbers of the sub-verification information, are filled up with each sub-verification information, by the intelligent terminals. The packet length information of the sets of multicast frames corresponding to the sequence numbers of the sub-verification information is the packet length information L corresponding to the numbers of the sub-verification information, by using the above formula, the packet length information L corresponding to the sequence numbers of sub-verification information is calculated to avoid mistakes due to different lengths of data packets transmitted/received in different Wi-Fi systems, to improve compatibility of the method according to the embodiment of the present invention.
[0088] The selection module 130, is configured for selecting one set of multicast frames to be filled with the length of the verification information;
[0089] the selection module 130 may select one set of multicast frames then to be filled with the length of the verification information. For instance, the low seven bytes from the fourth byte in the address of the selected set of multiple frames as a special field represent the overall length of the transmitted verification information.
[0090] Of course, the low seven bytes from the fourth byte in the address of the selected set of multiple frames as a special field may represent the number of the sub-verification information in the transmitted verification information. The information on the special field is the number of the sub-verification information. If the sub-verification information is marked from 1, the number of the sub-verification information is the maximum value.
[0091] The transmission module 140, is configured for transmitting the sets of multicast frames when overall length of the sub-verification information, in the sets of multicast frames received by a recipient, equals to the length of the identity information in the sets of multicast frames, recombining the sub-verification information according to the sequence numbers of sets of multicast frames to obtain the verification information.
[0092] In the embodiment, the transmission module 140 transmits the generated sets of multicast frames. The intelligent devices including a refrigerator, a washing machine, an air conditioner and so on may receive the sets of multicast frames transmitted from the intelligent terminal. Of course, the sets of multicast frames transmitted from the intelligent terminal can be transferred via a router to a recipient including a refrigerator, a washing machine, an air conditioning and so on. After receiving the sets of multicast frames, when overall length of the sub-verification information, in the sets of multicast frames received by a recipient, equals to the length of the identity information in the sets of multicast frames, recombining the sub-verification information according to the sequence numbers of sets of multicast frames to obtain the verification information.
[0093] In other embodiments, the separation module 110 may perform encryption of the verification information before separating the verification information into multiple sub-verification information, so as to improve the safety of the verification information, and then separating the encrypted verification information into multiple sub-verification information
[0094] In the embodiment, the separation module 110 is configured for separating verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to the sequence numbers of the multiple sub-verification information in the verification information. Then the generation module 120 generates sets of multicast frames according to the multiple sub-verification information and numbers of the sub-verification information. Next, the selection module 130 selects one set of multicast frames to be filled with the length of the verification information. At last, the transmission module 140 sends generated sets of multicast frames to a recipient, which enables the sets of multicast frames to send the verification information and the recipient's intelligent devices may receive the verification information from the sets of multicast frames. Therefore, other intelligent devices may connect with the router without the verification information entered manually, without the special transport protocol, but by use of the sets of multicast frames of existing Wi-Fi transport protocol sending the verification information may be applicable to most Wi-Fi intelligent devices, to enable the Wi-Fi intelligent devices to access routers quickly and easily.
[0095] The second embodiment is related to the device for transmitting verification information based on the first embodiment, with reference to FIG. 8. In the second embodiment, the transmission module 140 includes: an adding unit 141, is configured for adding identity information to the generated sets of multicast frames; in which, the aforementioned identity information may be used for identifying the current sets of multicast frames carrying sub-verification information, for other intelligent devices to obtain the sub-verification information and sequence numbers from the sets of multicast frames carrying identity information.
[0096] A transmission unit 142, is configured for transmitting the sets of multicast frames thereof after adding identity information into the generated sets of multicast frames. When the recipient receives the identity information from the sets of multicast frames, then obtaining the sub-verification information from the sets of multicast frames and recombining the sub-verification to obtain the verification information according to the sequence numbers of sets of multicast frames carrying the identity information when overall length of the sub-verification information equals to the length of the verification information in the sets of multicast frames.
[0097] In the embodiment, the adding unit 141 adds identity information to the generated sets of multicast frames. Then the transmission unit 142 transmits the sets of multicast frames after adding identity information thereto. When the recipient receives the sub-verification information carrying identity information and the overall length of the sub-verification information equals to the length of the verification information, recombining the sub-verification information according to the sequence numbers of sets of multicast frames to obtain the verification information, which may realize to add identity information to the generated sets of multicast frames. Therefore, when the intelligent device receives sets of multicast frames, the intelligent device may obtain the sub-verification information carrying identity information and the sequence numbers, thus improving the accuracy of obtaining the sub-verification information and sequence numbers, as well as improving convenience and rapidity of the Wi-Fi intelligent devices to access routers.
[0098] The third embodiment relates to the device for transmitting verification information based on the first embodiment, with reference to FIG. 9, in the third embodiment, the generation module 120 includes: a calculating unit 121, for calculating packet length information successively according to the sequence numbers corresponding to the sub-verification information.
[0099] In the third embodiment, the packet length L of sets of multicast frames may be calculated by the formula hereinafter: L= (Index/16)*16+8
[00100] a generating unit 122, is configured for generating sets of multicast frames according to the sub-verification information and the packet length information corresponding to the sequence numbers of the sub-verification.
[00101] Specifically, the intelligent device fills the sub-verification information into the low 23 bytes of IP address in sets of multicast frames. The packet length information in the sets of multicast frames corresponding to the sequence numbers of the sub-verification information is the packet length L corresponding to the sequence numbers of the sub-verification information.
[00102] In the third embodiment, the calculating unit 121calculats packet length information successively according to the sequence numbers corresponding to the sub-verification information. Then the generating unit 122 generates sets of multicast frames according to the sub-verification information and the packet length information corresponding to the sequence number of the sub-verification information. That means, based on the sub-verification information and packet length information, generating sets of multicast frames may be realized, enabling the intelligent devices to obtain the sequence numbers of the sub-verification information and sequence numbers according to the generated sets of multicast frames, further improving the accuracy of obtaining the sub-verification information and numbers, as well as improving convenience and rapidity of the Wi-Fi intelligent devices to access routers.
[00103] The present invention further discloses an device for receiving verification information.
[00104] With reference to FIG. 10, FIG. 10 is a function module block of the device for receiving verification information according to the first embodiment of the present invention.
[00105] In the embodiment, the device for receiving verification information includes a processor and a memory. In which, the processor executes instructions stored in the memory to implement: a first obtaining unit 210 is configured for obtaining sets of multicast frames carrying identity information.
[00106] In the embodiment, when receiving the sets of multicast frames, the first obtaining unit 210 obtains the data information of the low 23 bytes of IP address of each set of multicast frames, the data information is the sub-verification information, then obtaining the packed length L of each set of multicast frames. The sequence number of each set of multicast frames may be calculated by the formula hereinafter: L = (Index/16)*16+8
[00107] The second obtaining unit 220 is configured for obtaining identity information and sequence numbers of the identity information from the sets of multicast frames carrying identity information.
[00108] The second obtaining unit 220 obtains the low seven bytes from the fourth byte in the address of the selected set of multiple frames as a special field represents the number of the sub-verification information in the transmitted verification information. The information is the number of the sub-verification information.
[00109] The recombining module 230 is configured for recombining the sub-verification information, based on the sequence numbers of the sub-verification information, to obtain verification information when overall length of the sub-verification information equals to the length of the verification information in the said sets of multicast frames.
[00110] In the embodiment, when the overall length of the sub-verification information equals to the length of the verification information, or the number of obtained verification information equals to the aforementioned number, the recombining module 230 performs recombination of the sub-verification information based on the sequence numbers of the sub-verification information, to obtain the verification information.
[00111] Furthermore, in other embodiments, if the verification information is encrypted before separation, after the recombining module 230 performs recombination of the verification information according to the sequence numbers of sets of the sub-verification information, the recombined verification information have to be decrypted to obtain the verification information.
[00112] In the embodiment, when receiving sets of multicast frames, the first obtaining module 210 obtains the sub-verification information and the sequence numbers of the sub-verification information in sets of multicast frames, then the second obtaining module 220 obtains the length of the verification information from the sets of multicast information. Next when the overall length of the sub-verification information equals to the length of the verification information, the recombining module 240 performs recombination of the sub-verification information, based on the sequence numbers of the sub-verification information, to obtain verification information. which enables the intelligent device obtains verification information by receiving the sets of multicast frames, the intelligent device may access the router without the verification information entered manually, and but by the existing Wi-Fi transport protocol, the way of the sets of multicast frames transmitting verification information may be applicable to most Wi-Fi intelligent devices, to enable the Wi-Fi intelligent devices to access routers quickly and easily.
[00113] The second embodiment relates to the device for receiving verification information based on the first embodiment, with reference to FIG. 11, in the second embodiment, the first obtaining module 210 includes the first obtaining unit 211 is configured for obtaining sets of multicast frames carrying identity information.
[00114] In the embodiment, each set of multicast frames carries identity information, when receiving sets of multicast frames, the first obtaining unit 211 obtains sets of multicast frames carrying identity information. The identity information thereof may be used for identifying the current sets of multicast frames carrying sub-verification information, enabling other intelligent devices to obtain the sub-verification information and sequence numbers from the sets of multicast frames carrying identity information.
[00115] The second obtaining unit 212, is configured for obtaining identity information and sequence numbers of the identity information from the sets of multicast frames carrying identity information.
[00116] In the embodiment, the sets of multicast frames can be transmitted by a sender's intelligent devices or be transferred by the router. If the sets of multicast frames are transferred by the router, since several channels of the router scan simultaneously to receive data, if the sets of multicast frames received by the router are carrying identity information, the router locks the current channel to receive all the sets of multicast frames, then transfer the sets of multicast frames.
[00117] In the embodiment, by receiving sets of multicast frames carrying the
identity information, then obtaining the sub-verification information and sequence
numbers of the sub-verification information from the sets of multicast frames carrying
the identity information, which may avoid the intelligent device resolving the sets of
multicast frames without carrying identity information, to improve efficiency of the
intelligent device obtaining the sub-verification information and sequence numbers of
the sub-verification information, further to enable the Wi-Fi intelligent device to
access routers quickly and easily.
[00118] The third embodiment relates to the device for receiving verification
information based on the first embodiment, with reference to FIG. 12, in the third
embodiment, the first obtaining module 210 further includes:
a third obtaining unit 213 is configured for obtaining the sub-verification
information and packet length in each set of multicast frames;
a calculating unit 214, for calculating the sequence numbers of the
sub-verification information based on the packet length information.
[00119] In the third embodiment, the sequence number of each sub-verification
information may be calculated by the formula hereinafter:
L = (Index/16)*16+8
[00120] In the embodiment, the third obtaining unit 213 obtains the
sub-verification information and the packet length, then the calculating unit 214
calculates the sequence numbers of the sub-verification information based on the
packet length information, to enable the intelligent devices to obtain the sequence
numbers corresponding to each sub-verification information accurately, to improve
efficiency of the intelligent device obtaining the sub-verification information and
sequence numbers of the sub-verification information, further to enable the Wi-Fi
intelligent device to access routers quickly and easily.
[00121] Furthermore, it is apparent to those skilled in the art that the present
invention also provides a device for transmitting verification information, the device
comprising a non-transitory program storage medium and one or more processors.
The non-transitory program storage medium stores instructions executable by the processor(s) to perform the methods as described above. Furthermore, it is apparent to those skilled in the art that various units or modules 110,120,130,140,141,142,121,122,210,220,230,211,212,213, and 214, as shown in FIGS. 1-12, can be software modules or software units. In another aspect, it is well-known that various software modules or software units can be inherently stored in the non-transitory program storage medium and executed by the processor(s).
[00122] The foregoing descriptions are merely embodiments of the present invention, and are not intended to limit the scope of the present invention. An equivalent structural or equivalent process alternation made by using the content of the specification and drawings of the present invention, or an application of the content of the specification and drawings directly or indirectly to another related technical field, shall fall within the protection scope of the present invention.
[00123] It will be understood that the term "comprise" and any of its derivatives (eg comprises, comprising) as used in this specification is to be taken to be inclusive of features to which it refers, and is not meant to exclude the presence of any additional features unless otherwise stated or implied.
[00124] The reference to any prior art in this specification is not, and should not be taken as, an acknowledgement or any form of suggestion that such prior art forms part of the common general knowledge.
Claims (8)
- What is claimed is: 1. A method for transmitting verification information, comprising: separating the verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to sequence numbers of the multiple sub-verification information in the verification information; calculating each of multiple pieces of packet length information according to each of the sequence numbers corresponding to the multiple sub-verification information; generating sets of multicast frames according to the multiple sub-verification information and the multiple pieces of packet length information corresponding to the sequence numbers of the multiple sub-verification information; wherein, each of the multiple pieces of packet length information is a packet length of each of the sets of multicast frames; selecting one set of multicast frame from the sets of multicast frames, and encapsulating a length of the verification information in the one set of multicast frame selected; transmitting the generated sets of multicast frames, wherein, on condition that an overall length of the multiple sub-verification information in the sets of multicast frames received by a recipient is equal to the length of the verification information in the one set of multicast frame selected, recombining the multiple sub-verification information according to the sequence numbers of the generated sets of multicast frames to obtain the verification information.
- 2. The method for transmitting verification information of claim 1, wherein transmitting sets of multicast frames comprises: adding identity information into sets of multicast frames; transmitting the sets of multicast frames after adding the identity information into the sets of multicast frames; on condition that the recipient receives the identity information from the sets of multicast frames, then obtaining the multiple sub-verification information from the sets of multicast frames carrying the identity information; and on condition that the overall length of the multiple sub-verification information is equal to a length of the identity information in the sets of multicast frames, recombining the multiple sub-verification information to obtain the verification information according to sequence numbers of the sets of multicast frames carrying the identity information.
- 3. A method for transmitting verification information comprising: on condition that receiving sets of multicast frames, obtaining multiple pieces of packet length information and multiple sub-verification information in the sets of multicast frames, and calculating each of sequence numbers of the multiple sub-verification information based on each of the multiple pieces of packet length information; obtaining a length of the verification information from a selected set of multicast frames of the received sets of multicast frames; on condition that an overall length of the multiple sub-verification information received by a recipient is equal to the length of the verification information in the sets of multicast frames, recombining the multiple sub-verification information to obtain the verification information according to the sequence numbers of the multiple sub-verification information.
- 4. The method for transmitting verification information of claim 3, wherein obtaining multiple sub-verification information and sequence numbers of the multiple sub-verification information in sets of multicast frames comprises: obtaining the sets of multicast frames that each set of multicast frames carries identity information; obtaining the multiple sub-verification information and the sequence numbers of the multiple sub-verification information in the sets of multicast frames that each set of multicast frames carries the identity information.
- 5. A device for transmitting verification information comprising: a processor; and a memory; wherein the processor executes instructions stored in the memory to implement: a separation module is configured for separating the verification information into multiple sub-verification information, and numbering the multiple sub-verification information according to sequence numbers of the multiple sub-verification information in the verification information; a generation module is configured for calculating each of multiple pieces of packet length information according to each of the sequence numbers corresponding to the multiple sub verification information; and generating sets of multicast frames according to the multiple sub verification information and the multiple pieces of packet length information corresponding to the sequence numbers of the multiple sub-verification information; wherein, each of the multiple pieces of packet length information is a packet length of each of the sets of multicast frames; a selection module is configured for selecting one set of multicast frame from the sets of multicast frames, and encapsulating a length of the verification information in the one set of multicast frame selected; a transmission module is configured for transmitting the sets of multicast frames on condition that an overall length of the multiple sub-verification information in the sets of multicast frames received by a recipient is equal to the length of the verification information in the one set of multicast frame selected, recombining the multiple sub-verification information to obtain the verification information according to the sequence numbers of the multiple sub verification information.
- 6. The device for transmitting verification information of claim 5, wherein the transmission module further comprising: an adding unit is configured for adding identity information to the sets of multicast frames;a transmission unit is configured for transmitting the sets of multicast frames thereof after adding the identity information into the sets of multicast frames; on condition that the recipient receives the identity information from the sets of multicast frames, then obtaining the multiple sub-verification information from the sets of multicast frames carrying the identity information, and on condition that an overall length of the multiple sub-verification information is equal to a length of the identity information in the sets of multicast frames, recombining the multiple sub verification to obtain the verification information according to sequence numbers of the sets of multicast frames carrying the identity information.
- 7. A device for transmitting verification information comprising: a processor; and a memory;wherein the processor executes instructions stored in the memory to implement: a first obtaining module, is configured for obtaining multiple pieces of packet length information and multiple sub-verification information in the sets of multicast frames, and calculating each of sequence numbers of the multiple sub-verification information based on each of the multiple pieces of packet length information; a second obtaining module, is configured for obtaining a length of the verification information from a selected set of multicast frame of the received sets of multicast frames; a recombining module, for, on condition that an overall length of the multiple sub verification information in the sets of multicast frames received by a recipient is equal to the length of the verification information in the sets of multicast frames, recombining the multiple sub-verification information to obtain the verification information according to the sequence numbers of the multiple sub-verification information.
- 8. The device for transmitting verification information of claim 7, wherein, the first obtaining module further comprising: a first obtaining unit is configured for obtaining sets of multicast frames carrying identity information;a second obtaining unit is configured for obtaining the multiple sub-verification information and the sequence numbers of the multiple sub-verification information from the sets of multicast frames carrying identity information.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/076753 WO2017156777A1 (en) | 2016-03-18 | 2016-03-18 | Authentication information transmitting and receiving method and apparatus therefor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| AU2016277747A1 AU2016277747A1 (en) | 2017-10-05 |
| AU2016277747B2 true AU2016277747B2 (en) | 2021-07-08 |
Family
ID=59851306
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| AU2016277747A Active AU2016277747B2 (en) | 2016-03-18 | 2016-03-18 | Method and device for transmitting verification information |
Country Status (2)
| Country | Link |
|---|---|
| AU (1) | AU2016277747B2 (en) |
| WO (1) | WO2017156777A1 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180323995A1 (en) * | 2016-01-14 | 2018-11-08 | Midea Group Co., Ltd. | Method and apparatus for controlling access of household appliance device to network |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20130051826A (en) * | 2011-11-10 | 2013-05-21 | 한국전자통신연구원 | Apparatus and method for synchronization control for mbs services |
| CN103458399B (en) * | 2013-07-12 | 2017-02-22 | 深圳市瑞科慧联科技有限公司 | Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network |
| CN103825788B (en) * | 2014-01-29 | 2016-04-06 | 深圳市瑞科慧联科技有限公司 | A kind of WIFI network collocation method and system |
| CN105050083B (en) * | 2015-05-25 | 2019-02-15 | 深圳锋芒信息技术有限公司 | A kind of network collocating method and system of smart machine |
| CN105847246B (en) * | 2016-03-18 | 2019-08-16 | 深圳创维-Rgb电子有限公司 | Verification information sending, receiving method and device |
-
2016
- 2016-03-18 AU AU2016277747A patent/AU2016277747B2/en active Active
- 2016-03-18 WO PCT/CN2016/076753 patent/WO2017156777A1/en not_active Ceased
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180323995A1 (en) * | 2016-01-14 | 2018-11-08 | Midea Group Co., Ltd. | Method and apparatus for controlling access of household appliance device to network |
Also Published As
| Publication number | Publication date |
|---|---|
| AU2016277747A1 (en) | 2017-10-05 |
| WO2017156777A1 (en) | 2017-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107371219B (en) | WiFi configuration method, WiFi mobile terminal and WiFi equipment | |
| US10425194B2 (en) | Cross-layer and cross-application acknowledgment for data transmission | |
| US10419411B2 (en) | Network-visitability detection | |
| US20170359344A1 (en) | Network-visitability detection control | |
| CN103765848A (en) | Apparatus and method for media access control replacement | |
| EP2919498B1 (en) | Method, device and system for packet processing through a relay | |
| US20240107313A1 (en) | Control frame processing method, control frame generating method, station, access point, and storage medium | |
| US11558361B2 (en) | Communication method between mesh network and cloud server, mesh network system and node device thereof | |
| JP2017525287A (en) | Method, apparatus and system for establishing a connection by a terminal | |
| CN110460995A (en) | A kind of wireless connection method, Internet of Things equipment and client equipment | |
| EP3026856B1 (en) | Gre packet encapsulation method, decapsulation method, and corresponding apparatuses | |
| EP3585080A1 (en) | Multicast service processing method and access point | |
| US20250267512A1 (en) | Communication method, apparatus, and system | |
| US20240015585A1 (en) | Relay node, mesh network system and data transmission method | |
| CN113302877B (en) | Method and apparatus for providing a message authentication code suitable for short messages | |
| AU2016277747B2 (en) | Method and device for transmitting verification information | |
| CN105847246B (en) | Verification information sending, receiving method and device | |
| US10484871B2 (en) | Method and device for transmitting verification information | |
| CN110417804A (en) | A kind of bidirectional identity authentication encryption communication method and system suitable for chip microcontroller | |
| WO2024032742A1 (en) | Service processing method and apparatus, device, storage medium, and program product | |
| CN103249028B (en) | network information inquiry method based on identity information | |
| CN110839231B (en) | A method and device for obtaining terminal identification | |
| CN115278661A (en) | Unicast transmission method, system, electronic equipment and storage medium based on air interface frame | |
| US20240015822A1 (en) | Method for pairing nodes | |
| HK1225186B (en) | Method and apparatus for transmission and reception of an authentication message |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FGA | Letters patent sealed or granted (standard patent) |