CN112218282A - Network distribution method and related device of Internet of things equipment - Google Patents

Network distribution method and related device of Internet of things equipment Download PDF

Info

Publication number
CN112218282A
CN112218282A CN202011146200.XA CN202011146200A CN112218282A CN 112218282 A CN112218282 A CN 112218282A CN 202011146200 A CN202011146200 A CN 202011146200A CN 112218282 A CN112218282 A CN 112218282A
Authority
CN
China
Prior art keywords
internet
router
response message
information
router information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011146200.XA
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011146200.XA priority Critical patent/CN112218282A/en
Publication of CN112218282A publication Critical patent/CN112218282A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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

Abstract

The utility model discloses a network distribution method and a relevant device of Internet of things equipment, which can solve the problems of various interaction steps and complex operation existing in the process of accessing the Internet of things equipment to the greatest extent by adding router information in an expandable field in a response message of a short-distance communication request message initiated by the Internet of things equipment so that the Internet of things equipment can acquire the router information when analyzing the expandable field of the response message and connecting the router with the router information to complete network distribution.

Description

Network distribution method and related device of Internet of things equipment
Technical Field
The disclosure relates to the technical field of internet of things, and in particular relates to a network distribution method and a related device for internet of things equipment.
Background
With the development of the technology of the internet of things, the demand that the internet of things equipment needs to be accessed to the internet is more and more strong. Many internet of things devices do not have information input functions similar to touch screens and keyboards, so the internet of things devices are limited by hardware and need to access the internet through assistance of terminal devices.
In the related technology, the internet of things equipment mostly needs to enter a specific mode through a key in the process of accessing the internet, and the connection between the internet of things equipment and the router is established after the router information is acquired in the specific mode. And then switch back from the particular mode to the wireless communication mode.
Therefore, in the related art, the network distribution of the internet of things equipment needs to be switched in mode, and the problems of multiple interaction steps and complex operation exist.
Disclosure of Invention
The purpose of the disclosure is to provide a network distribution method for Internet of things equipment. According to the method and the device, the Internet of things equipment is designed to scan the short-distance communication request message after being started, the extensible field in the response message is analyzed after the response message which is returned by the terminal equipment and aims at the scanning request message is received, and the router corresponding to the router information is connected according to the router information in the analyzed extensible field, so that the problems that in the related technology, the Internet of things equipment needs to be switched in modes in the process of accessing the Internet, the interaction steps are multiple, and the operation is complex are solved.
In a first aspect, an embodiment of the present disclosure provides a network distribution method for internet of things devices, where the method includes:
initiating a short-distance communication request message;
if a response message which is returned by the terminal equipment and aims at the short-distance communication request message is received, analyzing an extensible field in the response message; wherein the extensible field is used for custom information;
and after the router information in the extensible field is analyzed, connecting the router corresponding to the router information according to the router information.
In a possible embodiment, the response message is sent after the terminal device activates the wireless network card mode.
In one possible embodiment, the router information includes: the service set identifies the SSID, encryption mode, password information.
In one possible embodiment, before parsing the extensible field in the response message, the method further includes:
detecting whether stored known router information exists in a scanning result, and if the stored known router information exists, connecting a router corresponding to the known router information;
and if the saved router does not exist, executing the step of analyzing the extensible field in the response message.
In a second aspect, an embodiment of the present disclosure provides a network distribution method for an internet of things device, which is applied to a terminal device, and the method includes:
scanning a short-distance communication request message sent by the Internet of things equipment;
if the short-distance communication request message is scanned, adding router information into an extension field of a response message, and sending the response message aiming at the short-distance communication request message to the Internet of things equipment; wherein the extensible field is used for custom information.
In one possible embodiment, the router information includes service set identification SSID, encryption scheme, password information.
In a third aspect, an embodiment of the present disclosure provides an internet of things device, including:
a scanning request module for initiating a short-distance communication request message;
the extended field analyzing module is used for analyzing an extended field in a response message if the response message which is returned by the terminal equipment and aims at the short-distance communication request message is received; wherein the extensible field is used for custom information;
and the router connection module is used for connecting the router corresponding to the router information according to the router information after analyzing the router information in the extensible field.
In a possible embodiment, the response message is sent after the terminal device activates the wireless network card mode.
In one possible embodiment, the router information includes: the service set identifies the SSID, encryption mode, password information.
In a possible embodiment, before the extended field parsing module parses the extended field in the response message, the internet of things device further includes:
a scanning detection unit, configured to detect whether stored known router information exists in a scanning result before the extended field parsing module parses the extensible field in the response message, and connect a router corresponding to the known router information if the stored known router information exists;
if the saved router does not exist, triggering the extended field analysis module to execute the step of analyzing the extended field in the response message.
In a fourth aspect, an embodiment of the present disclosure provides a terminal device, including:
the scanning and searching module is used for scanning a short-distance communication request message sent by the Internet of things equipment;
the response message module is used for adding router information into an extension field of a response message and sending the response message aiming at the short-distance communication request message to the Internet of things equipment if the short-distance communication request message is scanned; wherein the extensible field is used for custom information.
In one possible embodiment, the router information includes service set identification SSID, encryption scheme, password information.
In a fifth aspect, another embodiment of the present disclosure further provides a computer storage medium, where a computer program is stored, and the computer program is configured to enable a computer to execute any network distribution method applied to an internet of things device, provided by the embodiments of the present disclosure.
According to the embodiment of the disclosure, the router information is added in the extensible field in the response message of the short-distance communication request message initiated by the Internet of things equipment, so that the Internet of things equipment can acquire the router information when analyzing the extensible field of the response message, and the router is connected through the router information to complete the network distribution, thereby solving the problems of multiple interaction steps and complex operation existing in the process of accessing the Internet of things equipment to the Internet as far as possible.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the disclosure. The objectives and other advantages of the disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments of the present disclosure will be briefly described below, and it is apparent that the drawings described below are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained based on the drawings without inventive labor.
FIG. 1 is a schematic illustration of an application environment according to one embodiment of the present disclosure;
fig. 2 is a timing diagram of a network distribution method of an internet of things device according to an embodiment of the present disclosure;
fig. 3 is a schematic overall flow diagram of an internet of things device according to an embodiment of the present disclosure;
fig. 4 is a schematic overall flow chart of a terminal device according to an embodiment of the present disclosure;
fig. 5a is a schematic diagram of an internet of things device according to an embodiment of the present disclosure;
FIG. 5b is a schematic diagram of a terminal device apparatus according to one embodiment of the present disclosure;
fig. 6 is a schematic diagram of a distribution network electronic device of an internet of things device according to an embodiment of the present disclosure.
Detailed Description
To further illustrate the technical solutions provided by the embodiments of the present disclosure, the following detailed description is made with reference to the accompanying drawings and the specific embodiments. Although the disclosed embodiments provide method steps as shown in the following embodiments or figures, more or fewer steps may be included in the method based on conventional or non-inventive efforts. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the disclosed embodiments. The method can be executed in the order of the embodiments or the method shown in the drawings or in parallel in the actual process or the control device.
It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure. The term "plurality" in the embodiments of the present disclosure means two or more, and other terms are used similarly, it being understood that the preferred embodiments described herein are only for illustrating and explaining the present disclosure, and are not intended to limit the present disclosure, and that the embodiments of the present disclosure and features of the embodiments may be combined with each other without conflict.
For the situation that the terminal device needs to Access the internet in an assisted manner due to hardware limitation, in the related art, the internet of things device is mostly required to enter an Access Point (AP) mode or a hybrid mode to receive the router information transmitted by the terminal device. Therefore, the network distribution for the internet of things equipment in the related art comprises the following two modes:
1. when the internet of things equipment enters the AP mode in a key pressing mode, the terminal equipment is required to establish connection with the internet of things equipment, router information to be actually connected is synchronized to the internet of things equipment, and the internet of things equipment is switched to a wifi station mode (client mode) to be connected with the router after receiving the router information so as to complete distribution of a network.
2. When the internet of things equipment enters the mixed mode of wifi through a key mode, the internet of things equipment can monitor the air message of wifi in the mode. Then, the router is connected through the terminal equipment, and the broadcast message carrying the router information is sent. In the scheme, the Internet of things equipment acquires router information by monitoring and analyzing the air message, and after the router information is acquired, the Internet of things equipment is switched to a wifi station mode to be connected with the router so as to complete distribution of the network.
The two modes have the problems of mode switching, multiple interaction steps and complex operation, and the mode of the internet of things equipment for entering the promiscuous mode to realize the distribution network also has the defects of low distribution network success rate and need of special hardware support (part of wifi chips of the internet of things equipment do not support entering the promiscuous mode). In order to solve the above problems, the present disclosure provides a network distribution method and apparatus for an internet of things device, an electronic device, and a storage medium.
The inventive concept of the present disclosure is: the terminal equipment for assisting the internet of things equipment to distribute the network is used as a distribution network AP, router information is added into an extensible field in a response message of a short-distance communication request message initiated by the internet of things equipment, so that the internet of things equipment can obtain the router information when analyzing the extensible field of the response message, and the router is connected through the router information to complete distribution of the network. The distribution network process is simple and convenient to operate, special support in hardware aspects such as a hybrid mode is not required to be supported by a wifi chip of the Internet of things equipment, and user experience is improved on the basis of not increasing cost.
The network distribution method of the internet of things device in the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an application environment according to an embodiment of the present disclosure is shown.
As shown in fig. 1, the application environment may include, for example, a terminal device 10, at least one internet of things device 20, and a router 30, where:
the terminal device 10 may be a device having a wireless communication function, such as a mobile phone terminal, a tablet computer, and a notebook computer. The internet of things device 20 may include various types, such as an intelligent air conditioner, an intelligent refrigerator, a washing machine, etc., which are not listed here.
The terminal device 10 may communicate with the router 30 via the internet, or may communicate with the router 30 via a Mobile communication System such as a GSM (global System for Mobile Communications) System or an LTE (long term evolution) System. The terminal device 10 and the at least one internet of things device 20 may also communicate with each other in a bluetooth, wireless local area network, GSM, LT E system, or the like.
In a possible embodiment, the internet of things device sends a wifi scanning request message after being started, and the terminal device 10 can send a response message carrying relevant information of the router 30 to the internet of things device 20 in the AP mode, so that the internet of things device 20 can obtain the relevant information of the router 30 in a manner of analyzing the response message, and establish connection with the router 30 according to the information, so as to implement a network distribution.
Fig. 2 shows a sequence diagram of a network distribution method for internet of things devices, which is provided by an embodiment of the present disclosure and includes an internet of things device 200a, a terminal device 200b, and a router 200c, and the specific steps are as follows:
the terminal device 200b is used as an auxiliary device for helping the internet of things device to connect to the internet, and needs to store relevant information of a router connected with the internet of things device 200a in advance, and the stored router information is used for adding the router information into an extensible field Vendor in a response message when the terminal device 200b sends the response message to the internet of things device 200 a. The response message is used for replying the wifi scanning request message sent by the internet of things device 200 a.
Step 200: after the internet of things device 200a is started, a short-distance communication request message is initiated.
After the internet of things device 200a is started, wifi scanning request messages (Rrobe request, Probe request frames) are automatically initiated, and the scanning requests can acquire response messages (Probe response, Probe response frames) of all distribution network APs aiming at the scanning requests within an effective distance.
Step 201: the terminal device 200b sends a response message to the internet of things device 200 a.
In the AP mode, the terminal device 200a responds to the scanning initiation request initiated by the internet of things device, and sends a response packet carrying router information for connection of the internet of things device 200a to the internet of things device 200 a.
In one possible embodiment, the mobile phone terminal as the terminal device 200a starts a Softap mode (wireless access point), in which the mobile phone terminal can serve as the wireless access point, and other devices can perform data transmission through the mobile phone network. And the mobile phone end in the Softap mode is started to serve as a distribution network AP for assisting the Internet of things equipment distribution network, and the router information stored in the starting process is added into a Vendor field of the response message. After the Softap mode is enabled, a response message carrying the router information is sent to the internet of things device 200a in response to the wifi scan request message initiated by the internet of things device 200 a. In addition, in order to ensure the security of information transmission, an encryption operation may be performed on the router information added to the Vendor field, and a specific encryption manner may be, for example, MD5 encryption (Message-Digest Algorithm 5), symmetric encryption, asymmetric encryption, and the like, which is not limited by this disclosure.
In one possible embodiment, the preset router information includes an encryption mode, password information, and SSID (Service Set Identifier) of the router.
In step 202, the internet of things device 200a detects whether known router information exists in the scanning result.
After the initiated wifi scanning request message scanning is finished, the internet of things device 200a detects whether stored known router information exists in the scanning result, and if the stored known router information exists, the internet of things device connects the corresponding known router through the information to complete the distribution network. If the saved known router information is not detected, step 203 is executed to parse the extensible field in the response message. The extension field is a field reserved for the message in the communication protocol and is used for self-defining corresponding information according to the user requirement and extending the information content which can be transmitted by the message.
In a possible embodiment, the terminal device 200b starts to analyze the response message sent by the terminal device 200b according to the scanning result that the stored known router information is not detected, and obtains the router information for the internet of things device 200a to connect by analyzing the extensible field Vendor in the response message.
In addition, in order to be suitable for richer application scenarios, considering that the bluetooth technology can establish a personal area network in a small range for data transmission, the bluetooth scanning can be adopted to replace wifi scanning, and the terminal device 200b can add router information into a custom extension field in a response message of a bluetooth scanning request message to the internet of things device and synchronize the router information to the internet of things device 200a to complete network distribution.
Step 204: the internet of things device 200a connects the router corresponding to the router information according to the analyzed router information in the extensible field to complete the distribution network.
Fig. 3 shows an overall flowchart of a network distribution method applied to an internet of things device according to an embodiment of the present disclosure, where the method includes:
step 301, a short-range communication request message is initiated.
Step 302, if a response message for the short-distance communication request message returned by the terminal device is received, the extensible field in the response message is analyzed.
And 303, after the router information in the extensible field is analyzed, connecting the router corresponding to the router information according to the router information.
In one possible embodiment, the response message is sent after the terminal device activates the wireless network card mode.
In one possible embodiment, the router information includes: the service set identifies the SSID, encryption mode, password information.
In one possible embodiment, before parsing the extensible field in the response message, the method further includes:
detecting whether stored known router information exists in the scanning result, and if the stored known router information exists, connecting a router corresponding to the known router information;
and if the saved router does not exist, executing the step of analyzing the extensible field in the response message.
Fig. 4 shows an overall flowchart of a network distribution method applied to an internet of things device of a terminal device according to an embodiment of the present disclosure, where the method includes:
step 401, scanning a short-distance communication request message sent by an internet of things device.
Step 402, if the short-distance communication request message is scanned, adding the router information into an extension field of the response message, and sending the response message aiming at the short-distance communication request message to the internet of things device.
In one possible embodiment, the router information includes service set identification SSID, encryption scheme, password information.
Based on the same inventive concept, the present disclosure provides an internet of things device 500a, as shown in fig. 5a, specifically including:
a scanning request module 501a, configured to initiate a short-range communication request packet;
the extended field analyzing module 502a is configured to analyze an extended field in a response message if the response message for the short-distance communication request message returned by the terminal device is received; wherein the extensible field is used for custom information;
the router connection module 503a is configured to, after parsing the router information in the extensible field, connect a router corresponding to the router information according to the router information.
In a possible embodiment, the response message is sent after the terminal device activates the wireless network card mode.
In one possible embodiment, the router information includes: the service set identifies the SSID, encryption mode, password information.
In a possible embodiment, before the extended field parsing module parses the extended field in the response message, the internet of things device further includes:
a scanning detection unit, configured to detect whether stored known router information exists in a scanning result before the extended field parsing module parses the extensible field in the response message, and connect a router corresponding to the known router information if the stored known router information exists;
if the saved router does not exist, triggering the extended field analysis module to execute the step of analyzing the extended field in the response message.
The present disclosure further provides a terminal device 500b, specifically as shown in fig. 5b, specifically including:
the scanning search module 501b is configured to scan a short-range communication request message sent by an internet of things device;
the response message module 502b is configured to add the router information to an extension field of the response message if the short-distance communication request message is scanned, and send the response message for the short-distance communication request message to the internet of things device; wherein the extensible field is used for custom information.
In one possible embodiment, the router information includes service set identification SSID, encryption scheme, password information.
After the network distribution method and device of the internet of things device according to the exemplary embodiment of the present disclosure are introduced, an electronic device according to another exemplary embodiment of the present disclosure is introduced next.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, an electronic device in accordance with the present disclosure may include at least one processor, and at least one memory. Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the data processing method according to various exemplary embodiments of the present disclosure described above in the present specification. For example, the processor may perform steps as in a data processing method.
The electronic device 130 according to this embodiment of the present disclosure is described below with reference to fig. 6. The electronic device 130 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 130 is represented in the form of a general electronic device. The components of the electronic device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 that connects the various system components (including the memory 132 and the processor 131).
Bus 133 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
Memory 132 may also include a program/utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 130, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 130 to communicate with one or more other electronic devices. Such communication may occur via input/output (I/O) interfaces 135. Also, the electronic device 130 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 136. As shown, network adapter 136 communicates with other modules for electronic device 130 over bus 133. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, the aspects of the network distribution method for the internet of things device provided by the present disclosure may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of the network distribution method for the internet of things device according to various exemplary embodiments of the present disclosure described above in this specification when the program product is run on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for a distribution network of internet of things devices of the embodiments of the present disclosure may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, in accordance with embodiments of the present disclosure. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure 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 so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. 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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 disclosure have been described, additional variations and modifications in those 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 preferred embodiments and all alterations and modifications as fall within the scope of the disclosure.
It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, if such modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include such modifications and variations as well.

