CN111586591A - Network distribution method and system, intelligent terminal and Internet of things equipment - Google Patents

Network distribution method and system, intelligent terminal and Internet of things equipment Download PDF

Info

Publication number
CN111586591A
CN111586591A CN202010437912.0A CN202010437912A CN111586591A CN 111586591 A CN111586591 A CN 111586591A CN 202010437912 A CN202010437912 A CN 202010437912A CN 111586591 A CN111586591 A CN 111586591A
Authority
CN
China
Prior art keywords
distribution network
target
network information
ssid
internet
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
CN202010437912.0A
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.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent Technology Co 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202010437912.0A priority Critical patent/CN111586591A/en
Publication of CN111586591A publication Critical patent/CN111586591A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Abstract

The invention provides a network distribution method, a network distribution system, an intelligent terminal and Internet of things equipment, wherein the method applied to the intelligent terminal comprises the following steps: when a networking request is received, searching for a Service Set Identifier (SSID) broadcasted by at least one router in a target range; determining whether a target SSID of the target router exists in the searched SSIDs; when the searched SSID has the target SSID of the target router, extracting the target SSID; obtaining an access password of a target router; generating distribution network information according to the target SSID and the access password; and sending the distribution network information to the Internet of things equipment to be distributed so that the Internet of things equipment is connected with the target server through the distribution network information. The scheme can be used for realizing the network distribution of the Internet of things equipment.

Description

