CN113890775A - 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
CN113890775A
CN113890775A CN202111047583.XA CN202111047583A CN113890775A CN 113890775 A CN113890775 A CN 113890775A CN 202111047583 A CN202111047583 A CN 202111047583A CN 113890775 A CN113890775 A CN 113890775A
Authority
CN
China
Prior art keywords
network
information
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.)
Granted
Application number
CN202111047583.XA
Other languages
Chinese (zh)
Other versions
CN113890775B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a method and a device for equipment distribution network, computer equipment and a storage medium; the method and the device for obtaining the network list in the information transmission mode can obtain the network list in the first information transmission mode, wherein the network list comprises at least one access network; sending the network list to a 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 to the network without network sharing through the terminal equipment, and the complexity of a 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 application relates to the technical field of communication, in particular to a method and a device for equipment network distribution, computer equipment and a storage medium.
Background
The Internet of things (IoT) is a network extending and expanding on the basis of the Internet, and combines various information sensing devices with the network to form a huge network, thereby realizing interconnection and intercommunication of people, machines and things at any time and any place.
Under the era of accelerated landing of the internet of things, when the internet of things equipment is connected with a network, the process of the network connection can be realized only by means of terminal equipment. Specifically, when the internet of things equipment is in a network distribution, a user is required to connect a network on a terminal, then the terminal equipment shares the network connected to the terminal with the internet of things equipment, then the internet of things equipment can realize the network distribution, and the complexity of the network distribution of the internet of things equipment can be improved.
Disclosure of Invention
The embodiment of the application provides a method and a device for distributing a network to equipment, computer equipment and a storage medium, which can enable the Internet of things equipment to directly realize networking without network sharing through terminal equipment, and reduce the complexity of the network distribution of the Internet of things equipment.
The embodiment of the application provides a network distribution method for equipment, 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;
sending 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 present application further provides an equipment distribution network apparatus, including:
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 list sending unit is used for sending 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 one embodiment, the access unit includes:
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, according to the network identifier, a target access network in the at least one access network;
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 establishing subunit, configured to establish a transmission connection with the target application program through the second information transmission mode;
a list sending subunit, configured to send the network list to the target application program through the transmission connection.
The embodiment of the application further provides a device network distribution method, which includes:
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 be accessed into the target access network based on attribute information of the target access network, the attribute information comprises the distribution network information, the distribution network information is returned by receiving a network list sent by the Internet of things equipment through a second information transmission mode based on a target application program, and the network list is obtained by the Internet of things equipment through a first information transmission mode.
Correspondingly, the embodiment of the present application further provides an equipment distribution network apparatus, including:
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 be accessed into the target access network based on attribute information of the target access network, the attribute information comprises the distribution network information, the distribution network information receives a network list sent by the Internet of things equipment through a second information transmission mode based on a target application program, and the network list is obtained by the Internet of things equipment through a first information transmission mode.
In one 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 performing format conversion processing on the attribute information to obtain the distribution network information.
In one embodiment, the determining unit includes:
a display subunit, configured to display the at least one access network in a network configuration interface;
the receiving subunit is used for receiving a selection instruction input by a user aiming at 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 further provides a device network distribution method, which includes:
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 timestamp 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 safety verification information to the Internet of things equipment through the target application program, wherein the safety verification information is used for carrying out safety verification on the Internet of things equipment.
Correspondingly, the embodiment of the present application further provides an equipment distribution network apparatus, including:
the request receiving unit is used for receiving an information acquisition request sent by target application program Internet of things equipment;
the information acquisition unit is used for acquiring identification information of a target application program, category information of the Internet of things equipment and a 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 safety verification information;
and the information sending unit is used for sending the safety verification information to the Internet of things equipment through the target application program, and the safety verification information is used for carrying out safety verification on the Internet of things equipment.
Correspondingly, the embodiment of the application also provides a computer device, which comprises a memory and a processor; the memory stores a computer program, and the processor is used for operating the computer program in the memory to execute the device network distribution method provided by any embodiment of the application.
Correspondingly, the embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for distributing a network to devices provided in any embodiment of the present application is implemented.
The method and the device for obtaining the network list can obtain the network list through the first information transmission mode, wherein the network list comprises at least one access network; sending the network list to a target application program through a 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, so that the Internet of things equipment can directly realize networking without network sharing through terminal equipment, and the complexity of a network distribution of the Internet of things equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of a device distribution network method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a device distribution network method provided in the embodiment of the present application;
fig. 3 is a schematic flowchart of a method for distributing a network by using a device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a network configuration interface provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of a method for distributing a network by using a device according to an embodiment of the present application;
fig. 6 is a scene schematic diagram of a device distribution network system provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus distribution network device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a device distribution network apparatus provided in the embodiment of the present application;
fig. 9 is a schematic structural diagram of a device distribution network apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, however, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an equipment distribution network method, which can be executed by a first equipment distribution network device, and the first equipment distribution network device can be integrated in first computer equipment with at least one piece of equipment distribution network hardware. Wherein the first computer device may be an internet of things device.
The internet of things equipment can acquire any object or process needing monitoring, connection and interaction 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, acquire various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and positions, realize ubiquitous connection of objects and people through various possible network accesses, and realize intelligent sensing, identification and management of the objects and the process.
For example, the internet of things devices may include smart air conditioners, smart speakers, smart refrigerators, and so on.
The embodiment of the application also provides another device distribution network method, which can be executed by a second device distribution network apparatus, and the second device distribution network apparatus can be integrated in a second computer device with at least one device distribution network hardware. Wherein the second computer device may be a terminal device.
The terminal device may include a device that can input a program and data to a computer or receive a result of processing output from the computer via a communication facility, 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 device distribution network method, which can be executed by a third device distribution network apparatus, and the third device distribution network apparatus can be integrated in a third computer device with at least one device distribution network hardware. Wherein the third computer device may be a cloud server. The cloud server can be a server which communicates with various different types of internet of things equipment and manages and controls various different types of internet of things equipment.
Among them, the cloud server (ECS) is a computing Service that is simple, efficient, safe, reliable, and flexible in processing capability. The management mode is simpler and more efficient than that of a physical server. A user can rapidly 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 the device network distribution method provided in 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 equipment can acquire a network list through a first information transmission mode, wherein the network list comprises at least one access network; sending the network list to a 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 device can receive a network list sent by the internet of things device through the 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 the attribute information of the 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 timestamp 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 safety verification information to the Internet of things equipment through the target application program, wherein the safety verification information is used for carrying out safety verification on the Internet of things equipment.
The following are detailed below, and it should be noted that the order of description of the following examples is not intended to limit the preferred order of the examples.
Embodiments of the present application will be described from the perspective of a first device distribution network apparatus, 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 distribution method is provided, where the device network distribution method may be executed by an internet of things device, and a specific process includes:
101. a network list is obtained by the first information transfer 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 mode may include an Access Point (AP) mode and a Station (STA) mode, and the like.
The AP may be a creator of a wireless network and is a central point of the network. A wireless router used in a typical home or office is an AP.
Among other things, the STA may include devices connected to the wireless network. Each device connected to the wireless network may become an STA. For example, an internet of things device, a terminal device, etc. connected to a wireless network may be regarded as an STA.
Wherein the first information transmission mode may include an STA mode.
In an embodiment, an internet of things device proposed in the embodiment of the present application may include a Wireless Fidelity (WiFi) module, where the WiFi module may include two operating modes, that is, an AP and an 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. And the AP working mode can enable the Internet of things equipment to send out WiFi signals for other equipment to connect with or communicate with the other equipment.
In an embodiment, when the internet of things device operates in the STA mode, the internet of things device may obtain a network list through the STA mode, where the network list includes at least one access network.
The access network may comprise 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 program through the AP mode.
The target application program can be an application program which can display a network list on the terminal equipment. 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 equipment, so that the user can carry out distribution network or control the internet of things equipment to execute functions through the display interface. 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 carry out network distribution on the intelligent air conditioner according to the network list. In addition, the temperature of the intelligent air conditioner can be adjusted or the on-off 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 a smart sound box, the user may receive a network list sent by the smart sound box through the target application program, and perform network distribution on the smart sound box according to the network list. In addition, the user can also adjust the volume of the smart sound box or control the on-off of the smart 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 distribution network 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 the 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 comprises information which can enable the internet of things equipment 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 one embodiment, the target application may obtain the network identification of the target access network and the network access information after receiving the network list. The target application may then encode the network identification and the network access information to obtain attribute information of the target access network.
Therefore, after the internet of things equipment 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; sending the network list to a 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 networked, the Internet of things equipment is not required to share a network for the Internet of things equipment, and the complexity of a network distribution of the Internet of things equipment is reduced.
In addition, in the networking process of the Internet of things equipment, safety verification information and safety encryption information are used, so that safety verification is achieved between the Internet of things equipment and the cloud server, the situation that the Internet of things equipment is bound in a fake mode is avoided, and the networking safety of the Internet of things equipment is improved.
The method described in the above examples is further illustrated in detail below by way of example.
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 may be established with 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 sending the network list to the target application program through the second information transmission mode may include:
establishing transmission connection with the 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, and the logic connection can enable reliable transmission of information between the internet of things device and the target application program.
In one embodiment, the transport connection may be a Transmission Control Protocol (TCP) connection. TCP is a connection-oriented, reliable, byte-stream based transport-layer communication protocol that is intended to accommodate layered protocol hierarchies that support multi-network applications.
In an embodiment, the internet of things device may establish a TCP connection with the target application program through the AP mode, and then send the network list to the target application program 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-way handshake. And then, the Internet of things equipment 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 mark for the internet of things device to recognize the target access network. For example, the network Identifier may be a Service Set Identifier (SSID) or a Basic Service Set Identifier (SSID), etc.
The network access information may include information for accessing the internet of things device to the target access network. For example, the network access information may include a password that the internet of things device needs to provide when accessing the target access network, and the like.
In an embodiment, after receiving the distribution network information returned by the target application, the internet of things device may perform format conversion processing on the distribution network information, so as to obtain the attribute information. For example, when the distribution network information is frame information, the frame information may be converted into a character string, so as to obtain the attribute information.
In one embodiment, the target application may obtain the network identification of the target access network and the network access information after receiving the network list. The target application may then encode the network identification and the network access information to obtain attribute information of the target access network.
Therefore, after the internet of things equipment 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 "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, since the attribute information is obtained after the terminal device encodes the network identifier and the network access information, the attribute information may be analyzed to obtain the network identifier and the network access information.
When the attribute information is analyzed, the attribute information can be analyzed according to preset analysis logic. The preset analysis logic corresponds to coding logic for coding the network identification and the network access information.
For example, when the network access information and the network identifier are encrypted by a direct splicing method, the network access information and the network identifier may be analyzed according to the splicing rule when the attribute information is analyzed, 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 identifier. 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 as 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 the 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 further receive security verification information sent by the target application. The safety verification information is used for safety verification among the cloud server, the target application program and the Internet of things equipment, so that the phenomenon that the external equipment forges the distribution network behavior of the Internet of things equipment is avoided, and the safety of a distribution network of the Internet of things equipment is improved.
The security verification information (also referred to as bindcode) is generated by the cloud server according to the identification information of the target application program, the category information of the internet of things equipment accessing the target access network, and the target timestamp.
The identification information of the target application may include an account ID and an account password of the user using the target application, 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 the intelligent air conditioner. For another example, when the internet of things device is a smart speaker, the category information of the internet of things device may indicate that the internet of things device is a smart speaker.
The time stamp is data generated by using a digital signature, and the signed object comprises original file information, signature parameters, signature time and other information. The time stamp system is used for generating and managing time stamps, and the time stamps are generated by digitally signing signature objects so as to prove that original files exist before the signature time. The main purpose of the time stamp is to authenticate the time of data generation by a certain technical means, so as to verify whether the data is falsified after being generated. The provider of the time stamping service must prove that the source of the time used in the service is authentic and that the time stamping service provided 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, sending the security encryption information to a 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 "access the target access network according to the network access information", the method may include:
encrypting the security verification information and the network identifier to obtain security encryption information;
and sending the security encryption information to a 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.
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 authentication information corresponds to an "authentication 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 security encryption information generated based on the security verification information to the cloud server, 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 is the same as the secure encryption information, it indicates that the internet of things device is in a secure state, otherwise, it indicates that the internet of things device is in an unsecure state. For another example, the cloud server may match the security encryption information with the security verification information, and when the security encryption information is matched with the security verification information, it indicates that the internet of things device is in the secure state, otherwise, it indicates that the internet of things device is in the insecure 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 equipment, so that the Internet of things equipment encrypts the security verification information and sends the security encryption information to the cloud server for security verification. Through the safety verification information, a safety verification link is formed among the target application program, the Internet of things equipment and the cloud server. When the cloud server verifies that the Internet of things equipment is in an unsafe state, the alarm information can be sent to the target application program to remind the user, so that the user can disconnect the Internet of things equipment according to the alarm information, and malicious molecules are prevented from maliciously controlling the Internet of things equipment.
In one embodiment, in order to match the security encryption information with the security verification information, the security verification information may be encrypted according to a security preset encryption rule. The preset encryption rule can be an encryption rule which is well defined between the internet of things equipment and the cloud server.
For example, when the cloud server matches the security encryption information, the security encryption information and the security verification information may be added, and when the value obtained by the addition is equal to a preset matching value, it is indicated that the security encryption information and the security verification information are matched, otherwise, they are not matched. At this time, the security encryption information may be generated based on the security verification information, so that the sum of the security verification information and the security encryption information is equal to the preset matching value.
In an embodiment, after the internet of things device generates the encryption information, the secure encryption information may be sent to the cloud server. When the safety encryption information is sent to the cloud server, the safety encryption information can be sent to the cloud server through the TCP connection in the AP mode, so that the safety encryption information can be sent to the cloud server through a safe channel, malicious cracking is avoided, and the safety of information transmission is improved.
In an embodiment, when the internet of things device accesses the target network, the registration address may also be sent to the cloud server. The registration address of the internet of things device may be a server address of the internet of things device to be connected to a network. Then, the cloud server can bind the internet of things device and the corresponding server according to the registration address, so that the internet of things device 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; sending the network list to a 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 networked, the Internet of things equipment is not required to share a network for the Internet of things equipment, and the complexity of a network distribution of the Internet of things equipment is reduced.
In addition, in the networking process of the Internet of things equipment, safety verification information and safety encryption information are used, so that safety verification is achieved between the Internet of things equipment and the cloud server, the situation that the Internet of things equipment is bound in a fake mode is avoided, and the networking safety of the Internet of things equipment is improved.
In an embodiment, as shown in fig. 1, the second device network distribution apparatus may be integrated on a terminal device to implement another device network distribution method provided in the embodiment of the present application. Specifically, the terminal device may receive a network list sent by the internet of things device in 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 the attribute information of the 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 are detailed below, and it should be noted that the order of description of the following examples is not intended to limit the preferred order of the examples.
As shown in fig. 3, a device network distribution method is provided, where the device network distribution method may be executed by a terminal device, for example, a terminal device such as a smart phone or a smart tablet, and the specific process 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 equipment 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 obtains 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, after the target application acquires the at least one access network, the target access network may be determined from the at least one access network. In particular, 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 "determining a target access network from among the 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 at least one access network according to the selection instruction.
The network configuration interface comprises an interface which provides a distribution network for a user. For example, as shown, the network configuration interface may display at least one access network such that a user may select the 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. Next, the target application may determine a target access network from the at least one access network according to the selection instruction.
In an embodiment, the selection instruction includes location information of the target access network in the network configuration interface, and the target application may determine the target access network in the 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 an embodiment, after the target application determines the target access network, the distribution network information may be generated according to the 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;
coding the network identification and the network access information to obtain the attribute information of the 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, the information input component may be displayed on the network configuration interface, so as to obtain the network access information input by the user through the information input component.
In addition, the target application program can also obtain the network identifier of the target access network by identifying the target access network.
In an embodiment, after the network identifier and the network access information of the target access network are obtained, 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 various ways.
For example, the network identifier and the target access information may be directly spliced to obtain the attribute information. Further, the attribute information may be obtained by performing ASCII encoding, UTF-8 encoding, UTF-16 encoding, Unicode encoding, and the like on the target access information and the network identification.
In an embodiment, after the attribute information of the target access network is obtained, in order to send the attribute information 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 sends 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 a wireless link. When the attribute information is transmitted to the internet of things equipment through the wireless link, format conversion processing can be performed on the attribute information according to a wireless protocol, and therefore 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 program can convert the attribute information into a frame format, so that the distribution network information is obtained. Then, the target application program can transmit the distribution network information to the internet of things equipment in the AP mode.
204. 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 a target access network.
In an embodiment, after the distribution network information is generated, 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 distribution network information is used for indicating the Internet of things equipment to access a 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 is returned by receiving a network list sent 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 target application program may further receive security verification information sent by the cloud server, and send the security verification information to the internet of things device while sending the distribution network information to the internet of things device, so that the internet of things device realizes 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 an Internet of things device in 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 the attribute information of the 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 distribute the network to the equipment in the internet of things through the network configuration interface, and the complexity of the network distribution of the equipment in the internet of things is reduced.
In an embodiment, as shown in fig. 1, the third device distribution network apparatus may be integrated on a cloud service to implement another device distribution network method provided in the embodiment of the present application. Specifically, the cloud server may 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 timestamp according to the information acquisition request; encrypting the identification information, the category information and the target timestamp to obtain security verification information; and sending safety verification information to the Internet of things equipment through the target application program, wherein the safety verification information is used for carrying out safety verification on the Internet of things equipment.
The following are detailed below, and it should be noted that the order of description of the following examples is not intended to limit the preferred order of the examples.
As shown in the figure, a device network distribution method is provided, where the device network distribution method may be executed by a cloud server, and the specific process includes:
301. and receiving an information acquisition request sent by the target application program.
In an embodiment, when a user performs network distribution on the internet of things device, and a target application program receives a network distribution signal sent by the internet of things device, the target application program may send an information acquisition request to the cloud server, and the target application program may request the cloud server to acquire security verification information through the information acquisition request.
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 identification information of the target application program, category information of the Internet of things equipment and a target timestamp according to the information acquisition request.
In an embodiment, the information acquisition request sent by the target application may include identification information of the target application. Therefore, when receiving the information acquisition request, the cloud server can identify the information acquisition request, so as to obtain the identification information of the target application program.
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. Wherein, different types of internet of things equipment have different types of information. For example, the type information of the smart air conditioner is "001", and the type information of the smart speaker is "002".
In an embodiment, the cloud server may also request the federated trust timestamp service center for a get timestamp to obtain a 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 of the internet of things device to be connected to a network. Then, the cloud server can bind the internet of things device and the corresponding server according to the registration address, so that the internet of things device is successfully networked.
303. And encrypting the identification information, the category information and the target timestamp to obtain the security verification information.
In an embodiment, after obtaining the identification information of the target application program, the category information of the internet of things device, and the target timestamp, 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 ways to obtain the security verification information. For example, the identification information, the category information, and the target timestamp may be encrypted by using encryption, asymmetric encryption, and a Message Digest Algorithm (MD 5), so as to obtain the security verification information.
For example, the cloud server may encrypt the identification information, the category information, and the target timestamp by using a symmetric encryption method, so as to obtain the security verification information.
When the identification information, the category information and the target timestamp are encrypted in a symmetric encryption manner, a preset key can be used for performing logical operation on the identification information, the category information and the target timestamp, so that the security verification information is obtained.
304. And sending the safety verification information to the Internet of things equipment through the target application program, wherein the safety verification information is used for carrying out safety verification on the Internet of things equipment.
In an embodiment, after obtaining the security verification information, the cloud server may send the security verification information to the target application, and then the target application sends gei the security verification information to the internet of things device, so that the cloud server verifies the internet of things device by using the security verification information.
In an embodiment, after sending 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 safety verification information is matched with the safety encryption information, the internet of things equipment is in a safety state at present and is not bound by counterfeiting. If the security verification information and the security encryption information do not want to be matched, it is indicated that the internet of things device is possibly forged and bound.
The secure encryption information and the secure verification information may be matched in a variety of ways. For example, the security encryption information and the security verification information may be added, and when the added value is equal to a preset matching value, it indicates that the security encryption information and the security verification information match, otherwise, they do not match. For another example, the secure encryption information and the secure verification information may be multiplied, and when a value obtained by multiplying is equal to a preset matching value, it is indicated that the secure encryption information and the secure verification information are matched, otherwise, they are not matched. For another example, the security encryption information and the security verification information may be subjected to more complicated operations, and the values obtained by the operations may be matched with the preset matching values. And when the value obtained by the operation is equal to the preset matching value, the safety encryption information is matched with the safety verification information, otherwise, the safety encryption information is not matched.
The embodiment of the application provides a network distribution method, wherein in the network distribution method, 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 timestamp 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 safety verification information to the Internet of things equipment through the target application program, wherein the safety verification information is used for carrying out safety verification on the Internet of things equipment. In the embodiment of the application, the cloud server sends the safety 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 safety verification information, the complexity of a network distribution of the Internet of things equipment is reduced, and meanwhile, the safety of the network distribution of the Internet of things equipment can be improved.
On the basis of the above-described embodiments, further details will be given below by way of example.
The embodiment of the application will be described from the perspective of a device distribution network system, which may include internet of things devices, terminal devices, a cloud server, and the like.
As shown in fig. 6, in the method for device distribution provided in the embodiment of the present application, a specific process of the method for device distribution may be as follows:
401. and the Internet of things equipment acquires a network list.
For example, the internet of things device acquires a network list through the first information transmission mode, wherein the network list comprises at least one access network.
402. And the target application program requests the Internet of things equipment to acquire the network list.
403. And the Internet of things equipment 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 a 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. And the target application program sends an information acquisition request to the cloud service.
For example, the target application sends an information acquisition request to the cloud service, so that the cloud server can generate security authentication information and send the security authentication information to the target application after receiving the information acquisition request.
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 safety verification information to the Internet of things equipment.
407. And the Internet of things equipment sends the information success command to the target application program.
After the internet of things device receives the distribution network information and the safety 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. And the equipment of the Internet of things is accessed to a target access network.
The Internet of things equipment can perform format conversion on the distribution network information, so that attribute information is obtained. Then, the internet of things device can access the target access network according to the attribute information.
409. And the Internet of things equipment sends the network connection success command to the target application program.
After the internet of things equipment is successfully accessed into the target access network, the internet of things equipment 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 equipment is successfully networked to a user on a network configuration interface.
410. The Internet of things equipment sends the security encryption information to the cloud server.
After the internet of things equipment 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 equipment of the Internet of things according to the security encryption, and when the verification is passed, the safety of the equipment of the Internet of things is indicated. The cloud server may then send a bind successful 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 apparatus is further provided, where the first device network distribution apparatus may be integrated in a first computer device, and the first computer device may be an internet of things device. The meaning of the term is the same as that in the device distribution network method of the product, and specific implementation details can refer to the description in the method embodiment.
In an embodiment, a first device distribution network apparatus is provided, and the first device distribution network apparatus may be specifically integrated in a first computer device (e.g., an internet of things device), as shown in fig. 7, and the first device distribution network apparatus includes: the acquiring unit 501, the list sending unit 502, the information receiving unit 503 and the accessing 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 accessing unit 504, configured to access the target access network according to the attribute information.
In an embodiment, a second device network distribution apparatus is provided, which may be specifically integrated in a second computer device (e.g., a terminal device). As shown in fig. 8, the second device network distribution apparatus includes: list receiving section 601, determining section 602, generating section 603, and information transmitting section 604 are specifically as follows:
a list receiving unit 601, configured to receive a network list sent by an internet of things device in 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 the attribute information of the target access network;
an information sending unit 604, configured to send the distribution network information to an internet of things device, where the distribution network information is used to indicate that the internet of things device accesses the target access network, the distribution network information is used to indicate that the internet of things device accesses the target access network based on attribute information of the target access network, the attribute information includes distribution network information, the distribution network information receives, based on a target application program, a network list sent by the internet of things device through a second information transmission mode, and the network list is obtained by the internet of things device through a first information transmission mode.
In an embodiment, a third device network distribution apparatus is provided, which may be specifically integrated in a third computer device (e.g., a cloud server). As shown in fig. 9, the third device network distribution apparatus includes: the request receiving unit 701, the information obtaining unit 702, the encryption processing unit 703 and the information sending unit 704 are specifically as follows:
a request receiving unit 701, configured to receive an information acquisition request sent by a target application;
an information obtaining unit 702, configured to obtain, according to the information obtaining request, identification information of the target application program, category information of the 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 the security verification information to the internet of things device through the target application program, where the security verification information is used to perform security verification on the internet of things device.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
Through the first equipment distribution network device, the second equipment device and the third equipment device, the Internet of things equipment can be directly connected to the network without network sharing through terminal equipment, and the complexity of the Internet of things equipment distribution network is reduced.
The embodiment of the application also provides a computer device, which can be one of the first computer device, the second computer device and the third computer device. 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; as another example, the computer device may be a third computer device, such as a cloud server or the like. As shown in fig. 10, it shows a schematic structural diagram of a terminal according to an embodiment of the present application, specifically:
the computer device may include components such as a processor 801 of one or more processing cores, memory 802 of one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will appreciate that the computer device architecture illustrated in FIG. 10 is not intended to be limiting of computer devices and may include more or less components than those illustrated, or combinations of certain components, or different arrangements 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 monitoring the computer device as a whole. Alternatively, processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor, which handles primarily the operating system, user pages, application programs, etc., and a modem processor, which handles primarily 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, and the processor 801 executes various functional applications and device distribution networks by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the 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 access to the memory 802.
The computer device further includes a power supply 803 for supplying power to the various components, and preferably, the power supply 803 is logically connected to the processor 801 via a power management system, so that functions such as managing charging, discharging, and power consumption are performed via the power management system. The power supply 803 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any like components.
The computer device may further include an input unit 804, the input unit 804 being operable to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 801 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802, thereby implementing various functions as follows:
acquiring a network list through a first information transmission mode, wherein the network list comprises at least one access network;
sending 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 to implement the following functions:
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 to implement the following functions:
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 timestamp 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 safety verification information to the Internet of things equipment through a target application program, wherein the safety verification information is used for carrying out safety verification on the Internet of things equipment.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being 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 method provided in the various alternative implementations of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by related hardware controlled by the computer program.
To this end, an embodiment of the present application further provides a storage medium, where a computer program is stored, where the computer program can be loaded by a processor to execute the steps in any one of the method for device distribution and network provided by 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;
sending 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 timestamp 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 safety verification information to the Internet of things equipment through a target application program, wherein the safety verification information is used for carrying out safety verification on the Internet of things equipment.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Since the computer program stored in the storage medium can execute the steps in any device network distribution method provided in the embodiment of the present application, beneficial effects that can be achieved by any device network distribution method provided in the embodiment of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above detailed description is given of an apparatus network distribution method, an apparatus, a computer device and a storage medium provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A method for distributing a network by equipment is characterized by comprising the following steps:
acquiring a network list through a first information transmission mode, wherein the network list comprises at least one access network;
sending 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.
2. The device network distribution method of claim 1, wherein the accessing the target access network according to the attribute information comprises:
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.
3. The device network distribution method of claim 2, wherein the method further comprises:
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;
after accessing the target access network according to the network access information, the method further includes:
encrypting the security verification information and the network identification to obtain security encryption information;
and sending the security encryption information 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.
4. The device network distribution method according to any one of claims 1 to 3, wherein the sending the network list to the target application via the second information transmission mode comprises:
establishing a transmission connection with the target application program through the second information transmission mode;
and sending the network list to the target application program through the transmission connection.
5. A method for distributing a network by equipment is characterized by comprising the following steps:
receiving a network list sent by the Internet of things equipment through a second information transmission mode, wherein the network list is obtained by the Internet of things equipment through a first information transmission mode and 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 so as to indicate the Internet of things equipment to access the target access network.
6. The device network distribution method of claim 5, wherein the generating of the network distribution information according to the attribute information of the target access network comprises:
acquiring a network identifier and network access information of the target access network;
coding the network identification 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.
7. The device network distribution method of claim 5, wherein the determining a target access network from the 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.
8. The device network distribution method of claim 1, wherein the method further comprises:
receiving security verification information sent by a cloud server;
the distribution network information is sent to the internet of things equipment, and the distribution network information sending method includes the following steps:
and sending the distribution network information and the safety verification information to Internet of things equipment so that the Internet of things equipment realizes safety verification by using the safety verification information.
9. An equipment distribution network apparatus, comprising:
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 list sending unit is used for sending 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.
10. An equipment distribution network apparatus, comprising:
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 be accessed into the target access network based on attribute information of the target access network, the attribute information comprises the distribution network information, the distribution network information receives a network list sent by the Internet of things equipment through a second information transmission mode based on a target application program, and the network list is obtained by the Internet of things equipment through a first information transmission mode.
11. 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 execute the device network distribution method of any one of claims 1 to 4 or execute the device network distribution method of any one of claims 5 to 8.
12. A storage medium storing a plurality of computer programs adapted to be loaded by a processor to perform the device distribution method of any of claims 1 to 4 or the distribution method of any of claims 5 to 8.
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 true CN113890775A (en) 2022-01-04
CN113890775B 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170078398A1 (en) * 2015-09-14 2017-03-16 Vinli, Inc. Cloud Integrated Vehicle Platform
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170078398A1 (en) * 2015-09-14 2017-03-16 Vinli, Inc. Cloud Integrated Vehicle Platform
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 (4)