Claims (13)

1. A network distribution method of Internet of things equipment is characterized by comprising the following steps:
initiating a short-distance communication request message;
if a response message which is returned by the terminal equipment and aims at the short-distance communication request message is received, analyzing an extensible field in the response message; wherein the extensible field is used for custom information;
and after the router information in the extensible field is analyzed, connecting the router corresponding to the router information according to the router information.
2. The method of claim 1, wherein the response message is sent after the terminal device activates a wireless network card mode.
3. The method of claim 1, wherein the router information comprises: the service set identifies the SSID, encryption mode, password information.
4. The method of claim 1, wherein prior to parsing the extensible field in the response message, the method further comprises:
detecting whether stored known router information exists in a scanning result, and if the stored known router information exists, connecting a router corresponding to the known router information;
and if the saved router does not exist, executing the step of analyzing the extensible field in the response message.
5. A network distribution method of Internet of things equipment is applied to terminal equipment, and the method comprises the following steps:
scanning a short-distance communication request message sent by the Internet of things equipment;
if the short-distance communication request message is scanned, adding router information into an extension field of a response message, and sending the response message aiming at the short-distance communication request message to the Internet of things equipment; wherein the extensible field is used for custom information.
6. The method of claim 5, wherein the router information comprises Service Set Identification (SSID), encryption scheme, and password information.
7. An internet of things device, comprising:
a scanning request module for initiating a short-distance communication request message;
the extended field analyzing module is used for analyzing an extended field in a response message if the response message which is returned by the terminal equipment and aims at the short-distance communication request message is received; wherein the extensible field is used for custom information;
and the router connection module is used for connecting the router corresponding to the router information according to the router information after analyzing the router information in the extensible field.
8. The internet-of-things device of claim 7, wherein the response message is sent after the terminal device activates a wireless network card mode.
9. The internet of things device of claim 7, wherein the router information comprises: the service set identifies the SSID, encryption mode, password information.
10. The internet of things device of claim 7, wherein before the extended field parsing module parses the extended field in the response message, the internet of things device further comprises:
a scanning detection unit, configured to detect whether stored known router information exists in a scanning result before the extended field parsing module parses the extensible field in the response message, and connect a router corresponding to the known router information if the stored known router information exists;
if the saved router does not exist, triggering the extended field analysis module to execute the step of analyzing the extended field in the response message.
11. A terminal device, comprising:
the scanning and searching module is used for scanning a short-distance communication request message sent by the Internet of things equipment;
the response message module is used for adding router information into an extension field of a response message and sending the response message aiming at the short-distance communication request message to the Internet of things equipment if the short-distance communication request message is scanned; wherein the extensible field is used for custom information.
12. The terminal device of claim 11, wherein the router information comprises Service Set Identification (SSID), encryption scheme, and password information.
13. A computer storage medium, characterized in that the computer storage medium stores a computer program for causing a computer to perform the method according to any one of claims 1-6.
CN202011146200.XA 2020-10-23 2020-10-23 Network distribution method and related device of Internet of things equipment Pending CN112218282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011146200.XA CN112218282A (en) 2020-10-23 2020-10-23 Network distribution method and related device of Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011146200.XA CN112218282A (en) 2020-10-23 2020-10-23 Network distribution method and related device of Internet of things equipment

