CN114125845B - Intelligent equipment automatic networking method and device based on Internet of things - Google Patents

Intelligent equipment automatic networking method and device based on Internet of things Download PDF

Info

Publication number
CN114125845B
CN114125845B CN202111226079.6A CN202111226079A CN114125845B CN 114125845 B CN114125845 B CN 114125845B CN 202111226079 A CN202111226079 A CN 202111226079A CN 114125845 B CN114125845 B CN 114125845B
Authority
CN
China
Prior art keywords
networking
intelligent
connection
network
intelligent equipment
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
CN202111226079.6A
Other languages
Chinese (zh)
Other versions
CN114125845A (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.)
Shenzhen Scodeno Technology Co ltd
Original Assignee
Shenzhen Scodeno Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Scodeno Technology Co ltd filed Critical Shenzhen Scodeno Technology Co ltd
Priority to CN202111226079.6A priority Critical patent/CN114125845B/en
Publication of CN114125845A publication Critical patent/CN114125845A/en
Application granted granted Critical
Publication of CN114125845B publication Critical patent/CN114125845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The invention provides an intelligent equipment automatic networking method and device based on the Internet of things, comprising the following steps: receiving a networking verification request sent by the intelligent equipment to be networked, wherein the networking verification request is generated by writing a historical networking record of the intelligent equipment to be networked and a target network name for requesting networking in a protocol field based on protocol information; resolving the networking authentication request based on the protocol information to extract a target network name and a historical networking record from the protocol field; determining candidate intelligent devices from networking intelligent devices in communication connection with the management node of the Internet of things according to the target network name; determining whether the intelligent equipment to be networked meets preset connection conditions according to historical networking records of the candidate intelligent equipment and the intelligent equipment to be networked; and if the intelligent equipment to be connected meets the preset connection condition, sending the connection password of the target network corresponding to the target network name stored in the candidate intelligent equipment to the intelligent equipment to be connected, so that the intelligent equipment to be connected accesses the target network according to the connection password.

Description