* Cited by examiner, † Cited by third party
Title
QUANG-TU DOAN,A.S.M.KAYES,WENNY RAHAYU,KINH NGUYEN: "Integration of IoT Streaming Data With Efficient Indexing and Storage Optimization", 《IEEE ACCESS》 *
QUANG-TU DOAN,A.S.M.KAYES,WENNY RAHAYU,KINH NGUYEN: "Integration of IoT Streaming Data With Efficient Indexing and Storage Optimization", 《IEEE ACCESS》, 11 March 2020 (2020-03-11) *
鲁阳: "物联网终端可信认证与自动接入技术研究与实现", 《中国优秀硕士学位论文全文数据库》 *
鲁阳: "物联网终端可信认证与自动接入技术研究与实现", 《中国优秀硕士学位论文全文数据库》, 15 February 2020 (2020-02-15) *

Also Published As

Publication number Publication date
CN113890775B (en) 2023-10-13

Similar Documents

Publication Publication Date Title
KR101270323B1 (en) Methods, apparatuses, and computer program products for providing a single service sign-on
CN110958111B (en) Block chain-based identity authentication mechanism of electric power mobile terminal
CN108377272B (en) Method and system for managing terminal of Internet of things
US11736304B2 (en) Secure authentication of remote equipment
CN107708099B (en) Bluetooth device sharing request and control method and device, and readable storage medium
KR20170057549A (en) Large simultaneous digital signature service system based on hash function and method thereof
CN113746633A (en) Internet of things equipment binding method, device and system, cloud server and storage medium
CN113572728B (en) Method, device, equipment and medium for authenticating Internet of things equipment
CN114125832B (en) Network connection method, terminal, network equipment to be distributed and storage medium
CN106778285B (en) Method and device for upgrading equipment
CN105897784B (en) Internet-of-things terminal equipment encryption communication method and device
CN105338529A (en) Wireless network connecting method and system
US10972912B1 (en) Dynamic establishment of trust between locally connected devices
CN115086958A (en) Equipment identity authentication method, device, terminal, authentication node and storage medium
CN107872315B (en) Data processing method and intelligent terminal
CN110910110A (en) Data processing method and device and computer storage medium
CN114362931A (en) Internet of things equipment registration and security authentication connection and instruction interaction method
CN110602133B (en) Intelligent contract processing method, block chain management device and storage medium
CN116830525A (en) Data transmission method, device, system, electronic equipment and readable medium
CN113542242B (en) Equipment management method and equipment management device
CN113965425A (en) Access method, device and equipment of Internet of things equipment and computer readable storage medium
CN113890775B (en) Equipment network distribution method and device, computer equipment and storage medium
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
KR101886367B1 (en) Generation of device individual session key in inter-object communication network and verification of encryption and decryption function between devices using it
CN115442061A (en) Security authentication method, readable medium, and electronic device

Legal Events

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