Publications (1)

Publication Number Publication Date
CN112218282A true CN112218282A (en) 2021-01-12

Family

ID=74055026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011146200.XA Pending CN112218282A (en) 2020-10-23 2020-10-23 Network distribution method and related device of Internet of things equipment

Country Status (1)

Country Link
CN (1) CN112218282A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106455001A (en) * 2016-11-30 2017-02-22 青岛海尔科技有限公司 Method and device for configuring WIFI module
CN106792450A (en) * 2016-12-16 2017-05-31 美的智慧家居科技有限公司 A kind of acquisition methods and device of the routing iinformation of electrical equipment
CN107787025A (en) * 2017-10-30 2018-03-09 欧普照明股份有限公司 Method, control terminal and the system of equipment access network
CN107801229A (en) * 2017-08-31 2018-03-13 捷开通讯(深圳)有限公司 Smart home is with network method, terminal, equipment and the device with store function
CN109413627A (en) * 2018-10-18 2019-03-01 飞天诚信科技股份有限公司 A kind of smart home device matches network method and distribution network systems
CN111601366A (en) * 2020-06-19 2020-08-28 欧普照明股份有限公司 Network distribution method, device to be networked, auxiliary network distribution device and network distribution system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106455001A (en) * 2016-11-30 2017-02-22 青岛海尔科技有限公司 Method and device for configuring WIFI module
CN106792450A (en) * 2016-12-16 2017-05-31 美的智慧家居科技有限公司 A kind of acquisition methods and device of the routing iinformation of electrical equipment
CN107801229A (en) * 2017-08-31 2018-03-13 捷开通讯(深圳)有限公司 Smart home is with network method, terminal, equipment and the device with store function
CN107787025A (en) * 2017-10-30 2018-03-09 欧普照明股份有限公司 Method, control terminal and the system of equipment access network
CN109413627A (en) * 2018-10-18 2019-03-01 飞天诚信科技股份有限公司 A kind of smart home device matches network method and distribution network systems
CN111601366A (en) * 2020-06-19 2020-08-28 欧普照明股份有限公司 Network distribution method, device to be networked, auxiliary network distribution device and network distribution system

