CN113395345B - Network distribution method and device of Internet of things equipment and storage medium - Google Patents
Network distribution method and device of Internet of things equipment and storage medium Download PDFInfo
- Publication number
- CN113395345B CN113395345B CN202110647371.9A CN202110647371A CN113395345B CN 113395345 B CN113395345 B CN 113395345B CN 202110647371 A CN202110647371 A CN 202110647371A CN 113395345 B CN113395345 B CN 113395345B
- Authority
- CN
- China
- Prior art keywords
- internet
- terminal
- things
- equipment
- communication connection
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a network distribution method, a device and a storage medium of Internet of things equipment, wherein the method comprises the following steps: acquiring short-range communication connection information of the Internet of things equipment; establishing a short-range communication connection with the internet of things device based on the short-range communication connection information; and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information. According to the method and the device for controlling the router, when the terminal needs to control the router connected with the Internet of things device, the router can be successfully accessed by the Internet of things device through operation on the terminal, so that the complexity of operation of the router connected with the Internet of things device is reduced, the operation threshold of using the Internet of things device is reduced, and the user experience is improved.
Description
Technical Field
The application relates to the technical field of internet of things equipment, in particular to a network distribution method, a network distribution device and a storage medium for internet of things equipment.
Background
With the development of IOT technology, air conditioners, refrigerators, washing machines and other home appliances gradually adopt intelligent control technology, most IOT devices (Internet of Things, IOT for short) adopt WIFI connection technology, so that the IOT devices have the function of remote control through a wide area network, one key point of networking is in network distribution, the existing network distribution technology requires users to operate on the IOT devices to enable the devices to enter a network distribution mode, network distribution operation of different devices is different, and operation is complicated; secondly, in the existing network allocation technology, if other users want to use the IOT device under the condition that the IOT device is already bound by the user, the use permission of the device can only be obtained through the steps of unbinding and rebinding.
Accordingly, the prior art has drawbacks and needs to be improved and developed.
Disclosure of Invention
According to the method and the device for controlling the router, when the terminal needs to control the router connected with the Internet of things device, the router can be successfully accessed by the Internet of things device through operation on the terminal, so that the complexity of operation of the router connected with the Internet of things device is reduced, the operation threshold of using the Internet of things device is reduced, and the user experience is improved.
The embodiment of the application provides a network distribution method of internet of things equipment, which comprises the following steps:
acquiring short-range communication connection information of the Internet of things equipment;
establishing a short-range communication connection with the internet of things device based on the short-range communication connection information;
and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information.
In some embodiments, after the internet of things device accesses the corresponding router based on the router connection information, the method further includes:
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, before the establishing a short-range communication connection with the internet of things device based on the short-range communication connection information, the method further comprises:
inquiring whether the existing use terminal of the Internet of things equipment exists or not from a server;
and if the existing terminal is not available, executing the step of establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information.
In some embodiments, after the step of querying the server whether the internet of things device has an existing terminal, the method further includes:
if the existing use terminal exists and an authorization request instruction is received, sending authorization request information to the existing use terminal through a server so as to trigger the existing use terminal to return authorization result information;
when the authorization result information of the authorization request information is the authorization right, triggering the server to say that the terminal equipment is set as the authorization terminal of the Internet of things equipment.
In some embodiments, after the step of querying the server whether the internet of things device has an existing terminal, the method further includes:
if the existing using terminal exists, and a network allocation resetting instruction is received, establishing communication connection with the Internet of things equipment;
Sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, after the server sends the authorization request information to the existing usage terminal, the method further includes:
if the authorization result information is not obtained within the preset time period, or the obtained authorization result information is not granted with the authority;
establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the establishing a communication connection with the internet of things device includes:
Establishing communication connection with the internet of things device based on the short-range communication connection information;
or establishing communication connection with the internet of things equipment through the server.
In some embodiments, the acquiring short-range communication connection information of the internet of things device specifically includes:
acquiring a code diagram set on the Internet of things equipment;
and reading short-range communication connection information of the Internet of things equipment from the code diagram.
The embodiment of the application also provides a network distribution device for the internet of things equipment, which is characterized by comprising:
the information acquisition module is used for acquiring short-range communication connection information of the Internet of things equipment, wherein the short-range communication connection information is used for establishing short-range communication connection with the Internet of things equipment;
the communication connection module is used for establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information;
and the router access module is used for sending router connection information to the Internet of things equipment based on the short-range communication connection and triggering the Internet of things equipment to access a corresponding router based on the router connection information.
The embodiment of the application also provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the steps in the network allocation method of the internet of things equipment.
The embodiment of the application also provides a terminal device, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the steps in the network allocation method of the Internet of things device by calling the computer program stored in the memory.
According to the embodiment of the application, the short-range communication connection information of the Internet of things equipment is acquired, and the short-range communication connection information is used for establishing short-range communication connection with the Internet of things equipment; establishing a short-range communication connection with the internet of things device based on the short-range communication connection information; and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information. According to the method and the device for controlling the router, when the terminal needs to control the router connected with the Internet of things device, the router can be successfully accessed by the Internet of things device through operation on the terminal, so that the complexity of operation of the router connected with the Internet of things device is reduced, the operation threshold of using the Internet of things device is reduced, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a first flow schematic diagram of a network allocation method of an internet of things device according to an embodiment of the present application;
fig. 2 is a second flow schematic diagram of a network allocation method of an internet of things device according to an embodiment of the present application;
fig. 3 is a first structural schematic diagram of a network configuration device of an internet of things device provided in an embodiment of the present application;
fig. 4 is a second schematic structural diagram of an internet of things device network allocation apparatus provided in an embodiment of the present application;
fig. 5 is a third schematic structural diagram of a network configuration device of an internet of things device provided in an embodiment of the present application;
fig. 6 is a fourth structural schematic diagram of an internet of things device network allocation apparatus provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments herein.
The embodiment of the application provides a network distribution method of internet of things equipment, which can be applied to terminal equipment. The terminal equipment can be a smart phone, a tablet computer, a desktop computer, a smart watch and other equipment.
Referring to fig. 1, fig. 1 is a first flow chart of a network configuration method of an internet of things device according to an embodiment of the present application. The network distribution method of the Internet of things equipment is applied to terminal equipment, wherein the terminal equipment is provided with a screen, a camera and the like. The method may comprise the steps of:
Specifically, the terminal equipment opens an information acquisition module to acquire short-range communication broadcast information of the internet of things equipment, wherein the short-range communication comprises short-range communication technologies such as Bluetooth, NFC, RFID and the like. After the short-range communication broadcast information of the Internet of things equipment is acquired, reliable communication connection is established with the Internet of things equipment according to the process communication broadcast information, and the Internet of things equipment identification information of the Internet of things equipment is acquired on the basis, or
When communication connection with the internet of things equipment cannot be established, the broadcasting information of the internet of things equipment can be obtained by means of scanning a code diagram, the server is queried for the internet of things equipment identification information of the internet of things equipment, or
Acquiring related broadcast information and key information required by connection with the Internet of things equipment through scanning a code diagram, or
Inquiring the internet of things equipment identification information of the internet of things equipment from a server in a mode of inputting the equipment identification code.
In some embodiments, the acquiring short-range communication connection information of the internet of things device specifically includes:
acquiring a code diagram set on the Internet of things equipment;
and reading short-range communication connection information of the Internet of things equipment from the code diagram.
In some embodiments, before the establishing a short-range communication connection with the internet of things device based on the short-range communication connection information, the method further comprises:
inquiring whether the existing use terminal of the Internet of things equipment exists or not from a server;
and if the existing terminal is not available, executing the step of establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information.
In some embodiments, after the step of querying the server whether the internet of things device has an existing terminal, the method further includes:
if the existing use terminal exists and an authorization request instruction is received, sending authorization request information to the existing use terminal through a server so as to trigger the existing use terminal to return authorization result information;
When the authorization result information of the authorization request information is the authorization right, triggering the server to set the terminal equipment as the authorization terminal of the Internet of things equipment.
For example, in some embodiments, the granting permission is specifically that the server sets the terminal device as an authorized terminal according to terminal device identification information of the terminal device and internet of things device identification information of the internet of things device, where the terminal device may use a part of functions of the internet of things device that are granted permission or may obtain usage permission of all functions of the using terminal.
In some embodiments, after the step of querying the server whether the internet of things device has an existing terminal, the method further includes:
if the existing using terminal exists, and a network allocation resetting instruction is received, establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, after the server sends the authorization request information to the existing usage terminal, the method further includes:
if the authorization result information is not obtained within the preset time period, or the obtained authorization result information is not granted with the authority;
establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the establishing a communication connection with the internet of things device includes:
establishing communication connection with the internet of things device based on the short-range communication connection information;
or establishing communication connection with the internet of things equipment through the server.
In some embodiments, after the communication connection is established with the internet of things device, the method further includes:
the communication connection establishment comprises the establishment of communication connection with the Internet of things equipment based on short-range communication connection information or the establishment of communication connection with the Internet of things equipment through a server;
Sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal after the internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
Specifically, after the internet of things device is accessed to the corresponding router, the server sets the terminal device as a using terminal according to terminal device identification information of the terminal device and internet of things device identification information of the internet of things device, wherein the using terminal has the using authority of all functions of the internet of things device, and can authorize to enable other terminal devices to obtain the using authority of the internet of things device.
And 102, establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information.
Specifically, the short-range communication broadcast information of the internet of things device is obtained, and the types of short-range communication include short-range communication technologies such as bluetooth, NFC, RFID and the like, which are not described in detail herein. After the short-range communication broadcast information of the Internet of things equipment is acquired, reliable communication connection is established with the Internet of things equipment according to the process communication broadcast information.
Optionally, after the process communication broadcast information is obtained, if communication connection with the internet of things device cannot be established through a short-range communication manner, communication connection with the internet of things device through a server based on the obtained short-range communication broadcast information can be established.
In some embodiments, when the short-range communication connection cannot be established with the internet of things device, broadcasting name information (such as bluetooth broadcasting name, broadcasting name of NFC, etc.) of the short-range communication of the internet of things device is recorded, a communication connection is established with a server, and whether the using terminal exists in the internet of things device or not is queried from the server based on the broadcasting name information.
If the Internet of things equipment does not have the using terminal, inquiring a connection password of short-range communication of the Internet of things equipment from a server, re-executing a short-range communication connection step, or
And establishing communication connection with the Internet of things equipment through a server so as to execute subsequent steps.
In some embodiments, if the internet of things device has a use terminal, the server sends the request authorization information to the existing use terminal, and waits for obtaining authorization result information returned by the existing use terminal.
Specifically, if the short-range communication connection cannot be established with the internet of things device and the subsequent steps are executed, inquiring whether the internet of things device has a use terminal or not from a server, and sending authorization request information for obtaining the use permission of the internet of things device to the existing use terminal.
In some embodiments, after the obtaining the authorization result information returned by the existing user, the method further includes:
if the authorization result information is authorization, setting the terminal as an authorized terminal based on the terminal equipment identification information;
and establishing communication connection with the Internet of things equipment through the server, and obtaining the use permission of the Internet of things equipment.
For example, after the usage rights of the internet of things device are granted, the server sets the current terminal device as an authorized terminal, and the current device can establish communication connection with the internet of things device through the server and obtain the control rights of the internet of things device.
In some embodiments, after the issuing, by the server, the authorization request of the internet of things device to the existing device, the method further includes:
if the authorization result information is not authorized or the authorization result information is not obtained within a preset time period;
Sending a network allocation resetting instruction to a server, and triggering the router connection state of the Internet of things equipment to be reset;
sending router connection information to the Internet of things equipment, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal after the internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
For example, if the authorization result information is not returned within a preset time after the authorization request information is sent, or the authorization result information is not granted with the authority, information for resetting the router connection state of the internet of things device may be sent to the server, the router connection information is sent to the internet of things device, the internet of things device is triggered to access the corresponding router based on the router connection information, and the terminal device is set as the user terminal after the internet of things device is successfully accessed to the corresponding router.
In some embodiments, the router connection information includes router login account information and corresponding router login password information.
And step 103, sending router connection information to the internet of things equipment based on the short-range communication connection, and triggering the internet of things equipment to access a corresponding router based on the router connection information.
Specifically, router connection information which can be logged in to a router is sent to the internet of things device, and after the internet of things device receives the router connection information, the internet of things device can access a corresponding router according to the router connection information.
In some embodiments, the method further includes, after sending router connection information to the internet of things device based on the short-range communication connection, accessing the corresponding router by the internet of things device based on the router connection information:
and setting the terminal equipment as a using terminal after the internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
For example, after the internet of things device accesses to the corresponding router, the server sets the terminal device as a using terminal according to the terminal device identification information of the terminal device and the internet of things device identification information of the internet of things device, wherein the using terminal has the use authority of all functions of the internet of things device, and can be authorized to enable other terminal devices to obtain the use authority of the internet of things device.
In some embodiments, the setting the terminal device as a user terminal further includes:
Terminal equipment identification information of terminal equipment is obtained, and the terminal equipment identification information and the equipment identification information of the Internet of things are sent to a server so as to trigger the server to set the terminal as a using terminal.
In some embodiments, the setting the terminal device as a user terminal further includes:
acquiring terminal equipment identification information of terminal equipment, and sending the terminal identification information and the Internet of things equipment identification information to a server;
and after the Internet of things equipment is successfully networked, the Internet of things equipment identification information is sent to the server, and the server is triggered to set the terminal equipment as a using terminal.
In some embodiments, the setting the terminal device as a user terminal further includes:
after the Internet of things equipment is successful in networking, the Internet of things equipment sends the terminal equipment identification information and the Internet of things equipment identification information to a server, and the server is triggered to set the terminal equipment as a using terminal.
According to the embodiment of the application, the short-range communication connection information of the Internet of things equipment is acquired, and the short-range communication connection information is used for establishing short-range communication connection with the Internet of things equipment; establishing a short-range communication connection with the internet of things device based on the short-range communication connection information; and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information. According to the method and the device for controlling the router, when the terminal needs to control the router connected with the Internet of things device, the router can be successfully accessed by the Internet of things device through operation on the terminal, so that the complexity of operation of the router connected with the Internet of things device is reduced, the operation threshold of using the Internet of things device is reduced, and the user experience is improved.
Referring to fig. 2, fig. 2 is a second flow chart of a network allocation method of an internet of things device according to an embodiment of the present application, where the network allocation method of the internet of things device is applied to a terminal device, and the terminal device has a screen, a camera, and the like. The method may comprise the steps of:
Specifically, short-range communication connection information of the internet of things device is obtained, and the short-range communication connection information is used for establishing short-range communication connection with the internet of things device.
For example, the terminal device turns on an information acquisition module to acquire short-range communication broadcast information of the internet of things device, wherein the short-range communication comprises short-range communication technologies such as Bluetooth, NFC, RFID and the like. After the short-range communication broadcast information of the Internet of things equipment is acquired, reliable communication connection is established with the Internet of things equipment according to the process communication broadcast information, and the Internet of things equipment identification information of the Internet of things equipment is acquired on the basis, or
When communication connection with the internet of things equipment cannot be established, the broadcasting information of the internet of things equipment can be obtained by scanning a code diagram, wherein the code diagram comprises a bar code, a two-dimensional code and the like, and the server is queried for the internet of things equipment identification information of the internet of things equipment, or
Acquiring related broadcast information and key information required by connection with the Internet of things equipment through scanning a code diagram, or
Inquiring the internet of things equipment identification information of the internet of things equipment from a server in a mode of inputting the equipment identification code.
In some embodiments, before the establishing a short-range communication connection with the internet of things device based on the short-range communication connection information, the method further comprises:
inquiring whether the existing use terminal of the Internet of things equipment exists or not from a server;
and if the existing terminal is not available, executing the step of establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information.
And 202, establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information.
Specifically, the short-range communication broadcast information of the internet of things device is obtained, and the types of short-range communication include short-range communication technologies such as bluetooth, NFC, RFID and the like, which are not described in detail herein. After the short-range communication broadcast information of the Internet of things equipment is acquired, reliable communication connection is established with the Internet of things equipment according to the process communication broadcast information.
Optionally, after the process communication broadcast information is obtained, if communication connection with the internet of things device cannot be established through a short-range communication manner, communication connection with the internet of things device through a server based on the obtained short-range communication broadcast information can be established.
And 203, sending router connection information to the internet of things equipment based on the short-range communication connection, and triggering the internet of things equipment to access a corresponding router based on the router connection information.
Specifically, router connection information which can be logged in to a router is sent to the internet of things device, and after the internet of things device receives the router connection information, the internet of things device can access a corresponding router according to the router connection information.
In some embodiments, the router connection information includes router login account information and corresponding router login password information.
And 204, setting the terminal equipment as a using terminal after the intelligent equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
Specifically, after the internet of things device is accessed to the corresponding router, the server sets the terminal device as a using terminal according to terminal device identification information of the terminal device and internet of things device identification information of the internet of things device, wherein the using terminal has the using authority of all functions of the internet of things device, and can authorize to enable other terminal devices to obtain the using authority of the internet of things device.
In some embodiments, the setting the terminal device as a user terminal further includes:
terminal equipment identification information of terminal equipment is obtained, and the terminal equipment identification information and the equipment identification information of the Internet of things are sent to a server so as to trigger the server to set the terminal as a using terminal.
In some embodiments, the setting the terminal device as a user terminal further includes:
acquiring terminal equipment identification information of terminal equipment, and sending the terminal identification information and the Internet of things equipment identification information to a server;
and after the Internet of things equipment is successfully networked, the Internet of things equipment identification information is sent to the server, and the server is triggered to set the terminal equipment as a using terminal.
In some embodiments, the setting the terminal device as a user terminal further includes:
after the Internet of things equipment is successful in networking, the Internet of things equipment sends the terminal equipment identification information and the Internet of things equipment identification information to a server, and the server is triggered to set the terminal equipment as a using terminal.
In step 205, an authorization request instruction is not sent, but the reconfiguration of the internet of things device is requested.
In some embodiments, the step of requesting to reconfigure the internet of things device without sending an authorization request instruction specifically includes:
if the existing using terminal exists, but an authorization request instruction is not received, establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the establishing a communication connection with the internet of things device specifically includes:
establishing communication connection with the Internet of things equipment through short-range communication connection information, or establishing communication connection with the Internet of things equipment through a server;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal after the internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
And step 206, requesting authorization to use the Internet of things equipment from the use terminal.
In some embodiments, after the step of querying the server whether the internet of things device has an existing terminal, the method further includes:
after the step of inquiring whether the internet of things equipment has the existing using terminal from the server, the method further comprises the following steps:
if the existing use terminal exists and an authorization request instruction is received, sending authorization request information to the existing use terminal through a server so as to trigger the existing use terminal to return authorization result information;
when the authorization result information of the authorization request information is the authorization right, triggering the server to set the terminal equipment as the authorization terminal of the Internet of things equipment.
In some embodiments, the request for reconfiguring the internet of things device does not obtain the authorization result information within a preset time period specifically includes:
establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
And setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the establishing a communication connection with the internet of things device specifically includes:
establishing communication connection with the Internet of things equipment through short-range communication connection information, or establishing communication connection with the Internet of things equipment through a server;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal after the internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
And step 208, if the authorization result information is the authorization authority, setting the terminal equipment as an authorized terminal.
Specifically, in some embodiments, when the authorization result information of the authorization request information is a grant right, the server is triggered to set the terminal device as an authorized terminal of the internet of things device.
Specifically, after the use permission of the internet of things device is granted, the server sets the current terminal device as an authorized terminal, and the current device can establish communication connection with the internet of things device through the server and obtain the control permission of the internet of things device.
In some embodiments, the setting the terminal device as a user terminal further includes:
terminal equipment identification information of terminal equipment is obtained, and the terminal equipment identification information and the equipment identification information of the Internet of things are sent to a server so as to trigger the server to set the terminal as a using terminal.
In some embodiments, the setting the terminal device as a user terminal further includes:
acquiring terminal equipment identification information of terminal equipment, and sending the terminal identification information and the Internet of things equipment identification information to a server;
and after the Internet of things equipment is successfully networked, the Internet of things equipment identification information is sent to the server, and the server is triggered to set the terminal equipment as a using terminal.
In some embodiments, the setting the terminal device as a user terminal further includes:
after the Internet of things equipment is successful in networking, the Internet of things equipment sends the terminal equipment identification information and the Internet of things equipment identification information to a server, and the server is triggered to set the terminal equipment as a using terminal.
In some embodiments, after the step of obtaining the authorization result information that is not granted the right, the method further includes:
establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the establishing a communication connection with the internet of things device specifically includes:
establishing communication connection with the Internet of things equipment through short-range communication connection information, or establishing communication connection with the Internet of things equipment through a server;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal after the internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the short-range communications in steps 201-209 may be replaced by communicating with the internet of things device through a server, that is, communicating with the internet of things device through a server to perform the remaining steps.
In some embodiments, the step of establishing a communication connection with the internet of things device as included in step 205, step 207, and step 209 specifically includes:
establishing communication connection with the Internet of things equipment through short-range communication connection information, or establishing communication connection with the Internet of things equipment through a server;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal after the internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
In particular, the present application is not limited by the order of execution of the steps described, and certain steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, in the embodiments of the present application, short-range communication connection information of an internet of things device is obtained, where the short-range communication connection information is used to establish short-range communication connection with the internet of things device; establishing a short-range communication connection with the internet of things device based on the short-range communication connection information; and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information. According to the method and the device for controlling the use permission of the Internet of things equipment, when the terminal needs to control the existing use terminal of the Internet of things equipment, a user can request the use permission of the Internet of things equipment to the existing use terminal, so that the use permission of the Internet of things equipment can be conveniently obtained on the premise that the setting of the Internet of things equipment does not need to be reset, the problem that the use experience is poor due to the fact that the same equipment needs to be bound frequently and manually under the scene of using by multiple persons is avoided, and the user experience is improved.
The embodiment of the application also provides a network distribution device of the internet of things equipment, wherein the network distribution device of the internet of things equipment can be integrated in terminal equipment, and the terminal equipment can be equipment such as a smart phone, a tablet computer, a desktop computer, a smart watch and the like.
Referring to fig. 3, fig. 3 is a first structural schematic diagram of a network configuration device of an internet of things device according to an embodiment of the present application. The network configuration device 30 of the internet of things device may include:
the information acquisition module 301 is configured to acquire short-range communication connection information of an internet of things device, where the short-range communication connection information is used to establish short-range communication connection with the internet of things device;
a communication connection module 302, configured to establish a short-range communication connection with the internet of things device based on the short-range communication connection information;
and the route access module 303 is configured to send router connection information to the internet of things device based on the short-range communication connection, and trigger the internet of things device to access a corresponding router based on the router connection information.
As can be seen from the above, when the network configuration device 30 for the internet of things device detects that the short-range communication of the internet of things device is available, the network configuration device acquires the short-range communication connection information of the internet of things device based on the information acquisition module 301, where the short-range communication connection information is used for establishing a short-range communication connection with the internet of things device; the communication connection module 302 establishes a short-range communication connection with the internet of things device based on the short-range communication connection information; and the routing access module 303 is used for sending router connection information to the internet of things equipment based on the short-range communication connection and triggering the internet of things equipment to access a corresponding router based on the router connection information. According to the method and the device for controlling the router, when the terminal needs to control the router connected with the Internet of things device, the router can be successfully accessed by the Internet of things device through operation on the terminal, so that the complexity of operation of the router connected with the Internet of things device is reduced, the operation threshold of using the Internet of things device is reduced, and the user experience is improved.
The embodiment of the application also provides a network distribution device of the internet of things equipment, wherein the network distribution device of the internet of things equipment can be integrated in terminal equipment, and the terminal equipment can be equipment such as a smart phone, a tablet computer, a desktop computer, a smart watch and the like.
Referring to fig. 4, fig. 4 is a second structural schematic diagram of a network configuration device of an internet of things device according to an embodiment of the present application. The internet of things device network distribution apparatus 40 may include:
an information obtaining module 401, configured to obtain short-range communication connection information of an internet of things device, where the short-range communication connection information is used to establish short-range communication connection with the internet of things device;
a communication connection module 402 that establishes a short-range communication connection with the internet of things device based on the short-range communication connection information;
and the routing access module 403 is configured to send router connection information to the internet of things device based on the short-range communication connection, and trigger the internet of things device to access a corresponding router based on the router connection information.
A terminal query module 404, configured to query a server for an existing terminal if the internet of things device already has the terminal;
and the authorization request module 405 is configured to send request authorization information to the existing usage terminal, so as to trigger the existing usage terminal to return authorization result information.
And a state resetting module 406, configured to reset the router connection state of the internet of things device.
As can be seen from the above, the network configuration device 40 for the internet of things device provided in this embodiment may obtain, based on the information obtaining module 401, short-range communication connection information of the internet of things device, where the short-range communication connection information is used to establish short-range communication connection with the internet of things device; the communication connection module 402 establishes a short-range communication connection with the internet of things device based on the short-range communication connection information; the router access module 403 sends router connection information to the internet of things device based on the short-range communication connection, and triggers the internet of things device to access a corresponding router based on the router connection information; if the internet of things device has a use terminal, the terminal query module 404 sends the internet of things device identification information to a server to query the existing use terminal; an authorization request module 405, configured to send request authorization information to the existing usage terminal, so as to trigger the existing usage terminal to return authorization result information; and a state resetting module 406, configured to reset the router connection state of the internet of things device. According to the method and the device for controlling the use permission of the Internet of things equipment, when the terminal needs to control the existing use terminal of the Internet of things equipment, a user can request the use permission of the Internet of things equipment to the existing use terminal, so that the use permission of the Internet of things equipment can be conveniently obtained on the premise that the setting of the Internet of things equipment does not need to be reset, the problem that the use experience is poor due to the fact that the same equipment needs to be bound frequently and manually under the scene of using by multiple persons is avoided, and the user experience is improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Referring to fig. 5, fig. 5 is a third schematic structural diagram of an internet of things device network allocation apparatus provided in an embodiment of the present application, where the internet of things device network allocation apparatus 50 includes a memory 120, one or more processors 180, and one or more application programs, where the one or more application programs are stored in the memory 120 and configured to be executed by the processors 180; the processor 180 may include: the information acquisition module 501, the communication connection module 502, the route access module 503. For example, the structures and connection relationships of the above respective components may be as follows:
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the device and processes data by running or executing application programs stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the device. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, user interfaces, application programs, and the like.
In particular, in this embodiment, the processor 180 loads executable codes corresponding to the processes of one or more application programs into the memory 120 according to the following instructions, and the processor 180 executes the application programs stored in the memory 120, so as to implement various functions:
an information obtaining module 501, configured to obtain short-range communication connection information of an internet of things device, where the short-range communication connection information is used to establish a short-range communication connection with the internet of things device;
a communication connection module 502, configured to establish a short-range communication connection with the internet of things device based on the short-range communication connection information;
And the router access module 503 is configured to send router connection information to the internet of things device based on the short-range communication connection, and trigger the internet of things device to access a corresponding router based on the router connection information.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The embodiment of the application also provides terminal equipment. The terminal equipment can be a smart phone, a tablet computer, a desktop computer, a smart watch and other equipment.
Referring to fig. 6, fig. 6 is a fourth schematic structural diagram of an internet of things device network allocation apparatus provided in an embodiment of the present application, where the internet of things device network allocation apparatus 60 includes a memory 120, one or more processors 180, and one or more application programs, where the one or more application programs are stored in the memory 120 and configured to be executed by the processors 180; the processor 180 may include: the system comprises an information acquisition module 601, a communication connection module 602, a routing access module 603, a terminal inquiry module 604, an authorization request module 605 and a state reset module 606. For example, the structures and connection relationships of the above respective components may be as follows:
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the device and processes data by running or executing application programs stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the device. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, user interfaces, application programs, and the like.
In particular, in this embodiment, the processor 180 loads executable codes corresponding to the processes of one or more application programs into the memory 120 according to the following instructions, and the processor 180 executes the application programs stored in the memory 120, so as to implement various functions:
an information obtaining module 601, configured to obtain short-range communication connection information of an internet of things device, where the short-range communication connection information is used to establish short-range communication connection with the internet of things device;
a communication connection module 602, configured to establish a short-range communication connection with the internet of things device based on the short-range communication connection information;
And the routing access module 603 is configured to send router connection information to the internet of things device based on the short-range communication connection, and trigger the internet of things device to access a corresponding router based on the router connection information.
A terminal query module 604, configured to send the internet of things device identification information to a server to query the existing use terminal if the internet of things device already has the use terminal;
and the authorization request module 605 is configured to send request authorization information to the existing usage terminal, so as to trigger the existing usage terminal to return authorization result information.
A state resetting module 606, configured to reset the router connection state of the internet of things device.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The embodiment of the application also provides terminal equipment. The terminal equipment can be a smart phone, a tablet computer, a desktop computer, a smart watch and other equipment.
Referring to fig. 7, fig. 7 shows a schematic structural diagram of a terminal device provided in an embodiment of the present application, where the terminal device may be used to implement the network allocation method of the internet of things device provided in the foregoing embodiment. The terminal device 1200 may be a smart phone or a tablet computer.
As shown in fig. 7, the terminal device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer readable storage mediums, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one is shown in the figure) processing cores, and a power supply 190. It will be appreciated by those skilled in the art that the configuration of the terminal device 1200 shown in fig. 7 does not constitute a limitation of the terminal device 1200, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components. Wherein:
the RF circuit 110 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices. RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The RF circuitry 110 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the network configuration method of the internet of things device in the above embodiments, and the processor 180 executes the software programs and modules stored in the memory 120, thereby performing various functional applications and data processing. Memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 120 may further include memory remotely located relative to processor 180, which may be connected to terminal device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may comprise a touch sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch-sensitive surface 131 or thereabout by using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. In addition to the touch-sensitive surface 131, the input unit 130 may also comprise other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 140 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal device 1200, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141. Further, the touch-sensitive surface 131 may overlay the display panel 141, and upon detection of a touch operation thereon or thereabout by the touch-sensitive surface 131, the touch-sensitive surface is transferred to the processor 180 to determine the type of touch event, and the processor 180 then provides a corresponding visual output on the display panel 141 based on the type of touch event. The display unit 140 is a screen in the above embodiment.
The terminal device 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Other sensors such as barometer, hygrometer, thermometer, infrared sensor, etc. that may be configured in the terminal device 1200 are not described herein.
Terminal device 1200 may facilitate user email, web browsing, streaming media access, etc. via a transmission module 170 (e.g., wi-Fi module) that provides wireless broadband internet access to the user. Although fig. 7 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the terminal device 1200, and can be omitted entirely as required within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal device 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 1200 and processes data by running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal device 1200 also includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system, such as to perform functions such as managing charge, discharge, and power consumption via the power management system. The power supply 190 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 1200 may further include a camera (such as a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. In particular, in the present embodiment, the display unit 140 of the terminal device 1200 is a touch screen display, the terminal device 1200 further includes a memory 120, and one or more programs, wherein the one or more programs are stored in the memory 120 and configured to be executed by the one or more processors 180, the one or more programs include instructions for:
according to the embodiment of the application, the short-range communication connection information of the Internet of things equipment is acquired, and the short-range communication connection information is used for establishing short-range communication connection with the Internet of things equipment; establishing a short-range communication connection with the internet of things device based on the short-range communication connection information; and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information.
In some embodiments, after the internet of things device accesses the corresponding router based on the router connection information, the processor 180 further includes:
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the processor 180 is configured to, before the establishing a short-range communication connection with the internet of things device based on the short-range communication connection information, further include:
inquiring whether the existing use terminal of the Internet of things equipment exists or not from a server;
and if the existing terminal is not available, executing the step of establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information.
In some embodiments, after the step of querying the server about whether the internet of things device has an existing terminal, the processor 180 further includes:
if the existing use terminal exists and an authorization request instruction is received, sending authorization request information to the existing use terminal through a server so as to trigger the existing use terminal to return authorization result information;
When the authorization result information of the authorization request information is the authorization right, triggering the server to set the terminal equipment as the authorization terminal of the Internet of things equipment.
In some embodiments, after the step of querying the server about whether the internet of things device has an existing terminal, the processor 180 further includes:
if the existing using terminal exists, and a network allocation resetting instruction is received, establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, after the processor 180 is configured to send, by the server, authorization request information to the existing usage terminal, the method further includes:
if the authorization result information is not obtained within the preset time period, or the obtained authorization result information is not granted with the authority;
establishing communication connection with the Internet of things equipment;
Sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
In some embodiments, the processor 180 is configured to establish a communication connection with the internet of things device, including:
establishing communication connection with the internet of things device based on the short-range communication connection information;
or establishing communication connection with the internet of things equipment through the server.
In some embodiments, the processor 180 is configured to obtain the short-range communication connection information of the internet of things device, and specifically includes:
acquiring a code diagram set on the Internet of things equipment;
and reading short-range communication connection information of the Internet of things equipment from the code diagram.
As can be seen from the above, the embodiments of the present application provide a terminal device 1200, where the terminal device 1200 performs the following steps: acquiring short-range communication connection information of an Internet of things device, wherein the short-range communication connection information is used for establishing short-range communication connection with the Internet of things device; establishing a short-range communication connection with the internet of things device based on the short-range communication connection information; and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information. According to the method and the device for controlling the router, when the terminal needs to control the router connected with the Internet of things device, the router can be successfully accessed by the Internet of things device through operation on the terminal, so that the complexity of operation of the router connected with the Internet of things device is reduced, the operation threshold of using the Internet of things device is reduced, and the user experience is improved.
The embodiment of the application also provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer executes the network allocation method of the internet of things device according to any one of the embodiments.
It should be noted that, for the network deployment method of the internet of things device according to the present application, it is understood by those skilled in the art that all or part of the flow of implementing the network deployment method of the internet of things device according to the embodiments of the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a terminal device, and executed by at least one processor in the terminal device, and the execution process may include the flow of the embodiment of the network deployment method of the internet of things device. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), or the like.
For the network distribution device of the internet of things equipment in the embodiment of the application, each functional module of the network distribution device can be integrated in one processing chip, each module can exist alone physically, and two or more modules can be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium such as read-only memory, magnetic or optical disk, etc.
The network allocation method, the network allocation device and the storage medium of the internet of things equipment provided by the embodiment of the application are described in detail. The principles and embodiments of the present application are described herein with specific examples, the above examples being provided only to assist in understanding the methods of the present application and their core ideas; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.
Claims (8)
1. The network distribution method of the Internet of things equipment is applied to terminal equipment and is characterized by comprising the following steps of:
acquiring short-range communication connection information of the Internet of things equipment;
inquiring whether the existing use terminal of the Internet of things equipment exists or not from a server;
if the existing use terminal exists and an authorization request instruction is received, sending authorization request information to the existing use terminal through a server so as to trigger the existing use terminal to return authorization result information; if the authorization result information of the authorization request information is the authorization right, triggering the server to set the terminal equipment as an authorization terminal of the Internet of things equipment according to the terminal equipment identifier of the terminal equipment and the Internet of things equipment identifier of the Internet of things equipment so that the terminal equipment obtains the use right of at least part of functions of the authorized right of the Internet of things equipment; if the authorization result information is not obtained within a preset time period, or the obtained authorization result information is not granted with authority, establishing communication connection with the Internet of things equipment, sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
If the existing using terminal does not exist, short-range communication connection is established with the Internet of things equipment based on the short-range communication connection information;
and sending router connection information to the Internet of things equipment based on the short-range communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information.
2. The method of claim 1, wherein the internet of things device, after accessing the corresponding router based on the router connection information, further comprises:
and setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
3. The method of claim 1, wherein after the querying the server for the presence of the existing terminal of use of the internet of things device, the method further comprises:
if the existing using terminal exists, and a network allocation resetting instruction is received, establishing communication connection with the Internet of things equipment;
sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
And setting the terminal equipment as a using terminal of the Internet of things equipment after the Internet of things equipment is successfully accessed to the router based on the terminal equipment identification information of the terminal equipment.
4. A method according to claim 1 or 3, wherein said establishing a communication connection with said internet of things device comprises:
establishing communication connection with the internet of things device based on the short-range communication connection information;
or establishing communication connection with the internet of things equipment through the server.
5. The method of claim 1, wherein the obtaining short-range communication connection information for the internet of things device comprises:
acquiring a code diagram set on the Internet of things equipment;
and reading short-range communication connection information of the Internet of things equipment from the code diagram.
6. The utility model provides a network device is joined in marriage to thing networking equipment which characterized in that includes:
the information acquisition module is used for acquiring short-range communication connection information of the Internet of things equipment;
the network distribution device of the Internet of things equipment is used for inquiring whether the existing using terminal of the Internet of things equipment exists or not from a server; if the existing use terminal exists and an authorization request instruction is received, sending authorization request information to the existing use terminal through a server so as to trigger the existing use terminal to return authorization result information; if the authorization result information of the authorization request information is the authorization right, triggering the server to set the terminal equipment as an authorization terminal of the Internet of things equipment according to the terminal equipment identifier of the terminal equipment and the Internet of things equipment identifier of the Internet of things equipment so that the terminal equipment obtains the use right of at least part of functions of the authorized right of the Internet of things equipment; if the authorization result information is not obtained within a preset time period, or the obtained authorization result information is not granted with authority, establishing communication connection with the Internet of things equipment, sending router connection information to the Internet of things equipment based on the communication connection, and triggering the Internet of things equipment to access a corresponding router based on the router connection information;
If the existing terminal is not available, establishing short-range communication connection with the Internet of things equipment based on the short-range communication connection information through a communication connection module;
and the router access module is used for sending router connection information to the Internet of things equipment based on the short-range communication connection and triggering the Internet of things equipment to access a corresponding router based on the router connection information.
7. An internet of things device distribution network apparatus, characterized in that the internet of things device distribution network apparatus comprises a memory, a processor and a device distribution network program stored on the memory and running on the processor, the processor implementing the steps of the method according to any one of claims 1 to 5 when executing the device distribution network program.
8. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to perform the steps of the distribution network method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110647371.9A CN113395345B (en) | 2021-05-31 | 2021-05-31 | Network distribution method and device of Internet of things equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110647371.9A CN113395345B (en) | 2021-05-31 | 2021-05-31 | Network distribution method and device of Internet of things equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113395345A CN113395345A (en) | 2021-09-14 |
CN113395345B true CN113395345B (en) | 2023-05-12 |
Family
ID=77620210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110647371.9A Active CN113395345B (en) | 2021-05-31 | 2021-05-31 | Network distribution method and device of Internet of things equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113395345B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114666255B (en) * | 2022-03-16 | 2024-04-05 | 京东科技信息技术有限公司 | Method for testing network distribution performance of Internet of things equipment and related equipment thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379403A (en) * | 2018-09-12 | 2019-02-22 | 珠海德百祺科技有限公司 | Control method, device, server and the terminal device of internet of things equipment |
CN110086821A (en) * | 2019-05-07 | 2019-08-02 | 国网江苏省电力有限公司无锡供电分公司 | The authentication method of electric power things-internet gateway and the access of electric power internet-of-things terminal based on block chain |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106899547B (en) * | 2015-12-18 | 2020-07-31 | 阿里巴巴集团控股有限公司 | Equipment operation method based on Internet of things and server |
CN110636483A (en) * | 2019-09-16 | 2019-12-31 | 珠海格力电器股份有限公司 | Network distribution method and system |
CN110995554A (en) * | 2019-12-27 | 2020-04-10 | 青岛海尔科技有限公司 | Method and device for configuring and accessing intelligent household electrical appliance network and storage medium |
CN111246545B (en) * | 2020-01-21 | 2021-11-19 | 华为技术有限公司 | Method, medium, control terminal and system for guiding intelligent device to access network |
-
2021
- 2021-05-31 CN CN202110647371.9A patent/CN113395345B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379403A (en) * | 2018-09-12 | 2019-02-22 | 珠海德百祺科技有限公司 | Control method, device, server and the terminal device of internet of things equipment |
CN110086821A (en) * | 2019-05-07 | 2019-08-02 | 国网江苏省电力有限公司无锡供电分公司 | The authentication method of electric power things-internet gateway and the access of electric power internet-of-things terminal based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN113395345A (en) | 2021-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108476060B (en) | Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device | |
KR102657527B1 (en) | Method for setting of a device based on information associated with account and electronic device thereof | |
CN109150568B (en) | Network management method, device, system, equipment and storage medium | |
KR102377724B1 (en) | Device network configuration method and apparatus, and medium | |
WO2016193417A1 (en) | Home appliance control method and control system | |
US20150046830A1 (en) | Methods, Device and Social Network Manager for Enabling Interaction with Another Device | |
CN103647587A (en) | Method and system for unlocking mobile terminal, mobile terminal and wearable electronic device | |
JP2013162381A (en) | Radio communication device | |
CN109257793B (en) | Network connection method, device, equipment and storage medium | |
CN107318119B (en) | Household appliance networking method, household appliance and computer readable storage medium | |
CN106294027A (en) | A kind of data back up method, device, carrier server and mobile terminal | |
CN112312372A (en) | Network access method and system | |
CN106713418A (en) | Reset result confirmation method and apparatus, server and mobile terminal | |
CN111431882B (en) | Data processing method, device and storage medium | |
CN113395345B (en) | Network distribution method and device of Internet of things equipment and storage medium | |
KR101499307B1 (en) | Wireless personal area network (pan) coordinator implementing power savings by transitioning between active and sleep states | |
CN113596141B (en) | Method and device for setting device control authority, computer device and storage medium | |
CN106953852A (en) | Register method, device and the terminal device of radio receiver | |
CN106413046A (en) | Wireless network recommendation method, device and equipment | |
CN107396319B (en) | A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer | |
EP4319255A1 (en) | Electronic device for performing network management operation and operation method thereof | |
CN110798444B (en) | Data synchronization method and device based on Internet of things | |
CN110769397A (en) | Method and device for connecting robot with network and terminal equipment | |
CN116702105A (en) | Account association method, device, computer equipment and storage medium | |
CN113873685B (en) | Method, device and equipment for establishing WiFi direct connection |
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 |