CN113890775B - Equipment network distribution method and device, computer equipment and storage medium - Google Patents

Equipment network distribution method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113890775B
CN113890775B CN202111047583.XA CN202111047583A CN113890775B CN 113890775 B CN113890775 B CN 113890775B CN 202111047583 A CN202111047583 A CN 202111047583A CN 113890775 B CN113890775 B CN 113890775B
Authority
CN
China
Prior art keywords
information
network
internet
access network
target
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
CN202111047583.XA
Other languages
Chinese (zh)
Other versions
CN113890775A (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 TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111047583.XA priority Critical patent/CN113890775B/en
Publication of CN113890775A publication Critical patent/CN113890775A/en
Application granted granted Critical
Publication of CN113890775B publication Critical patent/CN113890775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The embodiment of the application discloses a method and a device for equipment network allocation, computer equipment and a storage medium; according to the embodiment of the application, the network list can be obtained through the first information transmission mode, and the network list comprises at least one access network; transmitting the network list to the target application program through a second information transmission mode; receiving distribution network information returned by a target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of at least one access network; accessing a target access network according to the attribute information; according to the embodiment of the application, the Internet of things equipment can be directly connected without network sharing through the terminal equipment, and the complexity of network distribution of the Internet of things equipment is reduced.

Description

Equipment network distribution method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for device network allocation, a computer device, and a storage medium.
Background
The internet of things (IoT, internet of things), i.e., the internet of everything, is a huge network formed by combining various information sensing devices with the network, which is a network extending and expanding on the basis of the internet, so as to realize the interconnection and intercommunication of people, machines and things at any time and any place.
In the era of the acceleration of the Internet of things falling to the ground, when the Internet of things equipment is used for network distribution, the network distribution process can be realized only by means of the terminal equipment. Specifically, when the internet of things equipment is connected with a network, a user needs to connect the network on the terminal, then the terminal equipment shares the connected network with the internet of things equipment, and then the internet of things equipment can realize the internet of things, so that the complexity of the internet of things equipment network connection can be improved.
Disclosure of Invention
The embodiment of the application provides a device network distribution method, a device, a computer device and a storage medium, which can enable the Internet of things device to directly realize network connection without network sharing through terminal devices, thereby reducing the complexity of the Internet of things device network distribution.
The embodiment of the application provides a device network distribution method, which comprises the following steps:
acquiring a network list through a first information transmission mode, wherein the network list comprises at least one access network;
transmitting the network list to a target application program through the second information transmission mode;
receiving distribution network information returned by the target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of the at least one access network;
And accessing the target access network according to the attribute information.
Correspondingly, the embodiment of the application also provides a device network distribution device, which comprises:
an obtaining unit, configured to obtain a network list through a first information transmission mode, where the network list includes at least one access network;
a list sending unit, configured to send the network list to a target application program through the second information transmission mode;
the information receiving unit is used for receiving distribution network information returned by the target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of the at least one access network;
and the access unit is used for accessing the target access network according to the attribute information.
In an embodiment, the access unit comprises:
the analysis subunit is used for analyzing the attribute information to obtain a network identifier and network access information;
a determining subunit, configured to determine a target access network from the at least one access network according to the network identifier;
and the access subunit is used for accessing the target access network according to the network access information.
In an embodiment, the list sending unit includes:
a connection establishment subunit, configured to establish a transmission connection with the target application program through the second information transmission mode;
and the list sending subunit is used for sending the network list to the target application program through the transmission connection.
The embodiment of the application also provides a device network distribution method, which comprises the following steps:
receiving a network list sent by the Internet of things equipment through a second information transmission mode, wherein the network list comprises at least one access network;
determining a target access network from the at least one access network;
generating distribution network information according to the attribute information of the target access network;
the distribution network information is sent to the internet of things equipment, the distribution network information is used for indicating the internet of things equipment to access the target access network based on attribute information of the target access network, the attribute information is contained in the distribution network information, the distribution network information receives a network list returned by the internet of things equipment through a second information transmission mode based on a target application program, and the network list is acquired by the internet of things equipment through a first information transmission mode.
Correspondingly, the embodiment of the application also provides a device network distribution device, which comprises:
the system comprises a list receiving unit, a network list processing unit and a network processing unit, wherein the list receiving unit is used for receiving a network list sent by the Internet of things equipment through a second information transmission mode, and the network list comprises at least one access network;
a determining unit, configured to determine a target access network from the at least one access network;
the generating unit is used for generating distribution network information according to the attribute information of the target access network;
the information sending unit is used for sending the distribution network information to the internet of things equipment, the distribution network information is used for indicating the internet of things equipment to access the target access network based on the attribute information of the target access network, the attribute information is contained in the distribution network information, the distribution network information receives a network list returned by the internet of things equipment through a second information transmission mode based on a target application program, and the network list is acquired by the internet of things equipment through a first information transmission mode.
In an embodiment, the generating unit includes:
an obtaining subunit, configured to obtain a network identifier and network access information of the target access network;
The coding subunit is used for coding the network identifier and the network access information to obtain attribute information of the target access network;
and the format conversion processing subunit is used for carrying out format conversion processing on the attribute information to obtain the distribution network information.
In an embodiment, the determining unit includes:
a display subunit, configured to display the at least one access network in a network configuration interface;
a receiving subunit, configured to receive a selection instruction input by a user for the at least one access network;
and the determining subunit is used for determining a target access network from the at least one access network according to the selection instruction.
The embodiment of the application also provides a device network distribution method, which comprises the following steps:
receiving an information acquisition request sent by a target application program;
acquiring identification information of a target application program, category information of the Internet of things equipment and a target time stamp according to the information acquisition request;
encrypting the identification information, the category information and the target timestamp to obtain security verification information;
and sending the security verification information to the internet of things equipment through the target application program, wherein the security verification information is used for performing security verification on the internet of things equipment.
Correspondingly, the embodiment of the application also provides a device network distribution device, which comprises:
the request receiving unit is used for receiving an information acquisition request sent by the target application program Internet of things equipment;
the information acquisition unit is used for acquiring the identification information of the target application program, the category information of the Internet of things equipment and the target timestamp according to the information acquisition request;
the encryption processing unit is used for carrying out encryption processing on the identification information, the category information and the target timestamp to obtain security verification information;
the information sending unit is used for sending the security verification information to the internet of things equipment through the target application program, and the security verification information is used for performing security verification on the internet of things equipment.
Correspondingly, the embodiment of the application also provides computer equipment, which comprises a memory and a processor; the memory stores a computer program, and the processor is configured to run the computer program in the memory, so as to execute the device network allocation method provided by any one of the embodiments of the present application.
Correspondingly, the embodiment of the application also provides a storage medium, wherein the storage medium stores a computer program, and the computer program realizes the equipment network distribution method provided by any one of the embodiments of the application when being executed by a processor.
According to the embodiment of the application, the network list can be obtained through the first information transmission mode, and the network list comprises at least one access network; transmitting the network list to the target application program through a second information transmission mode; receiving distribution network information returned by a target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of the at least one access network; the target access network is accessed according to the attribute information, so that the Internet of things equipment can directly realize networking without network sharing through terminal equipment, and the complexity of network allocation of the Internet of things equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a device networking method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for configuring a network by using a device according to an embodiment of the present application;
Fig. 3 is a schematic flow chart of a method for configuring a network of a device according to an embodiment of the present application;
fig. 4 is a schematic view of a network configuration interface according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a method for configuring a device network according to an embodiment of the present application;
fig. 6 is a schematic diagram of a scenario of a device distribution network system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a device network configuration apparatus according to an embodiment of the present application;
fig. 8 is a schematic diagram of another structure of a device network configuration apparatus according to an embodiment of the present application;
fig. 9 is a schematic diagram of another structure of a device network configuration apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which embodiments of the application are shown, however, in which embodiments are shown, by way of illustration, only, and not in any way all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a device distribution network method, which can be executed by a first device distribution network device, and the first device distribution network device can be integrated in first computer equipment with at least one device distribution network hardware. The first computer device may be an internet of things device.
The internet of things equipment can collect any object or process needing to be monitored, connected and interacted in real time through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, collect various needed information such as sound, light, heat, electricity, mechanics, chemistry, biology and positions of the object or process, and realize ubiquitous connection of the object and people through various possible network access, thereby realizing intelligent sensing, identification and management of the object and the process.
For example, the internet of things device may include a smart air conditioner, a smart speaker, a smart refrigerator, and so on.
The embodiment of the application also provides another equipment network distribution method which can be executed by a second equipment network distribution device, and the second equipment network distribution device can be integrated in second computer equipment with at least one piece of equipment network distribution hardware. Wherein the second computer device may be a terminal device.
The terminal device may include a device that inputs a program and data to a computer via a communication facility or receives a result of processing output from the computer, and can interact with a user.
For example, the terminal device may include a smart phone, a smart tablet, a personal computer, and the like.
The embodiment of the application also provides another equipment network distribution method which can be executed by a third equipment network distribution device, and the third equipment network distribution device can be integrated in third computer equipment with at least one piece of equipment network distribution hardware. Wherein the third computer device may be a cloud server. The cloud server can be a server which is used for communicating with various different types of internet of things equipment and managing and controlling the various different types of internet of things equipment.
The cloud server (Elastic Compute Service, ECS) is a simple, efficient, safe and reliable computing service with elastically scalable processing capacity. The management mode is simpler and more efficient than that of a physical server. A user can quickly create or release any plurality of cloud servers without purchasing hardware in advance.
In an embodiment, as shown in fig. 1, an application scenario schematic diagram of a device networking method provided by the embodiment of the present application is provided, where the application scenario may include an internet of things device, a terminal device, a cloud server, and the like.
Specifically, the internet of things device may acquire a network list through a first information transmission mode, where the network list includes at least one access network; transmitting the network list to the target application program through a second information transmission mode; receiving distribution network information returned by a target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of at least one access network; and accessing the target access network according to the attribute information.
The terminal equipment can receive a network list sent by the Internet of things equipment through a second information transmission mode, wherein the network list comprises at least one access network; determining a target access network from at least one access network; generating distribution network information according to attribute information of a target access network; and sending the distribution network information to the Internet of things equipment.
The cloud server can receive an information acquisition request sent by a target application program; acquiring identification information of a target application program, category information of the Internet of things equipment and a target time stamp according to the information acquisition request; encrypting the identification information, the category information and the target timestamp to obtain security verification information; and sending the security verification information to the Internet of things equipment through the target application program, wherein the security verification information is used for performing security verification on the Internet of things equipment.
The following detailed description is given, respectively, of the embodiments, and the description sequence of the following embodiments is not to be taken as a limitation of the preferred sequence of the embodiments.
The embodiment of the application will be described from the perspective of a first device network distribution device, which may be integrated in a first computer device, which may be an internet of things device.
As shown in fig. 2, a device network allocation method is provided, where the device network allocation method may be executed by an internet of things device, and the specific flow includes:
101. a network list is obtained through a first information transmission mode, the network list comprising at least one access network.
Wherein the information transmission mode includes a mode in which information can be transmitted between a plurality of devices. For example, the information transmission modes may include an Access Point (AP) mode and a Station (STA) mode, and so on.
Wherein the AP may be a creator of a wireless network, being a central point of the network. A wireless router used in a typical home or office is an AP.
Wherein the STA may include a device connected to a wireless network. Each of the devices connected to the wireless network may become a STA. For example, an internet of things device, a terminal device, etc. connected to a wireless network can be regarded as one STA.
Wherein the first information transmission mode may include an STA mode.
In an embodiment, the internet of things device provided by the embodiment of the present application may include a wireless (Wireless Fidelity, wiFi) module, where the WiFi module may include two modes of operation, i.e., AP and STA.
The STA working mode can support the Internet of things equipment to access the WiFi network, so that communication with other equipment is realized. The AP working mode may enable the internet of things device to send out a WiFi signal for connection with other devices or communication with other devices.
In an embodiment, when the internet of things device operates in the STA mode, the internet of things device may acquire a network list through the STA mode, where the network list includes at least one access network.
The access network may include various types of access networks, among others. Such as a wireless access network, a bluetooth access network, etc.
102. And sending the network list to the target application program through the second information transmission mode.
Wherein the second information transmission mode may refer to an AP mode.
In an embodiment, after the internet of things device acquires the network list through the STA mode, the network list may be sent to the target application through the AP mode.
The target application may be an application that may display a network list on the terminal device. For example, the target application may be an application that controls the internet of things device, and so on.
The target application program can provide a display interface for a user using the internet of things device, so that the user can perform network distribution for the internet of things device or control the internet of things device to execute functions through the display interface, and the like. For example, when the internet of things device is an intelligent air conditioner, a user can receive a network list sent by the intelligent air conditioner through a target application program, and network distribution is performed on the intelligent air conditioner according to the network list. In addition, the temperature of the intelligent air conditioner can be adjusted or the switch of the intelligent air conditioner can be controlled through the target application program, and the like. For another example, when the internet of things device is an intelligent sound box, the user can receive a network list sent by the intelligent sound box through the target application program, and the intelligent sound box is distributed according to the network list. In addition, the user can adjust the volume of the intelligent sound box or control the switch of the intelligent sound box through the target application program, and the like.
103. And receiving distribution network information returned by the target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of at least one access network.
In an embodiment, after the internet of things device sends the network list to the target application program through the second information transmission mode, if the target application program correctly receives the network list, the internet of things device may receive the network allocation information returned by the target application program.
The distribution network information may include attribute information of the target access network. Wherein the target access network may be one of at least one access network in the network list. For example, 10 access networks may be included in the network list, and the target access network may be one of the 10 access networks.
The attribute information of the target access network includes information that enables the internet of things device to identify the target access network and access the target access network.
104. And accessing the target access network according to the attribute information.
In an embodiment, the target application may obtain the network identification of the target access network and the network access information after receiving the network list. Then, the target application program can encode the network identification and the network access information, thereby obtaining the attribute information of the target access network.
Therefore, after the internet of things device obtains the attribute information of the target access network, the attribute information can be analyzed to obtain the network identifier and the network access information. And then accessing the target access network according to the network identification and the network access information.
The embodiment of the application provides a device network distribution method, which can acquire a network list through a first information transmission mode, wherein the network list comprises at least one access network; transmitting the network list to the target application program through a second information transmission mode; receiving distribution network information returned by a target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of at least one access network; and accessing the target access network according to the attribute information. According to the embodiment of the application, the STA mode and the AP mode are realized on the WiFi module of the Internet of things equipment, so that the Internet of things equipment can be directly connected, the terminal equipment is not required to share the network for the Internet of things equipment, and the complexity of network distribution of the Internet of things equipment is reduced.
In addition, in the process of the Internet of things equipment networking, through the safety verification information and the safety encryption information, safety verification is achieved between the Internet of things equipment and the cloud server, the situation that the Internet of things equipment is falsely bound is avoided, and the safety of the Internet of things equipment networking is improved.
According to the method described in the above embodiments, examples are described in further detail below.
In an embodiment, when the internet of things device sends the network list to the target application program through the second information transmission mode, a transmission connection can be established between the internet of things device and the target application program through the second information transmission mode, and then the network list is sent to the target application program through the transmission connection. Specifically, the step of "transmitting the network list to the target application program through the second information transmission mode" may include:
establishing transmission connection with a target application program through a second information transmission mode;
the network list is sent to the target application over the transport connection.
The transmission connection comprises a logic connection which can enable reliable transmission of information between the Internet of things equipment and the target application program.
In an embodiment, the transport connection may be a transmission control protocol (Transmission Control Protocol, TCP) connection. TCP is a connection-oriented, reliable, byte-stream based transport layer communication protocol that is intended to accommodate a layered protocol hierarchy that supports multiple network applications.
In one embodiment, the internet of things device may establish a TCP connection with the target application through the AP mode and then send the network list to the target application through the TCP connection.
When the TCP connection is established with the target application program through the AP mode, the TCP connection can be established between the Internet of things equipment and the target application program through three handshakes. And then, the internet of things device sends the network list to the target application program through the TCP connection.
In an embodiment, the attribute information may include a network identification of the target access network and network access information.
The network identifier includes a symbol that enables the internet of things device to identify the target access network. For example, the network identification may be a service set identification (Service Set Identifier, SSID) or a basic service set (Basic Service Set Identifier, SSID), and so on.
The network access information may include information for enabling the internet of things device to access the target access network. For example, the network access information may include a password that needs to be provided when the internet of things device accesses the target access network, and so on.
In an embodiment, after receiving the network allocation information returned by the target application program, the internet of things device may perform format conversion processing on the network allocation information, so as to obtain attribute information. For example, when the distribution network information is frame information, the frame information may be converted into a character string, thereby obtaining attribute information.
In an embodiment, the target application may obtain the network identification of the target access network and the network access information after receiving the network list. Then, the target application program can encode the network identification and the network access information, thereby obtaining the attribute information of the target access network.
Therefore, after the internet of things device obtains the attribute information of the target access network, the attribute information can be analyzed to obtain the network identifier and the network access information. And then accessing the target access network according to the network identification and the network access information. Specifically, the step of accessing the target access network according to the attribute information may include:
analyzing the attribute information to obtain a network identifier and network access information;
and accessing the target access network according to the network identification and the network access information.
In an embodiment, the attribute information is obtained after the terminal device encodes the network identifier and the network access information, so the attribute information can be parsed to obtain the network identifier and the network access information.
When analyzing the attribute information, the attribute information can be analyzed according to a preset analysis logic. The preset analysis logic corresponds to coding logic for coding the network identifier and the network access information.
For example, when the network access information and the network identifier are encrypted in a direct splicing manner, the network access information and the network identifier may be parsed according to a splicing rule when the attribute information is parsed, so as to obtain the network identifier and the network access information, for example, the attribute information may be disassembled according to the splicing rule, so as to obtain the network identifier and the network access information.
Then, the internet of things device may determine a target access network in the at least one access network according to the network identification. For example, the internet of things device may match the network identification with the network identification of each access network. When the network device matches the network identification of the access network, the access network may be determined to be the target access network.
And then, the Internet of things equipment can access the target access network according to the network access information. For example, the internet of things device may send the network access information to a router corresponding to the target access network through a first information transmission mode. And then, the router verifies the network access information, and when the network access information passes the verification, the Internet of things equipment can access the target access network.
In an embodiment, the internet of things device may also receive security verification information sent by the target application. The security verification information is used for performing security verification among the cloud server, the target application program and the Internet of things equipment, so that network distribution behavior of the external equipment pseudo Internet of things equipment is avoided, and network distribution security of the Internet of things equipment is improved.
The security verification information (may also be referred to as a bind code) is generated by the cloud server according to the identification information of the target application program, the category information of the internet of things device accessing the target access network, and the target timestamp.
The identification information of the target application program may include an account ID and an account password of the user using the target application program, and the like.
The category information of the internet of things device may include information indicating what category the internet of things device accessing the target access network belongs to. For example, when the internet of things device is an intelligent air conditioner, the category information of the internet of things device may indicate that the internet of things device is an intelligent air conditioner. For another example, when the internet of things device is an intelligent speaker, the category information of the internet of things device may indicate that the internet of things device is an intelligent speaker.
The time stamp is data generated by using a digital signature, and the signed object comprises information such as original file information, signature parameters, signature time and the like. The time stamping system is used for generating and managing time stamps, and digital signature is carried out on the signature object to generate the time stamps so as to prove that the original file exists before the signature time. The main purpose of the time stamp is to authenticate the time of data generation by a certain technical means, thereby verifying whether the data has been tampered after generation. The provider of the time stamp service must prove that the time source used in the service is trusted and that the provided time stamp service is secure.
After the internet of things device receives the security verification information, the internet of things device can encrypt the security verification information and the network identifier to obtain security encryption information. And then, the security encryption information is sent to the cloud server, so that the cloud server performs security authentication on the Internet of things equipment accessed to the target access network according to the security encryption information. Specifically, after the step of accessing the target access network according to the network access information, it may include:
encrypting the security verification information and the network identifier to obtain security encryption information;
And sending the security encryption information to the cloud server, so that the cloud server carries out security authentication on the Internet of things equipment accessing the target access network according to the security encryption information.
When the security verification information and the network identifier are encrypted, the security verification information and the network identifier can be encrypted according to a preset encryption rule.
In one embodiment, the security verification information corresponds to a "verification secret" between the target application, the internet of things device, and the cloud server.
For example, after receiving the security verification information, the internet of things device may return, to the cloud server, security encryption information generated based on the security verification information, so that the cloud server determines whether the internet of things device is in a secure state according to the security encryption information.
For example, the cloud server may match the secure encryption information with the secure encryption information stored in the cloud server, and when the secure encryption information and the secure encryption information are the same, the internet of things device is indicated to be in a secure state, otherwise, the internet of things device is indicated to be in an unsafe state. For another example, the cloud server may match the security encryption information with the security verification information, and when the security encryption information and the security verification information match, the cloud server indicates that the internet of things device is in a secure state, or else indicates that the internet of things device is in an unsafe state.
The cloud server sends the security verification information to the target application program, and the target application program sends the security verification information to the internet of things device, so that the internet of things device encrypts the security verification information and then sends the security encryption information to the cloud server for security verification. And the target application program, the Internet of things equipment and the cloud server form a security verification link through the security verification information. When the cloud server verifies that the Internet of things equipment is in an unsafe state, the cloud server can send alarm information to the target application program to remind a user, so that the user can disconnect the Internet of things equipment according to the alarm information, and malicious control of malicious molecules on the Internet of things equipment is prevented.
In one embodiment, in order to match the security encryption information with the security verification information, the security verification information may be encrypted by a security preset encryption rule. The preset encryption rule may be a prescribed encryption rule between the internet of things device and the cloud server.
For example, when the cloud server matches the secure encryption information, the cloud server may add the secure encryption information and the secure authentication information, and when the value obtained by adding is equal to a preset matching value, it indicates that the secure encryption information and the secure authentication information are matched, otherwise, the secure encryption information and the secure authentication information are not matched. At this time, the security encryption information may be generated based on the security verification information such that the security verification information and the security encryption information are added to be equal to a preset matching value.
In an embodiment, after the internet of things device generates the encrypted information, the secure encrypted information may be sent to the cloud server. When the secure encryption information is sent to the cloud server, the secure encryption information can be sent to the cloud server through the TCP connection of the AP mode, so that the secure encryption information can be sent to the cloud server through a secure channel, the secure encryption information is prevented from being broken maliciously, and the security of information transmission is improved.
In an embodiment, when the internet of things device accesses the target network, the internet of things device may further send the registration address to the cloud server. The registration address of the internet of things device may be a server address where the internet of things device is to be connected to a network. Then, the cloud server can bind the Internet of things equipment and the corresponding server according to the registration address, so that the Internet of things equipment is successfully networked.
The embodiment of the application provides a device network distribution method, which can acquire a network list through a first information transmission mode, wherein the network list comprises at least one access network; transmitting the network list to the target application program through a second information transmission mode; receiving distribution network information returned by a target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of at least one access network; and accessing the target access network according to the attribute information. According to the embodiment of the application, the STA mode and the AP mode are realized on the WiFi module of the Internet of things equipment, so that the Internet of things equipment can be directly connected, the terminal equipment is not required to share the network for the Internet of things equipment, and the complexity of network distribution of the Internet of things equipment is reduced.
In addition, in the process of the Internet of things equipment networking, through the safety verification information and the safety encryption information, safety verification is achieved between the Internet of things equipment and the cloud server, the situation that the Internet of things equipment is falsely bound is avoided, and the safety of the Internet of things equipment networking is improved.
In an embodiment, as shown in fig. 1, the second device network allocation apparatus may be integrated on the terminal device to implement another device network allocation method according to the embodiment of the present application. Specifically, the terminal device may receive a network list sent by the internet of things device through the second information transmission mode, where the network list includes at least one access network; determining a target access network from at least one access network; generating distribution network information according to attribute information of a target access network; and sending distribution network information to the Internet of things equipment, wherein the distribution network information is used for indicating the Internet of things equipment to access the target access network.
The following detailed description is given, respectively, of the embodiments, and the description sequence of the following embodiments is not to be taken as a limitation of the preferred sequence of the embodiments.
As shown in fig. 3, a device network allocation method is provided, where the device network allocation method may be performed by a terminal device, for example, may be performed by a terminal device such as a smart phone or a smart tablet, and the specific flow includes:
201. And receiving a network list sent by the Internet of things equipment through the second information transmission mode, wherein the network list comprises at least one access network.
After the internet of things device sends the network list to the target application program through the second information transmission mode, the target application program receives the network list through the second information transmission mode and acquires at least one access network included in the network list.
202. A target access network is determined from the at least one access network.
In one embodiment, the target access network may be determined from the at least one access network after the target application has acquired the at least one access network. Specifically, the target application may display at least one access network within the network configuration interface. Then, a selection instruction of the user is received, and a target access network is determined from at least one access network according to the selection instruction. Thus, the step of "determining a target access network from at least one access network" may comprise:
displaying at least one access network within a network configuration interface;
receiving a selection instruction input by a user aiming at least one access network;
and determining a target access network from the at least one access network according to the selection instruction.
Wherein the network configuration interface comprises an interface providing a distribution network to the user. For example, as shown, the network configuration interface may display at least one access network such that a user may select at least one access network. For another example, the network configuration interface may also display an information input component such that a user may input network access information through the information input component.
Thus, after the target application acquires the at least one access network, the at least one access network may be displayed within the network configuration interface. The user may then select among the at least one access network such that the target application receives a selection instruction entered by the user for the at least one access network. The target application may then determine a target access network from the at least one access network based on the selection instruction.
In one embodiment, the selection instruction includes location information of the target access network in the network configuration interface, and then the target application program can determine the target access network in at least one access network according to the location information.
203. And generating distribution network information according to the attribute information of the target access network.
In one embodiment, after the target application determines the target access network, the configuration network information may be generated according to attribute information of the target access network. Specifically, the step of generating the distribution network information according to the attribute information of the target access network may include:
acquiring a network identifier and network access information of a target access network;
encoding the network identifier and the network access information to obtain attribute information of a target access network;
and carrying out format conversion processing on the attribute information to obtain distribution network information.
In an embodiment, after the target application program determines the target access network through the network configuration interface, an information input component may be displayed on the network configuration interface, so as to obtain network access information input by the user through the information input component.
In addition, the target application program can also obtain the network identification of the target access network by identifying the target access network.
In an embodiment, after obtaining the network identifier and the network access information of the target access network, the target application program may encode the network identifier and the target access information to obtain attribute information of the target access network.
When the network identifier and the target access information are encoded, the network identifier and the target access information may be encoded in a plurality of ways.
For example, the network identifier and the target access information may be directly spliced, so as to obtain attribute information. In addition, ASCII encoding, UTF-8, UTF-16 encoding, unicode encoding, etc. may also be performed on the target access information and network identification to obtain attribute information.
In an embodiment, after obtaining the attribute information of the target access network, in order to enable the attribute information to be sent to the internet of things device through the second information transmission mode, format conversion processing may be performed on the attribute information to obtain the distribution network information. And then, the target application program transmits the distribution network information to the Internet of things equipment through a second information transmission mode.
For example, when the target application transmits the attribute information through the AP mode, the attribute information may be transmitted to the internet of things device through the wireless link. When the attribute information is transmitted to the internet of things device through the wireless link, format conversion processing can be performed on the attribute information according to the wireless protocol, so that distribution network information is obtained. And then, transmitting the distribution network information to the Internet of things equipment.
When the format of the attribute information is a character string, the target application may convert the attribute information into a frame format, thereby obtaining the distribution network information. Then, the target application program can transmit the distribution network information to the Internet of things equipment through the AP mode.
204. And sending the distribution network information to the Internet of things equipment, wherein the distribution network information is used for indicating the Internet of things equipment to access the target access network.
In an embodiment, after generating the distribution network information, the target application program may send the distribution network information to the internet of things device, so that the internet of things device accesses the target access network according to the distribution network information. The network allocation information is used for indicating the Internet of things equipment to access the target access network based on attribute information of the target access network, the attribute information is contained in the network allocation information, the network allocation information is returned by the Internet of things equipment through a network list sent by the second information transmission mode based on a target application program, and the network list is acquired by the Internet of things equipment through the first information transmission mode.
In an embodiment, the target application program may further receive the security verification information sent by the cloud server, and send the security verification information to the internet of things device while sending the configuration network information to the internet of things device, so that the internet of things device can achieve security authentication by using the security verification information.
The embodiment of the application provides a network distribution method, which can receive a network list sent by Internet of things equipment through a second information transmission mode, wherein the network list comprises at least one access network; determining a target access network from at least one access network; generating distribution network information according to attribute information of a target access network; and sending distribution network information to the Internet of things equipment, wherein the distribution network information is used for indicating the Internet of things equipment to access the target access network. In the embodiment of the application, the terminal equipment provides a network configuration interface for the user, so that the user can directly allocate the network to the Internet of things equipment through the network configuration interface, and the complexity of the Internet of things equipment allocation is reduced.
In an embodiment, as shown in fig. 1, the third device network allocation apparatus may be integrated on a cloud service to implement another device network allocation method according to the embodiment of the present application. Specifically, the cloud server may receive an information acquisition request sent by the target application; acquiring identification information of a target application program, category information of the Internet of things equipment and a target time stamp according to the information acquisition request; encrypting the identification information, the category information and the target timestamp to obtain security verification information; and sending security verification information to the Internet of things equipment through the target application program, wherein the security verification information is used for performing security verification on the Internet of things equipment.
The following detailed description is given, respectively, of the embodiments, and the description sequence of the following embodiments is not to be taken as a limitation of the preferred sequence of the embodiments.
As shown in the figure, a device network allocation method is provided, and the device network allocation method may be executed by a cloud server, and the specific flow includes:
301. and receiving an information acquisition request sent by the target application program.
In an embodiment, when a user performs network configuration on an internet of things device, a target application program may send an information acquisition request to a cloud server when receiving a network configuration signal sent by the internet of things device, and through the information acquisition request, the target application program may request to obtain security verification information from the cloud server.
After receiving the information acquisition request sent by the target application program, the cloud server can generate security verification information according to the information acquisition request and send the security verification information to the target application program.
302. And acquiring the identification information of the target application program, the category information of the Internet of things equipment and the target timestamp according to the information acquisition request.
In an embodiment, the information acquisition request sent by the target application program may include identification information of the target application program. Therefore, when the cloud server receives the information acquisition request, the cloud server can identify the information acquisition request, so that the identification information of the target application program is obtained.
In an embodiment, the cloud server may send a category information obtaining request to the internet of things device, so as to obtain category information of the internet of things device. The internet of things equipment of different categories has different category information. For example, the category information of the intelligent air conditioner is "001", and the category information of the intelligent sound box is "002".
In an embodiment, the cloud server may also request the acquisition of the timestamp from the federated trust timestamp service center, thereby obtaining the target timestamp.
In an embodiment, the cloud server may further obtain a registration address of the internet of things device, where the registration address of the internet of things device may be a server address where the internet of things device is to be connected to a network. Then, the cloud server can bind the Internet of things equipment and the corresponding server according to the registration address, so that the Internet of things equipment is successfully networked.
303. And carrying out encryption processing on the identification information, the category information and the target timestamp to obtain security verification information.
In an embodiment, after the identification information of the target application program, the category information of the internet of things device and the target timestamp are obtained, the cloud server may encrypt the identification information, the category information and the target timestamp, so as to obtain the security verification information.
The identification information, the category information and the target timestamp can be encrypted in various modes to obtain the security verification information. For example, the identification information, the category information, and the target timestamp may be encrypted by means of encryption, asymmetric encryption, and a Message-Digest Algorithm (MD 5), to obtain the security verification information.
For example, the cloud server may perform encryption processing on the identification information, the category information and the target timestamp in a symmetric encryption manner to obtain the security verification information.
When the identification information, the category information and the target timestamp are encrypted in a symmetrical encryption mode, a preset key can be adopted to carry out logic operation on the identification information, the category information and the target timestamp, so that safety verification information is obtained.
304. And sending the security verification information to the Internet of things equipment through the target application program, wherein the security verification information is used for performing security verification on the Internet of things equipment.
In an embodiment, after the security verification information is obtained, the cloud server may send the security verification information to the target application program, and then the target application program sends the security verification information to the gei internet of things device, so that the cloud server uses the security verification information to verify the internet of things device.
In an embodiment, after the cloud server sends the security verification information to the internet of things device, the cloud server may receive the security encryption information returned by the internet of things device and match the security encryption information with the security verification information. If the security verification information is matched with the security encryption information, the fact that the Internet of things equipment is in a security state currently is indicated, and the Internet of things equipment is not forged and bound. If the security verification information and the security encryption information are not matched, the fact that the internet of things equipment is possibly falsely bound is indicated.
Wherein the secure encryption information and the secure authentication information may be matched in a number of ways. For example, the secure encryption information and the secure authentication information may be added, and when the added value is equal to a preset matching value, it is indicated that the secure encryption information and the secure authentication information are matched, otherwise, the secure encryption information and the secure authentication information are not matched. For another example, the secure encryption information and the secure authentication information may be multiplied, and when the value obtained by the multiplication is equal to a preset matching value, it is indicated that the secure encryption information and the secure authentication information are matched, otherwise, the secure encryption information and the secure authentication information are not matched. For another example, the secure encryption information and the secure authentication information may be further computed more complex, and the computed value may be matched with a preset matching value. And when the calculated value is equal to the preset matching value, the security encryption information is matched with the security verification information, and otherwise, the security encryption information is not matched with the security verification information.
The embodiment of the application provides a network distribution method, wherein a cloud server can receive an information acquisition request sent by a target application program; acquiring identification information of a target application program, category information of the Internet of things equipment and a target time stamp according to the information acquisition request; encrypting the identification information, the category information and the target timestamp to obtain security verification information; and sending the security verification information to the Internet of things equipment through the target application program, wherein the security verification information is used for performing security verification on the Internet of things equipment. According to the embodiment of the application, the cloud server sends the security verification information to the Internet of things equipment, so that the cloud server can monitor the networking process of the Internet of things equipment according to the security verification information, and the network distribution complexity of the Internet of things equipment is reduced, and meanwhile, the network distribution security of the Internet of things equipment is improved.
On the basis of the above embodiments, examples will be described in further detail below.
The embodiment of the application is described from the perspective of a device distribution network system, which may include an internet of things device, a terminal device, a cloud server, and the like.
As shown in fig. 6, a specific flow of a device network allocation method provided by an embodiment of the present application may be as follows:
401. The internet of things device obtains a network list.
For example, the internet of things device obtains a network list through a first information transmission mode, the network list including at least one access network.
402. The target application program requests the internet of things device to acquire the network list.
403. The internet of things device sends the network list to the target application program.
For example, the internet of things device sends the network list to the target application program through the second information transmission mode.
Wherein the target application, after obtaining the network list, may determine the target access network from the at least one access network. And then, the target application program generates distribution network information according to the attribute information of the target access network, and sends the distribution network information to the Internet of things equipment.
404. The target application program sends an information acquisition request to the cloud service.
For example, the target application transmits an information acquisition request to the cloud service, so that the cloud server can generate security verification information after receiving the information acquisition request, and transmit the security verification information to the target application.
405. And the cloud server sends the security verification information to the target application program.
For example, the cloud service may send the security verification information to the target application program, so that the target application program sends the security verification information to the internet of things device, and the internet of things device performs security verification by using the security verification information.
406. And the target application program sends the distribution network information and the security verification information to the Internet of things equipment.
407. And the internet of things equipment sends the information success instruction to the target application program.
After the internet of things device receives the configuration information and the security verification information, an information success instruction can be sent to the target application program, so that the target application program can display a message that the internet of things device has successfully received the information to a user on a network configuration interface.
408. The internet of things device accesses the target access network.
The internet of things equipment can perform format conversion on the distribution network information, so that attribute information is obtained. And then, the Internet of things equipment can access the target access network according to the attribute information.
409. And the Internet of things equipment sends a network connection success instruction to the target application program.
After the internet of things device successfully accesses the target access network, the internet of things device can send a network connection success instruction to the target application program, so that the target application program can display a message that the internet of things device has successfully networked to a user in a network configuration interface.
410. And the internet of things equipment sends the security encryption information to the cloud server.
After the internet of things device receives the security verification information, the security verification information can be encrypted, so that security encryption information is obtained. Then, the internet of things device may send the secure encryption information to the cloud server.
411. And the cloud server sends a binding success instruction to the target application program.
The cloud service can verify the Internet of things equipment according to the security encryption, and when the verification passes, the security of the Internet of things equipment is indicated. The cloud server may then send a bind success instruction to the target application.
In order to better implement the device network distribution method provided by the embodiment of the present application, in an embodiment, a first device network distribution device is further provided, where the first device network distribution device may be integrated in a first computer device, and the first computer device may be an internet of things device. The meaning of the nouns is the same as that of the equipment network distribution method of the product, and specific implementation details can be referred to the description of the method embodiment.
In an embodiment, a first device network allocation apparatus is provided, where the first device network allocation apparatus may be specifically integrated in a first computer device (for example, an internet of things device), as shown in fig. 7, and the first device network allocation apparatus includes: an acquisition unit 501, a list transmission unit 502, an information reception unit 503, and an access unit 504 are specifically as follows:
An obtaining unit 501, configured to obtain a network list through a first information transmission mode, where the network list includes at least one access network;
a list sending unit 502, configured to send the network list to a target application program through the second information transmission mode;
an information receiving unit 503, configured to receive distribution network information returned by the target application, where the distribution network information includes attribute information of a target access network, and the target access network includes one of the at least one access network;
an access unit 504, configured to access the target access network according to the attribute information.
In an embodiment, a second device distribution network apparatus is provided, which may be integrated in a second computer device (e.g., a terminal device). As shown in fig. 8, the second device network allocation apparatus includes: list receiving unit 601, determining unit 602, generating unit 603, and information transmitting unit 604, concretely as follows:
a list receiving unit 601, configured to receive a network list sent by an internet of things device through a second information transmission mode, where the network list includes at least one access network;
a determining unit 602, configured to determine a target access network from the at least one access network;
A generating unit 603, configured to generate distribution network information according to attribute information of the target access network;
the information sending unit 604 is configured to send the distribution network information to an internet of things device, where the distribution network information is used to instruct the internet of things device to access the target access network, the distribution network information is used to instruct the internet of things device to access the target access network based on attribute information of the target access network, the attribute information is included in the distribution network information, the distribution network information receives, based on a target application program, a network list returned by the internet of things device through a network list sent by a second information transmission mode, and the network list is acquired by the internet of things device through a first information transmission mode.
In an embodiment, a third device distribution network apparatus is provided, which may be integrated in a third computer device (e.g., a cloud server) in particular. As shown in fig. 9, the third device network allocation apparatus includes: a request receiving unit 701, an information acquiring unit 702, an encryption processing unit 703, and an information transmitting unit 704, concretely as follows:
a request receiving unit 701, configured to receive an information acquisition request sent by a target application program;
An information obtaining unit 702, configured to obtain, according to the information obtaining request, identification information of a target application program, category information of an internet of things device, and a target timestamp;
an encryption processing unit 703, configured to perform encryption processing on the identification information, the category information, and the target timestamp, to obtain security verification information;
the information sending unit 704 is configured to send security verification information to the internet of things device through the target application program, where the security verification information is used for performing security verification on the internet of things device.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
Through the first equipment network distribution device, the second equipment device and the third equipment device, the Internet of things equipment can directly realize networking, network sharing is not needed through terminal equipment, and complexity of Internet of things equipment network distribution is reduced.
The embodiment of the application also provides computer equipment, which can be one of the first computer equipment, the second computer equipment and the third computer equipment. For example, the computer device may be an internet of things device, which may be an intelligent air conditioner, an intelligent sound box, or the like; for another example, the computer device may be a second computer device, such as a terminal device or the like; for another example, the computer device may be a third computer device, such as a cloud server or the like. As shown in fig. 10, a schematic structural diagram of a terminal according to an embodiment of the present application is shown, specifically:
The computer device may include one or more processing cores 'processors 801, one or more computer-readable storage media's memory 802, power supply 803, and input unit 804, among other components. Those skilled in the art will appreciate that the computer device structure shown in FIG. 10 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components. Wherein:
the processor 801 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 802, and calling data stored in the memory 802, thereby performing overall monitoring of the computer device. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor that primarily handles operating systems, user pages, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 801.
The memory 802 may be used to store software programs and modules that the processor 801 executes by running the software programs and modules stored in the memory 802 to perform various functional applications and device networking. The memory 802 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.
The computer device also includes a power supply 803 for powering the various components, preferably, the power supply 803 can be logically coupled to the processor 801 via a power management system such that functions such as managing charge, discharge, and power consumption can be performed by the power management system. The power supply 803 may also include one or more of any components, such as 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.
The computer device may further comprise an input unit 804, which input unit 804 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the computer device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 801 in the computer device loads executable files corresponding to the processes of one or more application programs into the memory 802 according to the following instructions, and the processor 801 executes the application programs stored in the memory 802, so as to implement various functions, as follows:
acquiring a network list through a first information transmission mode, wherein the network list comprises at least one access network;
transmitting the network list to a target application program through the second information transmission mode;
receiving distribution network information returned by the target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of the at least one access network;
and accessing the target access network according to the attribute information.
Or the following functions are realized:
receiving a network list sent by the Internet of things equipment through a second information transmission mode, wherein the network list comprises at least one access network;
determining a target access network from the at least one access network;
generating distribution network information according to the attribute information of the target access network;
and sending the distribution network information to the internet of things equipment, wherein the distribution network information is used for indicating the internet of things equipment to access the target access network.
Or the following functions are realized:
receiving an information acquisition request sent by a target application program;
acquiring identification information of a target application program, category information of the Internet of things equipment and a target time stamp according to the information acquisition request;
encrypting the identification information, the category information and the target timestamp to obtain security verification information;
and sending the security verification information to the Internet of things equipment through the target application program, wherein the security verification information is used for performing security verification on the Internet of things equipment.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations of the above embodiments.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to perform the steps in any of the device network allocation methods provided in the embodiments of the present application. For example, the computer program may perform the steps of:
acquiring a network list through a first information transmission mode, wherein the network list comprises at least one access network;
transmitting the network list to a target application program through the second information transmission mode;
receiving distribution network information returned by the target application program, wherein the distribution network information comprises attribute information of a target access network, and the target access network comprises one of the at least one access network;
and accessing the target access network according to the attribute information.
For another example, the computer program may perform the steps of:
Receiving a network list sent by the Internet of things equipment through a second information transmission mode, wherein the network list comprises at least one access network;
determining a target access network from the at least one access network;
generating distribution network information according to the attribute information of the target access network;
and sending the distribution network information to the internet of things equipment, wherein the distribution network information is used for indicating the internet of things equipment to access the target access network.
For another example, the computer program may perform the steps of:
receiving an information acquisition request sent by a target application program;
acquiring identification information of a target application program, category information of the Internet of things equipment and a target time stamp according to the information acquisition request;
encrypting the identification information, the category information and the target timestamp to obtain security verification information;
and sending the security verification information to the Internet of things equipment through the target application program, wherein the security verification information is used for performing security verification on the Internet of things equipment.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The steps in any of the device network allocation methods provided by the embodiments of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects that any of the device network allocation methods provided by the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
The foregoing describes in detail a method, an apparatus, a computer device and a storage medium for device configuration provided by the embodiments of the present application, and specific examples are applied to illustrate the principles and implementation of the present application, where the foregoing description of the embodiments is only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (9)

1. The equipment network distribution method is characterized by being applicable to equipment of the Internet of things and comprising the following steps of:
acquiring a network list through a first information transmission mode, wherein the network list comprises at least one access network;
establishing transmission connection with a target application program through a second information transmission mode, wherein the first information transmission mode and the second information transmission mode are different information transmission modes, and the information transmission modes comprise modes for transmitting information between devices;
transmitting the netlist to the target application over the transport connection;
receiving distribution network information returned by a target application program of terminal equipment through the transmission connection, wherein the distribution network information is used for indicating the Internet of things equipment to access a target access network, the distribution network information comprises attribute information of the target access network, and the target access network comprises one of the at least one access network;
Accessing the target access network according to the attribute information;
the accessing the target access network according to the attribute information includes: analyzing the attribute information to obtain a network identifier and network access information; and accessing the target access network according to the network identification and the network access information;
the method further comprises the steps of:
receiving security verification information sent by a target application program, wherein the security verification information is generated by a cloud server based on identification information of the target application program, category information of internet of things equipment accessed to a target access network and a target timestamp;
the method further comprises the steps of, after the target access network is accessed according to the network access information:
encrypting the security verification information and the network identifier to obtain security encryption information;
and sending the security encryption information to the cloud server, so that the cloud server carries out security authentication on the Internet of things equipment accessed to the target access network according to the security encryption information.
2. The equipment network distribution method is characterized by being suitable for terminal equipment and comprising the following steps:
receiving a network list sent by an internet of things device through a second information transmission mode, wherein the network list is obtained by the internet of things device through a first information transmission mode and comprises at least one access network, the first information transmission mode and the second information transmission mode are different information transmission modes, and the information transmission modes comprise modes for transmitting information between devices;
Determining a target access network from the at least one access network;
generating distribution network information according to the attribute information of the target access network;
transmitting the distribution network information to the internet of things equipment through the second information transmission mode so as to instruct the internet of things equipment to access the target access network; the Internet of things equipment analyzes the attribute information to obtain a network identifier and network access information, and the target access network is accessed according to the network identifier and the network access information; after the internet of things device is accessed to the target access network, the security verification information and the network identification sent by the target application program are encrypted to obtain security encryption information, the security encryption information is sent to a cloud server, so that the cloud server carries out security authentication on the internet of things device accessed to the target access network according to the security encryption information, and the security verification information is generated by the cloud server based on the identification information of the target application program, the category information of the internet of things device accessed to the target access network and a target timestamp.
3. The device network allocation method according to claim 2, wherein the generating network allocation information according to the attribute information of the target access network includes:
Acquiring a network identifier and network access information of the target access network;
encoding the network identifier and the network access information to obtain attribute information of the target access network;
and carrying out format conversion processing on the attribute information to obtain the distribution network information.
4. The device networking method of claim 2, wherein said determining a target access network from said at least one access network comprises:
displaying the at least one access network within a network configuration interface;
receiving a selection instruction input by a user aiming at the at least one access network;
and determining a target access network from the at least one access network according to the selection instruction.
5. The device networking method of claim 2, wherein the method further comprises:
receiving the security verification information sent by a cloud server;
the sending the distribution network information to the internet of things device through the second information transmission mode includes:
and sending the distribution network information and the security verification information to the Internet of things equipment through the second information transmission mode, so that the Internet of things equipment utilizes the security verification information to realize security verification.
6. The utility model provides a network device is joined in marriage to equipment which characterized in that is applicable to thing networking equipment includes:
an obtaining unit, configured to obtain a network list through a first information transmission mode, where the network list includes at least one access network;
the device comprises a building unit, a control unit and a control unit, wherein the building unit is used for building transmission connection with a target application program through a second information transmission mode, the first information transmission mode and the second information transmission mode are different information transmission modes, and the information transmission modes comprise modes for transmitting information between devices;
a transmitting unit, configured to transmit the network list to the target application program through the transport connection;
the information receiving unit is used for receiving distribution network information returned by a target application program of the terminal equipment through the transmission connection, wherein the distribution network information is used for indicating the Internet of things equipment to access a target access network, the distribution network information comprises attribute information of the target access network, and the target access network comprises one of the at least one access network;
an access unit, configured to access the target access network according to the attribute information; the accessing the target access network according to the attribute information includes: analyzing the attribute information to obtain a network identifier and network access information; and accessing the target access network according to the network identification and the network access information;
The device is also for: receiving security verification information sent by a target application program, wherein the security verification information is generated by a cloud server based on identification information of the target application program, category information of internet of things equipment accessed to a target access network and a target timestamp; the method further comprises the steps of, after the target access network is accessed according to the network access information: encrypting the security verification information and the network identifier to obtain security encryption information; and sending the security encryption information to the cloud server, so that the cloud server carries out security authentication on the Internet of things equipment accessed to the target access network according to the security encryption information.
7. A device for distributing network, comprising:
the system comprises a list receiving unit, a network list transmitting unit and a network receiving unit, wherein the list receiving unit is used for receiving a network list sent by an internet of things device through a second information transmission mode, the network list is obtained by the internet of things device through a first information transmission mode and comprises at least one access network, the first information transmission mode and the second information transmission mode are different information transmission modes, and the information transmission modes comprise modes for transmitting information between devices;
A determining unit, configured to determine a target access network from the at least one access network;
the generating unit is used for generating distribution network information according to the attribute information of the target access network;
the information sending unit is used for sending the distribution network information to the internet of things equipment through the second information transmission mode so as to instruct the internet of things equipment to access the target access network; the Internet of things equipment analyzes the attribute information to obtain a network identifier and network access information, and the target access network is accessed according to the network identifier and the network access information; after the internet of things device is accessed to the target access network, the security verification information and the network identification sent by the target application program are encrypted to obtain security encryption information, the security encryption information is sent to a cloud server, so that the cloud server carries out security authentication on the internet of things device accessed to the target access network according to the security encryption information, and the security verification information is generated by the cloud server based on the identification information of the target application program, the category information of the internet of things device accessed to the target access network and a target timestamp.
8. A computer device comprising a memory and a processor; the memory stores a computer program, and the processor is configured to execute the computer program in the memory to perform the device networking method of claim 1 or perform the device networking method of any one of claims 2 to 5.
9. A storage medium storing a plurality of computer programs adapted to be loaded by a processor to perform the device networking method of claim 1 or to perform the device networking method of any of claims 2 to 5.
CN202111047583.XA 2021-09-08 2021-09-08 Equipment network distribution method and device, computer equipment and storage medium Active CN113890775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111047583.XA CN113890775B (en) 2021-09-08 2021-09-08 Equipment network distribution method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111047583.XA CN113890775B (en) 2021-09-08 2021-09-08 Equipment network distribution method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113890775A CN113890775A (en) 2022-01-04
CN113890775B true CN113890775B (en) 2023-10-13

Family

ID=79008564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111047583.XA Active CN113890775B (en) 2021-09-08 2021-09-08 Equipment network distribution method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113890775B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981543A (en) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 A kind of method for security protection, apparatus and system
CN111194035A (en) * 2019-12-18 2020-05-22 腾讯科技(深圳)有限公司 Network connection method, device and storage medium
CN111741513A (en) * 2020-06-18 2020-10-02 深圳市晨北科技有限公司 Network distribution method of Internet of things equipment and related equipment
CN112688791A (en) * 2019-10-17 2021-04-20 珠海格力电器股份有限公司 Equipment network distribution method and device based on cloud authorization

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202016009103U1 (en) * 2015-09-14 2022-05-13 Vinli, Inc. Cloud-integrated vehicle platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981543A (en) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 A kind of method for security protection, apparatus and system
CN112688791A (en) * 2019-10-17 2021-04-20 珠海格力电器股份有限公司 Equipment network distribution method and device based on cloud authorization
CN111194035A (en) * 2019-12-18 2020-05-22 腾讯科技(深圳)有限公司 Network connection method, device and storage medium
CN111741513A (en) * 2020-06-18 2020-10-02 深圳市晨北科技有限公司 Network distribution method of Internet of things equipment and related equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Integration of IoT Streaming Data With Efficient Indexing and Storage Optimization;Quang-Tu Doan,A.S.M.Kayes,Wenny Rahayu,Kinh Nguyen;《IEEE Access》;20200311;全文 *
物联网终端可信认证与自动接入技术研究与实现;鲁阳;《中国优秀硕士学位论文全文数据库》;20200215;全文 *

Also Published As

Publication number Publication date
CN113890775A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN110958111B (en) Block chain-based identity authentication mechanism of electric power mobile terminal
KR101081331B1 (en) Cloud printing system using mobile terminal and method thereof
US20200351107A1 (en) Secure authentication of remote equipment
WO2010017281A2 (en) Device manager repository
CN113746633A (en) Internet of things equipment binding method, device and system, cloud server and storage medium
CN112533202A (en) Identity authentication method and device
Hou et al. Design and prototype implementation of a blockchain-enabled LoRa system with edge computing
CN113490207A (en) Internet of things equipment binding method and device, computer equipment and storage medium
CN107872315B (en) Data processing method and intelligent terminal
CN112566113A (en) Key generation and terminal network distribution method, device and equipment
CN115412269A (en) Service processing method, device, server and storage medium
Chen et al. WiFi-Based home IoT communication system
WO2019055760A1 (en) Service layer message templates in a communications network
CN113542242B (en) Equipment management method and equipment management device
CN111328060A (en) Mesh network access method and system for Bluetooth device and device thereof
KR20160068703A (en) Method and system for controlling device based internet of things
CN113890775B (en) Equipment network distribution method and device, computer equipment and storage medium
CN112019358A (en) Network configuration method, device, equipment and system
EP4336393A1 (en) Security authentication method, readable medium, and electronic device
CN113596013B (en) Method and device for setting device control authority, computer device and storage medium
KR20110127565A (en) Generating and managing summarized information applicable to mobile office and controlling method for authenticating using the summarized information
KR102263053B1 (en) A database structure capable of synchronizing data between devices in a local area network environment and a data synchronization method using the same
CN115086958A (en) Equipment identity authentication method, device, terminal, authentication node and storage medium
KR101886367B1 (en) Generation of device individual session key in inter-object communication network and verification of encryption and decryption function between devices using it
Assaig et al. Development of a lightweight IoT security system

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