Similar Documents

Publication Publication Date Title
WO2018040604A1 (en) Mobile terminal testing method, apparatus, system, device, and storage medium
WO2011150782A1 (en) Method, device and system for configuring wireless fidelity (wifi) parameter
CN106658756B (en) Method and device for identifying connection between terminal equipment and hotspot
CN112822756B (en) Communication method, system, base station and terminal
EP2999250B1 (en) Method and apparatus for interconnection between terminal device and gateway device
CN111417111A (en) Data processing method and network equipment
WO2018010425A1 (en) Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
US20170134365A1 (en) Wireless fidelity connection method and system for intelligent terminal and router
WO2015196472A1 (en) Method, terminal, client, smart card and system for accessing wireless network
KR20150111557A (en) Local wireless data communication system, method and apparatus for automactic setup of imformation
CN113271645A (en) Network residing method and device
CN112346751B (en) Application program installation method and device, electronic equipment and storage medium
CN106488534A (en) Obtain the method and system of Network Access Point
US10708775B2 (en) Method for establishing network connection by using WPS, and mobile Wi-Fi device
CN104918296A (en) Network connection assistance system and method
CN108966281B (en) Mesh network processing method, device, equipment and storage medium
US20170135141A1 (en) One-key connection method and system for mobile terminal and display equipment
US11323282B2 (en) Apparatus, system, method, and computer-readable recording media for onboarding of a wireless extender in a wireless network
CN111432453B (en) Communication channel determination method, device and equipment
CN114980262B (en) Access gateway selection method and device, storage medium and electronic equipment
CN103517373A (en) Network access method and device
CN112218282A (en) Network distribution method and related device of Internet of things equipment
CN105657532B (en) Smart television wireless network starting up method and device
CN113079500B (en) Terminal activation method and device, storage medium and electronic equipment
KR20140030553A (en) Apparatus and method for displaying indicator according to interwork network

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210112