Intelligent equipment automatic networking method and device based on Internet of things
Technical Field
The invention relates to the technical field of the Internet of things, in particular to an intelligent device automatic networking method and device based on the Internet of things.
Background
With the popularization of wifi, people arrive at a certain place and are concerned with whether wifi exists first, so that wifi is connected, and further smooth and rapid Internet surfing experience can be achieved. However, typically one needs to query wifi for the corresponding connection password and then manually enter the connection password. However, there are difficulties in manually inputting the password for some users, especially when the connection password contains english letters, and there is a risk of inputting the connection password in error, for example, in the case that the related person dictates the connection password, repeated dictations of the connection password may be required, resulting in low convenience and flexibility in networking of the smart device.
Disclosure of Invention
The invention aims to solve the technical problem that networking convenience and flexibility are low due to the fact that networking passwords are required to be manually input, and provides an intelligent device automatic networking method and device based on the Internet of things.
The invention adopts the following technical means for solving the technical problems:
in a first aspect, an automatic networking method for an intelligent device based on the internet of things is provided, and the automatic networking method is applied to an internet of things management node in an internet of things system, wherein the internet of things system comprises the internet of things management node, a plurality of networking intelligent devices in communication connection with the internet of things management node, and an intelligent device to be networked in communication connection with the internet of things management node, and the method comprises the following steps:
receiving a networking verification request sent by the intelligent equipment to be networked, wherein the networking verification request is generated by writing a history networking record of history networking in the intelligent equipment to be networked and a target network name of the intelligent equipment to be networked for requesting networking in a protocol field by the intelligent equipment to be networked based on protocol information;
parsing the networking authentication request based on the protocol information to extract the target network name and the historical networking record from the protocol field;
determining candidate intelligent devices from the plurality of networking intelligent devices in communication connection with the internet of things management node according to the target network name;
determining whether the intelligent equipment to be networked meets a preset networking condition according to the historical networking record of the candidate intelligent equipment and the historical networking record of the intelligent equipment to be networked;
and under the condition that the intelligent equipment to be connected meets the preset connection condition, sending the connection password of the target network corresponding to the target network name stored in the candidate intelligent equipment to the intelligent equipment to be connected, so that the intelligent equipment to be connected is connected with the target network in a network mode according to the connection password.
Optionally, the determining, according to the target network name, a candidate smart device from the plurality of networking smart devices communicatively connected to the internet of things management node includes:
the intelligent equipment of a target network corresponding to the target network name in a history connection network in the plurality of networking intelligent equipment in communication connection with the Internet of things management node is used as an alternative intelligent equipment;
acquiring connection time information of the connection of the candidate intelligent device and the target network, and acquiring modification time information of the last modification connection password of the target network;
and determining the candidate intelligent equipment from the candidate intelligent equipment according to the connection time information and the modification time information.
Optionally, the determining the candidate smart device from the candidate smart devices according to the connection time information and the modification time information includes:
comparing the connection time stamp of the connection time information representation with the modification time stamp of the modification time information representation;
and determining the candidate intelligent devices with the connection time stamps later than the modification time stamp in the comparison result as the candidate intelligent devices.
Optionally, the determining, according to the target network name, a candidate smart device from the plurality of networking smart devices communicatively connected to the internet of things management node includes:
when the networking intelligent equipment and a target network corresponding to the target network name have historical connection events or are in a connection state, determining the network quantity of the networking intelligent equipment and the intelligent equipment to be networked which are simultaneously connected with the same network;
and determining that the networking smart device is the candidate smart device in the case that the network number is greater than the network number threshold.
Optionally, the network number threshold is calculated by the following method:
acquiring the maximum connectable number of the intelligent equipment allowed to be connected by each network in the same network;
according to a pre-configured weight rule, calculating a weight coefficient corresponding to the maximum connectable number of each network;
and according to the maximum connectable quantity of each network and the corresponding weight coefficient, weighting calculation is carried out to obtain the network quantity threshold.
Optionally, the determining whether the intelligent device to be networked meets the preset connection condition according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be networked includes:
determining single connection duration of each candidate intelligent device and the intelligent device to be connected with the same network at the same time according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be connected;
determining the total connection duration of the intelligent equipment to be networked and each candidate intelligent equipment which are connected with the network at the same time according to the connection times of the intelligent equipment to be networked and the connection duration of the candidate intelligent equipment to be networked at the same time;
determining the median of the total connection duration and calculating the average of the total connection duration;
and determining whether the intelligent equipment to be networked meets preset connection conditions according to the median and preset authentication conditions of the average number and the target network.
In a second aspect, an automatic networking device for an intelligent device based on the internet of things is provided, and the automatic networking device is applied to an internet of things management node in an internet of things system, wherein the internet of things system comprises the internet of things management node and a plurality of networking intelligent devices communicatively connected with the internet of things management node, and the device comprises:
the receiving module is used for receiving a networking verification request sent by the intelligent equipment to be networked, wherein the networking verification request is generated by writing a historical networking record of historical networking in the intelligent equipment to be networked and a target network name of the intelligent equipment to be networked for requesting networking in a protocol field based on protocol information;
a parsing module, configured to parse the networking verification request based on the protocol information, so as to extract the target network name and the historical networking record from the protocol field;
a first determining module, configured to determine candidate intelligent devices from the plurality of networking intelligent devices communicatively connected to the internet of things management node according to the target network name;
the second determining module is used for determining whether the intelligent equipment to be networked meets a preset connection condition according to the historical networking record of the candidate intelligent equipment and the historical networking record of the intelligent equipment to be networked;
the sending module is used for sending the connection password of the target network corresponding to the target network name stored in the candidate intelligent device to the intelligent device to be networked under the condition that the intelligent device to be networked meets the preset connection condition, so that the intelligent device to be networked is connected with the target network in a network mode according to the connection password.
Optionally, the first determining module includes:
a first determining submodule, configured to take an intelligent device including a target network corresponding to the target network name in a history connection network among the plurality of networking intelligent devices communicatively connected to the internet of things management node as an alternative intelligent device;
the acquisition sub-module is used for acquiring the connection time information of the connection of the candidate intelligent equipment and the target network and acquiring the modification time information of the last modification connection password of the target network;
and the second determining submodule is used for determining the candidate intelligent equipment from the candidate intelligent equipment according to the connection time information and the modification time information.
Optionally, the second determining submodule is configured to:
comparing the connection time stamp of the connection time information representation with the modification time stamp of the modification time information representation;
and determining the candidate intelligent devices with the connection time stamps later than the modification time stamp in the comparison result as the candidate intelligent devices.
Optionally, the first determining module includes:
a third determining submodule, configured to determine, when a historical connection event occurs or the network of the networking intelligent device corresponding to the target network name is in a connection state, the number of networks in which the networking intelligent device and the intelligent device to be networked are simultaneously connected to the same network;
and a fourth determining sub-module, configured to determine that the networking smart device is the candidate smart device if the number of networks is greater than a threshold of the number of networks.
Optionally, the network number threshold is calculated by the following method:
acquiring the maximum connectable number of the intelligent equipment allowed to be connected by each network in the same network;
according to a pre-configured weight rule, calculating a weight coefficient corresponding to the maximum connectable number of each network;
and according to the maximum connectable quantity of each network and the corresponding weight coefficient, weighting calculation is carried out to obtain the network quantity threshold.
Optionally, the second determining module is configured to:
determining single connection duration of each candidate intelligent device and the intelligent device to be connected with the same network at the same time according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be connected;
determining the total connection duration of the intelligent equipment to be networked and each candidate intelligent equipment which are connected with the network at the same time according to the connection times of the intelligent equipment to be networked and the connection duration of the candidate intelligent equipment to be networked at the same time;
determining the median of the total connection duration and calculating the average of the total connection duration;
and determining whether the intelligent equipment to be networked meets preset connection conditions according to the median and preset authentication conditions of the average number and the target network.
The beneficial effects are that: by receiving a networking verification request sent by the intelligent equipment to be networked, the networking verification request is generated by writing a historical networking record of the intelligent equipment to be networked and a target network name for requesting networking in a protocol field based on protocol information; resolving the networking authentication request based on the protocol information to extract a target network name and a historical networking record from the protocol field; determining candidate intelligent devices from networking intelligent devices in communication connection with the management node of the Internet of things according to the target network name; determining whether the intelligent equipment to be networked meets preset connection conditions according to historical networking records of the candidate intelligent equipment and the intelligent equipment to be networked; and if the intelligent equipment to be connected meets the preset connection condition, sending the connection password of the target network corresponding to the target network name stored in the candidate intelligent equipment to the intelligent equipment to be connected, so that the intelligent equipment to be connected accesses the target network according to the connection password. The intelligent equipment to be connected can automatically acquire the connection password of the target network, networking is automatically completed based on the connection password, the connection password is not required to be manually input, and convenience and flexibility of networking of the intelligent equipment are improved.
Drawings
FIG. 1 is a flow chart of an intelligent device automatic networking method based on the Internet of things in an embodiment of the invention;
FIG. 2 is a flowchart illustrating the implementation of step S13 in FIG. 1 according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the implementation of step S13 in FIG. 1 according to an embodiment of the present invention;
FIG. 4 is a flow chart of calculating a threshold for the number of networks in an embodiment of the present invention;
FIG. 5 is a flowchart of implementing step S14 in FIG. 1 according to an embodiment of the present invention;
fig. 6 is a block diagram of an intelligent device automatic networking apparatus based on internet of things in an embodiment of the present invention.
The invention has the advantages of realizing the purpose, functional characteristics and advantages, and further description with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of an automatic networking method for an intelligent device based on the internet of things in an embodiment of the present invention is applied to an internet of things management node in an internet of things system, where the internet of things system includes the internet of things management node, a plurality of networking intelligent devices communicatively connected with the internet of things management node, and an intelligent device to be connected communicatively connected with the internet of things management node, where the networking intelligent device is a device that obtains a connection password through the internet of things management node historically, and obtains a device that the networking intelligent device joins in connection password sharing.
As shown in fig. 1, the method comprises the steps of:
in step S11, a networking verification request sent by the to-be-networked intelligent device is received, where the networking verification request is generated by the to-be-networked intelligent device writing, in a protocol field, a history networking record of history networking in the to-be-networked intelligent device and a target network name of the to-be-networked intelligent device requesting networking based on protocol information.
The target network corresponding to the target network name may be WIFI that needs a connection password to allow joining.
In the implementation, when the intelligent device searches the target network, an automatically connected control can be displayed on a corresponding operation page, and in response to the touch operation of the control by the user, a networking verification request is generated in the above manner and sent to the internet of things management node.
In step S12, the networking authentication request is parsed based on the protocol information to extract the target network name and the historical networking record from the protocol field.
The internet of things management node analyzes the internet of things verification request and forwards the connection password, and the internet of things intelligent device compresses the connection password.
In step S13, a candidate smart device is determined from the plurality of networking smart devices communicatively connected to the internet of things management node according to the target network name.
And determining that the networking intelligent device is a candidate intelligent device under the condition that a target network comprising a target network name or the networking intelligent device is in a connection state with the target network of the target network name in the historically connected networks of the networking intelligent devices which are connected by the Internet of things management node.
In step S14, it is determined whether the intelligent device to be networked satisfies a preset networking condition according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be networked.
The preset networking condition is set by the target network when the networking password is automatically shared, and for example, the preset networking condition may be a connectable period.
In step S15, if the to-be-networked intelligent device meets a preset connection condition, a connection password of a target network corresponding to the target network name stored in the candidate intelligent device is sent to the to-be-networked intelligent device, so that the to-be-networked intelligent device is connected with the target network in a network mode according to the connection password.
It may be appreciated that if the number of intelligent devices currently connected to the target network has reached the maximum connectable number, even if the intelligent device to be networked receives the connection password, the intelligent device cannot be added to the target network, in an embodiment, the current connection number of the target network is obtained, and if the current connection number has reached the maximum connectable number, the management node of the internet of things interrupts sending the connection password to the intelligent device to be networked, and monitors the connection number of the target network in real time. When the current connection quantity changes, if the current connection quantity is smaller than the maximum connectable quantity, acquiring current position information of the intelligent equipment to be connected, determining whether the intelligent equipment to be connected is still in the coverage area of the target network according to the position information, and if the intelligent equipment to be connected is still in the coverage area of the target network, retransmitting the network connection password of the target network of the intelligent equipment to be connected.
According to the technical scheme, the networking verification request sent by the intelligent equipment to be networked is received, and the networking verification request is generated by writing a historical networking record of the intelligent equipment to be networked and a target network name for requesting networking in a protocol field based on protocol information; resolving the networking authentication request based on the protocol information to extract a target network name and a historical networking record from the protocol field; determining candidate intelligent devices from networking intelligent devices in communication connection with the management node of the Internet of things according to the target network name; determining whether the intelligent equipment to be networked meets preset connection conditions according to historical networking records of the candidate intelligent equipment and the intelligent equipment to be networked; and if the intelligent equipment to be connected meets the preset connection condition, sending the connection password of the target network corresponding to the target network name stored in the candidate intelligent equipment to the intelligent equipment to be connected, so that the intelligent equipment to be connected accesses the target network according to the connection password. The intelligent equipment to be connected can automatically acquire the connection password of the target network, networking is automatically completed based on the connection password, the connection password is not required to be manually input, and convenience and flexibility of networking of the intelligent equipment are improved.
In addition, different from connecting wifi through the master key, the intelligent device to be networked needs to be verified, the leakage of a connection password can be avoided, the illegal acquisition of the connection password is avoided, the networking safety is improved, and the privacy is protected.
Optionally, referring to fig. 2, in a flowchart for implementing step S13 in fig. 1 in one embodiment of the present invention, as shown in fig. 2, in step S13, determining, according to the target network name, a candidate smart device from the plurality of networking smart devices communicatively connected to the management node of the internet of things, includes:
in step S131, an intelligent device including a target network corresponding to the target network name in the history connection networks among the plurality of networking intelligent devices communicatively connected to the internet of things management node is used as an alternative intelligent device.
In step S132, obtaining connection time information of the connection between the candidate intelligent device and the target network, and obtaining modification time information of the last modification of the connection password of the target network;
in step S133, the candidate smart device is determined from the candidate smart devices according to the connection time information and the modification time information.
Optionally, in step S133, the determining, according to the connection time information and the modification time information, the candidate smart device from the candidate smart devices includes:
comparing the connection time stamp of the connection time information representation with the modification time stamp of the modification time information representation;
and determining the candidate intelligent devices with the connection time stamps later than the modification time stamp in the comparison result as the candidate intelligent devices.
Optionally, referring to fig. 3, in another flowchart for implementing step S13 in fig. 1 in an embodiment of the present invention, as shown in fig. 3, in step S13, determining, according to the target network name, a candidate smart device from the plurality of networking smart devices communicatively connected to the management node of the internet of things, includes:
in step S1301, when a history connection event occurs or the network of the networking smart device corresponding to the target network name is in a connection state, determining the number of networks in which the networking smart device and the smart device to be networked are simultaneously connected to the same network;
wherein, the historical connection event refers to the networking event that occurs between the networking intelligent device and the network after the network has modified the connection password last time.
In step S1302, in the event that the number of networks is greater than a threshold number of networks, determining that the networked smart device is the candidate smart device.
And under the condition that the number of the networks is larger than the threshold value of the number of the networks, the networking intelligent equipment and the intelligent equipment to be connected with the network are simultaneously connected with the same network in more environments, and the risk that the intelligent equipment to be connected with the network is illegal intelligent equipment is smaller.
Optionally, referring to fig. 4, there is a flowchart for calculating a threshold of the number of networks in an embodiment of the present invention, as shown in fig. 4, the method includes the steps of:
in step S41, the maximum connectable number of intelligent device connections allowed by each network in the same network connected simultaneously is obtained.
The maximum connectable number of the intelligent device connection allowed by each network can be set by a user, or can be determined according to the network quality and the device performance of each network.
In step S42, according to a pre-configured weight rule, calculating a weight coefficient corresponding to the maximum connectable number of each network;
the weight rule may determine a weight coefficient corresponding to the maximum connectable number of each network according to a ratio of the maximum connectable number of each network to the total number of the maximum connectable number and a preset weight coefficient, where the sum of the preset weight coefficients is 1, and the weight coefficient is inversely related to the maximum connectable number.
The preset weight coefficients and the number of the devices connected with the same network at the same time have a one-to-one correspondence. For example, when the number of devices simultaneously connected to the same network is 3, the preset weight coefficients may be 0.1,0.3, and 0.6. The preset weight coefficient corresponding to the intelligent device with the largest connectable number value is 0.1, and the preset weight coefficient corresponding to the intelligent device with the smallest connectable number value is 0.6.
For example, in the case where the same network is connected simultaneously, including network a, network B, and network C, the maximum connectable number of network a is 8, the maximum connectable number of network B is 7, the maximum connectable number of network C is 5, and the total number of calculated maximum connectable numbers is 20. The weight coefficient of the corresponding network a is 8/20×0.1=0.04, the weight coefficient of the corresponding network B is 7/20×0.3=0.105, and the weight coefficient of the corresponding network C is 5/20×0.6=0.15.
In step S43, the threshold number of networks is obtained by weighting calculation according to the maximum connectable number of each network and the corresponding weight coefficient.
As described in the above embodiment, the network number threshold is 0.04×8+0.105×7+0.15×5=1.805, and the number of connections is an integer, so the network number threshold may be a positive integer closest to the calculated network number threshold.
Optionally, referring to fig. 5, for another flowchart implementing step S14 in fig. 1 in an embodiment of the present invention, as shown in fig. 5, in step S14, determining whether the to-be-networked intelligent device meets a preset connection condition according to the historical networking record of the candidate intelligent device and the historical networking record of the to-be-networked intelligent device includes:
in step S141, determining a single connection duration of each candidate intelligent device and the intelligent device to be connected to the same network at the same time according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be connected;
in step S142, determining a total connection duration of the to-be-networked intelligent device and each candidate intelligent device connected to the network at the same time according to the connection times of the to-be-networked intelligent device connected to the network at the same time and the corresponding single connection duration;
in step S143, determining a median of the total connection duration and calculating an average of the total connection durations;
in step S144, it is determined whether the intelligent device to be networked meets a preset connection condition according to the median and the preset authentication condition of the average and the target network.
Based on the same inventive concept, the embodiment of the disclosure further provides an automatic networking device for an intelligent device based on the internet of things, which is applied to an internet of things management node in an internet of things system, wherein the internet of things system comprises the internet of things management node and a plurality of networking intelligent devices communicatively connected with the internet of things management node, and referring to fig. 6, a block diagram of the automatic networking device for the intelligent device based on the internet of things in an embodiment of the present invention is shown in fig. 6, and the device 100 comprises:
a receiving module 110, configured to receive a networking verification request sent by an intelligent device to be networked, where the networking verification request is generated by writing, in a protocol field, a historical networking record of historical networking in the intelligent device to be networked and a target network name of the intelligent device to be networked that requests networking, based on protocol information;
a parsing module 120, configured to parse the networking verification request based on the protocol information, so as to extract the target network name and the historical networking record from the protocol field;
a first determining module 130, configured to determine, according to the target network name, candidate intelligent devices from the plurality of networking intelligent devices communicatively connected to the internet of things management node;
a second determining module 140, configured to determine, according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be networked, whether the intelligent device to be networked meets a preset connection condition;
and the sending module 150 is configured to send, when the to-be-networked intelligent device meets a preset connection condition, a connection password of a target network corresponding to the target network name stored in the candidate intelligent device to the to-be-networked intelligent device, so that the to-be-networked intelligent device performs network connection with the target network according to the connection password.
Optionally, the first determining module 130 includes:
a first determining submodule, configured to take an intelligent device including a target network corresponding to the target network name in a history connection network among the plurality of networking intelligent devices communicatively connected to the internet of things management node as an alternative intelligent device;
the acquisition sub-module is used for acquiring the connection time information of the connection of the candidate intelligent equipment and the target network and acquiring the modification time information of the last modification connection password of the target network;
and the second determining submodule is used for determining the candidate intelligent equipment from the candidate intelligent equipment according to the connection time information and the modification time information.
Optionally, the second determining submodule is configured to:
comparing the connection time stamp of the connection time information representation with the modification time stamp of the modification time information representation;
and determining the candidate intelligent devices with the connection time stamps later than the modification time stamp in the comparison result as the candidate intelligent devices.
Optionally, the first determining module 130 includes:
a third determining submodule, configured to determine, when a historical connection event occurs or the network of the networking intelligent device corresponding to the target network name is in a connection state, the number of networks in which the networking intelligent device and the intelligent device to be networked are simultaneously connected to the same network;
and a fourth determining sub-module, configured to determine that the networking smart device is the candidate smart device if the number of networks is greater than a threshold of the number of networks.
Optionally, the network number threshold is calculated by the following method:
acquiring the maximum connectable number of the intelligent equipment allowed to be connected by each network in the same network;
according to a pre-configured weight rule, calculating a weight coefficient corresponding to the maximum connectable number of each network;
and according to the maximum connectable quantity of each network and the corresponding weight coefficient, weighting calculation is carried out to obtain the network quantity threshold.
Optionally, the second determining module 140 is configured to:
determining single connection duration of each candidate intelligent device and the intelligent device to be connected with the same network at the same time according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be connected;
determining the total connection duration of the intelligent equipment to be networked and each candidate intelligent equipment which are connected with the network at the same time according to the connection times of the intelligent equipment to be networked and the connection duration of the candidate intelligent equipment to be networked at the same time;
determining the median of the total connection duration and calculating the average of the total connection duration;
and determining whether the intelligent equipment to be networked meets preset connection conditions according to the median and preset authentication conditions of the average number and the target network.
Specific embodiments of the execution of the modules in the above apparatus are described in detail in the corresponding methods, and are not repeated herein.
It should be noted that, the terms "first" and "second" in the claims, the description and the drawings of the present disclosure are used to distinguish similar objects, and when implemented, the same executing module may be a plurality of modules that execute independently.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. An intelligent equipment automatic networking method based on the Internet of things is characterized by being applied to the things in the Internet of things system
The Internet of things system comprises an Internet of things management node and a network management node, wherein the Internet of things management node is in communication connection with the Internet of things management node
The method comprises the steps of connecting a plurality of intelligent devices to be connected in a communication way with the management node of the Internet of things, and connecting the intelligent devices to be connected in a communication way with the management node of the Internet of things
The method comprises the following steps:
receiving a networking verification request sent by the intelligent equipment to be networked, wherein the networking verification request is the intelligent equipment to be networked
Writing a history networking record of history networking in the intelligent device to be networked in a protocol field by the device based on protocol information to
The intelligent equipment to be networked requests the generation of a network-connected target network name;
parsing the networking authentication request based on the protocol information to extract the target network from the protocol field
Name and the history networking record;
according to the target network name, communicating with the plurality of networking intelligent devices connected with the Internet of things management node
Candidate intelligent devices are determined; comprising the following steps:
when the networking intelligent equipment and the target network corresponding to the target network name have historical connection events or are in a connection state, determining the network number of the networking intelligent equipment and the intelligent equipment to be connected with the same network at the same time
An amount of;
determining that the networking smart device is the candidate smart device if the number of networks is greater than a threshold number of networks
Preparing; the network quantity threshold is calculated by the following method:
acquiring the maximum connectable number of the intelligent equipment allowed to be connected by each network in the same network;
according to a pre-configured weight rule, calculating a weight coefficient corresponding to the maximum connectable number of each network;
according to the maximum connectable number of each network and the corresponding weight coefficient, weighting calculation is carried out to obtain the number of the networks
A threshold value;
based on the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be networked
Recording, determining whether the intelligent equipment to be networked meets preset networking conditions; comprising the following steps:
determining according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be networked
Determining single connection time length for each candidate intelligent device and the intelligent device to be connected with the same network at the same time;
determining the network to be connected according to the connection times of the network connection and the single connection time length corresponding to each time
The intelligent equipment and the candidate intelligent equipment are connected with the network simultaneously for total connection duration;
determining the median of the total connection duration and calculating the average of the total connection duration;
determining the intelligent to be connected according to the median and the preset authentication conditions of the average and the target network
Whether the equipment meets the preset connection condition or not can be judged;
under the condition that the intelligent equipment to be networked meets the preset connection condition, storing the intelligent equipment in the candidate intelligent equipment
The connection password of the target network corresponding to the target network name is sent to the intelligent equipment to be networked so that the intelligent equipment to be networked
And the intelligent equipment is connected with the target network in a network mode according to the connection password.
2. The automated networking method of claim 1, wherein the determining candidate smart devices from the plurality of networking smart devices communicatively coupled to the internet of things management node based on the target network name comprises:
included in a history connection network of the plurality of networked intelligent devices to be communicatively connected with the internet of things management node
The intelligent equipment of the target network corresponding to the target network name is used as an alternative intelligent equipment;
acquiring connection time information of the candidate intelligent device and the target network connection, and acquiring the target network
Modification time information of the last modification connection password;
determining the candidate from the candidate intelligent devices according to the connection time information and the modification time information
An intelligent device.
3. The automated networking method of claim 2, wherein the determining the candidate smart device from the candidate smart devices based on the connection time information and the modification time information comprises:
performing connection time stamp of the connection time information representation and modification time stamp of the modification time information representation
Comparing;
determining the candidate intelligent device with the connection time stamp later than the modification time stamp in the comparison result as the candidate
An intelligent device.
4. An automatic networking device of intelligent equipment based on thing networking, its characterized in that is applied to thing networking management node in the thing networking system, thing networking system include thing networking management node, with a plurality of networking intelligent equipment that thing networking management node communication is connected, the device includes:
the receiving module is used for receiving a networking verification request sent by the intelligent equipment to be networked, wherein the networking verification request is generated by writing a historical networking record of historical networking in the intelligent equipment to be networked and a target network name of the intelligent equipment to be networked for requesting networking in a protocol field based on protocol information;
a parsing module, configured to parse the networking verification request based on the protocol information, so as to extract the target network name and the historical networking record from the protocol field;
a first determining module, configured to determine candidate intelligent devices from the plurality of networking intelligent devices communicatively connected to the internet of things management node according to the target network name; comprising the following steps: when the networking intelligent equipment and a target network corresponding to the target network name have historical connection events or are in a connection state, determining the network quantity of the networking intelligent equipment and the intelligent equipment to be networked which are simultaneously connected with the same network; determining that the networking intelligent device is the candidate intelligent device under the condition that the network quantity is larger than a network quantity threshold value; the network quantity threshold is calculated by the following method: acquiring the maximum connectable number of the intelligent equipment allowed to be connected by each network in the same network; according to a pre-configured weight rule, calculating a weight coefficient corresponding to the maximum connectable number of each network; according to the maximum connectable number of each network and the corresponding weight coefficient, weighting calculation is carried out to obtain the network number threshold;
a second determining module, configured to determine, according to a historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be networked, whether the intelligent device to be networked meets a preset networking condition; comprising the following steps: determining single connection duration of each candidate intelligent device and the intelligent device to be connected with the same network at the same time according to the historical networking record of the candidate intelligent device and the historical networking record of the intelligent device to be connected; determining the total connection duration of the intelligent equipment to be networked and each candidate intelligent equipment which are connected with the network at the same time according to the connection times of the intelligent equipment to be networked and the connection duration of the candidate intelligent equipment to be networked at the same time; determining the median of the total connection duration and calculating the average of the total connection duration; determining whether the intelligent equipment to be networked meets preset connection conditions according to the median and preset authentication conditions of the average and the target network;
the sending module is used for sending the connection password of the target network corresponding to the target network name stored in the candidate intelligent device to the intelligent device to be networked under the condition that the intelligent device to be networked meets the preset connection condition, so that the intelligent device to be networked is connected with the target network in a network mode according to the connection password.
5. The automatic networking device of claim 4, wherein the first determination module comprises:
a first determination submodule, configured to communicatively connect with the internet of things management node among the plurality of networking smart devices
The history connection network comprises intelligent equipment of a target network corresponding to the target network name as alternative intelligent equipment;
an acquisition sub-module, configured to acquire connection time information of the candidate intelligent device and the target network connection, and
acquiring modification time information of the last modification connection password of the target network;
a second determination sub-module for determining from the alternative wisdom based on the connection time information and the modification time information
The candidate smart device can be determined in the device.
6. The automatic networking device of claim 5, wherein the second determination submodule is to:
performing connection time stamp of the connection time information representation and modification time stamp of the modification time information representation
Comparing;
determining the candidate intelligent device with the connection time stamp later than the modification time stamp in the comparison result as the candidate
An intelligent device.
CN202111226079.6A 2021-10-21 2021-10-21 Intelligent equipment automatic networking method and device based on Internet of things Active CN114125845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111226079.6A CN114125845B (en) 2021-10-21 2021-10-21 Intelligent equipment automatic networking method and device based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111226079.6A CN114125845B (en) 2021-10-21 2021-10-21 Intelligent equipment automatic networking method and device based on Internet of things