Network distribution method and system, intelligent terminal and Internet of things equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a network distribution method, a network distribution system, an intelligent terminal and Internet of things equipment.
Background
With the rapid development of the internet of things technology, more and more devices need to be connected to the internet to realize functions and purposes of the devices. WiFi class thing networking equipment itself is an isolated island, can't carry out information exchange with other networks in the external world, only through connecting the router, just can establish the contact with the external world, realizes the interconnection of everything.
Currently, when a user accesses a network for an internet of things device, a smart terminal (e.g., a smart phone) is generally required to notify the name and the password of a target router to the internet of things device, and then the internet of things device attempts to connect to the router using the information.
However, after the intelligent terminal obtains the name of the target router, the name of the router is transcoded and then presented to the user, and if the transcoded name of the intelligent terminal is different from the encoding format of the information configured in the target router, the internet of things device cannot be connected with the router, so that the network distribution for the internet of things device cannot be performed.
Disclosure of Invention
The embodiment of the invention provides a network distribution method, a network distribution system, an intelligent terminal and Internet of things equipment, which can realize network distribution for the Internet of things equipment.
In a first aspect, the present invention provides a network distribution method, which is applied to an intelligent terminal, and includes:
when a networking request is received, searching for a Service Set Identifier (SSID) broadcasted by at least one router in a target range;
determining whether a target SSID of a target router exists in the searched SSIDs;
when a target SSID of a target router exists in the searched SSIDs, extracting the target SSID;
acquiring an access password of the target router;
generating distribution network information according to the target SSID and the access password;
and sending the distribution network information to the Internet of things equipment to be distributed so that the Internet of things equipment is connected with the target server through the distribution network information.
Preferably, the first and second electrodes are formed of a metal,
the determining whether a target SSID of a target router exists in the searched SSIDs, and extracting the target SSID when the target SSID of the target router exists in the searched SSIDs includes:
determining a media access control address (MAC) address corresponding to each searched SSID;
determining whether the same MAC address matched with a target MAC address of a prestored target router exists in the MAC addresses;
and when the same MAC address matched with the prestored target MAC address of the target router exists in the MAC addresses, extracting a target SSID corresponding to the same MAC address.
Preferably, the first and second electrodes are formed of a metal,
after the generating of the distribution network information according to the target SSID and the access password and before the sending of the distribution network information to the internet of things device, further comprising:
sending a request of an identifier of the Internet of things equipment to be distributed to an external background server, so that the background server determines a distribution network mode corresponding to the identifier in the request and returns the distribution network mode;
and executing the distribution network information sending to the Internet of things equipment by using the distribution network mode.
Preferably, the first and second electrodes are formed of a metal,
the SSID is information sent by the corresponding router after the SSID in the Chinese form is converted into the code stream in the binary form.
In a second aspect, the present invention provides a network distribution method, which is applied to an internet of things device, and includes:
receiving distribution network information sent by an external intelligent terminal, wherein a target SSID in the distribution network information is information broadcasted by a target router;
and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
Preferably, the first and second electrodes are formed of a metal,
further comprising:
s1: when the internet of things equipment is in a power-on state, determining whether the body of the internet of things equipment is in a network-to-be-distributed mode, if so, executing S2, otherwise, executing S3;
s2: executing the receiving of the distribution network information sent by the external intelligent terminal;
s3: and reading the stored distribution network information, and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
Preferably, the first and second electrodes are formed of a metal,
the determining whether the body of the internet of things device is in a network distribution waiting mode includes:
and determining whether the preset storage area stores distribution network information for connecting the target router, if so, executing S2, and otherwise, executing S3.
Preferably, the first and second electrodes are formed of a metal,
when the distribution network mode of the body of the Internet of things equipment comprises Soft-AP,
before the receiving the distribution network information sent by the external intelligent terminal, the method further includes:
releasing a preset AP hotspot so as to establish wireless connection with an external intelligent terminal through the AP hotspot;
the receiving of the distribution network information sent by the external intelligent terminal includes:
and receiving the distribution network information sent by an external intelligent terminal through the wireless connection.
Preferably, the first and second electrodes are formed of a metal,
after the receiving the distribution network information sent by the external intelligent terminal, the method further includes:
and determining whether the distribution network information can be connected with a target router corresponding to the distribution network information, if so, storing the distribution network information into a preset storage area, executing connection establishment of the target router corresponding to the distribution network information through the distribution network information, and otherwise, entering a network to be distributed mode.
In a third aspect, the present invention provides an intelligent terminal, including:
the identification searching module is used for searching service set identification SSID broadcast by at least one router in a target range when a networking request is received;
the identification extraction module is used for determining whether a target SSID of a target router exists in the searched SSIDs; when a target SSID of a target router exists in the searched SSIDs, extracting the target SSID;
the password acquisition module is used for acquiring an access password of the target router;
the information processing module is used for generating distribution network information according to the target SSID and the access password; and sending the distribution network information to the Internet of things equipment to be distributed so that the Internet of things equipment is connected with the target server through the distribution network information.
In a fourth aspect, the present invention provides an internet of things device, including:
the information receiving module is used for receiving distribution network information sent by an external intelligent terminal, wherein a target SSID in the distribution network information is information broadcasted by a target router;
and the equipment networking module is used for establishing connection with the target router corresponding to the distribution network information through the distribution network information.
In a fifth aspect, the present invention provides a distribution network system, including: the intelligent terminal comprises at least one intelligent terminal, at least one Internet of things device and at least one router, wherein the intelligent terminal is provided with a communication interface;
the router is used for broadcasting the SSID of the router body and establishing connection with the Internet of things when the distribution network information which is sent by the equipment of the Internet of things and comprises the SSID and the access password of the router body is received.
The embodiment of the invention provides a network distribution method, a network distribution system, an intelligent terminal and an Internet of things device, wherein a user can input a network distribution request to the intelligent terminal if the user needs to distribute a network for the Internet of things device, so that the intelligent terminal can obtain an SSID (service set identifier) broadcasted by a router, and then the SSID is determined to be a target SSID of a target router of the network distribution for the Internet of things device from the searched SSIDs, so that after an access password of the target router is obtained, network distribution information used when the Internet of things device is networked can be generated based on the target SSID and the access password, and after the network distribution information is sent to the Internet of things device, the Internet of things can establish connection with the. The target SSID for generating the distribution network information is determined from the searched SSIDs of the routers, and the target SSID is information sent by the target router in a broadcasting mode and is not subjected to transcoding operation processing, so that the target SSID in the distribution network information is the same as the information coding format configured in the target router, and the purpose of networking the Internet of things equipment can be achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a network distribution method according to an embodiment of the present invention;
fig. 2 is a flowchart of a network distribution method according to another embodiment of the present invention;
fig. 3 is a flowchart of a network distribution method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an internet of things device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a distribution network system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a network distribution method, which is applied to an intelligent terminal, and includes:
step 101: when a networking request is received, searching for a Service Set Identifier (SSID) broadcasted by at least one router in a target range;
step 102: determining whether a target SSID of a target router exists in the searched SSIDs;
step 103: when a target SSID of a target router exists in the searched SSIDs, extracting the target SSID;
step 104: acquiring an access password of the target router;
step 105: generating distribution network information according to the target SSID and the access password;
step 106: and sending the distribution network information to the Internet of things equipment to be distributed so that the Internet of things equipment is connected with the target server through the distribution network information.
In the embodiment of the invention, if a user needs to configure the network for the internet of things equipment, a networking request can be input into the intelligent terminal, so that the intelligent terminal can be the SSID broadcasted by the router, then the target SSID of the target router of the network for the internet of things equipment can be determined from the searched SSIDs, after the access password of the target router is obtained, the network-configuring information used when the internet of things equipment is networked can be generated based on the target SSID and the access password, and after the network-configuring information is sent to the internet of things equipment, the internet of things can be connected with the target router through the network-configuring information. The target SSID for generating the distribution network information is determined from the searched SSIDs of the routers, and the target SSID is information sent by the target router in a broadcasting mode and is not subjected to transcoding operation processing, so that the target SSID in the distribution network information is the same as the information coding format configured in the target router, and the purpose of networking the Internet of things equipment can be achieved.
Specifically, the SSID is information sent by the corresponding router after the SSID in the chinese form is converted into the code stream in the binary form.
It is understood that the SSID may be a binary, octal, decimal or hexadecimal code stream.
In order to facilitate determining a target router to which an internet of things device is to be connected, in an embodiment of the present invention, the determining whether a target SSID of the target router exists in the searched SSIDs, and when the target SSID of the target router exists in the searched SSIDs, extracting the target SSID includes:
determining a media access control address (MAC) address corresponding to each searched SSID;
determining whether the same MAC address matched with a target MAC address of a prestored target router exists in the MAC addresses;
and when the same MAC address matched with the prestored target MAC address of the target router exists in the MAC addresses, extracting a target SSID corresponding to the same MAC address.
In the embodiment of the present invention, since the MAC addresses of different routers are different, by storing the target MAC address of the target router in advance, after SSIDs of different routers are searched, the MAC address corresponding to each SSID can be determined, then an address matching the prestored target MAC address is determined from each MAC address, an SSID corresponding to the same MAC address matching the target MAC address is extracted, and the extracted SSID is used as the target SSID.
In order to perform data interaction with an internet of things device, in an embodiment of the present invention, after generating distribution network information according to the target SSID and the access password, before sending the distribution network information to the internet of things device, the method further includes:
sending a request carrying an identifier of the Internet of things equipment to an external background server, so that the background server determines a distribution network mode corresponding to the identifier in the request and returns the distribution network mode;
and executing the distribution network information sending to the Internet of things equipment by using the distribution network mode.
In the embodiment of the invention, different internet of things devices may have different data interaction modes with the outside, for example, some internet of things devices transmit data with the outside through a bluetooth, wireless network, 4G network, Soft AP and other network distribution modes. In order to transmit the distribution network information to the internet of things equipment, an external background server needs to determine a distribution network mode corresponding to the identifier of the internet of things equipment, and then the distribution network information is sent to the internet of things equipment through the distribution network mode, so that the internet of things equipment can receive the distribution network information.
Specifically, the identifier of the internet of things device may include: product serial number, product name, or manufacturer name.
As shown in fig. 2, an embodiment of the present invention provides a network distribution method, which is applied to an internet of things device, and includes:
step 201: receiving distribution network information sent by an external intelligent terminal, wherein a target SSID in the distribution network information is information broadcasted by a target router;
step 202: and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
In the embodiment of the invention, if a user needs to configure a network for the internet of things equipment, a networking request can be input into the intelligent terminal, so that the intelligent terminal can be the SSID broadcasted by the router, the target SSID of the target router of the network for the internet of things equipment can be determined from the searched SSIDs, the networking information used when the internet of things equipment is networked can be generated based on the target SSID and the access password after the access password of the target router is obtained, and the internet of things can be connected with the target router through the networking information after the networking information is sent to the internet of things equipment. The target SSID for generating the distribution network information is determined from the searched SSIDs of the routers, and the target SSID is information sent by the target router in a broadcasting mode and is not subjected to transcoding operation processing, so that the target SSID in the distribution network information is the same as the information coding format configured in the target router, and the purpose of networking the Internet of things equipment can be achieved.
In order not to affect data interaction between the internet of things device and the outside, in an embodiment of the present invention, the method further includes:
s1: when the internet of things equipment is in a power-on state, determining whether the body of the internet of things equipment is in a network-to-be-distributed mode, if so, executing S2, otherwise, executing S3;
s2: executing the receiving of the distribution network information sent by the external intelligent terminal;
s3: and reading the stored distribution network information, and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
In the embodiment of the invention, after the internet of things equipment is powered on again, whether the body of the internet of things equipment is in a to-be-configured state without being connected with a network needs to be judged, and if the body of the equipment is in the to-be-configured state, the internet of things equipment enters the to-be-configured state and waits for the intelligent terminal to send the network distribution information. If the network distribution state is not in the state to be distributed, the fact that the body of the Internet of things equipment does not need to wait for the intelligent terminal to send the distribution network information is indicated, therefore, the distribution network information can be read from the storage area, and then the connection is established with the target router through the distribution network information, and the communication between the equipment is guaranteed.
In an embodiment of the present invention, the determining whether the body of the internet of things device is in a network to be distributed mode includes:
and determining whether the preset storage area stores distribution network information for connecting the target router, if so, executing S2, and otherwise, executing S3.
In the embodiment of the invention, the mode of judging whether the body of the internet of things equipment is in the state to be distributed with the network can be determined by judging whether the distribution network information of the target router sent by the intelligent terminal is stored in the storage area, if the distribution network information is stored in the storage area, the body of the internet of things equipment can be connected with the target router through the distribution network information, the information sent by other equipment does not need to be waited, and if the distribution network information is not stored in the storage area, the distribution network information sent by the intelligent terminal needs to be waited.
In an embodiment of the invention, when the distribution network mode of the body of the Internet of things equipment comprises Soft-AP,
before the receiving the distribution network information sent by the external intelligent terminal, the method further includes:
releasing a preset AP hotspot so as to establish wireless connection with an external intelligent terminal through the AP hotspot;
the receiving of the distribution network information sent by the external intelligent terminal includes:
and receiving the distribution network information sent by an external intelligent terminal through the wireless connection.
In the embodiment of the invention, if the distribution network mode when the body of the internet of things equipment performs data interaction with the outside is Soft-AP, the body of the internet of things equipment needs to release the AP hotspot, and the name of the AP hotspot can be named by the product serial number, the product name or the manufacturer name of the internet of things equipment, so that a user can conveniently search the AP hotspot, and the intelligent terminal can conveniently transmit distribution network information through the AP hotspot.
In an embodiment of the present invention, after receiving the distribution network information sent by the external intelligent terminal, the method further includes:
and determining whether the distribution network information can be connected with a target router corresponding to the distribution network information, if so, storing the distribution network information into a preset storage area, executing connection establishment of the target router corresponding to the distribution network information through the distribution network information, and otherwise, entering a network to be distributed mode.
In the embodiment of the invention, after the distribution network information sent by the intelligent terminal is received, the distribution network information can be utilized to try to establish connection with the target router, and if the distribution network information can be successfully connected with the target router, the distribution network information is correct, so that the distribution network information can be stored, and the connection with the target router through the distribution network information after the network is disconnected is facilitated. If the connection with the target router cannot be established through the distribution network information, the distribution network information is wrong or the target router equipment is abnormal, so that the state to be distributed is entered, and the intelligent terminal is waited to send the distribution network information again.
As shown in fig. 3, in order to more clearly illustrate the technical solution and advantages of the present invention, the following takes an intelligent terminal as an intelligent mobile phone and an internet of things device as an intelligent refrigerator as an example, and the detailed description of the network distribution method provided by the embodiment of the present invention specifically includes the following steps:
step 301: and searching the service set identification SSID broadcasted by at least one router in the target range through the smart phone when the networking request is received.
For example, when a user has a demand for an intelligent refrigerator distribution network, the user can log in an APP in an intelligent mobile phone, enter an equipment distribution network interface in the APP, input a target MAC address of a target router of the intelligent refrigerator distribution network in the equipment distribution network interface to form a networking request of the intelligent refrigerator distribution network, and thus the intelligent mobile phone can search an SSID (service set identifier) in a binary system form sent by the router in a broadcasting form in a target range.
Step 302: and determining the MAC address corresponding to each searched SSID through the smart phone.
Step 303: and determining whether the same MAC address matched with the target MAC address of the pre-stored target router exists in the MAC addresses through the smart phone.
Step 304: and if the same MAC address exists, extracting a target SSID corresponding to the same MAC address through the smart phone.
Specifically, each router has a corresponding MAC address, and therefore, if the same MAC address matching the target MAC address input by the user exists in the MAC addresses corresponding to the searched SSIDs, it is indicated that the router corresponding to the same MAC address is the target router for which the user is the intelligent refrigerator distribution network, and therefore, the SSID corresponding to the same MAC address can be extracted as the target SSID.
Step 305: and acquiring an access password of the target router through the smart phone.
Specifically, the smartphone obtains the access password of the target router, which may be the access password input by the user.
Step 306: and generating distribution network information according to the target SSID and the access password by the smart phone.
Specifically, in order to establish connection between the intelligent refrigerator and the target router, an encryption mode of the intelligent refrigerator during data transmission may be determined, for example, a secret key of the intelligent refrigerator is obtained from the background server, and then a target SSID and an access password of the target router are encrypted by using the secret key to obtain the distribution network information, so that security during distribution network information transmission is improved.
The SSID is a code stream in an binary form sent by the router in a broadcasting form, so that the SSID searched by the smart phone is original information sent by the router in a broadcasting mode and is not coded by a system of the smart phone, the coding format of the target SSID searched by the smart phone is the same as that of information configured in the target router, and the intelligent refrigerator can be connected with the target router through the target SSID and the access password.
Step 307: and sending a request carrying the identification of the intelligent refrigerator to a background server through the intelligent mobile phone, so that the background server determines a distribution network mode corresponding to the target SSID in the request and returns the distribution network mode.
Specifically, different internet of things devices interact with the outside differently, for example, some devices may interact with the outside through bluetooth, a wireless network, and a 4G network. Each piece of Internet of things equipment is managed by a unified background server in a centralized mode, and services such as system upgrading, equipment repair reporting and the like can be provided for different pieces of Internet of things equipment conveniently. Because, in order to send the distribution network information to the intelligent refrigerator, the smart phone can acquire the distribution network mode of interaction between the intelligent refrigerator and the outside from the background server, and then send the distribution network information to the intelligent refrigerator through the distribution network mode.
Step 308: and when the distribution network mode is Soft-AP, establishing wireless connection with a preset AP hotspot released by the intelligent refrigerator through the intelligent mobile phone.
Specifically, if the distribution network mode of the intelligent refrigerator is Soft-AP, the intelligent refrigerator needs to be searched through the smart phone to release an AP hotspot, and then connection is established with the intelligent refrigerator through the AP hotspot so as to perform data interaction with the intelligent refrigerator through wireless connection.
Step 309: and sending the distribution network information to the intelligent refrigerator to be distributed through the intelligent mobile phone through wireless connection.
Step 310: when the body of the intelligent refrigerator is in a power-on state, whether the preset storage area stores distribution network information for connecting a target router or not is determined through the intelligent refrigerator, if so, step 311 is executed, and if not, step 312 is executed.
Specifically, on the intelligent refrigerator side, when the body of the intelligent refrigerator is in a power-on state, if the storage area stores the distribution network information, it is indicated that the intelligent refrigerator and the smart phone perform data interaction, and therefore the intelligent refrigerator can establish connection with the target router by using the stored distribution network information. If the distribution network information is not stored in the storage area, the body of the intelligent refrigerator needs to enter a state to be distributed so as to wait for the distribution network information sent by the intelligent mobile phone.
Step 311: and receiving the distribution network information sent by the smart phone through the wireless connection through the smart refrigerator, and executing the step 313.
Step 312: and reading the stored distribution network information through the intelligent refrigerator, and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
Step 313: and determining whether the connection can be established with the target router corresponding to the distribution network information through the distribution network information by the intelligent refrigerator, if so, executing step 314, and otherwise, executing step 315.
Specifically, after receiving the distribution network information in the state to be distributed, the intelligent refrigerator may attempt to establish connection with the target router through the distribution network information, and if the connection can be connected to function, data interaction may be performed directly, and if the connection fails, the distribution network information may be mistaken or the communication of the target router is abnormal, so that the intelligent refrigerator needs to enter the state to be distributed, and wait for the intelligent mobile phone to resend the distribution network information.
Step 314: the distribution network information is stored in a preset storage area through the intelligent refrigerator, and connection is established between the distribution network information and a target router corresponding to the distribution network information.
Specifically, if the distribution network information sent by the smart phone is connected with the target router, the distribution network information can be stored in a preset storage area in the body, so that the distribution network information is connected with the target router again through the stored distribution network information after being powered on again or disconnected from the target router.
Step 315: entering the network waiting distribution mode, and returning to step 311.
As shown in fig. 4, an embodiment of the present invention provides an intelligent terminal, including:
an identifier search module 401, configured to search, when receiving a networking request, a service set identifier SSID broadcasted by at least one router within a target range;
an identifier extracting module 402, configured to determine whether a target SSID of a target router exists in the SSIDs searched by the identifier searching module 401; when a target SSID of a target router exists in the searched SSIDs, extracting the target SSID;
a password obtaining module 403, configured to obtain an access password of the target router;
an information processing module 404, configured to generate distribution network information according to the target SSID extracted by the identifier extraction module 402 and the access password acquired by the password acquisition module 403; and sending the distribution network information to the Internet of things equipment to be distributed so that the Internet of things equipment is connected with the target server through the distribution network information.
In an embodiment of the present invention, the identifier extracting module is configured to determine a MAC address corresponding to each of the searched SSIDs; determining whether the same MAC address matched with a target MAC address of a prestored target router exists in the MAC addresses; and when the same MAC address matched with the prestored target MAC address of the target router exists in the MAC addresses, extracting a target SSID corresponding to the same MAC address.
In an embodiment of the present invention, the information processing module is further configured to send a request carrying an identifier of an internet of things device to be connected to a network to an external background server, so that the background server determines a network connection mode corresponding to the identifier in the request, and returns the network connection mode; and executing the distribution network information sending to the Internet of things equipment by using the distribution network mode.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the intelligent terminal. In other embodiments of the invention, the smart terminal may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
It should be noted that the smart terminal may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
As shown in fig. 5, an embodiment of the present invention further provides an internet of things device, including:
the information receiving module 501 is configured to receive distribution network information sent by an external intelligent terminal, where a target SSID in the distribution network information is information broadcasted by a target router;
the device networking module 502 is configured to establish a connection between the distribution network information received by the information receiving module 501 and a target router corresponding to the distribution network information.
In an embodiment of the present invention, the internet of things device further includes: a state detection module to perform:
s1: when the internet of things equipment is in a power-on state, determining whether the body of the internet of things equipment is in a network-to-be-distributed mode, if so, triggering the information receiving module to execute S2, otherwise, triggering the equipment networking module to execute S3;
s2: executing the receiving of the distribution network information sent by the external intelligent terminal;
s3: and reading the stored distribution network information, and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
In an embodiment of the present invention, the state detection module is configured to determine whether distribution network information for connecting to a target router is stored in a preset storage area, if so, trigger the information receiving module to execute S2, otherwise, trigger the device networking module to execute S3.
In an embodiment of the invention, when the distribution network mode of the body of the internet of things device includes Soft-AP, the device networking module is further configured to release a preset AP hotspot, so that a wireless connection is established with an external intelligent terminal through the AP hotspot;
the information receiving module is used for receiving the distribution network information sent by an external intelligent terminal through the wireless connection.
In an embodiment of the present invention, the device networking module is further configured to determine whether a connection can be established with a target router corresponding to the distribution network information through the distribution network information, if so, store the distribution network information in a preset storage area, and execute the connection establishment with the target router corresponding to the distribution network information through the distribution network information, otherwise, enter a to-be-distributed network mode.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the internet of things device. In other embodiments of the invention, the internet of things device may include more or fewer components than illustrated, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
As shown in fig. 6, an embodiment of the present invention further provides a distribution network system, including: at least one intelligent terminal 601 in any one of the above embodiments, at least one internet of things device 602 in any one of the above embodiments, and at least one router 603;
the router is used for broadcasting the SSID of the router body and establishing connection with the Internet of things when the distribution network information which is sent by the equipment of the Internet of things and comprises the SSID and the access password of the router body is received.
An embodiment of the present invention further provides a storage medium, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the network distribution method in any embodiment of the present invention.
An embodiment of the present invention further provides a computer-readable medium, where a computer instruction is stored on the computer-readable medium, and when the computer instruction is executed by a processor, the processor is enabled to execute the network distribution method in any embodiment of the present invention.
Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. The network distribution method is characterized by being applied to an intelligent terminal and comprising the following steps:
when a networking request is received, searching for a Service Set Identifier (SSID) broadcasted by at least one router in a target range;
determining whether a target SSID of a target router exists in the searched SSIDs;
when a target SSID of a target router exists in the searched SSIDs, extracting the target SSID;
acquiring an access password of the target router;
generating distribution network information according to the target SSID and the access password;
and sending the distribution network information to the Internet of things equipment to be distributed so that the Internet of things equipment is connected with the target server through the distribution network information.
2. The distribution network method of claim 1,
the determining whether a target SSID of a target router exists in the searched SSIDs, and extracting the target SSID when the target SSID of the target router exists in the searched SSIDs includes:
determining a media access control address (MAC) address corresponding to each searched SSID;
determining whether the same MAC address matched with a target MAC address of a prestored target router exists in the MAC addresses;
and when the same MAC address matched with the prestored target MAC address of the target router exists in the MAC addresses, extracting a target SSID corresponding to the same MAC address.
3. Distribution network method according to claim 1 or 2,
after the generating of the distribution network information according to the target SSID and the access password and before the sending of the distribution network information to the internet of things device, further comprising:
sending a request of an identifier of the Internet of things equipment to be distributed to an external background server, so that the background server determines a distribution network mode corresponding to the identifier in the request and returns the distribution network mode;
the distribution network information is sent to the Internet of things equipment by using the distribution network mode;
and/or the presence of a gas in the gas,
the SSID is information sent by the corresponding router after the SSID in the Chinese form is converted into the code stream in the binary form.
4. The network distribution method is characterized by being applied to Internet of things equipment and comprising the following steps:
receiving distribution network information sent by an external intelligent terminal, wherein a target SSID in the distribution network information is information broadcasted by a target router;
and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
5. The method of claim 4, further comprising:
s1: when the internet of things equipment is in a power-on state, determining whether the body of the internet of things equipment is in a network-to-be-distributed mode, if so, executing S2, otherwise, executing S3;
s2: executing the receiving of the distribution network information sent by the external intelligent terminal;
s3: and reading the stored distribution network information, and establishing connection with a target router corresponding to the distribution network information through the distribution network information.
6. The method of claim 5,
the determining whether the body of the internet of things device is in a network distribution waiting mode includes:
and determining whether the preset storage area stores distribution network information for connecting the target router, if so, executing S2, and otherwise, executing S3.
7. The method according to any one of claims 4 to 6,
when the distribution network mode of the body of the Internet of things equipment comprises Soft-AP,
before the receiving the distribution network information sent by the external intelligent terminal, the method further includes:
releasing a preset AP hotspot so as to establish wireless connection with an external intelligent terminal through the AP hotspot;
the receiving of the distribution network information sent by the external intelligent terminal includes:
receiving distribution network information sent by an external intelligent terminal through the wireless connection;
and/or the presence of a gas in the gas,
after the receiving the distribution network information sent by the external intelligent terminal, the method further includes:
and determining whether the distribution network information can be connected with a target router corresponding to the distribution network information, if so, storing the distribution network information into a preset storage area, executing connection establishment of the target router corresponding to the distribution network information through the distribution network information, and otherwise, entering a network to be distributed mode.
8. Intelligent terminal, its characterized in that includes:
the identification searching module is used for searching service set identification SSID broadcast by at least one router in a target range when a networking request is received;
the identification extraction module is used for determining whether a target SSID of a target router exists in the searched SSIDs; when a target SSID of a target router exists in the searched SSIDs, extracting the target SSID;
the password acquisition module is used for acquiring an access password of the target router;
the information processing module is used for generating distribution network information according to the target SSID and the access password; and sending the distribution network information to the Internet of things equipment to be distributed so that the Internet of things equipment is connected with the target server through the distribution network information.
9. Thing networking equipment, its characterized in that includes:
the information receiving module is used for receiving distribution network information sent by an external intelligent terminal, wherein a target SSID in the distribution network information is information broadcasted by a target router;
and the equipment networking module is used for establishing connection with the target router corresponding to the distribution network information through the distribution network information.
10. Distribution network system, its characterized in that includes: the smart terminal of claim 8, the internet of things device of claim 9, and the router;
the router is used for broadcasting the SSID of the router body and establishing connection with the Internet of things when the distribution network information which is sent by the equipment of the Internet of things and comprises the SSID and the access password of the router body is received.
CN202010437912.0A 2020-05-21 2020-05-21 Network distribution method and system, intelligent terminal and Internet of things equipment Pending CN111586591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010437912.0A CN111586591A (en) 2020-05-21 2020-05-21 Network distribution method and system, intelligent terminal and Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010437912.0A CN111586591A (en) 2020-05-21 2020-05-21 Network distribution method and system, intelligent terminal and Internet of things equipment

