CN110582082A - Method and device for accessing network to be configured to network hotspot equipment - Google Patents

Method and device for accessing network to be configured to network hotspot equipment Download PDF

Info

Publication number
CN110582082A
CN110582082A CN201810590238.2A CN201810590238A CN110582082A CN 110582082 A CN110582082 A CN 110582082A CN 201810590238 A CN201810590238 A CN 201810590238A CN 110582082 A CN110582082 A CN 110582082A
Authority
CN
China
Prior art keywords
information
network
equipment
target
packet
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.)
Granted
Application number
CN201810590238.2A
Other languages
Chinese (zh)
Other versions
CN110582082B (en
Inventor
肖月振
于海龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810590238.2A priority Critical patent/CN110582082B/en
Priority to TW108109107A priority patent/TW202002712A/en
Priority to PCT/CN2019/088715 priority patent/WO2019233310A1/en
Publication of CN110582082A publication Critical patent/CN110582082A/en
Application granted granted Critical
Publication of CN110582082B publication Critical patent/CN110582082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless

Abstract

The embodiment of the application provides a method and a device for accessing a device to be networked to a network hotspot device, wherein the method comprises the following steps: the method comprises the steps that the equipment to be distributed acquires password information of target network hotspot equipment and a target Basic Service Set Identifier (BSSID) sent by a user terminal; the equipment to be networked searches a target SSID corresponding to the target BSSID from BSSIDs and service set identifiers SSIDs of a plurality of preset network hotspot equipment; and the equipment to be networked accesses the target network hotspot equipment by adopting the password information and the target SSID. In the embodiment of the application, the SSID does not need to be sent, so that the error of SSID transmission does not occur, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.

Description

Method and device for accessing network to be configured to network hotspot equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for accessing a device to be networked to a network hotspot device and a device for accessing the device to be networked to the network hotspot device.
background
Along with the development of the internet of things, in the intelligent family scene of the internet of things, more and more intelligent devices use WiFi to access the family router to realize the functions of remote device control, scene linkage and the like.
before the intelligent device accesses the internet lnt, the SSID (Service Set Identifier) and the Password of the router need to be obtained by means of a distribution network scheme. The current distribution network scheme mainly comprises two schemes, one is a WiFi broadcast distribution network scheme, and the other is a WiFi multicast distribution network.
The WiFi broadcast distribution network adopts a Length field to transmit the SSID and the Password of the router, and the WiFi multicast distribution network adopts a Destination field to transmit the SSID and the Password of the router. The existing WiFi broadcast/multicast one-key distribution network firstly encodes the SSID and the Passsword of the router, and then the codes are sequentially sent to equipment to be distributed by a mobile phone. Wherein the loss of any one byte in these encodings will not resolve the SSID and Password of the router correctly. Since the probability of each byte being lost is approximately the same, theoretically, the longer the length of SSID and Password is, the lower the probability of error is, and the lower the probability of correctly resolving SSID and Password of the router is.
disclosure of Invention
In view of the foregoing problems, embodiments of the present application are provided to provide a method for accessing a device to be networked to a network hotspot device and a corresponding apparatus for accessing a device to be networked to a network hotspot device, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a method for accessing a device to be networked to a network hotspot device, including:
the method comprises the steps that the equipment to be distributed acquires password information of target network hotspot equipment and a target Basic Service Set Identifier (BSSID) sent by a user terminal;
the equipment to be networked searches a target SSID corresponding to the target BSSID from BSSIDs and service set identifiers SSIDs of a plurality of preset network hotspot equipment;
And the equipment to be networked accesses the target network hotspot equipment by adopting the password information and the target SSID.
preferably, the step of acquiring the password information of the target network hotspot device and the target basic service set identifier BSSID sent by the user terminal, by the device to be configured includes:
the network equipment to be configured receives a User Datagram Protocol (UDP) packet sent by a user terminal;
And the equipment to be configured acquires the password information of the target network hotspot equipment and the target basic service set identification BSSID from the UDP packet.
Preferably, the step of receiving, by the device to be networked, the plurality of UDP packets sent by the user terminal includes:
And the equipment to be configured receives a plurality of network configuration packets sent by the user terminal.
preferably, the step of acquiring, by the device to be networked, the password information of the target network hotspot device from the UDP packet includes:
the equipment to be configured acquires coding information from the multiple network configuration packets; the encoding information includes: encryption mode information, password length information, encrypted password information;
The equipment to be distributed determines encrypted password information from the coding information according to the password length information;
And the equipment to be distributed decrypts the encrypted password information according to the encryption mode information to obtain the password information.
preferably, the step of receiving, by the device to be networked, the UDP packet sent by the user terminal further includes:
and the equipment to be distributed receives at least one synchronous packet sent by the user terminal before receiving the plurality of network distribution packets sent by the user terminal.
Preferably, the step of acquiring, by the device to be networked, the target basic service set identifier BSSID from the UDP packet includes:
and the equipment to be configured acquires a target Basic Service Set Identifier (BSSID) from the synchronous packet.
preferably, the step of acquiring, by the device to be networked, the target basic service set identifier BSSID from the UDP packet includes:
And the equipment to be configured acquires a target Basic Service Set Identifier (BSSID) from the network configuration packet.
Preferably, the step of acquiring, by the device to be networked, the encoding information from the plurality of networking packets includes:
analyzing the received Length fields of the multiple network distribution packets by the equipment of the network to be distributed;
and the equipment to be distributed determines coding information according to the length fields of the plurality of network distribution packets.
Preferably, the step of acquiring, by the device to be networked, the encoding information from the plurality of networking packets includes:
The equipment to be configured determines a plurality of received network configuration packets;
analyzing the Destination fields Destination of the received multiple network distribution packets by the equipment to be distributed;
and the equipment of the network to be distributed determines coding information according to the Destination fields Destination of the plurality of network distribution packets.
preferably, the method further comprises the following steps:
the network to be distributed equipment receives a beacon packet sent by the network hotspot equipment;
and the equipment to be networked acquires the BSSID and the SSID of the network hotspot equipment from the beacon packet.
The embodiment of the application also discloses a method for accessing the device to be configured to the network hotspot device, which comprises the following steps:
the user terminal acquires password information and a target BSSID of target network hotspot equipment; the password information and the target BSSID are used for accessing the target network hotspot device;
and the user terminal sends the password information and the target BSSID of the target network hotspot equipment to the equipment to be networked.
preferably, the step of sending, by the user terminal, the password information and the target BSSID of the target network hotspot device to the device to be networked includes:
the user terminal encodes the password information into a UDP packet; the UDP contains a target BSSID;
and the user terminal sends the UDP packet to the equipment to be networked.
preferably, the step of the user terminal encoding the password information into a UDP packet includes:
The user terminal encrypts the password information in a preset encryption mode;
The user terminal generates encryption mode information corresponding to the preset encryption mode;
the user terminal determines password length information of the encrypted password information;
the user terminal packages the encryption mode information, the password length information and the encrypted password information into coding information;
and the user terminal codes the coding information into a plurality of network distribution packets.
Preferably, the step of sending, by the user terminal, the UDP packet to the device to be networked includes:
And the user terminal sends the plurality of network distribution packets to the equipment to be distributed.
preferably, the step of sending, by the user terminal, the UDP packet to the device to be networked further includes:
And the user terminal sends at least one synchronous packet to the equipment to be networked before sending the preset number of network distribution packets.
Preferably, the step of the user terminal encoding the encoding information into a plurality of network distribution packets includes:
And the user terminal codes the coding information to Length fields of a plurality of network distribution packets.
preferably, the step of the user terminal encoding the encoding information into a plurality of network distribution packets includes:
and the user terminal codes the coding information to Destination fields Destination of a plurality of network distribution packets.
The embodiment of the present application further discloses an apparatus for accessing a device to be configured to a network hotspot device, including:
The network distribution information acquisition module is positioned on the equipment to be network distributed and is used for acquiring password information of target network hotspot equipment and a target Basic Service Set Identifier (BSSID) sent by the user terminal;
a service set identifier searching module located in the device to be networked, configured to search a target SSID corresponding to the target BSSID from BSSIDs and service set identifiers SSIDs of a plurality of preset network hotspot devices;
And the access module is positioned on the equipment to be networked and is used for accessing the target network hotspot equipment by adopting the password information and the target SSID.
Preferably, the distribution network information obtaining module includes:
The user datagram protocol packet receiving submodule is used for receiving a User Datagram Protocol (UDP) packet sent by a user terminal;
and the distribution network information acquisition submodule is used for acquiring the password information of the target network hotspot equipment and the target basic service set identification BSSID from the UDP packet.
Preferably, the user datagram protocol packet receiving submodule includes:
and the network distribution packet receiving unit is used for receiving a plurality of network distribution packets sent by the user terminal.
preferably, the distribution network information obtaining sub-module includes:
A coding information acquisition unit for acquiring coding information from the plurality of network distribution packets; the encoding information includes: encryption mode information, password length information, encrypted password information;
an encrypted password acquisition unit configured to determine encrypted password information from the encoded information according to the password length information;
And the decryption unit is used for decrypting the encrypted password information according to the encryption mode information to obtain the password information.
Preferably, the user datagram protocol packet receiving sub-module further includes:
a synchronization packet receiving unit, configured to receive at least one synchronization packet sent by the user terminal before receiving the multiple network distribution packets sent by the user terminal.
preferably, the distribution network information obtaining sub-module includes:
a first target basic service set identifier obtaining unit, configured to obtain a target basic service set identifier BSSID from the synchronization packet.
Preferably, the distribution network information obtaining sub-module includes:
And a second target basic service set identifier obtaining unit, configured to obtain a target basic service set identifier BSSID from the network distribution packet.
preferably, the encoding information acquiring unit includes:
A Length field analyzing subunit, configured to analyze Length fields of the received multiple network distribution packets;
And the first coding information determining subunit is used for determining the coding information according to the length fields of the plurality of network distribution packets.
preferably, the encoding information acquiring unit includes:
a Destination field analysis subunit, configured to analyze Destination fields Destination of the received multiple network distribution packets;
And the second coding information determining subunit is used for determining the coding information according to the Destination fields Destination of the plurality of network distribution packets.
Preferably, the method further comprises the following steps:
The beacon packet receiving module is positioned on the equipment to be distributed and is used for receiving a beacon packet sent by the network hotspot equipment;
And the equipment information acquisition module is positioned on the equipment to be distributed and is used for acquiring the BSSID and the SSID of the network hotspot equipment from the beacon packet.
The embodiment of the present application further discloses an apparatus for accessing a device to be configured to a network hotspot device, including:
the distribution network information acquisition module is positioned at the user terminal and used for acquiring password information and a target BSSID of the target network hotspot equipment; the password information and the target BSSID are used for accessing the target network hotspot device;
And the distribution network information sending module is positioned at the user terminal and used for sending the password information and the target BSSID of the target network hotspot equipment to the equipment to be distributed.
Preferably, the distribution network information sending module includes:
The password information coding submodule is used for coding the password information into a UDP packet; the UDP contains a target BSSID;
And the user datagram protocol packet sending submodule is used for sending the UDP packet to the equipment to be configured.
Preferably, the cryptographic information encoding sub-module includes:
the password information encryption unit is used for encrypting the password information by adopting a preset encryption mode;
an encryption mode information generating unit for generating encryption mode information corresponding to the preset encryption mode;
a password length information determining unit for determining password length information of the encrypted password information;
The coding information packaging unit is used for packaging the encryption mode information, the password length information and the encrypted password information into coding information;
And the coding information coding unit is used for coding the coding information into a plurality of network distribution packets.
preferably, the user datagram protocol packet sending submodule includes:
And the distribution network packet sending unit is used for sending the plurality of distribution network packets to the equipment to be distributed.
preferably, the user datagram protocol packet sending sub-module further includes:
and the synchronous packet sending unit is used for sending at least one synchronous packet to the equipment to be networked before sending the preset number of network distribution packets.
preferably, the encoding information encoding unit includes:
and the first coding subunit is used for coding the coding information into Length fields of a plurality of network distribution packets.
preferably, the encoding information encoding unit includes:
and the second coding subunit is used for coding the coding information to Destination fields Destination of the plurality of network distribution packets.
The embodiment of the application also discloses a device, including:
One or more processors; and
One or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more methods as described above.
one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described above, are also disclosed.
the embodiment of the application has the following advantages:
in the embodiment of the application, the user terminal only needs to send the Password information (Password) and the BSSID of the target network hotspot device to the device to be networked, and does not need to send the SSID. The equipment to be distributed can find the SSID of the corresponding target network hotspot equipment according to the BSSID, and then the equipment to be distributed is accessed to the target network hotspot equipment according to the SSID and the password information. The SSID does not need to be sent, so that the error of SSID transmission is avoided, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.
In addition, at present, neither Android App nor iOS App can automatically obtain a coding format (universal code UTF-8 or Chinese character internal code extension specification GBK) of the Chinese SSID, and the default SSID of APP is UTF-8 coding, so that the SSID coded by GBK is transmitted according to the UTF-8 format, and the hot-point distribution network of the Chinese SSID coded by GBK fails. In the embodiment of the application, the SSID does not need to be transmitted, but the corresponding SSID is searched according to the BSSID, so that the problem that the Chinese SSID coded by the GBK fails to be distributed in a network can be effectively solved.
drawings
Fig. 1 is a flowchart illustrating a first step of a method for accessing a device to be networked to a network hotspot device according to a first embodiment of the present disclosure;
fig. 2 is a flowchart illustrating steps of a second embodiment of a method for accessing a device to be networked to a network hotspot device according to the present application;
FIG. 3 is a schematic diagram of encoded information in an embodiment of the present application;
FIG. 4 is a diagram illustrating the transmission of encoded information in an embodiment of the present application;
Fig. 5 is a flowchart illustrating a third step of a method for accessing a device to be networked to a network hotspot device according to a third embodiment of the present disclosure;
Fig. 6 is a flowchart illustrating a fourth step of a method for accessing a device to be networked to a network hotspot device according to the present application;
Fig. 7 is a block diagram of a first embodiment of an apparatus for accessing a network to be configured to a network hotspot device according to the present application;
Fig. 8 is a block diagram of a second embodiment of an apparatus for accessing a network hotspot device by a device to be networked according to the present application.
Detailed Description
in order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
referring to fig. 1, a flowchart illustrating a first step of a first method embodiment of accessing a device to be networked to a network hotspot device in the present application is shown, which may specifically include the following steps:
Step 101, a device to be configured acquires password information of a target network hotspot device and a target Basic Service Set Identifier (BSSID) sent by a user terminal;
in this embodiment, the network hotspot device may be a router, or may be a wireless access point ap (access point) without a routing function.
In the scene of the Internet of things, network hotspot equipment is arranged to provide WIFI hotspots for the intelligent equipment. The device to be networked is a device which needs to access a WIFI hotspot, such as an intelligent household appliance and a camera in a household, and various sensors and detectors in a factory.
In general, a device to be configured needs to access a network hotspot device by using password information and SSID (Service Set Identifier) of the network hotspot device. In the embodiment of the application, the user terminal sends the password information and the BSSID of the target network hotspot device to the device to be networked, but does not send the SSID.
The Password information is a Password (Password) of a WIFI hotspot of the router, BSSID (Basic Service Set Identifier) is an Identifier of a BSS (Basic Service Set), and the Basic Service Set is used for describing a group of devices which communicate with each other.
in the embodiment of the present application, the user terminal may support wireless communication devices of 802.11 and 802.2 communication protocols, such as a mobile phone, a tablet computer, a personal digital assistant, and the like. A distribution network application program APP can be installed in the user terminal, and the password information and the target BSSID of the target network hotspot device are sent to the device to be distributed through the distribution network APP.
step 102, the device to be networked searches a target SSID corresponding to the target BSSID from BSSIDs and service set identifiers SSIDs of a plurality of preset network hotspot devices;
in the embodiment of the application, BSSIDs and SSIDs of a plurality of network hotspot devices are preset in the device to be networked.
specifically, the device to be networked maintains a hotspot list, and BSSIDs and SSIDs of a plurality of network hotspot devices are recorded in the list. The BSSID of each network hotspot device corresponds to the SSID one to one, that is, a unique corresponding SSID can be found according to the BSSID. And the network-to-be-distributed equipment searches a target SSID corresponding to the target SSID from the hotspot list, wherein the target SSID is the SSID of the target network hotspot equipment.
the BSSID and SSID of the network hotspot device in the hotspot list may be input into the device to be networked by the user, or may be extracted from a Beacon packet sent by the network hotspot device by the device to be networked. Generally, a network hotspot device sends a Beacon packet to a device to be networked according to a certain time interval, where the Beacon packet includes a BSSID and an SSID of the network hotspot device.
and 103, the equipment to be networked accesses the target network hotspot equipment by adopting the password information and the target SSID.
the network to be distributed can access the hot spot of the target network hotspot device by adopting the password information and SSID of the target network hotspot device.
In the embodiment of the application, the user terminal only needs to send the Password information (Password) and the BSSID of the target network hotspot device to the device to be networked, and does not need to send the SSID. The equipment to be distributed can find the SSID of the corresponding target network hotspot equipment according to the BSSID, and then the equipment to be distributed is accessed to the target network hotspot equipment according to the SSID and the password information. The SSID does not need to be sent, so that the error of SSID transmission is avoided, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.
In addition, at present, neither Android App nor iOS App can automatically obtain a coding format (universal code UTF-8 or Chinese character internal code extension specification GBK) of the Chinese SSID, and the default SSID of APP is UTF-8 coding, so that the SSID coded by GBK is transmitted according to the UTF-8 format, and the hot-point distribution network of the Chinese SSID coded by GBK fails. In the embodiment of the application, the SSID does not need to be transmitted, but the corresponding SSID is searched according to the BSSID, so that the problem that the Chinese SSID coded by the GBK fails to be distributed in a network can be effectively solved.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a method for accessing a device to be networked to a network hotspot device according to the present application is shown, where the method specifically includes the following steps:
step 201, a device to be configured receives a User Datagram Protocol (UDP) packet sent by a user terminal;
in this embodiment, the user terminal may send a user Datagram protocol udp (user Datagram protocol) packet to the device to be networked according to an 802.11 protocol or an 802.2 protocol. The header of each UDP packet contains the BSSID and is disclosed in plain text. The user terminal may encode the password information into a specific field of the UDP packet.
specifically, the UDP sent by the user terminal may include a network distribution packet, and the user terminal may encode the password information into a plurality of network distribution packets; the step 201 may include: and the equipment to be configured receives a plurality of network configuration packets sent by the user terminal.
In the embodiment of the application, the amount of information that can be encoded by each distribution network packet is limited, and each distribution network packet can only encode a part of password information, so that the user terminal can encode the password information into a plurality of distribution network packets. The network equipment to be distributed needs to analyze the password information from a plurality of network distribution packets.
in this embodiment of the present application, the UDP sent by the user terminal may further include a synchronization packet; the step 201 may further include: and the equipment to be distributed receives at least one synchronous packet sent by the user terminal before receiving the plurality of network distribution packets sent by the user terminal.
Specifically, the user terminal may send at least one synchronization packet before sending each of the distribution network packets. After the device to be connected to the network receives the synchronization packet, it can know that the device to be connected to the network receives the distribution packet later.
step 202, the device to be networked acquires the password information of the target network hotspot device and the target basic service set identifier BSSID from the UDP packet.
The equipment to be distributed performs empty packet grabbing, the BSSID in the packet header can be obtained in the grabbed UDP packet, and the equipment to be distributed can obtain the target BSSID from the synchronous packet and can also obtain the BSSID from the network distribution packet because each UDP packet contains the BSSID.
And the equipment to be networked analyzes the password information from the plurality of captured UDP packets. Specifically, the device to be networked can analyze the password information from a plurality of networking packets. In this embodiment of the application, the device to be configured may obtain the password information of the target network hotspot device from the plurality of network distribution packets. The method specifically comprises the following substeps:
Substep S11, the device to be networked acquires coding information from the multiple networking packages; the encoding information includes: encryption mode information, password length information, encrypted password information;
Referring to fig. 3, a schematic diagram of encoded information in the embodiment of the present application is shown. The encoding information may be composed of encryption mode information, password length information, encrypted password information, and check code information in sequence. The arrangement sequence of various information in the coding information can be agreed in advance between the user terminal and the equipment to be networked, and after the equipment to be networked analyzes the complete coding information, the various information can be determined according to the agreed sequence.
in the embodiment of the application, in order to increase the confidentiality of the password information, the password information can be encrypted. The encryption mode information indicates which encryption mode is used for encrypting the cipher information, such as AES128-CFB encryption mode and AES128-OFB encryption mode. The encrypted password information can be decrypted by adopting a corresponding decryption mode according to the encrypted information. Specifically, the encryption mode information may be only one numerical value, each numerical value is agreed to correspond to one encryption mode, and which numerical value corresponds to which encryption mode is agreed in advance between the user terminal and the distribution network device.
the cipher length information indicates the length of the encrypted cipher information. In the encoded information, the length of the encryption mode information is fixed (e.g. 1Byte), the length of the password length information is fixed (e.g. 1Byte), the length of the check code information is also fixed (e.g. 1Byte), and the length of the encrypted password information is not fixed (may be n Byte). The equipment to be distributed needs to obtain encrypted password information with corresponding length from the coding information according to the password length information.
The equipment to be distributed can adopt the check code information to carry out check; and if the verification is wrong, the equipment to be distributed discards the coding information analyzed from the multiple network distribution packets.
In an example of the embodiment of the present application, the sub-step S11 may further include:
Step S111, the network equipment to be distributed analyzes the Length fields Length of the received multiple network distribution packets;
And a substep S112, determining coding information by the equipment to be distributed according to the length fields of the plurality of network distribution packets.
Each network distribution package has a Length field Length, the value of the Length field corresponding to the Length of the Data part Data in the network distribution package. After the network distribution equipment receives the network distribution packet, the content of the data part of the network distribution packet is not concerned, and only the length of the data part is concerned.
the length field of each distribution network packet can represent a code value, and the code information is actually formed by combining a plurality of code values.
In this example, the encoded information may include a plurality of bytes, and the byte length of the encoded value of each distribution network packet is limited, so that a plurality of distribution network packets need to be transmitted to completely transmit the encoded information.
the user terminal can divide the distribution network packet into a plurality of groups, after the equipment to be distributed receives the groups of the distribution network packet, the coding values of the distribution network packet are arranged in the groups according to the specified sequence, and the coding values of the groups are arranged among the groups according to the sequence of the groups.
fig. 4 is a schematic diagram illustrating sending of coded information in the embodiment of the present application. The user terminal sends at least one synchronization packet before sending each group of networking packets. The length of each synchronization packet reflects the order of the corresponding packet. After the user terminal sends a group of distribution network packets, the user terminal sends a synchronization packet corresponding to the next group of distribution network packets, and then sends the next group of distribution network packets. After the user terminal sends all the grouped distribution network packets, the user terminal can repeatedly send all the grouped distribution network packets.
The order of the distribution packets in the packet may also be determined according to the length of the data portion of each distribution packet. Specifically, the length field of each networking packet is obtained by adding an intra-group offset, which determines the order of the encoded values within the group, to the encoded value. It is agreed in advance between the network equipment to be configured and the user terminal which bits (bit) in the length field are offset and which bits are coding value. Therefore, the equipment to be distributed can determine the arrangement sequence of the code values in the group and the code values from the length field.
In order to make those skilled in the art better understand the transmission method of the encoded information in the embodiment of the present application, the following description is made by way of an example:
Assume that the complete distribution network data comprises the following bytes:
Hexadecimal number: 120F 0C 00344D 414C 00324F 555445520D 08
Every 8 bytes are grouped into one group, and then into three groups:
Group 1: 120F 0C 00344D 414C
Group 2: 00324F 555445520D
group 3: 08
The intra-group offset amounts are respectively expressed as: 0x100, 0x180, 0x200, 0x280, 0x300, 0x380, 0x400, 0x480
0x 100: representing the 1 st byte in the group
0x 180: representing the 2 nd byte in the group
0x200, which represents the 3 rd byte in the group
……
And so on;
The length of the synchronization packet corresponding to each packet is as follows: 0x3E0, 0x3E1, 0x3E2, … …, 0x3EF
0x3E 0: represents the 1 st packet
0x3E 1: represents the 2 nd packet
……
and so on;
The user terminal transmission sequence is as follows:
Synchronization packet corresponding to the 1 st packet: the data part length is 0x3E0 (can be sent continuously for a plurality of times to improve the success rate of synchronization)
1 st distribution network packet of the 1 st group: data portion length 0x100+0x12 ═ 0x112
Group 1, the 2 nd distribution network packet: data part length 0x180+0x0F ═ 0x18F
Group 1, group 3 network distribution package: data part length 0x200+0x0C ═ 0x20C
group 1, the 4 th distribution network packet: the data part length is 0x280+0x00 ═ 0x280
Group 1, the 5 th distribution network packet: data part length 0x300+0x 34-0 x334
The 6 th distribution network packet of group 1: data part length 0x380+0x4D ═ 0x3CD
group 1, 7 th network distribution packet: the data part length is 0x400+0x41 ═ 0x441
the 8 th distribution network packet of group 1: the data part length is 0x480+0x4C ═ 0x4CC
Synchronization packet corresponding to the 2 nd packet: the data part length is 0x3E1 (can be sent continuously for a plurality of times to improve the success rate of synchronization)
Group 2, 1 st distribution network packet: data portion length of 0x100+0x00 ═ 0x100
Group 2 of the 2 nd distribution network packets: data part length 0x180+0x32 ═ 0x1B2
group 2, 3 rd network distribution package: data part length 0x200+0x4F ═ 0x24F
group 2, the 4 th distribution network packet: data part length 0x280+0x55 ═ 0x2D5
group 2, the 5 th distribution network packet: data portion length 0x300+0x 54-0 x354
Group 2, the 6 th distribution network packet: data part length 0x380+0x45 ═ 0x3C5
Group 2, 7 th network packet: the data part length is 0x400+0x52 ═ 0x452
group 2, 8 th distribution network packet: the data part length is 0x480+0x0D ═ 0x48D
synchronization packet corresponding to the 3 rd packet: the data part length is 0x3E2 (can be sent continuously for a plurality of times to improve the success rate of synchronization)
Group 3, 1 st distribution network packet: data portion length 0x100+0x08 ═ 0x108
After all bytes are sent, repeat sending from head
The UDP packets received by the device to be configured are as follows:
UDP packet No. 1: data part length 0x3E0 (possibly received multiple times), synchronized to the 1 st packet
UDP packet 2: data part length 0x112, offset 0x100, 1 st packet in packet, encoded value 0x12
UDP packet No. 3: data part length 0x18F, offset 0x180, packet 2, encoded with value 0x0F
4 th UDP packet: data part length 0x20C, offset 0x200, packet 3, encoded with value 0x0C
UDP packet 5: data part length 0x280, offset 0x280, 4 th packet in packet, encoding value 0x00
UDP packet No. 6: data part length 0x334, offset 0x300, 5 th packet in packet, encoding value 0x34
7 th UDP packet: data part length x3CD, offset 0x380, packet 6, encoded with value 0x4D
The 8 th UDP packet: data part length 0x441, offset 0x400, 7 th packet in packet, encoded value 0x41
The 9 th UDP packet: data part length 0x4CC, offset 0x480, packet 8, encoded with value 0x4C
the 10 th UDP packet: data part length 0x3E1 (possibly received multiple times), synchronized to the 2 nd packet
11 th UDP packet: data part length 0x100, offset 0x100, 1 st packet in packet, encoding value 0x00
……
By analogy with that
in another example of the embodiment of the present application, the sub-step S11 may further include:
step S113, the equipment to be distributed analyzes the Destination fields of the received multiple distribution packets;
And a substep S114, determining encoding information by the equipment to be distributed according to Destination fields Destination of the plurality of distribution packets.
the header of each network distribution packet contains Destination field Destination, and the Destination field indicates Destination MAC address.
the user terminal may encode the encoded information using three bytes at the end of the destination MAC address.
the destination MAC address of each distribution packet may represent a coded value, and the coded information is actually a combination of a plurality of coded values.
in this example, the encoded information may include a plurality of bytes, and the byte length of the encoded value of each distribution network packet is limited, so that a plurality of distribution network packets need to be transmitted to completely transmit the encoded information.
The user terminal can divide the distribution network packet into a plurality of groups, after the equipment to be distributed receives the groups of the distribution network packet, the coding values of the distribution network packet are arranged in the groups according to the specified sequence, and the coding values of the groups are arranged among the groups according to the sequence of the groups.
the user terminal transmits at least one synchronization packet before each set of networking packets. The length of each synchronization packet reflects the order of the corresponding packet.
The order of the network packets in the packet may also be determined based on the destination MAC address of each network packet. Specifically, the destination MAC address of each network-allocated packet is obtained by adding an intra-group offset, which determines the order of the encoded values within the group, to the encoded value. The device to be configured and the user terminal predetermine which bits (bit) in the destination MAC address are offset and which bits are coding values. Therefore, the equipment to be distributed can determine the arrangement sequence and the code value of the code value in the group from the destination MAC address.
Substep S12, the equipment to be distributed determines encrypted password information from the coding information according to the password length information;
and a substep S13, decrypting the encrypted password information by the equipment to be distributed according to the encryption mode information to obtain password information.
Step 203, the device to be networked searches a target SSID corresponding to the target BSSID from preset BSSIDs and service set identifiers SSID of a plurality of network hotspot devices;
In the embodiment of the application, the BSSID and SSID of the network hotspot device may be input into the device to be networked by the user, or may be obtained by the device to be networked from a Beacon packet sent by the network hotspot device. Generally, a network hotspot device sends a Beacon packet to a device to be networked according to a certain time interval, where the Beacon packet includes a BSSID and an SSID of the network hotspot device.
and step 204, the device to be networked accesses the target network hotspot device by adopting the password information and the target SSID.
the network to be distributed can access the target network hotspot device by adopting the password information and SSID of the target network hotspot device.
In the embodiment of the application, the user terminal only needs to send the Password information (Password) and the BSSID of the target network hotspot device to the device to be networked, and does not need to send the SSID. The equipment to be distributed can find the SSID of the corresponding target network hotspot equipment according to the BSSID, and then the equipment to be distributed is accessed to the target network hotspot equipment according to the SSID and the password information. The SSID does not need to be sent, so that the error of SSID transmission is avoided, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.
In addition, at present, neither Android App nor iOS App can automatically obtain a coding format (universal code UTF-8 or Chinese character internal code extension specification GBK) of the Chinese SSID, and the default SSID of APP is UTF-8 coding, so that the SSID coded by GBK is transmitted according to the UTF-8 format, and the hot-point distribution network of the Chinese SSID coded by GBK fails. In the embodiment of the application, the SSID does not need to be transmitted, but the corresponding SSID is searched according to the BSSID, so that the problem that the Chinese SSID coded by the GBK fails to be distributed in a network can be effectively solved.
Referring to fig. 5, a flowchart illustrating a third step of the method embodiment for accessing a network hotspot device by a device to be networked according to the present application is shown, which may specifically include the following steps:
Step 301, a user terminal acquires password information and a target BSSID of a target network hotspot device; the password information and the target BSSID are used for accessing the target network hotspot device;
in this embodiment, the network hotspot device may be a router, or may be a wireless access point ap (access point) without a routing function.
in the embodiment of the present application, the user terminal may support wireless communication devices of 802.11 and 802.2 communication protocols, such as a mobile phone, a tablet computer, a personal digital assistant, and the like.
The user terminal can be provided with a distribution network application program APP, password information and a target BSSID of the target network hotspot device can be input into the distribution network APP of the user terminal by a user, and the distribution network APP can be sent to the user terminal by the target network hotspot device after the user terminal is connected with the target network hotspot device.
step 302, the user terminal sends the password information of the target network hotspot device and the target BSSID to the device to be networked.
The password information and the target BSSID of the target network hotspot device can be sent to the device to be distributed through the distribution network APP.
after receiving the target BSSID, the device to be configured may search for a target SSID corresponding to the target BSSID from BSSIDs and SSIDs of a plurality of preset network hotspot devices. And then the equipment to be networked accesses the hot spot of the target network hot spot equipment by adopting the password information and the target SSID.
In the embodiment of the application, the user terminal only needs to send the Password information (Password) and the BSSID of the target network hotspot device to the device to be networked, and does not need to send the SSID. The equipment to be distributed can find the SSID of the corresponding target network hotspot equipment according to the BSSID, and then the equipment to be distributed is accessed to the target network hotspot equipment according to the SSID and the password information. The SSID does not need to be sent, so that the error of SSID transmission is avoided, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.
In addition, at present, neither Android App nor iOS App can automatically obtain a coding format (universal code UTF-8 or Chinese character internal code extension specification GBK) of the Chinese SSID, and the default SSID of APP is UTF-8 coding, so that the SSID coded by GBK is transmitted according to the UTF-8 format, and the hot-point distribution network of the Chinese SSID coded by GBK fails. In the embodiment of the application, the SSID does not need to be transmitted, but the corresponding SSID is searched according to the BSSID, so that the problem that the Chinese SSID coded by the GBK fails to be distributed in a network can be effectively solved.
Referring to fig. 6, a flowchart illustrating a fourth step of the method for accessing a network hotspot device by a device to be networked according to the present application is shown, where the method specifically includes the following steps:
Step 401, a user terminal acquires password information and a target BSSID of a target network hotspot device; the password information and the target BSSID are used for accessing the target network hotspot device;
Step 402, the user terminal encodes the password information into a UDP packet; the UDP contains a target BSSID;
in the embodiment of the present application, the UDP packet includes a network distribution packet; the step 402 may comprise the sub-steps of:
in the substep S21, the user terminal encrypts the password information by adopting a preset encryption mode;
for example, the user terminal encrypts the password information by using an encryption method such as an AES128-CFB encryption method, an AES128-OFB encryption method and the like to obtain the encrypted password information.
Substep S22, the user terminal generating encryption mode information corresponding to the preset encryption mode;
specifically, the encryption mode information may be only one numerical value, and each numerical value is agreed to correspond to one encryption mode. Which numerical value corresponds to which encryption mode is agreed in advance between the user terminal and the distribution network equipment, and the confidentiality of password information is improved.
A substep S23, the user terminal determining password length information of the encrypted password information;
The cipher length information indicates the length of the encrypted cipher information.
Substep S24, the user terminal encapsulates the encryption mode information, password length information and encrypted password information into coding information;
when packaging, the user terminal may arrange the encryption mode information, the password length information, and the encrypted password information in a set order.
Further, the encoded information may further include: and checking the code information. The user terminal may arrange the encryption mode information, the password length information, the encrypted password information, and the check code information in a set order.
And a substep S25, the user terminal encoding the encoded information into a plurality of network packets.
In an example in the embodiment of the present application, the sub-step S25 may further include: and the user terminal codes the coding information to Length fields of a plurality of network distribution packets.
Specifically, the user terminal may divide the encoded information into a plurality of encoded values (for example, the encoded information includes a plurality of bytes, and one byte is used as one encoded value), divide the encoded value into a plurality of encoded value groups; the user terminal encodes the code value of a code value group into each network distribution packet belonging to a network distribution packet group. That is, the complete encoded information may be encoded into distribution network packets of a plurality of distribution network packet groups.
for the coded value of one coded value packet, generating a corresponding intra-group offset according to the sequence of the coded value in the coded value packet; and then coding the coded value and the corresponding intra-group offset into the length field of each network distribution packet of one network distribution packet group respectively.
After the network distribution equipment receives the multiple groups of network packets, the coding value and the in-group offset are analyzed from the length field of the network packets. For the coded values of one distribution network packet group, determining the sequence of the coded values in the coded value group according to the intra-group offset, and then arranging the coded values according to the sequence. And arranging the coded values of different distribution network packet groups according to the sequence of the distribution network packet groups.
In another example in the embodiment of the present application, the sub-step S25 may further include: and the user terminal codes the coding information to Destination fields Destination of a plurality of network distribution packets.
Specifically, the user terminal may divide the encoded information into a plurality of encoded values (for example, the encoded information includes a plurality of bytes, and one byte is used as one encoded value), divide the encoded value into a plurality of encoded value groups; the user terminal encodes the code value of a code value group into each network distribution packet belonging to a network distribution packet group. That is, the complete encoded information may be encoded into distribution network packets of a plurality of distribution network packet groups.
for the coded value of one coded value packet, generating a corresponding intra-group offset according to the sequence of the coded value in the coded value packet; and then coding the coded value and the corresponding intra-group offset to the destination field of each network distribution packet of one network distribution packet group respectively. Specifically, the last three bytes of the destination MAC address of the destination field may be used for encoding.
After the network distribution equipment receives the multiple groups of network packets, the coding value and the in-group offset are analyzed from the destination field of the network packets. For the coded values of one distribution network packet group, determining the sequence of the coded values in the coded value group according to the intra-group offset, and then arranging the coded values according to the sequence. And arranging the coded values of different distribution network packet groups according to the sequence of the distribution network packet groups.
Step 403, the user terminal sends the UDP packet to the device to be networked.
In this embodiment, the step 403 may include: and the user terminal sends the plurality of network distribution packets to the equipment to be distributed.
in this embodiment of the present application, the step 403 may further include: and the user terminal sends at least one synchronous packet to the equipment to be networked before sending the preset number of network distribution packets.
specifically, the user terminal sends distribution network packet groups, and each distribution network packet group includes a preset number of distribution network packets. Before each group of networking packets, the user terminal sends a group of synchronization packets, and each group of synchronization packets at least comprises one synchronization packet. The lengths of the data parts of the synchronization packets in the same group are the same, that is, the length fields of the synchronization packets in the same group are the same, and the length fields of the synchronization packets indicate the sequence of the distribution network packet grouping.
In the embodiment of the application, the user terminal only needs to send the Password information (Password) and the BSSID of the target network hotspot device to the device to be networked, and does not need to send the SSID. The equipment to be distributed can find the SSID of the corresponding target network hotspot equipment according to the BSSID, and then the equipment to be distributed is accessed to the target network hotspot equipment according to the SSID and the password information. The SSID does not need to be sent, so that the error of SSID transmission is avoided, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.
In addition, at present, neither Android App nor iOS App can automatically obtain a coding format (universal code UTF-8 or Chinese character internal code extension specification GBK) of the Chinese SSID, and the default SSID of APP is UTF-8 coding, so that the SSID coded by GBK is transmitted according to the UTF-8 format, and the hot-point distribution network of the Chinese SSID coded by GBK fails. In the embodiment of the application, the SSID does not need to be transmitted, but the corresponding SSID is searched according to the BSSID, so that the problem that the Chinese SSID coded by the GBK fails to be distributed in a network can be effectively solved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 7, a block diagram of a first structure of an embodiment of an apparatus for accessing a device to be networked to a network hotspot device according to the present application is shown, and the first structure may specifically include the following modules:
A distribution network information obtaining module 501 located in a device to be distributed, configured to obtain password information of a target network hotspot device and a target basic service set identifier BSSID sent by a user terminal;
A service set identifier searching module 502 located in the device to be networked, configured to search a target SSID corresponding to the target BSSID from BSSIDs and service set identifiers SSIDs of a plurality of preset network hotspot devices;
and the access module 503 is located in the device to be networked, and is configured to access the target network hotspot device by using the password information and the target SSID.
in this embodiment of the application, the distribution network information obtaining module 501 may include:
The user datagram protocol packet receiving submodule is used for receiving a User Datagram Protocol (UDP) packet sent by a user terminal;
and the distribution network information acquisition submodule is used for acquiring the password information of the target network hotspot equipment and the target basic service set identification BSSID from the UDP packet.
In this embodiment of the present application, the user datagram protocol packet receiving sub-module may include:
And the network distribution packet receiving unit is used for receiving a plurality of network distribution packets sent by the user terminal.
In this embodiment of the present application, the distribution network information obtaining sub-module may include:
A coding information acquisition unit for acquiring coding information from the plurality of network distribution packets; the encoding information includes: encryption mode information, password length information, encrypted password information;
an encrypted password acquisition unit configured to determine encrypted password information from the encoded information according to the password length information;
And the decryption unit is used for decrypting the encrypted password information according to the encryption mode information to obtain the password information.
In this embodiment of the present application, the user datagram protocol packet receiving sub-module may further include:
A synchronization packet receiving unit, configured to receive at least one synchronization packet sent by the user terminal before receiving the multiple network distribution packets sent by the user terminal.
In this embodiment of the present application, the distribution network information obtaining sub-module may include:
a first target basic service set identifier obtaining unit, configured to obtain a target basic service set identifier BSSID from the synchronization packet.
In this embodiment of the present application, the distribution network information obtaining sub-module may include:
And a second target basic service set identifier obtaining unit, configured to obtain a target basic service set identifier BSSID from the network distribution packet.
In an example of the embodiment of the present application, the encoding information obtaining unit specifically includes:
A Length field analyzing subunit, configured to analyze Length fields of the received multiple network distribution packets;
And the first coding information determining subunit is used for determining the coding information according to the length fields of the plurality of network distribution packets.
In another example of the embodiment of the present application, the encoding information obtaining unit may include:
A Destination field analysis subunit, configured to analyze Destination fields Destination of the received multiple network distribution packets;
and the second coding information determining subunit is used for determining the coding information according to the Destination fields Destination of the plurality of network distribution packets.
in this embodiment, the apparatus may further include:
The beacon packet receiving module is positioned on the equipment to be distributed and is used for receiving a beacon packet sent by the network hotspot equipment;
And the equipment information acquisition module is positioned on the equipment to be distributed and is used for acquiring the BSSID and the SSID of the network hotspot equipment from the beacon packet.
In the embodiment of the application, the user terminal only needs to send the Password information (Password) and the BSSID of the target network hotspot device to the device to be networked, and does not need to send the SSID. The equipment to be distributed can find the SSID of the corresponding target network hotspot equipment according to the BSSID, and then the equipment to be distributed is accessed to the target network hotspot equipment according to the SSID and the password information. The SSID does not need to be sent, so that the error of SSID transmission is avoided, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.
In addition, at present, neither Android App nor iOS App can automatically obtain a coding format (universal code UTF-8 or Chinese character internal code extension specification GBK) of the Chinese SSID, and the default SSID of APP is UTF-8 coding, so that the SSID coded by GBK is transmitted according to the UTF-8 format, and the hot-point distribution network of the Chinese SSID coded by GBK fails. In the embodiment of the application, the SSID does not need to be transmitted, but the corresponding SSID is searched according to the BSSID, so that the problem that the Chinese SSID coded by the GBK fails to be distributed in a network can be effectively solved.
referring to fig. 8, a block diagram of a second embodiment of an apparatus for accessing a device to be networked to a network hotspot device according to the present application is shown, and specifically may include the following modules:
A distribution network information acquisition module 601 located at the user terminal, configured to acquire password information and a target BSSID of a target network hotspot device; the password information and the target BSSID are used for accessing the target network hotspot device;
A distribution network information sending module 602 located at the user terminal, configured to send the password information of the target network hotspot device and the target BSSID to the device to be networked.
In this embodiment of the application, the distribution network information sending module 602 may include:
the password information coding submodule is used for coding the password information into a UDP packet; the UDP contains a target BSSID;
and the user datagram protocol packet sending submodule is used for sending the UDP packet to the equipment to be configured.
in this embodiment of the present application, the cryptographic information encoding sub-module may include:
the password information encryption unit is used for encrypting the password information by adopting a preset encryption mode;
an encryption mode information generating unit for generating encryption mode information corresponding to the preset encryption mode;
A password length information determining unit for determining password length information of the encrypted password information;
The coding information packaging unit is used for packaging the encryption mode information, the password length information and the encrypted password information into coding information;
And the coding information coding unit is used for coding the coding information into a plurality of network distribution packets.
In this embodiment of the present application, the user datagram protocol packet sending submodule may include:
And the distribution network packet sending unit is used for sending the plurality of distribution network packets to the equipment to be distributed.
In this embodiment of the present application, the user datagram protocol packet sending sub-module may further include:
and the synchronous packet sending unit is used for sending at least one synchronous packet to the equipment to be networked before sending the preset number of network distribution packets.
In an example of the embodiment of the present application, the encoding information encoding unit may include:
and the first coding subunit is used for coding the coding information into Length fields of a plurality of network distribution packets.
in another example of the embodiment of the present application, the encoding information encoding unit may include:
and the second coding subunit is used for coding the coding information to Destination fields Destination of the plurality of network distribution packets.
In the embodiment of the application, the user terminal only needs to send the Password information (Password) and the BSSID of the target network hotspot device to the device to be networked, and does not need to send the SSID. The equipment to be distributed can find the SSID of the corresponding target network hotspot equipment according to the BSSID, and then the equipment to be distributed is accessed to the target network hotspot equipment according to the SSID and the password information. The SSID does not need to be sent, so that the error of SSID transmission is avoided, and the success rate of the distribution network is improved; meanwhile, the data volume of sending is reduced, the time required for sending the data is reduced, and the distribution network efficiency is improved.
In addition, at present, neither Android App nor iOS App can automatically obtain a coding format (universal code UTF-8 or Chinese character internal code extension specification GBK) of the Chinese SSID, and the default SSID of APP is UTF-8 coding, so that the SSID coded by GBK is transmitted according to the UTF-8 format, and the hot-point distribution network of the Chinese SSID coded by GBK fails. In the embodiment of the application, the SSID does not need to be transmitted, but the corresponding SSID is searched according to the BSSID, so that the problem that the Chinese SSID coded by the GBK fails to be distributed in a network can be effectively solved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
an embodiment of the present application further provides an apparatus, including:
one or more processors; and
One or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform methods as described in embodiments of the present application.
embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods of embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
the method for accessing the device to be provisioned to the network hotspot device and the device for accessing the device to be provisioned to the network hotspot device provided by the application are introduced in detail, specific examples are applied in the text to explain the principle and the implementation mode of the application, and the description of the above embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (36)

1. A method for accessing a network to be configured to a network hotspot device is characterized by comprising the following steps:
the method comprises the steps that the equipment to be distributed acquires password information of target network hotspot equipment and a target Basic Service Set Identifier (BSSID) sent by a user terminal;
the equipment to be networked searches a target SSID corresponding to the target BSSID from BSSIDs and service set identifiers SSIDs of a plurality of preset network hotspot equipment;
And the equipment to be networked accesses the target network hotspot equipment by adopting the password information and the target SSID.
2. the method according to claim 1, wherein the step of acquiring the password information of the target network hotspot device and the target basic service set identification BSSID sent by the user terminal by the device to be distributed comprises:
The network equipment to be configured receives a User Datagram Protocol (UDP) packet sent by a user terminal;
And the equipment to be configured acquires the password information of the target network hotspot equipment and the target basic service set identification BSSID from the UDP packet.
3. The method of claim 2, wherein the step of receiving the plurality of UDP packets sent by the user terminal by the network-to-be-configured device comprises:
and the equipment to be configured receives a plurality of network configuration packets sent by the user terminal.
4. The method of claim 3, wherein the step of acquiring the password information of the target network hotspot device from the UDP packet by the device to be configured comprises:
the equipment to be configured acquires coding information from the multiple network configuration packets; the encoding information includes: encryption mode information, password length information, encrypted password information;
The equipment to be distributed determines encrypted password information from the coding information according to the password length information;
And the equipment to be distributed decrypts the encrypted password information according to the encryption mode information to obtain the password information.
5. the method of claim 3, wherein the step of receiving the UDP packet sent by the user terminal by the network-to-be-distributed device further comprises:
and the equipment to be distributed receives at least one synchronous packet sent by the user terminal before receiving the plurality of network distribution packets sent by the user terminal.
6. the method according to claim 5, wherein the step of acquiring a target Basic Service Set Identification (BSSID) from the UDP packet by the device to be configured comprises:
And the equipment to be configured acquires a target Basic Service Set Identifier (BSSID) from the synchronous packet.
7. The method according to claim 5, wherein the step of acquiring a target Basic Service Set Identification (BSSID) from the UDP packet by the device to be configured comprises:
and the equipment to be configured acquires a target Basic Service Set Identifier (BSSID) from the network configuration packet.
8. the method of claim 4, wherein the step of the network-to-be-distributed device obtaining the coding information from the plurality of network distribution packets comprises:
analyzing the received Length fields of the multiple network distribution packets by the equipment of the network to be distributed;
And the equipment to be distributed determines coding information according to the length fields of the plurality of network distribution packets.
9. the method of claim 4, wherein the step of the network-to-be-distributed device obtaining the coding information from the plurality of network distribution packets comprises:
the equipment to be configured determines a plurality of received network configuration packets;
Analyzing the Destination fields Destination of the received multiple network distribution packets by the equipment to be distributed;
and the equipment of the network to be distributed determines coding information according to the Destination fields Destination of the plurality of network distribution packets.
10. The method of claim 1, further comprising:
the network to be distributed equipment receives a beacon packet sent by the network hotspot equipment;
And the equipment to be networked acquires the BSSID and the SSID of the network hotspot equipment from the beacon packet.
11. a method for accessing a network to be configured to a network hotspot device is characterized by comprising the following steps:
the user terminal acquires password information and a target BSSID of target network hotspot equipment; the password information and the target BSSID are used for accessing the target network hotspot device;
and the user terminal sends the password information and the target BSSID of the target network hotspot equipment to the equipment to be networked.
12. the method according to claim 11, wherein the step of the user terminal sending the password information of the target network hotspot device and the target BSSID to the device to be networked comprises:
the user terminal encodes the password information into a UDP packet; the UDP contains a target BSSID;
and the user terminal sends the UDP packet to the equipment to be networked.
13. The method of claim 12, wherein the step of the user terminal encoding the cryptographic information into a UDP packet comprises:
The user terminal encrypts the password information in a preset encryption mode;
The user terminal generates encryption mode information corresponding to the preset encryption mode;
the user terminal determines password length information of the encrypted password information;
The user terminal packages the encryption mode information, the password length information and the encrypted password information into coding information;
and the user terminal codes the coding information into a plurality of network distribution packets.
14. the method according to claim 13, wherein the step of the user terminal sending the UDP packet to the device to be networked comprises:
and the user terminal sends the plurality of network distribution packets to the equipment to be distributed.
15. the method according to claim 14, wherein the step of the user terminal sending the UDP packet to the device to be networked further comprises:
and the user terminal sends at least one synchronous packet to the equipment to be networked before sending the preset number of network distribution packets.
16. The method of claim 13, wherein the step of the user terminal encoding the encoded information into a plurality of network packets comprises:
And the user terminal codes the coding information to Length fields of a plurality of network distribution packets.
17. the method of claim 13, wherein the step of the user terminal encoding the encoded information into a plurality of network packets comprises:
And the user terminal codes the coding information to Destination fields Destination of a plurality of network distribution packets.
18. An apparatus for accessing a network hotspot device by a device to be configured is characterized by comprising:
The network distribution information acquisition module is positioned on the equipment to be network distributed and is used for acquiring password information of target network hotspot equipment and a target Basic Service Set Identifier (BSSID) sent by the user terminal;
a service set identifier searching module located in the device to be networked, configured to search a target SSID corresponding to the target BSSID from BSSIDs and service set identifiers SSIDs of a plurality of preset network hotspot devices;
and the access module is positioned on the equipment to be networked and is used for accessing the target network hotspot equipment by adopting the password information and the target SSID.
19. The apparatus of claim 18, wherein the distribution network information obtaining module comprises:
the user datagram protocol packet receiving submodule is used for receiving a User Datagram Protocol (UDP) packet sent by a user terminal;
and the distribution network information acquisition submodule is used for acquiring the password information of the target network hotspot equipment and the target basic service set identification BSSID from the UDP packet.
20. the apparatus of claim 19, wherein the udp packet receiving sub-module comprises:
And the network distribution packet receiving unit is used for receiving a plurality of network distribution packets sent by the user terminal.
21. the apparatus of claim 20, wherein the distribution network information obtaining sub-module comprises:
a coding information acquisition unit for acquiring coding information from the plurality of network distribution packets; the encoding information includes: encryption mode information, password length information, encrypted password information;
An encrypted password acquisition unit configured to determine encrypted password information from the encoded information according to the password length information;
and the decryption unit is used for decrypting the encrypted password information according to the encryption mode information to obtain the password information.
22. the apparatus of claim 20, wherein the user datagram protocol packet receiving sub-module further comprises:
a synchronization packet receiving unit, configured to receive at least one synchronization packet sent by the user terminal before receiving the multiple network distribution packets sent by the user terminal.
23. the apparatus of claim 22, wherein the distribution network information obtaining sub-module comprises:
A first target basic service set identifier obtaining unit, configured to obtain a target basic service set identifier BSSID from the synchronization packet.
24. the apparatus of claim 22, wherein the distribution network information obtaining sub-module comprises:
And a second target basic service set identifier obtaining unit, configured to obtain a target basic service set identifier BSSID from the network distribution packet.
25. the apparatus of claim 21, wherein the encoded information obtaining unit comprises:
A Length field analyzing subunit, configured to analyze Length fields of the received multiple network distribution packets;
and the first coding information determining subunit is used for determining the coding information according to the length fields of the plurality of network distribution packets.
26. The apparatus of claim 21, wherein the encoded information obtaining unit comprises:
a Destination field analysis subunit, configured to analyze Destination fields Destination of the received multiple network distribution packets;
And the second coding information determining subunit is used for determining the coding information according to the Destination fields Destination of the plurality of network distribution packets.
27. The apparatus of claim 8, further comprising:
The beacon packet receiving module is positioned on the equipment to be distributed and is used for receiving a beacon packet sent by the network hotspot equipment;
And the equipment information acquisition module is positioned on the equipment to be distributed and is used for acquiring the BSSID and the SSID of the network hotspot equipment from the beacon packet.
28. An apparatus for accessing a network hotspot device by a device to be configured is characterized by comprising:
the distribution network information acquisition module is positioned at the user terminal and used for acquiring password information and a target BSSID of the target network hotspot equipment; the password information and the target BSSID are used for accessing the target network hotspot device;
and the distribution network information sending module is positioned at the user terminal and used for sending the password information and the target BSSID of the target network hotspot equipment to the equipment to be distributed.
29. The apparatus of claim 28, wherein the distribution network information sending module comprises:
the password information coding submodule is used for coding the password information into a UDP packet; the UDP contains a target BSSID;
and the user datagram protocol packet sending submodule is used for sending the UDP packet to the equipment to be configured.
30. the apparatus of claim 29, wherein the cryptographic information encoding sub-module comprises:
the password information encryption unit is used for encrypting the password information by adopting a preset encryption mode;
An encryption mode information generating unit for generating encryption mode information corresponding to the preset encryption mode;
A password length information determining unit for determining password length information of the encrypted password information;
The coding information packaging unit is used for packaging the encryption mode information, the password length information and the encrypted password information into coding information;
And the coding information coding unit is used for coding the coding information into a plurality of network distribution packets.
31. the apparatus of claim 30, wherein the user datagram protocol packet sending submodule comprises:
And the distribution network packet sending unit is used for sending the plurality of distribution network packets to the equipment to be distributed.
32. the apparatus of claim 31, wherein the user datagram protocol packet sending sub-module further comprises:
and the synchronous packet sending unit is used for sending at least one synchronous packet to the equipment to be networked before sending the preset number of network distribution packets.
33. The apparatus of claim 30, wherein the coding information encoding unit comprises:
And the first coding subunit is used for coding the coding information into Length fields of a plurality of network distribution packets.
34. the apparatus of claim 30, wherein the coding information encoding unit comprises:
And the second coding subunit is used for coding the coding information to Destination fields Destination of the plurality of network distribution packets.
35. an apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-10 or 11-17.
36. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of one or more of claims 1-10 or 11-17.
CN201810590238.2A 2018-06-08 2018-06-08 Method and device for accessing network to be configured to network hotspot equipment Active CN110582082B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201810590238.2A CN110582082B (en) 2018-06-08 2018-06-08 Method and device for accessing network to be configured to network hotspot equipment
TW108109107A TW202002712A (en) 2018-06-08 2019-03-18 Method and apparatus for device to be configured with network to access network hotspot device
PCT/CN2019/088715 WO2019233310A1 (en) 2018-06-08 2019-05-28 Method and apparatus for device to be configured with network to access network hotspot device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810590238.2A CN110582082B (en) 2018-06-08 2018-06-08 Method and device for accessing network to be configured to network hotspot equipment

Publications (2)

Publication Number Publication Date
CN110582082A true CN110582082A (en) 2019-12-17
CN110582082B CN110582082B (en) 2022-06-10

Family

ID=68770021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810590238.2A Active CN110582082B (en) 2018-06-08 2018-06-08 Method and device for accessing network to be configured to network hotspot equipment

Country Status (3)

Country Link
CN (1) CN110582082B (en)
TW (1) TW202002712A (en)
WO (1) WO2019233310A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372297A (en) * 2020-03-17 2020-07-03 展讯通信(上海)有限公司 Odd-even packet-based WiFi network distribution method, equipment, device and storage medium
CN111478802A (en) * 2020-03-30 2020-07-31 芯海科技(深圳)股份有限公司 Distribution network processing method and device, computer equipment and storage medium
CN111586591A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Network distribution method and system, intelligent terminal and Internet of things equipment
CN111757421A (en) * 2020-06-09 2020-10-09 四川虹美智能科技有限公司 Method and device for intelligent equipment network distribution
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN112564942A (en) * 2020-11-19 2021-03-26 深圳市晨北科技有限公司 Distribution network control method and device of Internet of things equipment, equipment and storage medium
CN113573313A (en) * 2021-08-10 2021-10-29 海宁奕斯伟集成电路设计有限公司 Intelligent equipment network distribution method and device
CN113630727A (en) * 2021-07-09 2021-11-09 珠海荣邦智能科技有限公司 Intelligent household network distribution method, device, system, electronic equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745259B (en) * 2020-12-23 2024-02-06 深圳Tcl新技术有限公司 Intelligent equipment batch network distribution method, equipment and computer readable storage medium
CN113055973B (en) * 2021-03-08 2022-10-21 读书郎教育科技有限公司 Electronic equipment hotspot sharing method
CN116016004A (en) * 2022-12-12 2023-04-25 宁波奥克斯电气股份有限公司 Equipment network distribution method, device and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000027087A1 (en) * 1998-10-30 2000-05-11 British Telecommunications Public Limited Company Data transport
WO2012045043A2 (en) * 2010-09-30 2012-04-05 Intel Corporation Privacy control for wireless devices
US20120201383A1 (en) * 2009-12-04 2012-08-09 Masakatsu Matsuo Decrypting apparatus, encrypting apparatus, decrypting method, encrypting method, and communication system
CN104618900A (en) * 2015-02-02 2015-05-13 青岛海尔智能家电科技有限公司 Network access method for intelligent device, intelligent device and mobile terminal
CN105392133A (en) * 2015-11-26 2016-03-09 北京奇虎科技有限公司 Method and system for wireless function device to automatically access to wireless access point
CN105682183A (en) * 2016-01-14 2016-06-15 美的集团股份有限公司 Method and device for controlling household appliance to access to network
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
CN106686593A (en) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 WIFI-module-based network-access configuration method and apparatus for smart devices
CN106792707A (en) * 2016-12-13 2017-05-31 迈普通信技术股份有限公司 The detection method and device of counterfeit WAP
WO2017143968A1 (en) * 2016-02-26 2017-08-31 新华三技术有限公司 Basic service set identifier (bssid) updating

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10708126B2 (en) * 2016-03-18 2020-07-07 Plume Design, Inc. Cloud-based control of a Wi-Fi network
CN106657234B (en) * 2016-10-09 2020-09-04 美智光电科技有限公司 Network distribution method and system of household appliance, household appliance and mobile terminal
CN106949603A (en) * 2017-04-05 2017-07-14 新联合众(北京)科技有限公司 The O2O implementation methods of Intelligent air purifier

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000027087A1 (en) * 1998-10-30 2000-05-11 British Telecommunications Public Limited Company Data transport
US20120201383A1 (en) * 2009-12-04 2012-08-09 Masakatsu Matsuo Decrypting apparatus, encrypting apparatus, decrypting method, encrypting method, and communication system
WO2012045043A2 (en) * 2010-09-30 2012-04-05 Intel Corporation Privacy control for wireless devices
CN104618900A (en) * 2015-02-02 2015-05-13 青岛海尔智能家电科技有限公司 Network access method for intelligent device, intelligent device and mobile terminal
CN105392133A (en) * 2015-11-26 2016-03-09 北京奇虎科技有限公司 Method and system for wireless function device to automatically access to wireless access point
CN105682183A (en) * 2016-01-14 2016-06-15 美的集团股份有限公司 Method and device for controlling household appliance to access to network
WO2017143968A1 (en) * 2016-02-26 2017-08-31 新华三技术有限公司 Basic service set identifier (bssid) updating
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
US20170303320A1 (en) * 2016-04-14 2017-10-19 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for accessing wireless access point
CN106792707A (en) * 2016-12-13 2017-05-31 迈普通信技术股份有限公司 The detection method and device of counterfeit WAP
CN106686593A (en) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 WIFI-module-based network-access configuration method and apparatus for smart devices

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372297A (en) * 2020-03-17 2020-07-03 展讯通信(上海)有限公司 Odd-even packet-based WiFi network distribution method, equipment, device and storage medium
CN111372297B (en) * 2020-03-17 2022-02-22 展讯通信(上海)有限公司 Odd-even packet-based WiFi network distribution method, equipment, device and storage medium
CN111478802A (en) * 2020-03-30 2020-07-31 芯海科技(深圳)股份有限公司 Distribution network processing method and device, computer equipment and storage medium
CN111478802B (en) * 2020-03-30 2023-04-28 芯海科技(深圳)股份有限公司 Distribution network processing method, device, system, computer equipment and storage medium
CN111586591A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Network distribution method and system, intelligent terminal and Internet of things equipment
CN111757421A (en) * 2020-06-09 2020-10-09 四川虹美智能科技有限公司 Method and device for intelligent equipment network distribution
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN112564942A (en) * 2020-11-19 2021-03-26 深圳市晨北科技有限公司 Distribution network control method and device of Internet of things equipment, equipment and storage medium
CN113630727A (en) * 2021-07-09 2021-11-09 珠海荣邦智能科技有限公司 Intelligent household network distribution method, device, system, electronic equipment and storage medium
CN113573313A (en) * 2021-08-10 2021-10-29 海宁奕斯伟集成电路设计有限公司 Intelligent equipment network distribution method and device

Also Published As

Publication number Publication date
CN110582082B (en) 2022-06-10
WO2019233310A1 (en) 2019-12-12
TW202002712A (en) 2020-01-01

Similar Documents

Publication Publication Date Title
CN110582082B (en) Method and device for accessing network to be configured to network hotspot equipment
US10666451B2 (en) Method and apparatus for controlling access of household appliance device to network
RU2739421C1 (en) Method of matching possibility of qos between user equipment and session control function in 5g system
KR101859923B1 (en) Data communication via data packet headers
CN111225429B (en) SSID (service set identifier) acquisition method, device, equipment and system of router
RU2411672C2 (en) Transportation of control traffic through cellular network with multiple network segments
CN104703176B (en) Configuration method of wireless network, intelligent terminal and wireless network equipment
CN106254147B (en) It is a kind of for the configuration method of Wi-Fi network, internet-of-things terminal and control terminal
CN110582107A (en) method and device for accessing network to be configured to network hotspot equipment
CN103765848A (en) Apparatus and methods for media access control replacement
WO2012079396A1 (en) Method, device and system for bandwidth control
CN107104929B (en) Method, device and system for defending network attack
US20140317406A1 (en) Communication between network nodes that are not directly connected
WO2015096410A1 (en) Method and device for sending and receiving radio parameter
CN105119900A (en) Information secure transmission method, network access method and corresponding terminals
CN111555855B (en) Wireless transmission method and device
CN107181605B (en) Message detection method and system, content extraction device and flow matching device
WO2018077129A1 (en) Data processing method and apparatus
CN105120454A (en) Information transmission method, network access method and corresponding terminals
KR101715665B1 (en) Apparatus and methods for separated security implementations in wireless communications
CN114826748B (en) Audio and video stream data encryption method and device based on RTP, UDP and IP protocols
KR101457455B1 (en) Apparatus and method for data security in cloud networks
KR20100081901A (en) Method for transmitting and receiving data using random linear coding
CN111225393B (en) Channel correction method, device, equipment and system
CN110839237B (en) Method and device for accessing equipment to be configured with network to access point

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40018700

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant