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

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

Info

Publication number
CN111800302B
CN111800302B CN202010860321.4A CN202010860321A CN111800302B CN 111800302 B CN111800302 B CN 111800302B CN 202010860321 A CN202010860321 A CN 202010860321A CN 111800302 B CN111800302 B CN 111800302B
Authority
CN
China
Prior art keywords
internet
central control
control gateway
terminal
things
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.)
Active
Application number
CN202010860321.4A
Other languages
Chinese (zh)
Other versions
CN111800302A (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

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

Abstract

The embodiment of the disclosure provides an automatic network distribution method and system, a central control 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 completes the order of purchasing the internet of things terminal, the user terminal sends the identification information of the internet of things terminal 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 internet of things terminal 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; the central control gateway inquires whether the distribution network white list contains identification information of the terminal of the Internet of things; if the identification information of the terminal of the Internet of things is queried in the distribution network white list, the indication information allowing connection is sent to the terminal of the Internet of things. According to the scheme, when the Internet of things terminal is purchased by the order, the Internet of things terminal is associated with the central control gateway, and the Internet of things terminal can be automatically connected to the central control gateway after being electrified and started, so that complicated operation of manually connecting the Internet of things by a user is saved.

Description

Automatic network distribution method and system, central control gateway and Internet of things terminal
Technical Field
The disclosure relates to the technical field of the 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 terminal equipment of the internet of things in the prior life is increasingly popular, such as intelligent refrigerators, intelligent air conditioners and the like. After purchasing the terminal equipment of the internet of things, the user needs to scan codes through an APPlication (APP) or make the terminal equipment of the internet of things be connected with the network by utilizing other communication modes or manually inputting the codes by the user after taking the terminal equipment of the internet of things home and powering on. Such problems are either unsafe, inconvenient, or add additional hardware costs, which can be cumbersome to operate.
Therefore, the existing terminal equipment of the Internet of things has the technical problem of poor network distribution operation convenience after power-on starting.
Disclosure of Invention
In view of the above, embodiments of the present disclosure provide an automatic network configuration method and system, a central control 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 allocation method, which is applied to an automatic network allocation system, where the automatic network allocation system includes a user terminal, a central control gateway, and an internet of things terminal; the method comprises the following steps:
after the user terminal completes the order of purchasing the internet of things terminal, the user terminal sends the identification information of the internet of things terminal 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 internet of things terminal is powered on, 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 internet of things terminal;
the central control gateway inquires whether the identifier information of the Internet of things terminal is contained in a distribution network white list corresponding to the central control gateway based on the networking request;
and if the central control gateway inquires the identification information of the terminal of the Internet of things in the distribution network white list, sending indication information allowing connection to the terminal of the Internet of things.
According to a specific implementation manner of the embodiment of the present disclosure, after the terminal of the internet of things is powered on, if the central control gateway is searched within a preset range, a 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 for available gateways within a preset range;
if the central control gateway is searched, inquiring whether a historical network distribution record of the central control gateway exists in the historical network distribution information record of the internet of things terminal;
if the history distribution network record of the central control gateway is queried, directly connecting to the central control gateway according to a connection key indicated in the history distribution network record;
and if the historical network allocation record of the central control gateway is not queried, 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 connection permission indication information to the terminal of the internet of things, the method further includes:
the central control gateway sends a connection key of the central control gateway to the Internet of things terminal;
and the internet of things terminal receives and stores the connection key of the central control gateway and is connected to the central control gateway according to the connection key.
In a second aspect, an embodiment of the present disclosure provides another automatic network allocation method, applied to a user terminal, where 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, the identification information of the Internet of things terminal is sent to the central control gateway.
In a third aspect, an embodiment of the present disclosure provides another automatic network allocation method, applied to a central control gateway, where the method includes:
receiving a networking request of a user terminal;
receiving identification information of an Internet of things terminal sent by a user terminal after an order of purchasing the Internet of things terminal is completed, and storing the identification information of the Internet of things terminal in a distribution network white list;
if a networking request sent by the Internet of things terminal is received, inquiring whether the identifier information of the Internet of things terminal is contained in a distribution white list corresponding to the central control gateway;
and if the identification information of the Internet of things terminal is queried in the distribution network white list, sending indication information allowing connection and a connection 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 allocation method, applied to an internet of things terminal, where the method includes:
searching available gateways within a preset range after power-on is started;
if the central control gateway is searched, 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;
receiving indication information and a connection key which are returned by the central control gateway after the identification information of the terminal of the Internet of things is queried in a distribution network white list;
and connecting to the central control gateway according to the connection 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 searched includes:
if the central control gateway is searched, inquiring whether a historical network distribution record of the central control gateway exists in the historical network distribution information record of the internet of things terminal;
if the history distribution network record of the central control gateway is queried, directly connecting to the central control gateway according to a connection key indicated in the history distribution network record;
and if the historical network allocation record of the central control gateway is not queried, sending a networking request to the central control gateway.
In a fifth aspect, embodiments of the present disclosure provide a central control 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 completes the order of purchasing the Internet of things terminal, and storing the identification information of the Internet of things terminal in a distribution network white list;
the inquiring module is used for inquiring whether the distribution network white list corresponding to the central control gateway contains the 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 sending the indication information allowing connection and the connection key of the central control 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 available gateways in a preset range after the power-on starting;
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 the connection permission indication information and the connection secret key returned by the central control gateway after the identification information of the internet of things terminal is queried in the distribution network white list;
and the networking module is used for connecting to the central control gateway according to the connection 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 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 the connected central control gateway after the order of purchasing the Internet of things terminal is completed, so that the central control 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 the internet of things terminal is powered on, wherein the networking request comprises identification information of the internet of things terminal;
the central control gateway is used for inquiring whether the identifier information of the Internet of things terminal is contained in a distribution network white list corresponding to the central control gateway 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 queried 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 the computer to perform the automatic network provisioning method of the first aspect or any implementation manner of the first aspect.
In a seventh aspect, the disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the automatic network provisioning method of any of the foregoing first to third aspects or implementations of the first to third aspects.
According to the automatic network allocation scheme, after an order of purchasing the internet of things terminal is completed, the user terminal sends identification information of the internet of things terminal corresponding to the order to a central control gateway connected with the user terminal to be stored in a network allocation white list. Therefore, the internet of things terminal can search the gateway in the preset range after being electrified and started, networking is requested after searching, and the central control gateway allows networking after the identification information of the internet of things terminal is queried by the distribution network white list. According to the scheme provided by the embodiment, the Internet of things terminal is associated with the central control gateway connected with the user terminal when the Internet of things terminal is purchased by the order, so that the Internet of things terminal can be automatically accessed to the central control gateway associated with the user terminal after the Internet of things terminal is electrified and started, and the complicated operation of manually connecting the Internet of things by a user is saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a schematic flow chart of an automatic network configuration method according to an embodiment of the disclosure;
fig. 2 is a schematic structural diagram of an automatic network distribution system according to an embodiment of the present disclosure;
fig. 3 to fig. 5 are schematic flow diagrams of each specific implementation of the automatic network allocation method according to the embodiments of the present disclosure;
fig. 6 is a schematic structural diagram of a central control gateway according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an internet of things terminal according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Other advantages and effects of the present disclosure will become readily apparent to those skilled in the art from the following disclosure, which describes embodiments of the present disclosure by way of specific examples. It will be apparent that the described embodiments are merely some, but not all embodiments of the present disclosure. The disclosure may be embodied or practiced in other different specific embodiments, and details within the subject specification may be modified or changed from various points of view and applications without departing from the spirit of the disclosure. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the following 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 present disclosure, one skilled in the art will appreciate that one aspect described herein may be implemented independently of any other aspect, 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. In addition, such apparatus may be implemented and/or such methods practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should also be noted that the illustrations provided in the following embodiments merely illustrate the basic concepts of the disclosure by way of illustration, and only the components related to the disclosure are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided in order to provide 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 allocation method provided in this embodiment may be performed by a computing device, which may be implemented as software, or as a combination of software and hardware, and the computing device may be integrally provided in a server, a terminal device, or the like.
Referring to fig. 1, a schematic flow chart of an automatic network distribution method provided by an embodiment of the present disclosure is provided, where the method provided by the 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 control gateway and an internet of things terminal. As shown in fig. 1, the method mainly comprises the following steps:
s101, after finishing an order of purchasing an Internet of things terminal, the user terminal sends 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;
according to the automatic network distribution method, the user terminal where the user is located and the central control gateway connected with the user terminal are purchased through the interaction between the user terminal and the central control gateway, so that the purchased internet of things terminal is automatically connected to the central control gateway to realize automatic network distribution. Optionally, the terminal of the internet of things can be a device such as an intelligent air conditioner, a refrigerator, a washing machine and the like controlled by the internet.
The user is connected to the central control gateway through the held user terminal, and then is linked to the Internet to purchase the Internet of things terminal on line, and after purchasing the order, the corresponding target order is completed, 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 purchasing process of the Internet of things terminal is completed. 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 the internet of things terminal in the white list can be directly connected to the central control gateway.
As shown in fig. 1 and fig. 2, the user terminal includes an order data acquisition module and a gateway communication module, and the central control gateway includes a distribution network whitelist module and a communication module. 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. 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 control gateway is used for carrying out gateway communication with the user terminal, obtaining unique identification information of the Internet of things terminal, and the distribution network white list module is used for storing the identification information of the Internet of things terminal connected with the central control gateway.
It should be noted that, the central control gateway may be a gateway that the user terminal queries for the current connection in real time when making an order, or the user terminal may manually input the identification information of the associated gateway in advance, so that the central control gateway is associated with the user terminal and the internet of things terminal purchased by the user terminal.
S102, after the Internet of things terminal is powered on, 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 Internet of things terminal;
and after the terminal of the Internet of things is transported to a user home 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 available gateways within a preset range where the terminal is located, and send a networking request to the searched central control gateway to request connection to the central control gateway. It should be noted that, the terminal of the internet of things may search for a plurality of central control gateways, and 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 the indication information of allowing connection sent by any gateway, or be powered off and shut down.
As shown in fig. 2, the terminal of the internet of things comprises an information storage module and a communication interaction module, wherein the information storage module is used for storing information of the network already allocated, and comprises an SSID of a gateway, a connection secret key and the like; 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 the distribution network white list corresponding to the central control gateway contains the identification information of the terminal of the Internet of things or not based on the networking request;
the internet of things terminal can inquire whether the identification information of the internet of things terminal exists in the internet of things white list after receiving the internet of things request sent by the internet of things terminal.
And S104, if the central control gateway inquires the identification information of the terminal of the Internet of things in the distribution network white list, sending indication information allowing connection to the terminal of the Internet of things.
If the identification information of the Internet of things terminal is queried in the distribution network white list, the fact that the Internet of things terminal can be directly distributed with the Internet of things terminal is indicated, and the central control gateway sends indication information allowing connection to the Internet of things terminal. Otherwise, if the identification information of the internet of things terminal is not queried in the distribution network white list, the connection request of the internet of things terminal can be directly refused.
On the basis of the foregoing embodiments, according to a specific implementation manner of the embodiments of the present disclosure, after the terminal of the internet of things is powered on, if the central control gateway is searched within a preset range, a 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 for available gateways within a preset range;
if the central control gateway is searched, inquiring whether a historical network distribution record of the central control gateway exists in the historical network distribution information record of the internet of things terminal;
if the history distribution network record of the central control gateway is queried, directly connecting to the central control gateway according to a connection key indicated in the history distribution network record;
and if the historical network allocation record of the central control gateway is not queried, 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. Specifically, the internet of things terminal searches for an available gateway after power-on and startup. After searching for an available central control gateway, firstly, inquiring whether a historical distribution network record corresponding to the central control gateway exists in the historical distribution network information record of the Internet of things terminal, namely, inquiring whether the Internet of things terminal is connected to the central control gateway before.
If the corresponding historical distribution network record is queried, the central control gateway can be directly connected. If the internet of things terminal is not queried, the internet of things terminal is not connected to the central control gateway before, at this time, 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 internet of things terminal by a user is achieved.
In addition, according to another specific implementation manner of the embodiment of the present disclosure, after the step of sending the connection permission indication information to the terminal of the internet of things, the method further includes:
the central control gateway sends a connection key of the central control gateway to the Internet of things terminal;
and the internet of things terminal receives and stores the connection key of the central control gateway and is connected to the central control gateway according to the connection key.
In this embodiment, for the internet of things terminal that is connected to the central control gateway for the first time, after the indication information that allows connection is sent, the identification information of the central control gateway and the connection key are sent to the internet of things terminal so that the internet of things terminal stores, and in the subsequent networking application flow, the internet of things terminal can be automatically connected to the central control gateway, so that the networking efficiency is further improved, and the networking operation is optimized.
According to the automatic network allocation scheme in the embodiment of the disclosure, after an order of purchasing the internet of things terminal is completed, the user terminal sends identification information of the internet of things terminal corresponding to the order to the central control gateway connected with the user terminal and stores the identification information in the network allocation white list. Therefore, the internet of things terminal can search the gateway in the preset range after being electrified and started, networking is requested after searching, and the central control gateway allows networking after the identification information of the internet of things terminal is queried by the distribution network white list. According to the scheme provided by the embodiment, the Internet of things terminal is associated with the central control gateway connected with the user terminal when the Internet of things terminal is purchased by the order, so that the Internet of things terminal can be automatically accessed to the central control gateway associated with the user terminal after the Internet of things terminal is electrified and started, and the complicated operation of manually connecting the Internet of things by a user is saved.
Referring to fig. 3, a flowchart of another automatic network configuration method provided in an embodiment of the present disclosure is different from the foregoing embodiment in that the method provided in the embodiment is applied to a user terminal. As shown in fig. 3, the method mainly comprises the following steps:
s301, connecting a central control gateway;
the user terminal is connected with the central control gateway and the Internet.
S302, completing a purchase order according to the received input operation;
and the user performs online shopping 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 terminal of the Internet of things, the identification information of the terminal of the Internet of things is sent to the central control gateway.
In the actual operation process, the types of the purchased products corresponding to the purchase orders formed by the user terminal may be various, and in this embodiment, the automatic network allocation operation is preferably performed for the purchase orders of the internet of things terminal. And when the completed purchase order is determined to be the terminal of the Internet of things, the user terminal directly sends the identification information of the purchased terminal of the Internet of things to the central control gateway.
The order data acquisition module of the user terminal acquires the unique identification information of the Internet of things terminal purchased through the user terminal. The gateway communication module of the user terminal transmits 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 flowchart of another automatic network configuration method provided in an embodiment of the present disclosure is shown, and the difference between the method provided in this embodiment and the above embodiment is that the method provided in this embodiment is applied to a central control gateway. As shown in fig. 4, the method mainly comprises the following steps:
s401, receiving a networking request of a user terminal;
the central control gateway broadcasts and transmits own signals and always waits for the user terminal or other internet of things terminals to be connected to the networking request. The user terminal is firstly connected to the central control gateway to access the Internet, and provides an online shopping function for the user.
S402, receiving identification information of the Internet of things terminal sent by a user terminal after an order of purchasing the Internet of things terminal is completed, and storing the identification information of the Internet of things terminal in a distribution network white list;
and the user performs online shopping 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 terminal of the Internet of things, the user terminal directly sends the identification information of the purchased terminal of the Internet of things to the central control gateway, and the central control gateway stores the identification information of the terminal of the Internet of things in the distribution network white list.
S403, if a networking request sent by the Internet of things terminal is received, inquiring whether the distribution network white list corresponding to the central control gateway contains identification information of the Internet of things terminal or not;
the user controls the Internet of things terminal to power on, searches the central control gateway and inquires whether the matched network distribution information exists in the information storage module, if so, the network distribution is carried out according to the existing network distribution information, and the network distribution link is finished; if not, a keyless connection request is initiated to the central control gateway.
After receiving the 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 internet of things terminal and inquires whether the identifier exists in the distribution network white list.
S404, inquiring the identification information of the Internet of things terminal in the distribution network white list, and sending the indication information allowing connection and the connection key of the central control gateway to the Internet of things terminal.
If yes, allowing the connection request of the terminal of the Internet of things; if not, rejecting the connection request of the terminal of the Internet of things and ending the distribution network. After the central control gateway allows the keyless connection request of the terminal of the Internet of things, the connection key of the central control gateway is sent to the gateway communication module of the terminal of the Internet of things through the communication module.
And after the key sent by the central control gateway is received by the terminal of the Internet of things, storing the key and the gateway unique identifier in the information storage module.
Correspondingly, referring to fig. 5, a flowchart of another automatic network configuration method provided by an embodiment of the present disclosure is different from the foregoing embodiment in that the method provided by the present embodiment is applied to an internet of things terminal. As shown in fig. 5, the method mainly comprises 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 a user home 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 can spontaneously and periodically search for available gateways within a preset range where the terminal of the internet of things is located.
S502, if a central control gateway is searched, 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 the internet of things terminal sends a networking request to the searched central control gateway to request to connect 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 searched includes:
if the central control gateway is searched, inquiring whether a historical network distribution record of the central control gateway exists in the historical network distribution information record of the internet of things terminal;
if the history distribution network record of the central control gateway is queried, directly connecting to the central control gateway according to a connection key indicated in the history distribution network record;
and if the historical network allocation record of the central control gateway is not queried, sending a networking request to the central control gateway.
S503, receiving indication information and a connection key which are returned by the central control gateway after the central control gateway inquires the identification information of the terminal of the Internet of things in a distribution network white list;
s504, connecting to the central control gateway according to the connection key.
After the central control gateway allows the keyless connection request of the terminal of the Internet of things, the connection key of the central control gateway is sent to the gateway communication module of the terminal of the Internet of things through the communication module. And after receiving the secret key sent by the central control gateway, the terminal of the Internet of things stores the secret key and the unique identification of the central control gateway in the information storage module.
According to the automatic network distribution method provided by the multiple embodiments of the present disclosure, the unique identifier of the internet of things terminal is obtained from the purchase time through the order data acquisition module of the user terminal, the unique identifier is added into the network distribution white list of the central control gateway through the communication between the user terminal and the central control gateway, the connection is allowed when the central control terminal is first network distribution without a key, and the key of the central control gateway is transmitted to the internet of things terminal. The method and the system open an information channel from ordering to purchasing to final application, and solve the problems of safety, convenience and low cost which cannot be considered in the current internet of things terminal distribution technology.
With the above method embodiments, the embodiments of the present disclosure further provide apparatuses and systems for implementing the above methods.
Referring to fig. 6, an embodiment of the present disclosure provides a central gateway 60, comprising:
a first receiving module 601, configured to receive a networking request of a user terminal;
a second receiving module 602, configured to receive identification information of an internet of things terminal sent by a user terminal after an order of purchasing the internet of things terminal is completed, and store the identification information of the internet of things terminal in a distribution network whitelist;
a query module 603, configured to query whether the identifier information of the internet of things terminal is included in a distribution network whitelist corresponding to the central control gateway if a networking request sent by the internet of things terminal is received;
and the sending module 604 is configured to send, to the internet of things terminal, indication information for allowing connection and a connection key of the central control gateway when the identification information of the internet of things terminal is queried in the distribution network whitelist.
Referring to fig. 7, an embodiment of the present disclosure provides an internet of things terminal 70, including:
a searching module 701, configured to search for available gateways within a preset range after power-on startup;
a sending module 702, configured to send a networking request to a central control gateway if the central control gateway is searched, where the networking request includes identification information of the terminal of the internet of things;
a receiving module 703, configured to receive indication information and a connection key that are returned by the central control gateway and allow connection after the central control gateway queries the identification information of the terminal of the internet of things in a distribution network whitelist;
a networking module 704 for connecting to the central gateway according to the connection key.
With continued reference to fig. 2, the embodiment of the disclosure further provides an automatic network distribution system, where the automatic network distribution system includes 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 the connected central control gateway after the order of purchasing the Internet of things terminal is completed, so that the central control 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 the internet of things terminal is powered on, wherein the networking request comprises identification information of the internet of things terminal;
the central control gateway is used for inquiring whether the identifier information of the Internet of things terminal is contained in a distribution network white list corresponding to the central control gateway 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 queried in the distribution network white list.
The automatic network distribution system, the internet of things terminal and the gateway provided in the foregoing embodiments may all correspondingly execute the content in the foregoing method embodiment, and the details not described in this embodiment are not described herein in detail with reference to the content described in the foregoing method embodiment.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this 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 the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated 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 solutions provided by the method embodiments described above.
Alternatively, the computer readable medium carries one or more programs, which when executed by the electronic device, enable the electronic device to implement the solutions provided by the method embodiments described above.
Computer program code for carrying out operations of the present disclosure may be written in 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts 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 involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the 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 disclosure are intended to be covered by the protection scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. The 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 completes the order of purchasing the internet of things terminal, the user terminal sends the identification information of the internet of things terminal 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 internet of things terminal is powered on, 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 internet of things terminal;
the central control gateway inquires whether the identifier information of the Internet of things terminal is contained in a distribution network white list corresponding to the central control gateway based on the networking request;
if the central control gateway inquires the identification information of the terminal of the Internet of things in the distribution network white list, sending indication information allowing connection to the terminal of the Internet of things;
or if the central control gateway does not inquire the identification information of the internet of things terminal in the distribution network white list, directly rejecting the connection request of the internet of things terminal.
2. The method of claim 1, wherein the step of sending a networking request to the central control gateway if the central control gateway is searched within a preset range after the internet of things terminal is powered on, comprises:
after the terminal of the Internet of things is powered on and started, searching for available gateways within a preset range;
if the central control gateway is searched, inquiring whether a historical network distribution record of the central control gateway exists in the historical network distribution information record of the internet of things terminal;
if the history distribution network record of the central control gateway is queried, directly connecting to the central control gateway according to a connection key indicated in the history distribution network record;
and if the historical network allocation record of the central control gateway is not queried, sending a networking request to the central control gateway.
3. The method according to claim 2, wherein after the step of sending the indication information of allowing connection to the terminal of the internet of things, the method further comprises:
the central control gateway sends a connection key of the central control gateway to the Internet of things terminal;
and the internet of things terminal receives and stores the connection key of the central control gateway and is connected to the central control gateway according to the connection key.
4. An automatic network allocation method, which is applied to a user terminal, comprising:
connecting a central control gateway;
completing the purchase order according to the received input operation;
if the purchase order corresponds to the internet of things terminal, the identification information of the internet of things terminal is sent to the 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, and the central control gateway inquires whether the 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; if the central control gateway inquires the identification information of the terminal of the Internet of things in the distribution network white list, sending indication information allowing connection to the terminal of the Internet of things; or if the central control gateway does not inquire the identification information of the internet of things terminal in the distribution network white list, directly rejecting the connection request of the internet of things terminal.
5. An automatic network allocation method, which is characterized by being applied to a central control gateway, comprising the following steps:
receiving a networking request of a user terminal;
receiving identification information of an Internet of things terminal sent by a user terminal after an order of purchasing the Internet of things terminal is completed, and storing the identification information of the Internet of things terminal in a distribution network white list;
if a networking request sent by the Internet of things terminal is received, inquiring whether the identifier information of the Internet of things terminal is contained in a distribution white list corresponding to the central control gateway;
inquiring the identification information of the Internet of things terminal in the distribution network white list, and then sending indication information allowing connection and a connection key of the central control gateway to the Internet of things terminal;
or if the identification information of the internet of things terminal is not queried in the distribution network white list, directly rejecting the connection request of the internet of things terminal.
6. An automatic network distribution method is characterized by being applied to an internet of things terminal, and comprises the following steps:
searching available gateways within a preset range after power-on is started;
if the central control gateway is searched, 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;
receiving indication information and a connection key which are returned by the central control gateway after the identification information of the terminal of the Internet of things is queried in a distribution network white list;
and connecting to the central control gateway according to the connection 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 network distribution record of the central control gateway exists in the historical network distribution information record of the internet of things terminal;
if the history distribution network record of the central control gateway is queried, directly connecting to the central control gateway according to a connection key indicated in the history distribution network record;
and if the historical network allocation record of the central control gateway is not queried, sending a networking request to the central control gateway.
8. A center control 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 completes the order of purchasing the Internet of things terminal, and storing the identification information of the Internet of things terminal in a distribution network white list;
the inquiring module is used for inquiring whether the distribution network white list corresponding to the central control gateway contains the identification information of the Internet of things terminal or not if the networking request sent by the Internet of things terminal is received;
the sending module is used for 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 key of the central control gateway to the internet of things terminal;
and the rejecting module is used for directly rejecting the connection request of the internet of things terminal if the identification information of the internet of things terminal is not queried in the distribution network white list.
9. The utility model provides an thing networking terminal which characterized in that includes:
the searching module is used for searching available gateways in a preset range after the power-on starting;
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 the connection permission indication information and the connection secret key returned by the central control gateway after the identification information of the internet of things terminal is queried in the distribution network white list;
and the networking module is used for connecting to the central control gateway according to the connection key.
10. The 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 the connected central control gateway after the order of purchasing the Internet of things terminal is completed, so that the central control 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 the internet of things terminal is powered on, wherein the networking request comprises identification information of the internet of things terminal;
the central control gateway is used for inquiring whether the identifier information of the Internet of things terminal is contained in a distribution network white list corresponding to the central control gateway based on the networking request;
the central control gateway is further configured to send indication information for allowing connection to the internet of things terminal if the identifier information of the internet of things terminal is queried in the distribution network white list;
or, the central control gateway is further configured to directly reject the connection request of the internet of things terminal if the identifier information of the internet of things terminal is not queried in the distribution network whitelist.
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 CN111800302A (en) 2020-10-20
CN111800302B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN111800302A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN106102184B (en) System and method for managing binding connection of Bluetooth equipment
CN106100721B (en) Method, server, remote controler and the system that unmanned plane and remote controler are matched
CN110392445B (en) Method, device and system for equipment distribution network
CN103685733B (en) Remote control method and terminal
CN203151535U (en) Intelligent gateway and intelligent household system
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
CN111741136A (en) Automatic network distribution method and system and server
CN105573142A (en) Intelligent household control system
CN105187433A (en) Equipment access method and device
CN103941664A (en) Method and system for binding user terminal and household appliance control device
CN105119882A (en) Intelligent household product configuration method
CN103824099A (en) Method and system for connecting and controlling equipment automatically by intelligent terminal via identification tags
CN106603716A (en) Synchronization method of intelligent device state, intelligent device and control terminal thereof
KR20150066798A (en) System And Method for providing a Communication Service, and Vehicle supporting the same
CN104503253A (en) Equipment control method, equipment control system and terminal
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN105282868A (en) System and Method for Temporarily Joining a WiFi Network
JP2007005892A (en) Information distribution system, information distribution method, wireless lan terminal, information acquisition method of wireless lan terminal, and access point
CN111372222A (en) Device connection method and system, corresponding terminal device and server
CN111800302B (en) Automatic network distribution method and system, central control gateway and Internet of things terminal
CN105141342A (en) Method and system used for adding power line carrier wave communication network to electric appliance equipment
CN105632157A (en) Intelligent control system, intelligent terminal and network equipment
CN110149622B (en) Intelligent household appliance control method and device
CN109219028A (en) Equivalent device Bluetooth communication method and device based on cloud
CN105703984A (en) Connecting method and mobile terminal

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