Publications (1)

Publication Number Publication Date
CN111586591A true CN111586591A (en) 2020-08-25

Family

ID=72112241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010437912.0A Pending CN111586591A (en) 2020-05-21 2020-05-21 Network distribution method and system, intelligent terminal and Internet of things equipment

Country Status (1)

Country Link
CN (1) CN111586591A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291801A (en) * 2020-11-30 2021-01-29 四川虹美智能科技有限公司 Network distribution system and method of intelligent device
CN112333033A (en) * 2020-12-01 2021-02-05 四川虹美智能科技有限公司 Network distribution method and device of Internet of things equipment
CN112637245A (en) * 2021-01-13 2021-04-09 广州技象科技有限公司 Internet of things equipment binding method and device
CN113110083A (en) * 2021-04-15 2021-07-13 青岛海信移动通信技术股份有限公司 Wireless communication module, intelligent household equipment, network distribution method and system
CN113766606A (en) * 2021-09-07 2021-12-07 四川长虹网络科技有限责任公司 Network distribution method, system, computer equipment and storage medium based on cellular communication
CN114465886A (en) * 2020-11-09 2022-05-10 深圳Tcl新技术有限公司 Equipment network distribution method and device, intelligent terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
CN110582082A (en) * 2018-06-08 2019-12-17 阿里巴巴集团控股有限公司 Method and device for accessing network to be configured to network hotspot equipment
CN110839237A (en) * 2018-08-17 2020-02-25 阿里巴巴集团控股有限公司 Method and device for accessing to-be-configured network equipment to access point
CN111163500A (en) * 2020-01-10 2020-05-15 广东科徕尼智能科技有限公司 Two-dimensional code-based network distribution method and system for Internet of things equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
CN110582082A (en) * 2018-06-08 2019-12-17 阿里巴巴集团控股有限公司 Method and device for accessing network to be configured to network hotspot equipment
CN110839237A (en) * 2018-08-17 2020-02-25 阿里巴巴集团控股有限公司 Method and device for accessing to-be-configured network equipment to access point
CN111163500A (en) * 2020-01-10 2020-05-15 广东科徕尼智能科技有限公司 Two-dimensional code-based network distribution method and system for Internet of things equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465886A (en) * 2020-11-09 2022-05-10 深圳Tcl新技术有限公司 Equipment network distribution method and device, intelligent terminal and computer readable storage medium
CN112291801A (en) * 2020-11-30 2021-01-29 四川虹美智能科技有限公司 Network distribution system and method of intelligent device
CN112333033A (en) * 2020-12-01 2021-02-05 四川虹美智能科技有限公司 Network distribution method and device of Internet of things equipment
CN112637245A (en) * 2021-01-13 2021-04-09 广州技象科技有限公司 Internet of things equipment binding method and device
CN113110083A (en) * 2021-04-15 2021-07-13 青岛海信移动通信技术股份有限公司 Wireless communication module, intelligent household equipment, network distribution method and system
CN113766606A (en) * 2021-09-07 2021-12-07 四川长虹网络科技有限责任公司 Network distribution method, system, computer equipment and storage medium based on cellular communication