Publications (2)

Publication Number Publication Date
CN114125845A CN114125845A (en) 2022-03-01
CN114125845B true CN114125845B (en) 2024-01-16

Family

ID=80376830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111226079.6A Active CN114125845B (en) 2021-10-21 2021-10-21 Intelligent equipment automatic networking method and device based on Internet of things

Country Status (1)

Country Link
CN (1) CN114125845B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866714A (en) * 2022-11-04 2023-03-28 深圳中科德能科技有限公司 Intelligent equipment rapid networking method and device based on Internet of things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596173A (en) * 2013-09-30 2014-02-19 北京智谷睿拓技术服务有限公司 Wireless network authentication method, client wireless network authentication device, and server wireless network authentication device
CN107071776A (en) * 2017-05-23 2017-08-18 上海斐讯数据通信技术有限公司 It is a kind of to match somebody with somebody network method and its system, a kind of server automatically
CN109981421A (en) * 2017-12-27 2019-07-05 九阳股份有限公司 A kind of smart machine distribution method and apparatus
CN111770556A (en) * 2020-06-24 2020-10-13 上海连尚网络科技有限公司 Network connection method, device, electronic equipment and medium
CN112468538A (en) * 2020-11-04 2021-03-09 杭州萤石软件有限公司 Operation method and system of Internet of things equipment
CN112564940A (en) * 2020-11-11 2021-03-26 深圳市晨北科技有限公司 Distribution network failure processing method and device, equipment and storage medium
CN112654045A (en) * 2020-12-14 2021-04-13 努比亚技术有限公司 Wireless network security protection method, mobile terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596173A (en) * 2013-09-30 2014-02-19 北京智谷睿拓技术服务有限公司 Wireless network authentication method, client wireless network authentication device, and server wireless network authentication device
CN107071776A (en) * 2017-05-23 2017-08-18 上海斐讯数据通信技术有限公司 It is a kind of to match somebody with somebody network method and its system, a kind of server automatically
CN109981421A (en) * 2017-12-27 2019-07-05 九阳股份有限公司 A kind of smart machine distribution method and apparatus
CN111770556A (en) * 2020-06-24 2020-10-13 上海连尚网络科技有限公司 Network connection method, device, electronic equipment and medium
CN112468538A (en) * 2020-11-04 2021-03-09 杭州萤石软件有限公司 Operation method and system of Internet of things equipment
CN112564940A (en) * 2020-11-11 2021-03-26 深圳市晨北科技有限公司 Distribution network failure processing method and device, equipment and storage medium
CN112654045A (en) * 2020-12-14 2021-04-13 努比亚技术有限公司 Wireless network security protection method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN114125845A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN110933091B (en) Block chain communication node verification method and device and electronic equipment
CN107690149B (en) Method for triggering network policy update, management function entity and core network equipment
CN114125845B (en) Intelligent equipment automatic networking method and device based on Internet of things
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
WO2017054307A1 (en) Recognition method and apparatus for user information
CN111654526B (en) Load balancing method and system for streaming media server
CN109413107A (en) A kind of credible platform connection method
CN108521435B (en) Method and system for user network behavior portrayal
CN113067802A (en) User identification method, device, equipment and computer readable storage medium
CN105959292B (en) Recognition methods, management server and the system of equipment access right
US20130290245A1 (en) Database history management method and system thereof
CN105323270B (en) Network information push method and system
CN107844366B (en) Power grid application service calling method and device, storage medium and computer equipment
CN116170199A (en) Equipment access verification system based on gateway of Internet of things
CN111542074B (en) Intelligent heterogeneous wireless access method for mobile cloud computing learning
CN113381967B (en) Broadband private connection prevention judgment method and device, electronic equipment and storage medium
CN111147256B (en) Authentication method and device
JP2015528260A (en) Method and device for providing communication connections for multiple candidate applications within a mobile device
CN107707383B (en) Put-through processing method and device, first network element and second network element
CN112134856A (en) Method, system, server and storage medium for disabling application program
CN116471002B (en) Industrial Internet data transmission method and system
CN109768967A (en) A kind of credible platform connection system
CN116233032B (en) Broadband narrowband fusion networking system and method
CN113489623B (en) Verification code testing method, verification code testing device, electronic equipment, storage medium and program product
CN110248326A (en) A kind of data processing method and its device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant