WO2017156777A1 - 验证信息发送、接收方法及装置 - Google Patents
验证信息发送、接收方法及装置 Download PDFInfo
- Publication number
- WO2017156777A1 WO2017156777A1 PCT/CN2016/076753 CN2016076753W WO2017156777A1 WO 2017156777 A1 WO2017156777 A1 WO 2017156777A1 CN 2016076753 W CN2016076753 W CN 2016076753W WO 2017156777 A1 WO2017156777 A1 WO 2017156777A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- sub
- verification information
- multicast frame
- authentication information
- Prior art date
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
Definitions
- the present invention relates to the field of Internet technologies, and in particular, to a method and an apparatus for transmitting and receiving authentication information.
- Wi-Fi technology has been widely used in our daily life. When people approach cafes and restaurants, they often ask the waiter for access to Wi-Fi. Password, Wi-Fi can be said to be everywhere.
- Wi-Fi Technology is also widely used in the field of intelligent hardware.
- Some Wi-Fi devices cannot enter the authentication information of the router they want to access because they lack the display screen and input buttons.
- authentication information is sent to the router through a specific transport protocol through other functional devices such as a display and input buttons, and then the router forwards the authentication information to a Wi-Fi-like device that lacks a display and input buttons.
- this method requires a specific transmission protocol, and most Wi-Fi type devices that lack display screens and input buttons are difficult to support the specific transmission protocol, which limits the scope of use of the method and is difficult to apply to all Wi- Fi class equipment.
- the present invention provides a method and a device for transmitting and receiving authentication information, and aims to solve the technical problem that the existing method of accessing Wi-Fi such as a display screen and an input button is difficult to apply to all Wi-Fi type devices.
- the present invention provides a verification information sending method, and the verification information sending method includes the following steps:
- the receiver sending each of the generated multicast frames, wherein, when the total length of the sub-authentication information in the received multicast frame is equal to the length of the verification information in the multicast frame, the receiver follows the number in the multicast frame.
- the sub-verification information is reorganized to obtain the verification information.
- the step of transmitting each generated multicast frame comprises:
- the receiver obtains the received identifier information in the multicast frame, and obtains the sub-frame of the received multicast frame in each multicast frame.
- Verification information and when the total length of the sub-authentication information is equal to the length value of the verification information in the multicast frame, the sub-authentication information is reorganized according to the number in the multicast frame containing the identification information to obtain the verification information.
- the step of sequentially generating a multicast frame according to the number of each of the sub-authentication information and the sub-verification information includes:
- the multicast frame is sequentially generated according to the length information of each of the sub-verification information and the number of the sub-verification information.
- the present invention further provides a verification information receiving method, where the verification information receiving method includes the following steps:
- the sub-verification information is reorganized based on the number of each of the sub-verification information to obtain verification information.
- the step of obtaining the number of the sub-authentication information and the sub-authentication information in each received multicast frame includes:
- the number of the sub-authentication information and the sub-authentication information is obtained in the multicast frame including the identification information.
- the step of obtaining the number of the sub-authentication information and the sub-authentication information in each received multicast frame includes:
- the number of each sub-verification information is separately calculated based on the obtained length information of the packet.
- the present invention provides a verification information transmitting apparatus, where the verification information transmitting apparatus includes:
- a splitting module configured to split the verification information into the plurality of sub-verification information, and number each of the sub-authentication information in the order of the sub-verification information in the verification information ;
- a generating module configured to sequentially generate a multicast frame according to each of the sub-authentication information and the number of the sub-authentication information
- a selection module configured to select a multicast frame in each generated multicast frame, and fill a length value of the verification information in the selected multicast frame
- a sending module configured to send each generated multicast frame, where the receiver, according to the received group, the total length of the sub-authentication information in the multicast frame is equal to the length of the verification information in the multicast frame, according to the group
- the number in the broadcast frame reorganizes the sub-verification information to obtain the verification information.
- the sending module includes:
- a sending unit configured to send each multicast frame after the identifier information is added, where the receiver obtains the identifier information in the received multicast frame, and obtains the identifier information included in each received multicast frame.
- Sub-authentication information of the multicast frame and when the total length of the sub-authentication information is equal to the length of the verification information in the multicast frame, the sub-authentication information is reassembled according to the number in the multicast frame containing the identification information to obtain the verification. information.
- the generating module comprises:
- a calculating unit configured to sequentially calculate length information of the obtained packet according to the number corresponding to the sub-authentication information
- a generating unit configured to sequentially generate a multicast frame according to the length information of each of the sub-authentication information and the number of the sub-verification information.
- the present invention further provides a verification information receiving apparatus, where the verification information receiving apparatus includes:
- the first obtaining module is configured to obtain, when receiving the multicast frame, the number of the sub-authentication information and the sub-authentication information in each received multicast frame;
- a second acquiring module configured to obtain a length value of the verification information in the received selected multicast frame
- a recombining module configured to reassemble the sub-verification information based on the number of each of the sub-verification information to obtain verification information, when the sum of the lengths of the acquired sub-verification information is equal to the length value of the verification information.
- the first obtaining module comprises:
- a first acquiring unit configured to acquire a multicast frame that includes identifier information in each received multicast frame
- the second obtaining unit is configured to obtain the number of the sub-authentication information and the sub-authentication information in the multicast frame that includes the identifier information.
- the first obtaining module further includes:
- a third acquiring unit configured to acquire sub-authentication information and length information of the packet in each received multicast frame
- the calculating unit is configured to separately calculate the number of each sub-verification information based on the obtained length information of the packet.
- the present invention splits the verification information into a plurality of sub-verification information by splitting the verification information, and numbers each of the sub-authentication information in the order of the sub-verification information in the verification information, and then according to Each of the sub-authentication information and the sub-verification information sequentially generates a multicast frame, and then selects a multicast frame in each generated multicast frame, and fills the verification information in the selected multicast frame.
- the length value, and finally the generated multicast frames are transmitted, so that the verification information is sent through the multicast frame, so that the smart device of the receiver can obtain the verification information through the received multicast frame, so that other smart devices do not need to manually input the verification.
- the information can establish a connection with the router corresponding to the verification information, and the multicast frame transmission verification information through the existing Wi-Fi protocol can be applied to most Wi-Fi smart devices without a specific transmission protocol, so that Wi-Fi Smart devices can access the router easily and quickly.
- FIG. 1 is a schematic flowchart of a first embodiment of a method for transmitting authentication information according to the present invention
- FIG. 2 is a schematic flowchart of a step of transmitting each multicast frame in the second embodiment of the method for transmitting authentication information according to the present invention
- FIG. 3 is a schematic flowchart of a step of filling sub-verification information and numbers into respective multicast frames in a third embodiment of the method for transmitting authentication information according to the present invention
- FIG. 4 is a schematic flowchart of a first embodiment of a method for receiving authentication information according to the present invention
- FIG. 5 is a schematic flowchart of the step of obtaining the sub-verification information and the sub-verification information in the second embodiment of the verification information receiving method according to the present invention
- FIG. 6 is a schematic flowchart of the step of obtaining the sub-verification information and the sub-verification information in the third embodiment of the verification information receiving method according to the present invention.
- FIG. 7 is a schematic diagram of functional modules of a first embodiment of a verification information transmitting apparatus according to the present invention.
- FIG. 8 is a schematic diagram of a refinement function module of a sending module in a second embodiment of the verification information transmitting apparatus of the present invention.
- FIG. 9 is a schematic diagram of a refinement function module of a generation module in a third embodiment of the verification information transmitting apparatus of the present invention.
- FIG. 10 is a schematic diagram of functional modules of a first embodiment of a verification information receiving apparatus according to the present invention.
- FIG. 11 is a schematic diagram of a refinement function module of a first acquisition module in a second embodiment of the verification information receiving apparatus of the present invention.
- FIG. 12 is a schematic diagram of a refinement function module of a first acquisition module in a third embodiment of the verification information receiving apparatus of the present invention.
- FIG. 1 is a schematic flowchart of a first embodiment of a method for transmitting verification information according to the present invention.
- the verification information sending method includes:
- Step S110 performing a split operation on the verification information to split the verification information into a plurality of sub-verification information, and numbering each of the sub-verification information in the order of each of the sub-authentication information in the verification information;
- the verification information sending method is applicable to an intelligent terminal such as a mobile phone, a PAD, a smart TV, etc., and the smart terminal has a display screen and/or an input button, etc., to facilitate input/display instructions, wherein the smart terminal stores a wireless router.
- the verification information corresponding to the Wi-Fi module.
- the connection verification information includes a Wi-Fi account (SSID) and a Wi-Fi password.
- the verification information may further include an encryption method corresponding to the Wi-Fi password.
- the smart terminal transmits the Wi-Fi authentication information of the mobile phone to the multicast address by using the multicast mode of the local area network, and sends the information through the multicast;
- the multicast frame has the information such as the packet header, the address, and the length of the packet.
- Composition where the address consists of 6 bytes, the first three bytes are fixed to 01 00 5E composition, the seventh byte after the seventh byte and the following two bytes are set the same as the lower 23 bits of the multicast IP address. Therefore, the multicast address range can be used to include the data information in the multicast and send out, that is, the last 23 bits in the address carry the valid information. Since the information that the 23 bits can carry is limited, only two can be transmitted at a time.
- the smart terminal may perform a split operation on the verification information to split the verification information into a plurality of sub-verification information, and number each of the sub-verification information in the order of each of the sub-verification information in the verification information.
- the verification information sending method further includes: encrypting the verification information to improve the security of the verification information. Then, in step S110, the encrypted verification information is specifically split to split the verification information into multiple sub-verification information.
- Step S120 Generate a multicast frame according to the number of each of the sub-authentication information and the sub-verification information.
- the smart terminal first calculates the length information of each packet corresponding to the number according to the number of each of the sub-authentication information, where the length information L of the packet can be obtained according to the numbered index by the following formula:
- the smart terminal sequentially generates a multicast frame according to the length information L of the packet corresponding to the number of the sub-authentication information and the number of the sub-verification information. Specifically, the smart terminal fills each sub-verification information with the number of the sub-verification information.
- the length information of the packet in the multicast frame corresponding to the number of each sub-authentication information is the length information L of the packet corresponding to the number of the sub-verification information
- the sub-verification is calculated by the above formula
- the length information L of the packet corresponding to the number of the information can avoid errors caused by different lengths of data packets transmitted/received by different Wi-Fi modules, and improve the compatibility of the method of the embodiment.
- Step S130 selecting a multicast frame in each generated multicast frame, and filling a length value of the verification information in the selected multicast frame;
- the intelligent terminal may select a multicast frame in each generated multicast frame, and then fill the selected multicast frame with the length value of the verification information, for example, the fourth bit of the address in the selected multicast frame.
- a specific field of the lower seven bits indicates the total length of the pass verification information.
- the number of the verification information sub-authentication information transmitted may also be represented in a specific field of the lower seven bits of the fourth digit of the address in the selected multicast frame, and the sub-authentication information is from 1 When the label is started, the number of the sub-verification information is the maximum value in the number.
- Step S140 Send each generated multicast frame, where the receiver according to the multicast frame is received when the total length of the sub-authentication information in the multicast frame is equal to the length of the verification information in the multicast frame. The number in the sub-verification information is recombined to obtain the verification information.
- the smart terminal sends each generated multicast frame, and the smart device of the receiver including the refrigerator, the washing machine, the air conditioner, and the like can directly receive each multicast frame sent by the smart terminal.
- each group sent by the smart terminal The broadcast frame can be forwarded to the smart device of the receiver including the refrigerator, the washing machine, the air conditioner, etc. through a router or the like, and the total amount of the sub-verification information in the received multicast frame received by the receiver when receiving the multicast frame
- the sub-authentication information is reassembled according to the number in the multicast frame to obtain the verification information.
- the verification information is split into multiple sub-verification information, and each sub-verification information is numbered in the order of the sub-authentication information in the verification information. Then, a multicast frame is sequentially generated according to the number of each of the sub-authentication information and the sub-verification information, and then a multicast frame is selected in each generated multicast frame, and the selected multicast frame is filled in the multicast frame.
- the length value of the verification information is sent, and finally the generated multicast frames are sent, so that the verification information is sent through the multicast frame, so that the smart device of the receiver can obtain the verification information through the received multicast frame, so that other smart devices do not need to be
- the authentication information can be manually input to establish a connection with the router corresponding to the verification information, and the multicast frame transmission verification information through the existing Wi-Fi protocol can be applied to most Wi-Fi smart devices without a specific transmission protocol, so that Wi-Fi smart devices can access the router easily and quickly.
- step S140 includes:
- Step S141 adding identification information to each generated multicast frame
- the identifier information is used to identify the sub-authentication information in the current multicast frame, so that the smart device obtains the sub-authentication information, the number, and the like in the multicast frame that includes the identifier information.
- Step S142 Send each multicast frame after the identifier information is added, where the receiver obtains the received multicast information of each multicast frame in the received multicast information when acquiring the identifier information in the received multicast frame.
- Sub-verification information of the frame and when the total length of the sub-authentication information is equal to the length value of the verification information in the multicast frame, the sub-authentication information is reassembled according to the number in the multicast frame containing the identification information to obtain the verification information.
- each multicast frame after adding the identifier information is sent by adding the identifier information to each generated multicast frame, where the receiver obtains and receives the identifier information in the received multicast frame.
- the sub-authentication information of the multicast frame containing the identification information is included in each multicast frame, and when the total length of the sub-authentication information is equal to the length of the verification information in the multicast frame, the number in the multicast frame containing the identification information is The sub-authentication information is recombined to obtain the verification information, and the identifier information is added to the multicast frame that includes the sub-authentication information, so that the smart device can obtain each received message through the identifier information when receiving the multicast frame.
- the sub-authentication information and number of the multicast frame containing the identification information in the multicast frame improves the accuracy of obtaining the sub-authentication information and the number, and improves the convenience and speed of the Wi-Fi smart device accessing the router.
- step S120 includes:
- Step S121 calculating length information of the obtained package according to the number corresponding to the sub-verification information
- the length L of the packet of the multicast frame can be obtained by the following formula according to the numbered index:
- Step S122 sequentially generate a multicast frame according to the length information of each of the sub-verification information and the number of the sub-verification information.
- the smart terminal fills each sub-verification information into the last 23 bits of the address in the multicast frame corresponding to the number of the sub-authentication information, and the length information of the packet in the multicast frame corresponding to the number of each sub-authentication information is sub- The length information L of the packet corresponding to the number of the verification information.
- the length information of the obtained packet is sequentially calculated according to the number corresponding to the sub-verification information, and then the multicast frame is sequentially generated according to the length information of the packet corresponding to the sub-verification information and the number of the sub-verification information.
- the multicast frame is generated according to the sub-verification information and the length information of the packet, so that the smart device can accurately obtain the sub-verification information and the number through the received multicast frame, thereby further improving the accuracy of obtaining the sub-verification information and the number. Improve the convenience and speed of Wi-Fi smart device access router.
- FIG. 4 is a schematic flowchart diagram of a first embodiment of a method for receiving authentication information according to the present invention.
- the verification information receiving method includes:
- Step S210 Acquire, when receiving the multicast frame, the number of the sub-authentication information and the sub-authentication information in each received multicast frame.
- the smart device when receiving the multicast frame, acquires the last 23 bits of the data in the address in each multicast frame, and the information is the sub-authentication information, and then obtains the length L of the packet in each multicast frame. Then, according to the following formula, the number corresponding to each sub-verification information is calculated, and the specific formula is as follows:
- Step S220 Obtain a length value of the verification information in the received selected multicast frame.
- the smart device acquires information of a specific field of the lower seven bits of the fourth bit of the address in the selected multicast frame, and the information is the length value of the verification information, of course, the address in the selected multicast frame
- a specific field of the lower seven bits of the fourth digit indicates that the number of verification information sub-verification information is transmitted, and the information is the number of the sub-authentication information.
- Step S230 When the sum of the lengths of the acquired sub-verification information is equal to the length value of the verification information, the sub-verification information is reorganized based on the number of each of the sub-verification information to obtain verification information.
- the reassembled information needs to be decrypted to obtain verify message.
- the verification information receiving method further includes: establishing a connection with a router corresponding to the verification information. That is, the smart device establishes a Wi-Fi connection according to the verification information obtained by the reorganization.
- the multicast frame when the multicast frame is received, the number of the sub-authentication information and the sub-authentication information in each received multicast frame is obtained, and then the verification information is obtained in the received selected multicast frame. a length value, and then, when the sum of the lengths of the obtained sub-verification information is equal to the length value of the verification information, the sub-verification information is reorganized based on the number of each of the sub-verification information to obtain verification information, and the The multicast frame obtains the verification information, so that the smart device can establish a connection with the router corresponding to the verification information without manually inputting the verification information, and the multicast frame transmission verification information through the existing Wi-Fi protocol can be applied to most Wis. -Fi smart device, which enables smart devices to access the router easily and quickly.
- step S210 includes:
- Step S211 Acquire a multicast frame that includes identifier information in each received multicast frame.
- each multicast frame includes the identifier information.
- the smart device first obtains the received multicast frame including the identifier information in each multicast frame, where the identifier information is used.
- the sub-authentication information is carried in the current multicast frame, so that other smart devices can return the sub-authentication information, the number, and the like in the multicast frame that includes the identification information.
- Step S212 Acquire the numbers of the sub-verification information and the sub-verification information in the multicast frame including the identification information.
- the multicast frame received by the smart device may be directly sent by the smart device of the sender, or may be forwarded by the router, where the multicast frame received by the smart device is forwarded by the router, because The router scans multiple channels simultaneously to receive data.
- the router locks the current channel to receive all the multicast frames of the channel and forward them.
- the multicast frame including the identification information in each received multicast frame is obtained, and then the number of the sub-authentication information and the sub-authentication information is obtained in the multicast frame that includes the identification information, so that the smart device can be prevented from parsing.
- the multicast frame containing the identifier information improves the efficiency of the smart device to obtain the number of the sub-authentication information and the sub-authentication information, and further enables the smart device to access the router conveniently and quickly.
- step S210 includes:
- Step S214 Calculate the number of each sub-verification information separately based on the obtained length information of the packet.
- the number corresponding to each sub-verification information can be calculated according to the following formula, and the specific formula is as follows:
- the sub-authentication information and the length information of the packet in the received multicast frames are obtained, and then the number corresponding to each sub-authentication information is separately calculated based on the obtained length information of each multicast frame packet, so that The smart device can accurately obtain the number corresponding to each sub-verification information, improve the accuracy of the number corresponding to the obtained sub-authentication information, and further enable the smart device to access the router conveniently and quickly.
- FIG. 7 is a schematic diagram of functional modules of a first embodiment of a verification information transmitting apparatus according to the present invention.
- the verification information sending apparatus includes:
- the splitting module 110 is configured to perform split operation on the verification information to split the verification information into multiple sub-verification information, and perform, for each sub-verification information, in the order of the sub-verification information in the verification information. Numbering;
- the splitting module 110 transmits the Wi-Fi authentication information of the mobile phone to the multicast address through the multicast mode, and sends the multicast information through the multicast;
- the multicast frame has the information such as the packet header, the address, and the length of the packet.
- the address consists of 6 bytes
- the first three bytes are fixed to 01 00 5E composition
- the seventh byte after the seventh byte and the following two bytes are set the same as the lower 23 bits of the multicast IP address. Therefore, the multicast address range can be used to include the data information in the multicast and send out, that is, the last 23 bits in the address carry the valid information. Since the information that the 23 bits can carry is limited, only two can be transmitted at a time.
- the splitting module 110 may perform a split operation on the verification information to split the verification information into a plurality of sub-verification information, and perform, for each sub-verification information, in the order of each of the sub-verification information in the verification information. Numbering.
- the verification information includes a Wi-Fi account and a Wi-Fi password.
- the verification information may further include an encryption method corresponding to the Wi-Fi password.
- the generating module 120 is configured to sequentially generate a multicast frame according to the number of each of the sub-authentication information and the sub-verification information;
- the generating module 120 first calculates the length information of each packet corresponding to the number according to the number of each of the sub-authentication information, wherein the length information L of the packet may be obtained by the following formula according to the numbered index:
- the smart terminal sequentially generates a multicast frame according to the length information L of the packet corresponding to the number of the sub-authentication information and the number of the sub-verification information. Specifically, the smart terminal fills each sub-verification information with the number of the sub-verification information.
- the length information of the packet in the multicast frame corresponding to the number of each sub-authentication information is the length information L of the packet corresponding to the number of the sub-verification information
- the sub-verification is calculated by the above formula
- the length information L of the packet corresponding to the number of the information can avoid errors caused by different lengths of data packets transmitted/received by different Wi-Fi modules, and improve the compatibility of the method of the embodiment.
- the selecting module 130 is configured to select a multicast frame in each generated multicast frame, and fill the length value of the verification information in the selected multicast frame;
- the selecting module 130 may select a multicast frame in each generated multicast frame, and then fill the selected multicast frame with a length value of the verification information, for example, a fourth address in the selected multicast frame.
- a specific field of the lower seven bits of the bit indicates the total length of the pass verification information.
- the number of the verification information sub-authentication information transmitted may also be represented in a specific field of the lower seven bits of the fourth digit of the address in the selected multicast frame, and the sub-authentication information is from 1 When the label is started, the number of the sub-verification information is the maximum value in the number.
- the sending module 140 is configured to send each generated multicast frame, where the receiver, when the total length of the sub-authentication information in the received multicast frame is equal to the length value of the verification information in the multicast frame, The number in the multicast frame reassembles the sub-verification information to obtain the verification information.
- the sending module 140 sends each generated multicast frame, and the smart device of the receiving party, including the refrigerator, the washing machine, the air conditioner, and the like, can directly receive each multicast frame sent by the smart terminal, and of course, each sent by the smart terminal
- the multicast frame may be forwarded by a router or the like to a smart device of a receiver including a refrigerator, a washing machine, an air conditioner, etc., and when receiving the multicast frame, the receiver obtains the sub-authentication information in the multicast frame.
- the sub-authentication information is reassembled according to the number in the multicast frame to obtain the verification information.
- the verification information may be first encrypted to improve the security of the verification information, and then the splitting module 110 splits the encrypted verification information. Action to split the verification information into multiple sub-verification information.
- the splitting module 110 performs a split operation on the verification information to split the verification information into a plurality of sub-verification information, and each of the sub-verification information is in the order of the verification information.
- the verification information is numbered, and then the generating module 120 sequentially generates a multicast frame according to the number of each of the sub-authentication information and the sub-verification information, and then the selecting module 130 selects a multicast frame in each generated multicast frame, and The length value of the verification information is filled in the selected multicast frame, and finally, the sending module 140 sends each generated multicast frame, so that the verification information is sent through the multicast frame, so that the smart device of the receiver can receive the received information.
- the multicast frame obtains the verification information, so that other smart devices can establish a connection with the router corresponding to the verification information without manually inputting the verification information, and transmit the verification information through the multicast frame of the existing Wi-Fi protocol without a specific transmission protocol. It can be applied to most Wi-Fi smart devices, making Wi-Fi smart devices easy and fast to access the router.
- the sending module 140 includes:
- the adding unit 141 is configured to add identifier information to each generated multicast frame.
- the identifier information is used to identify the sub-authentication information in the current multicast frame, so that other smart devices obtain the sub-authentication information, the number, and the like in the multicast frame that includes the identifier information.
- the sending unit 142 is configured to send each multicast frame after the identifier information is added, where the receiver obtains the identifier information in each received multicast frame when acquiring the identifier information in the received multicast frame.
- Sub-authentication information of the multicast frame and when the total length of the sub-authentication information is equal to the length value of the verification information in the multicast frame, the sub-authentication information is reorganized according to the number in the multicast frame containing the identification information to obtain the verify message.
- the adding unit 141 adds the identifier information to each generated multicast frame, and then the sending unit 142 sends each multicast frame after the identifier information is added, where the receiver obtains the received multicast frame.
- the identification information is obtained, the sub-authentication information of the multicast frame containing the identification information in each received multicast frame is obtained, and when the total length of the sub-authentication information is equal to the length value of the verification information in the multicast frame, the identification information is included
- the number in the multicast frame is recombined to obtain the verification information, and the identifier information is added to the multicast frame that includes the sub-authentication information, so that the smart device can pass the multicast frame when receiving the multicast frame.
- the identifier information obtains the sub-authentication information and the number of the multicast frame that includes the identifier information in each received multicast frame, improves the accuracy of obtaining the sub-authentication information and the number, and improves the convenience of the Wi-Fi smart device accessing the router. And quick.
- the generating module 120 includes:
- the calculating unit 121 is configured to sequentially calculate length information of the obtained packet according to the number corresponding to the sub-verification information;
- the length L of the packet of the multicast frame can be obtained by the following formula according to the numbered index:
- the generating unit 122 is configured to sequentially generate a multicast frame according to the length information of each of the sub-authentication information and the number of the sub-verification information.
- the smart terminal fills each sub-verification information into the last 23 bits of the address in the multicast frame corresponding to the number of the sub-authentication information, and the length information of the packet in the multicast frame corresponding to the number of each sub-authentication information is sub- The length information L of the packet corresponding to the number of the verification information.
- the length information of the obtained packet is sequentially calculated according to the number corresponding to the sub-verification information by the calculating unit 121; and then the length of the packet corresponding to the number of each of the sub-verification information and the sub-verification information is generated by the generating unit 122.
- the information is generated in sequence, and the multicast frame is generated according to the sub-authentication information and the length information of the packet, so that the smart device can accurately obtain the sub-authentication information and the number through the received multicast frame, thereby further improving the acquisition of the sub-authentication information.
- the accuracy of the number improves the convenience and speed of the Wi-Fi smart device access router.
- FIG. 10 is a schematic diagram of functional modules of a first embodiment of a verification information receiving apparatus according to the present invention.
- the verification information receiving apparatus includes:
- the first obtaining module 210 is configured to obtain, when receiving the multicast frame, the number of the sub-authentication information and the sub-authentication information in each received multicast frame;
- the first acquiring module 210 when receiving the multicast frame, acquires the last 23 bits of the data in the address in each multicast frame, and the information is the sub-authentication information, and then obtains the packet in each multicast frame.
- the length L and then calculate the number corresponding to each sub-verification information according to the following formula, the specific formula is as follows:
- the second obtaining module 220 is configured to obtain a length value of the verification information in the received selected multicast frame.
- the second obtaining module 220 acquires information about a specific field of the lower seven bits of the fourth bit of the address in the selected multicast frame, where the information is the length of the verification information, of course, in the selected multicast frame.
- a specific field of the lower seven bits of the fourth digit of the address indicates that the number of verification information sub-verification information is transmitted, and the information is the number of the sub-authentication information.
- the recombination module 230 is configured to recombine the sub-verification information to obtain the verification information based on the number of each of the sub-verification information when the sum of the lengths of the acquired sub-verification information is equal to the length value of the verification information.
- the recombination module 230 is based on each The number of the sub-verification information reorganizes each of the sub-verification information to obtain verification information.
- the reassembly module 230 reorganizes the sub-authentication information based on the number of each of the sub-verification information, the re-formed information needs to be performed. Decrypt to obtain verification information.
- the first obtaining module 210 acquires the number of the sub-authentication information and the sub-authentication information in each received multicast frame, and then the second obtaining module 220 receives the selected one.
- the length value of the verification information is obtained in the predetermined multicast frame.
- the recombination module 240 compares the sub-verification information based on the number of each of the sub-authentication information.
- Multicast frame transmission authentication information can be applied to most Wi-Fi smart devices, enabling smart devices to access routers easily and quickly.
- the first obtaining module 210 includes:
- the first obtaining unit 211 is configured to obtain a multicast frame that includes the identifier information in each received multicast frame.
- each of the multicast frames includes the identifier information.
- the first acquiring unit 211 first obtains the multicast frame that includes the identifier information in each of the received multicast frames, where the identifier is The information is used to identify the sub-authentication information carried in the current multicast frame, so that other smart devices can return the sub-authentication information, the number, and the like in the multicast frame that includes the identification information.
- the second obtaining unit 212 is configured to obtain the number of the sub-authentication information and the sub-authentication information in the multicast frame that includes the identifier information.
- the multicast frame received by the smart device may be directly sent by the smart device of the sender, or may be forwarded by the router, where the multicast frame received by the smart device is forwarded by the router, because The router scans multiple channels simultaneously to receive data.
- the router locks the current channel to receive all the multicast frames of the channel and forward them.
- the multicast frame including the identification information in each received multicast frame is obtained, and then the number of the sub-authentication information and the sub-authentication information is obtained in the multicast frame that includes the identification information, so that the smart device can be prevented from parsing.
- the multicast frame containing the identifier information improves the efficiency of the smart device to obtain the number of the sub-authentication information and the sub-authentication information, and further enables the smart device to access the router conveniently and quickly.
- the first obtaining module 210 further includes:
- the third obtaining unit 213 is configured to obtain the sub-authentication information and the length information of the packet in each received multicast frame.
- the calculating unit 214 is configured to separately calculate the number of each sub-verification information based on the acquired length information of the packet.
- the number corresponding to each sub-verification information can be calculated according to the following formula, and the specific formula is as follows:
- the second verification unit 213 acquires the sub-authentication information and the length information of the packet in the received multicast frames, and then the calculation unit 214 separately calculates and obtains the sub-verification information based on the acquired length information of the packet.
- the numbering enables the smart device to accurately obtain the number corresponding to each sub-authentication information, and improves the accuracy of the number corresponding to the obtained sub-authentication information, so that the smart device can access the router conveniently and quickly.
Abstract
Description
Claims (14)
- 一种验证信息发送方法,其特征在于,所述验证信息发送方法包括以下步骤:对验证信息进行拆分操作以将验证信息拆分为多个子验证信息,并按照各个所述子验证信息在所述验证信息中的顺序对各个所述子验证信息进行编号;根据各个所述子验证信息及所述子验证信息的编号依次生成组播帧;在生成的各个组播帧中选定一组播帧,并在选定的组播帧中填充所述验证信息的长度值;发送生成的各个组播帧,其中,接收方在接收到的所述组播帧中的子验证信息的总长度等于组播帧中验证信息的长度值时,按照所述组播帧中的编号对子验证信息进行重组以得到所述验证信息。
- 如权利要求1所述的验证信息发送方法,其特征在于,所述发送生成的各个组播帧的步骤包括:在生成的各个组播帧中添加标识信息;发送添加标识信息后的各个组播帧,其中,接收方在获取到接收到的所述组播帧中的标识信息时,获取接收到的各个组播帧中包含标识信息的组播帧的子验证信息,并在子验证信息的总长度等于组播帧中验证信息的长度值时,按照包含标识信息的组播帧中的编号对子验证信息进行重组以得到所述验证信息。
- 如权利要求2所述的验证信息发送方法,其特征在于,所述根据各个所述子验证信息及所述子验证信息的编号依次生成组播帧的步骤包括:根据所述子验证信息对应的编号依次计算获得包的长度信息;根据各个所述子验证信息及所述子验证信息的编号对应的包的长度信息依次生成组播帧。
- 如权利要求1所述的验证信息发送方法,其特征在于,所述根据各个所述子验证信息及所述子验证信息的编号依次生成组播帧的步骤包括:根据所述子验证信息对应的编号依次计算获得包的长度信息;根据各个所述子验证信息及所述子验证信息的编号对应的包的长度信息依次生成组播帧。
- 一种验证信息接收方法,其特征在于,所述验证信息接收方法包括以下步骤:在接收到组播帧时,获取接收到的各个组播帧中的子验证信息及子验证信息的编号;在接收到的选定的组播帧中获取验证信息的长度值;在获取到的各个子验证信息的长度之和等于验证信息的长度值时,基于各个所述子验证信息的编号对子验证信息进行重组以获得验证信息。
- 如权利要求5所述的验证信息接收方法,其特征在于,所述获取接收到的各个组播帧中的子验证信息及子验证信息的编号的步骤包括:获取接收到的各个组播帧中包含标识信息的组播帧;在包含标识信息的组播帧中获取子验证信息及子验证信息的编号。
- 如权利要求5所述的验证信息接收方法,其特征在于,所述获取接收到的各个组播帧中的子验证信息及子验证信息的编号的步骤包括:获取接收到的各个组播帧中的子验证信息及包的长度信息;基于获取到的包的长度信息分别计算获得各个子验证信息的编号。
- 一种验证信息发送装置,其特征在于,所述验证信息发送装置包括:拆分模块,用于对验证信息进行拆分操作以将验证信息拆分为多个子验证信息,并按照各个所述子验证信息在所述验证信息中的顺序对各个所述子验证信息进行编号;生成模块,用于根据各个所述子验证信息及所述子验证信息的编号依次生成组播帧;选择模块,用于在生成的各个组播帧中选定一组播帧,并在选定的组播帧中填充所述验证信息的长度值;发送模块,用于发送生成的各个组播帧,其中,接收方在接收到的所述组播帧中的子验证信息的总长度等于组播帧中验证信息的长度值时,按照所述组播帧中的编号对子验证信息进行重组以得到所述验证信息。
- 如权利要求8所述的验证信息发送装置,其特征在于,所述发送模块包括:添加单元,用于在生成的各个组播帧中添加标识信息;发送单元,用于发送添加标识信息后的各个组播帧,其中,接收方在获取到接收到的所述组播帧中的标识信息时,获取接收到的各个组播帧中包含标识信息的组播帧的子验证信息,并在子验证信息的总长度等于组播帧中验证信息的长度值时,按照包含标识信息的组播帧中的编号对子验证信息进行重组以得到所述验证信息。
- 如权利要求9所述的验证信息发送装置,其特征在于,所述生成模块包括:计算单元,用于根据所述子验证信息对应的编号依次计算获得包的长度信息;生成单元,用于根据各个所述子验证信息及所述子验证信息的编号对应的包的长度信息依次生成组播帧。
- 如权利要求8所述的验证信息发送装置,其特征在于,所述生成模块包括:计算单元,用于根据所述子验证信息对应的编号依次计算获得包的长度信息;生成单元,用于根据各个所述子验证信息及所述子验证信息的编号对应的包的长度信息依次生成组播帧。
- 一种验证信息接收装置,其特征在于,所述验证信息接收装置包括:第一获取模块,用于在接收到组播帧时,获取接收到的各个组播帧中的子验证信息及子验证信息的编号;第二获取模块,用于在接收到的选定的组播帧中获取验证信息的长度值;重组模块,用于在获取到的各个子验证信息的长度之和等于验证信息的长度值时,基于各个所述子验证信息的编号对子验证信息进行重组以获得验证信息。
- 如权利要求12所述的验证信息接收装置,其特征在于,所述第一获取模块包括:第一获取单元,用于获取接收到的各个组播帧中包含标识信息的组播帧;第二获取单元,用于在包含标识信息的组播帧中获取子验证信息及子验证信息的编号。
- 如权利要求12所述的验证信息接收装置,其特征在于,所述第一获取模块还包括:第三获取单元,用于获取接收到的各个组播帧中的子验证信息及包的长度信息;计算单元,用于基于获取到的包的长度信息分别计算获得各个子验证信息的编号。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/076753 WO2017156777A1 (zh) | 2016-03-18 | 2016-03-18 | 验证信息发送、接收方法及装置 |
AU2016277747A AU2016277747B2 (en) | 2016-03-18 | 2016-03-18 | Method and device for transmitting verification information |
US15/413,422 US10484871B2 (en) | 2016-03-18 | 2017-01-24 | Method and device for transmitting verification information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/076753 WO2017156777A1 (zh) | 2016-03-18 | 2016-03-18 | 验证信息发送、接收方法及装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/413,422 Continuation US10484871B2 (en) | 2016-03-18 | 2017-01-24 | Method and device for transmitting verification information |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017156777A1 true WO2017156777A1 (zh) | 2017-09-21 |
Family
ID=59851306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/076753 WO2017156777A1 (zh) | 2016-03-18 | 2016-03-18 | 验证信息发送、接收方法及装置 |
Country Status (2)
Country | Link |
---|---|
AU (1) | AU2016277747B2 (zh) |
WO (1) | WO2017156777A1 (zh) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130121230A1 (en) * | 2011-11-10 | 2013-05-16 | Electronics And Telecommunications Research Institute | Synchronization control apparatus and method for multicast and broadcast services |
CN103458399A (zh) * | 2013-07-12 | 2013-12-18 | 北京睿通慧联科技有限公司 | 智能wifi模块及将支持wifi连接的设备配置进wifi网络的方法 |
CN103825788A (zh) * | 2014-01-29 | 2014-05-28 | 北京睿通慧联科技有限公司 | 一种wifi网络配置方法及系统 |
CN105050083A (zh) * | 2015-05-25 | 2015-11-11 | 深圳创维数字技术有限公司 | 一种智能设备的网络配置方法及系统 |
CN105847246A (zh) * | 2016-03-18 | 2016-08-10 | 深圳创维-Rgb电子有限公司 | 验证信息发送、接收方法及装置 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105682183B (zh) * | 2016-01-14 | 2017-06-16 | 美的集团股份有限公司 | 控制家电设备入网的方法和装置 |
-
2016
- 2016-03-18 WO PCT/CN2016/076753 patent/WO2017156777A1/zh active Application Filing
- 2016-03-18 AU AU2016277747A patent/AU2016277747B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130121230A1 (en) * | 2011-11-10 | 2013-05-16 | Electronics And Telecommunications Research Institute | Synchronization control apparatus and method for multicast and broadcast services |
CN103458399A (zh) * | 2013-07-12 | 2013-12-18 | 北京睿通慧联科技有限公司 | 智能wifi模块及将支持wifi连接的设备配置进wifi网络的方法 |
CN103825788A (zh) * | 2014-01-29 | 2014-05-28 | 北京睿通慧联科技有限公司 | 一种wifi网络配置方法及系统 |
CN105050083A (zh) * | 2015-05-25 | 2015-11-11 | 深圳创维数字技术有限公司 | 一种智能设备的网络配置方法及系统 |
CN105847246A (zh) * | 2016-03-18 | 2016-08-10 | 深圳创维-Rgb电子有限公司 | 验证信息发送、接收方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
AU2016277747A1 (en) | 2017-10-05 |
AU2016277747B2 (en) | 2021-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016076631A1 (en) | Transmitting apparatus, receiving apparatus and controlling method thereof | |
WO2016178548A1 (ko) | 프로파일 제공 방법 및 장치 | |
WO2016072747A1 (en) | Transmitting apparatus and receiving apparatus and signal processing method thereof | |
WO2020117012A1 (en) | Method and device for transmitting and receiving data via uwb in wireless communication system | |
WO2015061941A1 (zh) | 一种密钥配置方法和装置 | |
WO2020055184A1 (ko) | 무선 통신 시스템에서 단말 간 링크 측정 방법 및 장치 | |
WO2019019374A1 (zh) | 智能语音设备控制家电的方法、装置及系统 | |
CN105723648A (zh) | 一种密钥配置方法、系统和装置 | |
WO2012165794A2 (ko) | 이기종 네트워크 기반 데이터 동시 전송 서비스 시스템 및 그 방법 | |
WO2017201899A1 (zh) | 连接蓝牙设备的方法及装置 | |
WO2014185729A1 (en) | Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals | |
WO2020067812A1 (en) | An apparatus and a method for configurating and reporting of minimization of drive tests measurement and access network device | |
EP3216191A1 (en) | Transmitting apparatus and receiving apparatus and signal processing method thereof | |
WO2018000856A1 (zh) | 一种实现SDN Overlay网络报文转发的方法、终端、设备及计算机可读存储介质 | |
EP4107904A1 (en) | Apparatus and method of generating application specific keys using key derived from network access authentication | |
WO2018058919A1 (zh) | 标识信息生成方法、装置、设备和计算机可读存储介质 | |
WO2012165809A2 (ko) | 이기종 네트워크 기반 데이터 동시 전송 서비스 방법 및 장치 | |
WO2018233367A1 (zh) | 立案方法、装置、终端和计算机可读存储介质 | |
WO2019062194A1 (zh) | 家电设备及其控制方法、系统及计算机可读存储介质 | |
WO2019216739A1 (en) | Security protection method and apparatus in wireless communication system | |
WO2019037395A1 (zh) | 密钥管理方法、装置及可读存储介质 | |
WO2017148028A1 (zh) | 基于智能电视的远端网络连接方法和系统 | |
WO2017063369A1 (zh) | 无线直连连接方法及装置 | |
WO2014117334A1 (zh) | 一种实现无线资源控制协议功能的方法、宏基站及微小区节点 | |
WO2015027410A1 (zh) | 分发密钥的方法、m2m平台及m2m终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2016277747 Country of ref document: AU Date of ref document: 20160318 Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16893942 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16893942 Country of ref document: EP Kind code of ref document: A1 |