Similar Documents

Publication Publication Date Title
CN111586591A (en) Network distribution method and system, intelligent terminal and Internet of things equipment
US11510167B2 (en) Method and apparatus for registering wireless device in wireless communication system
US10038772B2 (en) Communication systems and methods
US9628585B2 (en) Systems and methods for cross-layer secure connection set up
US10976971B2 (en) Establishing wireless connection, by using terminal device, after determining which of external device or terminal device that communication device is to establish connection
US20090271709A1 (en) Method and apparatus for setting up wireless lan of device
US8582471B2 (en) Wireless ad-hoc network configuration method and apparatus
US11778458B2 (en) Network access authentication method and device
KR20010096543A (en) System and method for provisioning or updating a mobile station using over-the-air transfer of interpreted byte-code program
CN111107597B (en) Reliable switching method and device for communication module network
CN111757421A (en) Method and device for intelligent equipment network distribution
EP3547759A1 (en) Method and device for establishing wireless local area network connection
CN112333033A (en) Network distribution method and device of Internet of things equipment
EP2510717B1 (en) Smart card security feature profile in home subscriber server
EP3197194B1 (en) Wireless communication device, server, payment device, wireless communication method, and program
CN103281693A (en) Wireless communication authentication method, network translation equipment and terminal
CN112738789B (en) SIM card locking method and device, storage medium and electronic equipment
KR102390887B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN105682250A (en) Method and apparatus for realizing couple terminal based on Wifi Direct and terminal thereof
US20210195420A1 (en) Communication apparatus, communication method, and computer-readable storage medium
CN107548058B (en) Equipment access method and intelligent terminal
WO2022041472A1 (en) Network distribution method and apparatus, and device and storage medium
CN117615428A (en) Data processing method, data acquisition method, device, terminal and storage medium
CN113596827A (en) Key generation method and device, electronic equipment and storage medium
CN113079514A (en) Network access verification method and device and computer readable storage medium

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: 20200825