CN111800302A - Automatic network distribution method and system, central gateway and Internet of things terminal - Google Patents

Automatic network distribution method and system, central gateway and Internet of things terminal Download PDF

Info

Publication number
CN111800302A
CN111800302A CN202010860321.4A CN202010860321A CN111800302A CN 111800302 A CN111800302 A CN 111800302A CN 202010860321 A CN202010860321 A CN 202010860321A CN 111800302 A CN111800302 A CN 111800302A
Authority
CN
China
Prior art keywords
internet
central control
control gateway
terminal
things terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010860321.4A
Other languages
Chinese (zh)
Other versions
CN111800302B (en
Inventor
祖东辉
刘大伟
刘森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aojie Technology Shenzhen Co ltd
Original Assignee
Aojie Technology Shenzhen 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 Aojie Technology Shenzhen Co ltd filed Critical Aojie Technology Shenzhen Co ltd
Priority to CN202010860321.4A priority Critical patent/CN111800302B/en
Publication of CN111800302A publication Critical patent/CN111800302A/en
Application granted granted Critical
Publication of CN111800302B publication Critical patent/CN111800302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the disclosure provides an automatic network distribution method and system, a central gateway and an Internet of things terminal, and belongs to the technical field of Internet of things. The method comprises the following steps: after the user terminal finishes purchasing an order of the Internet of things terminal, the identification information of the Internet of things terminal is sent to the connected central control gateway, so that the central control gateway stores the identification information of the Internet of things terminal in a distribution network white list; after the terminal of the Internet of things is powered on and started, if a central control gateway is searched in a preset range, a networking request is sent to the central control gateway; the central control gateway inquires whether the white list of the distribution network contains the identification information of the Internet of things terminal; and if the identification information of the Internet of things terminal is inquired in the distribution network white list, sending indication information allowing connection to the Internet of things terminal. According to the scheme of the embodiment, the Internet of things terminal is associated with the central control gateway when the Internet of things terminal is placed for purchase, the Internet of things terminal can automatically access the central control gateway after being powered on and started, and the complicated operation of manual networking of a user is saved.

Description

Automatic network distribution method and system, central gateway and Internet of things terminal
Technical Field
The disclosure relates to the technical field of internet of things, in particular to an automatic network distribution method and system, a central control gateway and an internet of things terminal.
Background
The existing terminal equipment of the internet of things in life is increasingly popularized, such as an intelligent refrigerator, an intelligent air conditioner and the like. After a user purchases the terminal device of the internet of things, takes the terminal device of the internet of things home and is powered on to start, the user needs to scan codes through an APPlication program (APP), utilize other communication modes or manually input by the user to enable the terminal device of the internet of things to be connected with a distribution network. Such problems are either unsafe, inconvenient, or add additional hardware cost, which is cumbersome to operate.
Therefore, the existing terminal equipment of the internet of things has the technical problem of poor operation convenience of a distribution network after power-on starting.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide an automatic network distribution method and system, a central gateway, and an internet of things terminal, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides an automatic network distribution method, which is applied to an automatic network distribution system, where the automatic network distribution system includes a user terminal, a central gateway, and an internet of things terminal; the method comprises the following steps:
after the user terminal finishes purchasing an order of the Internet of things terminal, sending identification information of the Internet of things terminal to a connected central control gateway so that the central control gateway stores the identification information of the Internet of things terminal in a distribution network white list;
after the terminal of the Internet of things is powered on and started, if the central control gateway is searched in a preset range, sending a networking request to the central control gateway, wherein the networking request comprises identification information of the terminal of the Internet of things;
the central control gateway inquires whether a distribution network white list corresponding to the central control gateway contains identification information of the Internet of things terminal or not based on the networking request;
and if the central control gateway inquires the identification information of the Internet of things terminal in the distribution network white list, sending indication information allowing connection to the Internet of things terminal.
According to a specific implementation manner of the embodiment of the present disclosure, if the central control gateway is searched within a preset range after the terminal of the internet of things is powered on and started, the step of sending a networking request to the central control gateway includes:
after the terminal of the Internet of things is powered on and started, searching available gateways in a preset range;
if the central control gateway is searched, inquiring whether a historical distribution network record of the central control gateway exists in the historical distribution network information record of the Internet of things terminal;
if the historical distribution network record of the central control gateway is inquired, the central control gateway is directly connected according to a connection secret key indicated in the historical distribution network record;
and if the historical distribution network record of the central control gateway is not inquired, sending a networking request to the central control gateway.
According to a specific implementation manner of the embodiment of the present disclosure, after the step of sending the indication information allowing connection to the internet of things terminal, the method further includes:
the central control gateway sends a connection secret key of the central control gateway to the terminal of the Internet of things;
and the Internet of things terminal receives and stores the connection secret key of the central control gateway and is connected to the central control gateway according to the connection secret key.
In a second aspect, an embodiment of the present disclosure provides another automatic network distribution method, which is applied to a user terminal, and the method includes:
connecting a central control gateway;
completing the purchase order according to the received input operation;
and if the purchase order corresponds to the Internet of things terminal, sending the identification information of the Internet of things terminal to the central control gateway.
In a third aspect, an embodiment of the present disclosure provides another automatic network distribution method, which is applied to a central gateway, and the method includes:
receiving a networking request of a user terminal;
receiving identification information of the Internet of things terminal sent by a user terminal after an order of the Internet of things terminal is purchased, and storing the identification information of the Internet of things terminal in a distribution network white list;
if the networking request sent by the Internet of things terminal is received, whether the distribution network white list corresponding to the central gateway contains the identification information of the Internet of things terminal is inquired;
and if the identification information of the Internet of things terminal is inquired in the distribution network white list, sending indication information allowing connection and a connection secret key of the central control gateway to the Internet of things terminal.
In a fourth aspect, an embodiment of the present disclosure provides another automatic network distribution method, which is applied to an internet of things terminal, and the method includes:
after power-on starting, searching available gateways in a preset range;
if the central control gateway is searched, sending a networking request to the central control gateway, wherein the networking request comprises identification information of the terminal of the Internet of things;
receiving indication information and a connection secret key which are returned by the central control gateway after the identification information of the internet of things terminal is inquired in a distribution network white list;
and connecting to the central gateway according to the connection secret key.
According to a specific implementation manner of the embodiment of the present disclosure, the step of sending a networking request to the central control gateway if the central control gateway is found includes:
if the central control gateway is searched, inquiring whether a historical distribution network record of the central control gateway exists in the historical distribution network information record of the Internet of things terminal;
if the historical distribution network record of the central control gateway is inquired, the central control gateway is directly connected according to a connection secret key indicated in the historical distribution network record;
and if the historical distribution network record of the central control gateway is not inquired, sending a networking request to the central control gateway.
In a fifth aspect, an embodiment of the present disclosure provides a central gateway, including:
a first receiving module, configured to receive a networking request of a user terminal;
the second receiving module is used for receiving the identification information of the Internet of things terminal sent by the user terminal after the user terminal finishes purchasing the order of the Internet of things terminal, and storing the identification information of the Internet of things terminal in a distribution network white list;
the query module is used for querying whether a distribution network white list corresponding to the central gateway contains identification information of the Internet of things terminal or not if the networking request sent by the Internet of things terminal is received;
and the sending module is used for inquiring the identification information of the Internet of things terminal in the distribution network white list, and then sending the indication information of connection permission and the connection secret key of the central gateway to the Internet of things terminal.
In a sixth aspect, an embodiment of the present disclosure provides an internet of things terminal, including:
the searching module is used for searching the available gateways in the preset range after being electrified and started;
the sending module is used for sending a networking request to the central control gateway if the central control gateway is searched, wherein the networking request comprises identification information of the terminal of the internet of things;
the receiving module is used for receiving indication information and a connection secret key which are returned by the central control gateway after the identification information of the internet of things terminal is inquired in a distribution network white list;
and the networking module is used for connecting to the central control gateway according to the connection secret key.
In a seventh aspect, an embodiment of the present disclosure further provides an automatic network distribution system, where the automatic network distribution system includes a user terminal, a central gateway, and an internet of things terminal;
the user terminal is used for sending the identification information of the Internet of things terminal to a connected central gateway after an order of the Internet of things terminal is purchased, so that the central gateway stores the identification information of the Internet of things terminal in a distribution network white list;
the Internet of things terminal is used for sending a networking request to the central control gateway if the central control gateway is searched in a preset range after being powered on and started, wherein the networking request comprises identification information of the Internet of things terminal;
the central control gateway is used for inquiring whether a distribution network white list corresponding to the central control gateway contains the identification information of the Internet of things terminal or not based on the networking request;
and the central control gateway is further used for sending indication information allowing connection to the Internet of things terminal if the identification information of the Internet of things terminal is inquired in the distribution network white list.
In a sixth aspect, the disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the automatic network distribution method in the first aspect or any implementation manner of the first aspect.
In a seventh aspect, the disclosed embodiments also provide a computer program product, the computer program product including a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform the automatic distribution network method in the foregoing first to third aspects or any implementation manner of the first to third aspects.
In the automatic distribution network scheme in the embodiment of the disclosure, after the purchase of the order of the internet of things terminal is completed, the user terminal sends the identification information of the internet of things terminal corresponding to the order to the central gateway connected to the user terminal and stores the identification information in the distribution network white list. Therefore, the internet of things terminal can search the gateways in the preset range after being powered on and started, network connection is requested after the gateways are searched, and the central control gateway allows network connection after inquiring the identification information of the internet of things terminal in the distribution network white list. According to the scheme provided by the embodiment, the Internet of things terminal is associated with the central gateway connected with the user terminal when the Internet of things terminal is placed for purchase, so that the Internet of things terminal can be automatically accessed to the central gateway associated with the user terminal after being powered on and started, and the complicated operation of manual networking of a user is saved.
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 will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an automatic network distribution method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an automatic distribution network system according to an embodiment of the present disclosure;
fig. 3 to fig. 5 are schematic flow diagrams of specific embodiments of an automatic network distribution method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a central gateway according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an internet of things terminal provided in the embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the disclosure provides an automatic network distribution method. The automatic network distribution method provided by the embodiment may be executed by a computing device, where the computing device may be implemented as software, or implemented as a combination of software and hardware, and the computing device may be integrated in a server, a terminal device, or the like.
Referring to fig. 1, a schematic flow chart of an automatic network distribution method provided in the embodiment of the present disclosure is shown, where the method provided in this embodiment is applied to an automatic network distribution system. As shown in fig. 2, the automatic network distribution system includes a user terminal, a central gateway, and an internet of things terminal. As shown in fig. 1, the method mainly comprises the following steps:
s101, after the user terminal finishes purchasing an order of the Internet of things terminal, sending identification information of the Internet of things terminal to a connected central gateway, so that the central gateway stores the identification information of the Internet of things terminal in a distribution network white list;
according to the automatic network distribution method provided by the embodiment, the interaction between the user terminal where the user is located and the central control gateway connected with the user terminal is purchased through the internet of things terminal, so that the purchased internet of things terminal is automatically connected to the central control gateway to realize automatic network distribution. Optionally, the mentioned internet of things terminal may be an intelligent air conditioner, a refrigerator, a washing machine, and the like, which are controlled in a network.
The user is connected to the central control gateway through the held user terminal, then the user terminal is linked to the Internet to purchase the Internet of things terminal on line, the corresponding target order is completed after purchase and ordering, and the identification information of the Internet of things terminal corresponding to the order can be uploaded to the connected central control gateway to indicate that the purchase process of the Internet of things terminal is completed. And the central control gateway directly stores the identification information of the internet of things terminal in a distribution network white list corresponding to the central control gateway, and all the internet of things terminals in the white list can be directly connected to the central control gateway.
As shown in fig. 1 and 2, the user terminal includes an order data acquisition module and a gateway communication module, and the central gateway includes a distribution network white list module and a communication module. And the order data acquisition module of the user terminal is used for acquiring the identification information of the Internet of things terminal purchased by the user. And the gateway communication module acquires the identification information of the Internet of things terminal of the order data acquisition module and then transmits the identification information to the communication module of the central control gateway. The communication module of the central gateway is used for carrying out gateway communication with the user terminal to obtain the unique identification information of the terminal of the Internet of things, and the distribution network white list module is used for storing the identification information of the terminal of the Internet of things connected with the central gateway.
It should be noted that the central gateway may be a gateway that is currently connected to the user terminal and is immediately queried when the user terminal places an order, or the user terminal may manually input identification information of the associated gateway in advance, so that the central gateway is associated with the user terminal and the internet of things terminal purchased by the user terminal.
S102, after the terminal of the Internet of things is powered on and started, if the central control gateway is searched in a preset range, a networking request is sent to the central control gateway, wherein the networking request comprises identification information of the terminal of the Internet of things;
and after the terminal of the Internet of things is transported to the home of the user or a designated use place, the terminal of the Internet of things is powered on and started. At this time, the terminal of the internet of things may spontaneously and periodically search for an available gateway within a preset range where the terminal of the internet of things is located, and send a networking request to the searched central gateway to request to connect to the central gateway. It should be noted that, the terminal of the internet of things may search for multiple central control gateways, may send a networking request only to the central control gateway with a better signal, or may send a networking request to all the searched gateways until receiving indication information that allows connection sent by any gateway, or being powered off and powered off.
As shown in fig. 2, the terminal of the internet of things includes an information storage module and a communication interaction module, where the information storage module is used to store the already-distributed network information, including an SSID and a connection key of a gateway, etc.; the communication interaction module is used for carrying out data communication with the central control gateway so as to acquire a customized message or send a networking request.
S103, the central control gateway inquires whether a distribution network white list corresponding to the central control gateway contains identification information of the Internet of things terminal or not based on the networking request;
the identification information of the Internet of things terminal capable of directly distributing the network is stored in the distribution network white list of the central control gateway, and after the networking request sent by the Internet of things terminal is received, the Internet of things terminal can inquire whether the identification information of the Internet of things terminal exists in the distribution network white list.
And S104, if the central gateway inquires the identification information of the Internet of things terminal in the distribution network white list, sending indication information allowing connection to the Internet of things terminal.
If the identification information of the internet of things terminal is inquired in the distribution network white list, the fact that the network can be directly distributed for the internet of things terminal is shown, and the central control gateway sends indication information allowing connection to the internet of things terminal. On the contrary, if the identification information of the internet of things terminal is not inquired in the distribution network white list, the connection request of the internet of things terminal can be directly rejected.
On the basis of the foregoing embodiment, according to a specific implementation manner of the embodiment of the present disclosure, if the central control gateway is searched within a preset range after the terminal of the internet of things is powered on and started, the step of sending a networking request to the central control gateway specifically includes:
after the terminal of the Internet of things is powered on and started, searching available gateways in a preset range;
if the central control gateway is searched, inquiring whether a historical distribution network record of the central control gateway exists in the historical distribution network information record of the Internet of things terminal;
if the historical distribution network record of the central control gateway is inquired, the central control gateway is directly connected according to a connection secret key indicated in the historical distribution network record;
and if the historical distribution network record of the central control gateway is not inquired, sending a networking request to the central control gateway.
The network distribution searching process of the terminal of the Internet of things is further limited by the implementation mode. Specifically, the terminal of the internet of things searches for an available gateway after being powered on and started. After searching for an available central control gateway, whether a historical distribution network record corresponding to the central control gateway exists in the historical distribution network information record of the terminal of the internet of things is inquired, namely whether the terminal of the internet of things is connected to the central control gateway before.
If the corresponding historical distribution network record is inquired, the central control gateway can be directly connected. If the internet of things terminal is not inquired, the internet of things terminal is not connected to the central control gateway before, at the moment, the internet of things terminal needs to send a networking request to the central control gateway to request to be connected to the central control gateway, and intelligent control of the user on the internet of things terminal is achieved.
In addition, according to another specific implementation manner of the embodiment of the present disclosure, after the step of sending the indication information allowing connection to the terminal of the internet of things, the method further includes:
the central control gateway sends a connection secret key of the central control gateway to the terminal of the Internet of things;
and the Internet of things terminal receives and stores the connection secret key of the central control gateway and is connected to the central control gateway according to the connection secret key.
In the embodiment, after the indication information allowing connection is sent for the terminal of the internet of things which is connected to the central gateway for the first time, the identification information of the central gateway and the connection secret key are sent to the terminal of the internet of things so that the terminal of the internet of things can be stored, and the terminal of the internet of things can be automatically connected to the central gateway in the subsequent networking application process, so that the networking efficiency is further improved, and the networking operation is optimized.
In the automatic distribution network scheme in the embodiment of the disclosure, after the order of the internet of things terminal is purchased, the user terminal sends the identification information of the internet of things terminal corresponding to the order to the central gateway connected to the user terminal, and stores the identification information in the distribution network white list. Therefore, the internet of things terminal can search the gateways in the preset range after being powered on and started, network connection is requested after the gateways are searched, and the central control gateway allows network connection after inquiring the identification information of the internet of things terminal in the distribution network white list. According to the scheme provided by the embodiment, the Internet of things terminal is associated with the central gateway connected with the user terminal when the Internet of things terminal is placed for purchase, so that the Internet of things terminal can be automatically accessed to the central gateway associated with the user terminal after being powered on and started, and the complicated operation of manual networking of a user is saved.
Referring to fig. 3, a schematic flow chart of another automatic network distribution method provided in the embodiment of the present disclosure is shown, where the difference between the method provided in this embodiment and the foregoing embodiment is that the method provided in this embodiment is applied to a user terminal. As shown in fig. 3, the method mainly comprises the following steps:
s301, connecting a central gateway;
and the user terminal is connected with the central control gateway and is connected with the Internet through the central control gateway.
S302, completing a purchase order according to the received input operation;
the user purchases on line by operating the user terminal, and the user terminal completes the purchase terminal according to the input operation of the user.
And S303, if the purchase order corresponds to the Internet of things terminal, sending the identification information of the Internet of things terminal to the central gateway.
In the actual operation process, there may be multiple types of purchase products corresponding to the purchase order formed by the user terminal, and the automatic distribution network operation is preferably performed on the purchase order of the internet of things terminal in this embodiment. And when the completed purchase order is determined to be the Internet of things terminal, the user terminal directly sends the identification information of the purchased Internet of things terminal to the central gateway.
An order data acquisition module of the user terminal acquires unique identification information of the internet of things terminal purchased through the user terminal. And the gateway communication module of the user terminal transmits the unique identification information of the terminal of the Internet of things to the communication module of the central control gateway, and the central control gateway adds the identification information to the distribution network white list.
Correspondingly, referring to fig. 4, a schematic flow chart of another automatic network distribution method provided in the embodiment of the present disclosure is shown, where the method provided in this embodiment is different from the foregoing embodiment in that the method provided in this embodiment is applied to a central gateway. As shown in fig. 4, the method mainly includes the following steps:
s401, receiving a networking request of a user terminal;
and the central control gateway broadcasts and sends a self signal and always waits for the user terminal or other terminals of the Internet of things to be connected to the networking request. The user terminal is connected to the central control gateway to access the Internet, and an online shopping function is provided for the user.
S402, receiving identification information of the Internet of things terminal sent by a user terminal after an order of the Internet of things terminal is purchased, and storing the identification information of the Internet of things terminal in a distribution network white list;
the user purchases on line by operating the user terminal, and the user terminal completes the purchase terminal according to the input operation of the user. And when the completed purchase order is determined to be the Internet of things terminal, the user terminal directly sends the identification information of the purchased Internet of things terminal to the central control gateway, and the central control gateway stores the identification information of the Internet of things terminal in the distribution network white list.
S403, if a networking request sent by the Internet of things terminal is received, whether the distribution network white list corresponding to the central gateway contains the identification information of the Internet of things terminal is inquired;
a user controls the Internet of things terminal to be powered on, searches a central control gateway and inquires whether the information storage module has distribution network information matched with the central control gateway, if yes, the network is distributed according to the existing distribution network information, and a distribution network link is finished; if not, a keyless connection request is initiated to the central gateway.
After receiving a keyless connection request of the Internet of things terminal, the central control gateway extracts the unique identifier of the Internet of things terminal from the request, and inquires whether the identifier exists in a distribution network white list.
S404, inquiring the identification information of the Internet of things terminal in the distribution network white list, and sending indication information allowing connection and a connection secret key of the central gateway to the Internet of things terminal.
If the connection request exists, the connection request of the terminal of the Internet of things is allowed; and if not, rejecting the connection request of the terminal of the Internet of things and ending the distribution network. After allowing the keyless connection request of the terminal of the internet of things, the central control gateway sends the connection key of the central control gateway to a gateway communication module of the terminal of the internet of things through the communication module.
After receiving the key sent by the central gateway, the terminal of the internet of things stores the key and the unique identifier of the gateway in the information storage module.
Correspondingly, referring to fig. 5, a schematic flow chart of another automatic network distribution method provided in the embodiment of the present disclosure is shown, where the method provided in this embodiment is different from the foregoing embodiment in that the method provided in this embodiment is applied to a terminal of the internet of things. As shown in fig. 5, the method mainly includes the following steps:
s501, searching available gateways in a preset range after power-on starting;
and after the terminal of the Internet of things is transported to the home of the user or a designated use place, the terminal of the Internet of things is powered on and started. At this time, the internet of things terminal can spontaneously and periodically search for the available gateways in the preset range where the internet of things terminal is located.
S502, if a central gateway is searched, sending a networking request to the central gateway, wherein the networking request comprises identification information of the terminal of the Internet of things;
and the terminal of the Internet of things sends a networking request to the searched central control gateway to request to be connected to the central control gateway.
According to a specific implementation manner of the embodiment of the present disclosure, the step of sending a networking request to the central control gateway if the central control gateway is found includes:
if the central control gateway is searched, inquiring whether a historical distribution network record of the central control gateway exists in the historical distribution network information record of the Internet of things terminal;
if the historical distribution network record of the central control gateway is inquired, the central control gateway is directly connected according to a connection secret key indicated in the historical distribution network record;
and if the historical distribution network record of the central control gateway is not inquired, sending a networking request to the central control gateway.
S503, receiving indication information and a connection secret key which are returned by the central control gateway after the identification information of the Internet of things terminal is inquired in a distribution network white list;
and S504, connecting to the central gateway according to the connection secret key.
After allowing the keyless connection request of the terminal of the internet of things, the central control gateway sends the connection key of the central control gateway to a gateway communication module of the terminal of the internet of things through the communication module. After receiving the key sent by the central control gateway, the terminal of the internet of things stores the key and the unique identifier of the central control gateway in the information storage module.
According to the automatic network distribution method provided by the embodiments of the disclosure, the unique identifier of the terminal of the internet of things is obtained from the purchase moment through the order data acquisition module of the user terminal, the unique identifier is added into the distribution network white list of the central control gateway through the communication between the user terminal and the central control gateway, the central control terminal is allowed to be connected when the network is distributed for the first time without the key distribution network, and the key of the central control gateway is transmitted to the terminal of the internet of things. The method and the system have the advantages that an information channel from order purchase to final application is opened, and the problems that safety, convenience and low cost cannot be considered in the existing internet of things terminal distribution network technology are solved.
Compared with the method embodiment, the embodiment of the disclosure also provides various devices and systems for realizing the method.
Referring to fig. 6, an embodiment of the present disclosure provides a central gateway 60, including:
a first receiving module 601, configured to receive a networking request of a user terminal;
a second receiving module 602, configured to receive identifier information of an internet of things terminal sent by a user terminal after an order of the internet of things terminal is purchased, and store the identifier information of the internet of things terminal in a distribution network white list;
the query module 603 is configured to query whether a distribution network white list corresponding to the central gateway includes identification information of the internet of things terminal if the networking request sent by the internet of things terminal is received;
a sending module 604, configured to query the identifier information of the internet of things terminal in the distribution network white list, and send instruction information allowing connection and a connection key of the central gateway to the internet of things terminal.
Referring to fig. 7, the present disclosure provides an internet of things terminal 70, including:
the searching module 701 is used for searching for an available gateway within a preset range after being powered on and started;
a sending module 702, configured to send a networking request to a central gateway if the central gateway is searched, where the networking request includes identification information of the internet of things terminal;
a receiving module 703, configured to receive indication information and a connection key that are allowed to be connected and are returned by the central control gateway after querying the identification information of the internet of things terminal in the distribution network white list;
and the networking module 704 is used for connecting to the central gateway according to the connection key.
With continued reference to fig. 2, an embodiment of the present disclosure further provides an automatic network distribution system, where the automatic network distribution system includes a user terminal, a central gateway, and an internet of things terminal;
the user terminal is used for sending the identification information of the Internet of things terminal to a connected central gateway after an order of the Internet of things terminal is purchased, so that the central gateway stores the identification information of the Internet of things terminal in a distribution network white list;
the Internet of things terminal is used for sending a networking request to the central control gateway if the central control gateway is searched in a preset range after being powered on and started, wherein the networking request comprises identification information of the Internet of things terminal;
the central control gateway is used for inquiring whether a distribution network white list corresponding to the central control gateway contains the identification information of the Internet of things terminal or not based on the networking request;
and the central control gateway is further used for sending indication information allowing connection to the Internet of things terminal if the identification information of the Internet of things terminal is inquired in the distribution network white list.
The automatic network distribution system, the internet of things terminal and the gateway provided in the embodiments above may all correspondingly execute the contents in the method embodiments above, and details of the parts not described in detail in this embodiment refer to the contents described in the method embodiments above, and are not described herein again.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer 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 of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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. In the present disclosure, a computer 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. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either 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 computer readable signal medium may also be any computer readable medium that is not a computer 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 computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, enable the electronic device to implement the schemes provided by the method embodiments.
Alternatively, the computer readable medium carries one or more programs, which when executed by the electronic device, enable the electronic device to implement the schemes provided by the method embodiments.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. An automatic network distribution method is characterized by being applied to an automatic network distribution system, wherein the automatic network distribution system comprises a user terminal, a central control gateway and an Internet of things terminal; the method comprises the following steps:
after the user terminal finishes purchasing an order of the Internet of things terminal, sending identification information of the Internet of things terminal to a connected central control gateway so that the central control gateway stores the identification information of the Internet of things terminal in a distribution network white list;
after the terminal of the Internet of things is powered on and started, if the central control gateway is searched in a preset range, sending a networking request to the central control gateway, wherein the networking request comprises identification information of the terminal of the Internet of things;
the central control gateway inquires whether a distribution network white list corresponding to the central control gateway contains identification information of the Internet of things terminal or not based on the networking request;
and if the central control gateway inquires the identification information of the Internet of things terminal in the distribution network white list, sending indication information allowing connection to the Internet of things terminal.
2. The method according to claim 1, wherein the step of sending the networking request to the central control gateway if the central control gateway is searched within a preset range after the terminal of the internet of things is powered on and started up includes:
after the terminal of the Internet of things is powered on and started, searching available gateways in a preset range;
if the central control gateway is searched, inquiring whether a historical distribution network record of the central control gateway exists in the historical distribution network information record of the Internet of things terminal;
if the historical distribution network record of the central control gateway is inquired, the central control gateway is directly connected according to a connection secret key indicated in the historical distribution network record;
and if the historical distribution network record of the central control gateway is not inquired, sending a networking request to the central control gateway.
3. The method according to claim 2, wherein after the step of sending the connection permission indication information to the internet of things terminal, the method further comprises:
the central control gateway sends a connection secret key of the central control gateway to the terminal of the Internet of things;
and the Internet of things terminal receives and stores the connection secret key of the central control gateway and is connected to the central control gateway according to the connection secret key.
4. An automatic network distribution method is applied to a user terminal, and comprises the following steps:
connecting a central control gateway;
completing the purchase order according to the received input operation;
and if the purchase order corresponds to the Internet of things terminal, sending the identification information of the Internet of things terminal to the central control gateway.
5. An automatic network distribution method is applied to a central control gateway, and comprises the following steps:
receiving a networking request of a user terminal;
receiving identification information of the Internet of things terminal sent by a user terminal after an order of the Internet of things terminal is purchased, and storing the identification information of the Internet of things terminal in a distribution network white list;
if the networking request sent by the Internet of things terminal is received, whether the distribution network white list corresponding to the central gateway contains the identification information of the Internet of things terminal is inquired;
and if the identification information of the Internet of things terminal is inquired in the distribution network white list, sending indication information allowing connection and a connection secret key of the central control gateway to the Internet of things terminal.
6. An automatic network distribution method is applied to an Internet of things terminal, and comprises the following steps:
after power-on starting, searching available gateways in a preset range;
if the central control gateway is searched, sending a networking request to the central control gateway, wherein the networking request comprises identification information of the terminal of the Internet of things;
receiving indication information and a connection secret key which are returned by the central control gateway after the identification information of the internet of things terminal is inquired in a distribution network white list;
and connecting to the central gateway according to the connection secret key.
7. The method of claim 6, wherein the step of sending a networking request to the central gateway if the central gateway is searched comprises:
if the central control gateway is searched, inquiring whether a historical distribution network record of the central control gateway exists in the historical distribution network information record of the Internet of things terminal;
if the historical distribution network record of the central control gateway is inquired, the central control gateway is directly connected according to a connection secret key indicated in the historical distribution network record;
and if the historical distribution network record of the central control gateway is not inquired, sending a networking request to the central control gateway.
8. A central gateway, comprising:
a first receiving module, configured to receive a networking request of a user terminal;
the second receiving module is used for receiving the identification information of the Internet of things terminal sent by the user terminal after the user terminal finishes purchasing the order of the Internet of things terminal, and storing the identification information of the Internet of things terminal in a distribution network white list;
the query module is used for querying whether a distribution network white list corresponding to the central gateway contains identification information of the Internet of things terminal or not if the networking request sent by the Internet of things terminal is received;
and the sending module is used for inquiring the identification information of the Internet of things terminal in the distribution network white list, and then sending the indication information of connection permission and the connection secret key of the central gateway to the Internet of things terminal.
9. An internet of things terminal, comprising:
the searching module is used for searching the available gateways in the preset range after being electrified and started;
the sending module is used for sending a networking request to the central control gateway if the central control gateway is searched, wherein the networking request comprises identification information of the terminal of the internet of things;
the receiving module is used for receiving indication information and a connection secret key which are returned by the central control gateway after the identification information of the internet of things terminal is inquired in a distribution network white list;
and the networking module is used for connecting to the central control gateway according to the connection secret key.
10. An automatic network distribution system is characterized by comprising a user terminal, a central control gateway and an Internet of things terminal;
the user terminal is used for sending the identification information of the Internet of things terminal to a connected central gateway after an order of the Internet of things terminal is purchased, so that the central gateway stores the identification information of the Internet of things terminal in a distribution network white list;
the Internet of things terminal is used for sending a networking request to the central control gateway if the central control gateway is searched in a preset range after being powered on and started, wherein the networking request comprises identification information of the Internet of things terminal;
the central control gateway is used for inquiring whether a distribution network white list corresponding to the central control gateway contains the identification information of the Internet of things terminal or not based on the networking request;
and the central control gateway is further used for sending indication information allowing connection to the Internet of things terminal if the identification information of the Internet of things terminal is inquired in the distribution network white list.
CN202010860321.4A 2020-08-25 2020-08-25 Automatic network distribution method and system, central control gateway and Internet of things terminal Active CN111800302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010860321.4A CN111800302B (en) 2020-08-25 2020-08-25 Automatic network distribution method and system, central control gateway and Internet of things terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010860321.4A CN111800302B (en) 2020-08-25 2020-08-25 Automatic network distribution method and system, central control gateway and Internet of things terminal

Publications (2)

Publication Number Publication Date
CN111800302A true CN111800302A (en) 2020-10-20
CN111800302B CN111800302B (en) 2023-08-11

Family

ID=72834611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010860321.4A Active CN111800302B (en) 2020-08-25 2020-08-25 Automatic network distribution method and system, central control gateway and Internet of things terminal

Country Status (1)

Country Link
CN (1) CN111800302B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885341A (en) * 2021-10-08 2022-01-04 北京沃东天骏信息技术有限公司 Equipment management method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656739A (en) * 2016-03-23 2016-06-08 浙江风向标科技有限公司 Method and device for batch configuration of Internet of things devices
WO2016145748A1 (en) * 2015-03-13 2016-09-22 张泽 Remote control method, device and system for terminal device
CN106162828A (en) * 2016-08-31 2016-11-23 深圳市双赢伟业科技股份有限公司 The method for network access of internet-of-things terminal and device
CN108834201A (en) * 2018-07-26 2018-11-16 广东美的制冷设备有限公司 Household appliance and its networking control method, device, mobile terminal
CN109121136A (en) * 2017-06-22 2019-01-01 中国电信股份有限公司 Network insertion, terminal connection and verification method and terminal, gateway and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016145748A1 (en) * 2015-03-13 2016-09-22 张泽 Remote control method, device and system for terminal device
CN105656739A (en) * 2016-03-23 2016-06-08 浙江风向标科技有限公司 Method and device for batch configuration of Internet of things devices
CN106162828A (en) * 2016-08-31 2016-11-23 深圳市双赢伟业科技股份有限公司 The method for network access of internet-of-things terminal and device
CN109121136A (en) * 2017-06-22 2019-01-01 中国电信股份有限公司 Network insertion, terminal connection and verification method and terminal, gateway and system
CN108834201A (en) * 2018-07-26 2018-11-16 广东美的制冷设备有限公司 Household appliance and its networking control method, device, mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885341A (en) * 2021-10-08 2022-01-04 北京沃东天骏信息技术有限公司 Equipment management method and device

Also Published As

Publication number Publication date
CN111800302B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN106100721B (en) Method, server, remote controler and the system that unmanned plane and remote controler are matched
US10097476B2 (en) Method and apparatus for controlling home network access using phone numbers, and system thereof
CN105992306B (en) Binding method of terminal and home gateway
CN103616860A (en) Method and device for remote control of household appliances
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
CN105187433A (en) Equipment access method and device
US20130096737A1 (en) Control device
CN111741136A (en) Automatic network distribution method and system and server
CN105074658A (en) Pervasive service providing device-specific updates
CN105376738A (en) Wireless network access method, apparatus and system
CN105404258A (en) Intelligent household management method and platform
US10142345B2 (en) Method and apparatus for multi-users registering home network supporting application based device
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN105187444A (en) Key information burning method and device
CN112532711A (en) Edge computing application deployment method, terminal, edge computing node and storage medium
CN111372222A (en) Device connection method and system, corresponding terminal device and server
CN105991680A (en) Internet of things smart device software automatic upgrading method and system
CN111800302A (en) Automatic network distribution method and system, central gateway and Internet of things terminal
CN110149622B (en) Intelligent household appliance control method and device
CN104427541A (en) WiFi hot spot registration and information service system and method
CN101800985B (en) Authentication method and system, terminal, server and data downloading method and device
EP2887216A1 (en) Firmware update of an electric product communicating wirelessly with a firmware update supplying terminal
KR102524288B1 (en) A portable terminal, a vehicle management server, and a vehicle access method performed by the portable terminal and the vehicle management server
CN111478816A (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN113923112B (en) Equipment configuration method and equipment configuration device

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
GR01 Patent grant
GR01 Patent grant