A network connection method, apparatus and electronic device
The method of generating verification keys and cloud connection keys through the network configuration terminal solves the problem of low testing efficiency of IoT modules when accessing different cloud environments, and achieves the effect of rapid access to IoT servers.
Patent Information
- Application Number
- CN202311533699.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-16
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2043-11-16
AI Technical Summary
When IoT modules are connected to different cloud environments, configuration information needs to be burned multiple times, resulting in low testing efficiency.
The network configuration terminal obtains network configuration information and key rule information, generates a key to be verified and obtains the cloud key, and sends access information to the terminal to be accessed, without needing to burn configuration information to the terminal.
It shortens the time for IoT modules to connect to IoT servers and improves testing efficiency.
Smart Images

Figure CN118827100B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of Internet of Things, and in particular to a network connection method and device and electronic equipment. BACKGROUND
[0002] At present, an Internet of Things module usually realizes access of the Internet of Things module to different cloud environments through built-in environment information. Although the above-mentioned manner can realize access of the Internet of Things module to different cloud environments, a configuration information of a cloud environment to be accessed is fixedly programmed and written for one Internet of Things module. When the Internet of Things module needs to access other cloud environments, new configuration information of a cloud environment needs to be programmed and written for the Internet of Things module to access the new cloud environment. When a large number of cloud environments need to be tested, the Internet of Things module needs to be programmed and written with new configuration information of a cloud environment for multiple times, so that the Internet of Things module can access the new cloud environment, which results in low test efficiency of the Internet of Things module. SUMMARY
[0003] In order to solve the above-mentioned technical problems, the present disclosure provides a network connection method, device and electronic equipment.
[0004] The technical solution of the present disclosure is as follows:
[0005] In a first aspect, the present disclosure provides a network configuration terminal, comprising: a processor configured to control a communicator to acquire network configuration information and key rule information in response to an access operation of a terminal to be accessed; wherein the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of the terminal to be accessed, a device category of the terminal to be accessed, a device identification code of the terminal to be accessed, a time stamp and an encryption algorithm; the processor is further configured to control the communicator to send acquisition information to the terminal to be accessed based on the key rule information acquired by the communicator; wherein the acquisition information is used to instruct the terminal to be accessed to report target data, and the target data comprises the software version, the device category and the device identification code; the communicator is further configured to receive the target data sent by the terminal to be accessed; the processor is further configured to generate a key to be verified based on the time stamp corresponding to the current time, the target data received by the communicator and the encryption algorithm acquired by the communicator; the processor is further configured to acquire a cloud key based on the key to be verified; wherein the cloud key is generated by the target data and the encryption algorithm; the processor is further configured to control the communicator to send access information carrying the cloud key and the network configuration information to the terminal to be accessed; wherein the access information is used to instruct the terminal to be accessed to access an Internet of Things server corresponding to the cloud key based on the network configuration information and the cloud key.
[0006] In a second aspect, the present disclosure provides an Internet of Things server, comprising: a communicator configured to receive key rule acquisition information sent by a commissioning terminal; a processor configured to control the communicator to send key rule information to the commissioning terminal based on the key rule acquisition information received by the communicator; wherein the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of a terminal to be accessed, a device category of the terminal to be accessed, a device identification code of the terminal to be accessed, a timestamp, and an encryption algorithm; the communicator is further configured to receive target information carrying a key to be verified sent by the commissioning terminal; wherein the key to be verified is generated by the commissioning terminal based on a timestamp corresponding to a current time, target data, and an encryption algorithm, and the target data comprises a software version, a device category, and a device identification code reported by the terminal to be accessed; the processor is further configured to parse the key to be verified received by the communicator to obtain the timestamp, the target data, and the encryption algorithm contained in the key to be verified; the processor is further configured to generate a verification key based on the timestamp, the target data, and the encryption algorithm; the processor is further configured to generate a cloud key based on the target data and the encryption algorithm in a case where the verification key matches the key to be verified; and the processor is further configured to control the communicator to send the cloud key to the commissioning terminal.
[0007] In a third aspect, the present disclosure provides a terminal to be accessed, comprising: a communicator configured to receive access information carrying a cloud key and commissioning information sent by a commissioning terminal; a processor configured to parse the cloud key received by the communicator to obtain a parsed cloud key; the processor is further configured to verify the parsed cloud key to generate a verification key; the processor is further configured to control the communicator to send connection information carrying the verification key to an Internet of Things server based on the commissioning information received by the communicator; and the communicator is further configured to receive feedback information sent by the Internet of Things server.
[0008] In a fourth aspect, the present disclosure provides a network connection method, comprising: in response to an access operation of a to-be-accessed terminal, obtaining network configuration information and key rule information; wherein the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of the to-be-accessed terminal, a device category of the to-be-accessed terminal, a device identification code of the to-be-accessed terminal, a timestamp, and an encryption algorithm; based on the key rule information, sending acquisition information to the to-be-accessed terminal; wherein the acquisition information is used to instruct the to-be-accessed terminal to report target data, and the target data comprises the software version, the device category, and the device identification code; receiving the target data sent by the to-be-accessed terminal; based on the timestamp corresponding to the current time, the target data, and the encryption algorithm, generating a to-be-verified key; based on the to-be-verified key, obtaining a cloud key; wherein the cloud key is generated by the target data and the encryption algorithm; and sending access information carrying the cloud key and the network configuration information to the to-be-accessed terminal; wherein the access information is used to instruct the to-be-accessed terminal to access an Internet of Things server corresponding to the cloud key based on the network configuration information and the cloud key.
[0009] In a fifth aspect, the present disclosure provides a network connection method, comprising: receiving key rule acquisition information sent by a network configuration terminal; based on the key rule acquisition information, sending key rule information to the network configuration terminal; wherein the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of a to-be-accessed terminal, a device category of the to-be-accessed terminal, a device identification code of the to-be-accessed terminal, a timestamp, and an encryption algorithm; receiving target information carrying a to-be-verified key sent by the network configuration terminal; wherein the to-be-verified key is generated by the network configuration terminal based on the timestamp corresponding to the current time, target data, and the encryption algorithm, and the target data comprises the software version, the device category, and the device identification code reported by the to-be-accessed terminal; analyzing the to-be-verified key to obtain the timestamp, the target data, and the encryption algorithm contained in the to-be-verified key; based on the timestamp, the target data, and the encryption algorithm, generating a verification key; in the case that the verification key matches the to-be-verified key, based on the target data and the encryption algorithm, generating a cloud key; and sending the cloud key to the network configuration terminal.
[0010] In a sixth aspect, the present disclosure provides a network connection method, comprising: receiving access information carrying a cloud key and network configuration information sent by a network configuration terminal; analyzing the cloud key to obtain an analyzed cloud key; verifying the analyzed cloud key to generate a verification key; based on the network configuration information, sending connection information carrying the verification key to an Internet of Things server; and receiving feedback information sent by the Internet of Things server.
[0011] In a seventh aspect, the present disclosure provides an electronic device, comprising: a memory and a processor, the memory is used to store a computer program; and the processor is used to make the electronic device implement any one of the network connection methods provided in the fourth aspect when executing the computer program.
[0012] In an eighth aspect, the present application provides a computer readable storage medium, comprising: a computer program stored on the computer readable storage medium, the computer program being configured to cause a processor to execute any one of the network connection methods provided in the fourth aspect when the computer program is executed by the processor.
[0013] In a ninth aspect, the present application provides a computer program product, which, when executed on a computer, causes the computer to execute any one of the network connection methods provided in the fourth aspect.
[0014] In a tenth aspect, the present application provides an electronic device, comprising: a memory configured to store a computer program; and a processor configured to cause the electronic device to implement any one of the network connection methods provided in the fifth aspect when the computer program is executed by the processor.
[0015] In an eleventh aspect, the present application provides a computer readable storage medium, comprising: a computer program stored on the computer readable storage medium, the computer program being configured to cause a processor to execute any one of the network connection methods provided in the fifth aspect when the computer program is executed by the processor.
[0016] In a twelfth aspect, the present application provides a computer program product, which, when executed on a computer, causes the computer to execute any one of the network connection methods provided in the fifth aspect.
[0017] In a thirteenth aspect, the present application provides an electronic device, comprising: a memory configured to store a computer program; and a processor configured to cause the electronic device to implement any one of the network connection methods provided in the sixth aspect when the computer program is executed by the processor.
[0018] In a fourteenth aspect, the present application provides a computer readable storage medium, comprising: a computer program stored on the computer readable storage medium, the computer program being configured to cause a processor to execute any one of the network connection methods provided in the sixth aspect when the computer program is executed by the processor.
[0019] In a fifteenth aspect, the present application provides a computer program product, which, when executed on a computer, causes the computer to execute any one of the network connection methods provided in the sixth aspect.
[0020] It should be noted that the above computer instructions can be stored on the first computer readable storage medium in whole or in part. The first computer readable storage medium can be packaged together with the network configuration terminal, or the Internet of Things server, or the processor of the terminal to be accessed, or can be packaged separately from the network configuration terminal, or the Internet of Things server, or the processor of the terminal to be accessed, and the present application does not limit this.
[0021] The description of the third aspect, the seventh aspect, the eighth aspect and the ninth aspect in the present disclosure can refer to the detailed description of the first aspect; and the beneficial effects of the description of the third aspect, the seventh aspect, the eighth aspect and the ninth aspect can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0022] The description of the fourth aspect, the tenth aspect, the eleventh aspect and the twelfth aspect in the present disclosure can refer to the detailed description of the first aspect; and the beneficial effects of the description of the fourth aspect, the tenth aspect, the eleventh aspect and the twelfth aspect can refer to the beneficial effect analysis of the second aspect, which will not be repeated here.
[0023] The description of the fifth aspect, the thirteenth aspect, the fourteenth aspect and the fifteenth aspect in the present disclosure can refer to the detailed description of the first aspect; and the beneficial effects of the description of the fifth aspect, the thirteenth aspect, the fourteenth aspect and the fifteenth aspect can refer to the beneficial effect analysis of the third aspect, which will not be repeated here.
[0024] In the present disclosure, the names of the above-mentioned network configuration terminal, or the Internet of Things server, or the terminal to be accessed do not constitute a limitation on the devices or functional modules themselves, and in actual implementation, these devices or functional modules can appear with other names. As long as the functions of each device or functional module are similar to those of the present disclosure, they belong to the scope of the claims of the present disclosure and equivalent technologies.
[0025] These aspects or other aspects of the present disclosure will be more apparent in the following description.
[0026] The technical solutions provided by the present disclosure have the following advantages compared with the prior art:
[0027] The network connection method provided by the present disclosure, when the terminal to be accessed accesses the Internet of Things server, does not need to burn the configuration information of the Internet of Things server for the terminal to be accessed, but transmits the access information through the network configuration terminal, such as: the network configuration terminal responds to the access operation of the terminal to be accessed, obtains the network configuration information and the key rule information; the network configuration terminal sends the terminal to be accessed based on the key rule information; the network configuration terminal receives the target data sent by the terminal to be accessed; the network configuration terminal generates a to-be-verified key based on the timestamp corresponding to the current time, the target data and the encryption algorithm; the network configuration terminal obtains the cloud key based on the to-be-verified key; and the network configuration terminal sends the access information carrying the cloud key and the network configuration information to the terminal to be accessed. In this way, compared with the method of accessing the Internet of Things server by burning the configuration information of the Internet of Things module, the network access method provided by the present disclosure applied to the Internet of Things module only needs to change the access information transmitted by the network configuration terminal to access the terminal to be accessed with the Internet of Things module to different Internet of Things servers, shortens the time of accessing the terminal to be accessed to the Internet of Things server, and improves the test efficiency of the Internet of Things module. Attached Figure Description
[0028] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0029] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 A schematic diagram illustrating a network connection method provided in an embodiment of this application;
[0031] Figure 2 This is one of the structural schematic diagrams of the display device provided in the embodiments of this application;
[0032] Figure 3 This is a second schematic diagram of the structure of the display device provided in the embodiments of this application;
[0033] Figure 4 One of the flowcharts of the network connection method provided in the embodiments of this application;
[0034] Figure 5 One of the scenario diagrams illustrating the network connection method provided in the embodiments of this application;
[0035] Figure 6 A second schematic diagram illustrating a network connection method provided in an embodiment of this application;
[0036] Figure 7 A second schematic flowchart illustrating the network connection method provided in this application embodiment;
[0037] Figure 8 The third flowchart illustrating the network connection method provided in this application embodiment;
[0038] Figure 9 One of the flowcharts of the network connection method provided in the embodiments of this application;
[0039] Figure 10 A second schematic flowchart illustrating the network connection method provided in this application embodiment;
[0040] Figure 11 This is the third flowchart illustrating the network connection method provided in the embodiments of this application. Detailed Implementation
[0041] In order to enable a more clear understanding of the above-mentioned objects, features and advantages of the present disclosure, the schemes of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict, if necessary.
[0042] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be apparent, however, to one skilled in the art that the present disclosure can be practiced without the specific details, or with an apparatus, an apparatus including some other way, and an apparatus including some other way different from those described herein. Obviously, the embodiments described in the specification are only a part of the embodiments of the present disclosure, and not all the embodiments.
[0043] The display device provided by the embodiments of the present application can have various implementation forms, for example, can be a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 And Figure 2 As a specific embodiment of the display device of the present application.
[0044] It should be noted that, in this paper, the relationship terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.
[0045] Figure 1 As a schematic diagram of the operation scene between the household device and the control device according to one or more embodiments of the present application, as shown in Figure 1 The user can operate the terminal to be accessed 200 through the network terminal 300 and / or the control device 100. The control device 100 can be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired ways to control the terminal to be accessed 200. The user can input user instructions through the keys on the remote controller, voice input, control panel input, etc. to control the terminal to be accessed 200. In some embodiments, mobile terminals, tablets, computers, laptops and other smart devices can also be used to control the terminal to be accessed 200.
[0046] In some embodiments, the electronic device provided by the embodiments of the present application can be the network configuration terminal 300. When the user needs to access the terminal 200 to be accessed to the Internet of Things server 400, the access operation can be performed on the network configuration terminal 300, and the network configuration terminal 300 acquires the network configuration information and sends the key rule acquisition information to the Internet of Things server 400 in response to the access operation of the terminal to be accessed. The Internet of Things server 400 receives the key rule acquisition information sent by the network configuration terminal 300. The Internet of Things server 400 sends the key rule information to the network configuration terminal 300 based on the key rule acquisition information. The network configuration terminal 300 receives the key rule information sent by the Internet of Things server 400, and the network configuration terminal 300 sends the acquisition information to the terminal 200 to be accessed based on the key rule information; the terminal 200 to be accessed sends the target data to the network configuration terminal 300 based on the acquisition information sent by the network configuration terminal 300. The network configuration terminal 300 receives the target data sent by the terminal 200 to be accessed; the network configuration terminal 300 generates a to-be-verified key based on the timestamp corresponding to the current time, the target data and the encryption algorithm; the network configuration terminal 300 carries the target information of the to-be-verified key to the Internet of Things server 400; the Internet of Things server 400 analyzes the to-be-verified key to obtain the timestamp, the target data and the encryption algorithm contained in the to-be-verified key. The Internet of Things server 400 generates a verification key based on the timestamp, the target data and the encryption algorithm; the Internet of Things server 400 generates a cloud key based on the target data and the encryption algorithm in the case that the verification key matches the to-be-verified key; the Internet of Things server 400 sends the cloud key to the network configuration terminal 300. The network configuration terminal 300 receives the cloud key sent by the Internet of Things server 400, and the network configuration terminal 300 sends the access information carrying the cloud key and the network configuration information to the terminal 200 to be accessed. The terminal 200 to be accessed receives the access information carrying the cloud key and the network configuration information sent by the network configuration terminal 300; the terminal 200 to be accessed analyzes the cloud key to obtain the analyzed cloud key; the terminal 200 to be accessed verifies the analyzed cloud key to generate a verification key; the terminal 200 to be accessed sends the connection information carrying the verification key to the Internet of Things server 400 based on the network configuration information. The Internet of Things server 400 receives the connection information carrying the verification key sent by the terminal 200 to be accessed. The Internet of Things server 400 establishes an image connection with the terminal to be accessed and sends feedback information of the established communication connection to the terminal 200 to be accessed in the case that the cloud key matches the verification key, and the terminal 200 to be accessed receives the feedback information sent by the Internet of Things server 400.
[0047] It can be seen that the network connection method provided by the embodiment of the present disclosure, when the terminal to be accessed 200 accesses the Internet of Things server 400, the terminal to be accessed 200 does not need to be burned with the configuration information of the Internet of Things server 400, but the network configuration terminal 300 issues the access information, for example, the network configuration terminal 300 acquires the network configuration information and the key rule information in response to the access operation of the terminal to be accessed 200; the network configuration terminal 300 sends the terminal to be accessed 200 to acquire the information based on the key rule information; the network configuration terminal 300 receives the target data sent by the terminal to be accessed 200; the network configuration terminal 300 generates a key to be verified based on the timestamp corresponding to the current time, the target data and the encryption algorithm; the network configuration terminal 300 acquires the continuous cloud key based on the key to be verified; and the network configuration terminal 300 sends the terminal to be accessed 200 to carry the continuous cloud key and the network configuration information. In this way, compared with the way of accessing the Internet of Things server 400 by burning the configuration information of the Internet of Things module, the network access method provided by the embodiment of the present disclosure applied to the Internet of Things module only needs to change the access information issued by the network configuration terminal 300 to access the terminal to be accessed 200 provided with the Internet of Things module to different Internet of Things servers 400, shortens the time of accessing the terminal to be accessed 200 to the Internet of Things server 400, and improves the test efficiency of the Internet of Things module.
[0048] Figure 2 A hardware configuration block diagram of the display device 200 according to an exemplary embodiment is shown. As shown in the figure, Figure 2 The display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, at least one of a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an n-th interface for input / output. The display 260 can be a display with touch function, such as a touch display. The detector 230 is used to collect signals of external environment or interaction with the outside.
[0049] In some embodiments, the controller 250 controls the operation of the display device and responds to the user's operation by storing various software control programs on the memory. The controller 250 controls the overall operation of the terminal to be accessed 200.
[0050] In some examples, the display device 200 applying one or more embodiments is a television 1, and the operating system of the television 1 is an Android system, for example, as shown in the figure, Figure 3As shown, the television 1 can be logically divided into an Applications layer (referred to as "application layer" for short) 21, an Application Framework layer (referred to as "framework layer" for short) 22, an Android runtime and system library layer (referred to as "system runtime library layer" for short) 23, and a kernel layer 24.
[0051] The application layer 21 includes one or more applications. The applications can be system applications or third-party applications. The framework layer 22 provides an application programming interface (API) and a programming framework for the applications of the application layer 21. The system runtime library layer 23 provides support for the upper layer, i.e., the framework layer 22. When the framework layer 22 is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer 23 to implement the functions to be implemented by the framework layer 22. The kernel layer 24 serves as a software middleware between the hardware layer and the application layer 21, and is used to manage and control hardware and software resources.
[0052] In some examples, the to-be-accessed terminal 200 provided by the embodiments of the present application can be the television 1. When the user needs to access the television 1 to the Internet of Things server 400, the access operation can be performed on the commissioning terminal 300, at this time, the processing unit 101 of the commissioning terminal 300 responds to the access operation of the television 1, obtains the commissioning information, and controls the transceiver unit 102 to send the key rule acquisition information to the Internet of Things server 400. The transceiver unit 201 of the Internet of Things server 400 receives the key rule acquisition information sent by the commissioning terminal 300; the processing unit 202 of the Internet of Things server 400 controls the transceiver unit 201 to send the key rule information to the commissioning terminal 300 based on the key rule acquisition information received by the transceiver unit 201. The transceiver unit 102 of the commissioning terminal 300 receives the key rule information sent by the Internet of Things server 400, and the processing unit 101 of the commissioning terminal 300 controls the transceiver unit 102 to send the acquisition information to the television 1 based on the key rule information received by the transceiver unit 102. When the processing unit 302 of the television 1 determines that the transceiver unit 301 receives the acquisition information sent by the commissioning terminal 300, the transceiver unit 301 of the television 1 is controlled to send the target data to the commissioning terminal 300. The transceiver unit 102 of the commissioning terminal 300 receives the target data sent by the television 1; the processing unit 101 of the commissioning terminal 300 generates a to-be-verified key based on the timestamp corresponding to the current time, the target data received by the transceiver unit 102, and the encryption algorithm received by the transceiver unit 101; the processing unit 101 of the commissioning terminal 300 controls the transceiver unit 102 to send the target information carrying the to-be-verified key to the Internet of Things server 400; the processing unit 202 of the Internet of Things server 400 analyzes the to-be-verified key received by the transceiver unit 202 to obtain the timestamp, the target data, and the encryption algorithm contained in the to-be-verified key. The processing unit 202 of the Internet of Things server 400 generates a verification key based on the timestamp, the target data, and the encryption algorithm; the processing unit 201 of the Internet of Things server 400 generates a cloud key based on the target data and the encryption algorithm in the case that the verification key matches the to-be-verified key received by the transceiver unit 201; the processing unit 202 of the Internet of Things server 400 controls the transceiver unit 201 to send the cloud key to the commissioning terminal 300. The transceiver unit 102 of the commissioning terminal 300 receives the cloud key sent by the Internet of Things server 400, and the commissioning terminal 300 sends the access information carrying the cloud key and the commissioning information to the television 1. The transceiver unit 301 of the television 1 receives the access information carrying the cloud key and the commissioning information sent by the commissioning terminal 300; the processing unit 302 of the television 1 analyzes the cloud key received by the transceiver unit 301 to obtain the analyzed cloud key; the processing unit 302 of the television 1 verifies the analyzed cloud key to generate a verification key; the processing unit 302 of the television 1 controls the transceiver unit 301 to send the connection information carrying the verification key to the Internet of Things server 400 based on the commissioning information received by the transceiver unit 301.The transceiver unit 201 of the Internet of Things server 400 receives the connection information carrying the verification key sent by the television set 1. The processing unit 202 of the Internet of Things server 400 establishes an image connection with the terminal to be accessed in the case where the connection key matches the verification key received by the transceiver unit 201, and the transceiver unit 201 sends feedback information that the communication connection has been established to the television set 1, and the transceiver unit 301 of the television set 1 receives the feedback information sent by the Internet of Things server 400.
[0053] Specifically, when the execution subject of the network connection method provided by the embodiment of the present disclosure is the Internet of Things server 400, the storage unit 203 of the server is used to store data such as the network connection method provided by the embodiment of the present disclosure.
[0054] Specifically, when the execution subject of the network connection method provided by the embodiment of the present disclosure is the television set 1, the storage unit 303 of the television set 1 is used to store data such as the network connection method provided by the embodiment of the present disclosure.
[0055] Specifically, when the execution subject of the network connection method provided by the embodiment of the present disclosure is the network configuration terminal 300, the storage unit 103 of the network configuration terminal 300 is used to store data such as the network connection method provided by the embodiment of the present disclosure.
[0056] In the following embodiments, the execution subject of the network connection method provided by the embodiment of the present disclosure is taken as the above-mentioned network configuration terminal 300, and the method of the present application is described.
[0057] The embodiment of the present application provides a network connection method, as shown in the figure, which can include S11-S16. Figure 4
[0058] S11, in response to the access operation of the terminal to be accessed, obtaining network configuration information and key rule information. The key rule information includes parameter information required for generating a key, and the parameter information includes the software version of the terminal to be accessed, the device category of the terminal to be accessed, the device identification code of the terminal to be accessed, the timestamp and the encryption algorithm.
[0059] In some examples, the network configuration terminal 300 and the terminal to be accessed are connected through Bluetooth or wireless network communication technology Wi-Fi.
[0060] In some examples, the user can initiate the access operation through the application (APP), Mini Program or web application of the network configuration terminal 300.
[0061] In some examples, the network configuration information includes a service set identifier (SSID) and a password of a Wi-Fi to which the network configuration terminal 300 is currently connected, or a service set identifier (SSID) and a password of a Wi-Fi currently configured by the user.
[0062] In some examples, when the to-be-accessed terminal 200 accesses the Internet of Things server 400, a communication connection needs to be established with the Internet of Things server 400 through a router. In this process, the to-be-accessed terminal 200 needs to establish a communication connection with the router based on the SSID and the password of the Wi-Fi in the access information of the network configuration terminal 300.
[0063] In some examples, when the to-be-accessed terminal 200 accesses the Internet of Things server 400, a communication connection can be established with the router in a wired manner. Then, the to-be-accessed terminal 200 needs to report the cloud key to the Internet of Things server 400 corresponding to the physical network address based on the physical network address of the Internet of Things server 400 and the cloud key in the access information of the network configuration terminal 300, and establish a communication connection with the Internet of Things server 400.
[0064] In some examples, the timestamp refers to the timestamp of the time corresponding to the generation of the to-be-verified key by the network configuration terminal 300.
[0065] In some examples, since the requirements of different to-be-accessed devices 200 can be different, in order to ensure the quality of service of each to-be-accessed device 200, the network access method provided by the embodiment of the present disclosure corresponds to different encryption algorithms for different device categories, thereby providing a separate encryption method for each to-be-accessed device 200 and improving the quality of service.
[0066] S12, send the acquisition information to the to-be-accessed terminal based on the key rule information. The acquisition information is used to instruct the to-be-accessed terminal to report target data, and the target data includes a software version, a device category, and a device identification code.
[0067] In some examples, the network configuration terminal 300 responds to the access operation of the to-be-accessed terminal 200, at which time the network configuration terminal 300 establishes a communication connection with the to-be-accessed terminal 200 through Bluetooth. After the network configuration terminal 300 receives the key rule information issued by the Internet of Things server 400, since the network configuration terminal 300 does not store the target data of the to-be-accessed terminal 200, the network configuration terminal 300 can send the acquisition information to the to-be-accessed terminal 200 through the communication connection already established by the to-be-accessed terminal 200. Then, the to-be-accessed terminal 200 can report the target data to the network configuration terminal 300 through the communication connection already established with the network configuration terminal 300.
[0068] S13, receive the target data sent by the to-be-accessed terminal.
[0069] S14, generating the to-be-verified key based on the timestamp corresponding to the current moment, the target data, and the encryption algorithm.
[0070] In some examples, the network configuration terminal 300 can determine the encryption algorithm corresponding to the device category based on the device category reported by the to-be-accessed terminal 200. For example, the key rule information indicates different encryption algorithms corresponding to different device categories. Then, the network configuration terminal 300 determines the encryption algorithm corresponding to the current to-be-accessed terminal 200 based on the different encryption algorithms corresponding to different device categories indicated by the key rule information.
[0071] In some examples, the encryption algorithm includes an Advanced Encryption Standard (AES) or a Cipher Block Chaining (CBC) mode of the AES. The CBC mode is a common encryption mode, which needs to use the previous ciphertext block for exclusive-OR operation when encrypting each plaintext block, so as to increase the security of the encryption algorithm.
[0072] In some examples, the current timestamp corresponding to the current moment and the target data can be encrypted by the encryption algorithm to obtain the to-be-verified key.
[0073] In some examples, the current timestamp corresponding to the current moment and the target data can be subjected to Hash calculation to obtain hash values corresponding to the current timestamp corresponding to the current moment and the target data. Then, the hash values are encrypted by the encryption algorithm to obtain the to-be-verified key.
[0074] S15, obtaining the Lianyun key based on the to-be-verified key. The Lianyun key is generated by the target data and the encryption algorithm.
[0075] In some examples, the to-be-verified key can be input into the key model to obtain the Lianyun key. The training process of the target model is as follows:
[0076] Obtaining training sample data and a labeled result of the training sample data. The training sample data includes at least one historical to-be-verified key, and the labeled result includes a Lianyun key corresponding to the historical to-be-verified key.
[0077] Inputting the training sample data into a neural network model for learning to obtain a prediction result of the neural network model on the training sample data.
[0078] Adjusting network parameters of the neural network model based on the prediction result and the labeled result until the neural network model converges to obtain the key model.
[0079] In some examples, the network configuration terminal 300 can send target information carrying a to-be-verified key to the Internet of Things server 400. Then, the Internet of Things server 400 receives the target information carrying the to-be-verified key sent by the network configuration terminal; wherein the to-be-verified key is generated by the network configuration terminal based on a timestamp corresponding to a current time, target data, and an encryption algorithm; the Internet of Things server 400 obtains the timestamp, the target data, and the encryption algorithm contained in the to-be-verified key based on analyzing the to-be-verified key. The Internet of Things server 400 generates a verification key based on the timestamp, the target data, and the encryption algorithm; the Internet of Things server 400 generates a cloud key based on the target data and the encryption algorithm in the case that the verification key matches the to-be-verified key; and the Internet of Things server 400 sends the cloud key to the network configuration terminal. In this way, the network configuration terminal 300 obtains the cloud key.
[0080] It should be noted that the process of the Internet of Things server 400 generating a verification key based on a timestamp, target data, and an encryption algorithm is similar to the process of the network configuration terminal 300 generating a to-be-verified key based on a timestamp, target data, and an encryption algorithm, which will not be described here.
[0081] It should be noted that the process of the Internet of Things server 400 analyzing the to-be-verified key is opposite to the process of the network configuration terminal 300 generating the to-be-verified key based on a timestamp, target data, and an encryption algorithm, which will not be described here.
[0082] S16, sending access information carrying the cloud key and the network configuration information to the to-be-accessed terminal. The access information is used to instruct the to-be-accessed terminal to access the Internet of Things server corresponding to the cloud key based on the network configuration information and the cloud key.
[0083] In some examples, assuming that the to-be-accessed terminal is a dishwasher, at this time, the network configuration terminal 300 responds to the access operation of the dishwasher, and displays a first interface 1 as shown in FIG. 10A. In this process, the network configuration terminal 300 obtains the cloud key and the network configuration information by executing the processes of S11-S15 of the network access method provided by the embodiments of the present disclosure. Then, the network configuration terminal 300 sends access information carrying the cloud key and the network configuration information to the dishwasher, and displays a second interface 2 as shown in FIG. 10B. Then, the dishwasher can establish a communication connection with the physical network server 400 based on the cloud key and the network configuration information sent by the network configuration terminal 300. In this way, the user can check the status of the dishwasher on the mobile phone and control the dishwasher to perform corresponding functions. Figure 5 Figure 6
[0084] From the above, the network connection method provided by the present disclosure is provided, when the terminal to be accessed accesses the Internet of Things server, the terminal to be accessed does not need to be burned with the configuration information of the Internet of Things server, but the network configuration terminal issues access information, such as: the network configuration terminal responds to the access operation of the terminal to be accessed, obtains the network configuration information and the key rule information; the network configuration terminal sends the terminal to be accessed based on the key rule information. Information acquisition; the network configuration terminal receives the target data sent by the terminal to be accessed; the network configuration terminal generates a to-be-verified key based on the timestamp corresponding to the current time, the target data and the encryption algorithm; the network configuration terminal obtains the cloud key based on the to-be-verified key; the network configuration terminal sends the terminal to be accessed Access information carrying the cloud key and the network configuration information. In this way, compared with the way of accessing the Internet of Things server by burning the configuration information of the Internet of Things module, the network access method provided by the present disclosure applied to the Internet of Things module only needs to change the access information issued by the network configuration terminal. The terminal to be accessed with the Internet of Things module can be accessed to different Internet of Things servers, shortens the time of accessing the terminal to be accessed to the Internet of Things server, and improves the test efficiency of the Internet of Things module.
[0085] In some examples, in conjunction with Figure 4 As Figure 7 As shown in the above S11, the above S11 can be implemented by the following S110 and S111.
[0086] S110, in response to the access operation of the terminal to be accessed, obtaining network configuration information, and sending key rule acquisition information to the physical network server. Wherein, the key rule acquisition information is used to instruct the physical network server to issue the key rule information.
[0087] S111, receiving the key rule information sent by the physical network server.
[0088] In some examples, in conjunction with Figure 4 As Figure 7 As shown in the above S15, the above S15 can be implemented by the following S150 and S151.
[0089] S150, sending target information carrying the to-be-verified key, the target data and the encryption algorithm to the Internet of Things server.
[0090] S151, receiving the cloud key sent by the server in response to the target information.
[0091] In the following embodiment, the execution subject of the network connection method provided by the present disclosure is taken as the above Internet of Things server 400, and the method of the present application is described.
[0092] The present application provides a network connection method, as Figure 8 As shown in the above S21-S27, the network connection method can include S21-S27.
[0093] S21. Receive key rule acquisition information sent by the distribution network terminal.
[0094] S22. Obtain information based on key rules and send key rule information to the distribution network terminal. The key rule information includes parameters required to generate the key, such as the software version of the terminal to be accessed, the device category of the terminal to be accessed, the device identification code of the terminal to be accessed, the timestamp, and the encryption algorithm.
[0095] S23. Receive target information carrying a key to be verified sent by the distribution network terminal. The key to be verified is generated by the distribution network terminal based on the timestamp corresponding to the current time, target data, and encryption algorithm. The target data includes the software version, device type, and device identification code reported by the terminal to be accessed.
[0096] S24. Parse the key to be verified to obtain the timestamp, target data and encryption algorithm contained in the key to be verified.
[0097] S25. Generate a verification key based on the timestamp, target data, and encryption algorithm.
[0098] S26. If the verification key matches the key to be verified, generate the Lianyun key based on the target data and encryption algorithm.
[0099] S27. Send the cloud connection key to the distribution network terminal.
[0100] In some feasible examples, combining Figure 8 ,like Figure 9 As shown, the network connection method provided in this embodiment of the present disclosure further includes: S28 and S29.
[0101] S28. Generate a verification time window based on the timestamp.
[0102] S29. If the Lianyun key is not generated within the verification time window, an error message will be generated.
[0103] In some examples, because the key to be verified has an expiration time, the physical network server 400 needs to complete the verification of the key to be verified within a specified time. For example, the key to be verified is parsed to obtain the timestamp, target data and encryption algorithm contained in the key to be verified; a verification key is generated based on the timestamp, target data and encryption algorithm; if the verification key matches the key to be verified, a cloud connection key is generated based on the target data and encryption algorithm; and the cloud connection key is sent to the distribution network terminal.
[0104] In some feasible examples, combining Figure 8 ,like Figure 9 As shown, the above S27 can be implemented in the following S270.
[0105] S270, if the cross-cloud key is generated within the verification time window, sending the cross-cloud key to the network configuration terminal.
[0106] In some implementable examples, the network connection method provided by the embodiments of the present disclosure is combined with Figure 8 As shown in Figure 9 The above S28 can be implemented by the following S280.
[0107] S280, generating a verification time window based on the timestamp and the preset time step.
[0108] In an example, assuming that the preset time step is 5s and the timestamp is November 14, 2023, 15:31:41, the verification time window is the time window corresponding to November 14, 2023, 15:31:41 to November 14, 2023, 15:36:41.
[0109] In some implementable examples, the network connection method provided by the embodiments of the present disclosure is combined with Figure 8 As shown in Figure 10 The network connection method provided by the embodiments of the present disclosure further includes S30 and S31.
[0110] S30, receiving the connection information carrying the verification key sent by the terminal to be accessed; wherein the verification key is generated by the terminal to be accessed based on the access information carrying the cross-cloud key and the network configuration information sent by the terminal to be accessed.
[0111] S31, in the case that the cross-cloud key matches the verification key, establishing an image connection with the terminal to be accessed, and sending feedback information of the established communication connection to the terminal to be accessed.
[0112] In the following embodiments, the execution subject of the network connection method provided by the embodiments of the present disclosure is taken as the above-mentioned terminal to be accessed, and the method of the embodiments of the present disclosure is described.
[0113] The embodiments of the present disclosure provide a network connection method, as shown in Figure 11 The network connection method can include S41-S45.
[0114] S41, receiving the access information carrying the cross-cloud key and the network configuration information sent by the network configuration terminal.
[0115] S42, parsing the cross-cloud key to obtain the parsed cross-cloud key.
[0116] S43, verifying the parsed cross-cloud key to generate a verification key.
[0117] In some examples, when the parsed cloud key is verified, a first cloud final key and a first check code used to represent the cloud key are generated, and the first cloud final key and the first check code are taken as the verification key. After receiving the verification key, the Internet of Things server 400 needs to verify the verification key, such as: the Internet of Things server 400 (pre-storing the correspondence between the issued cloud key and the terminal to be accessed) obtains the cloud key corresponding to the terminal to be accessed 200, and then verifies the cloud key to generate a second cloud final key and a second check code. The Internet of Things server 400 determines that the second cloud final key is the same as the first cloud final key, and the second check code and the first check code are the same, determines that the cloud key matches the verification key, establishes an image connection with the terminal to be accessed, and sends feedback information of the established communication connection to the terminal to be accessed.
[0118] S44, based on the network configuration information, sending the connection information carrying the verification key to the Internet of Things server.
[0119] S45, receiving the feedback information sent by the Internet of Things server.
[0120] In some examples, after receiving the feedback information sent by the Internet of Things server 400, the terminal to be accessed 200 determines that the communication connection with the Internet of Things server 400 has been established.
[0121] The above mainly introduces the scheme provided by the embodiments of the application from the perspective of the method. In order to realize the above functions, it contains the hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in the present application, the application can be realized in the form of hardware or combination of hardware and computer software. Whether a certain function is executed in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.
[0122] The embodiments of the application can divide the functions of the network configuration terminal, or the Internet of Things server, or the terminal to be accessed according to the above method examples, for example, each function module can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated module can be realized in the form of hardware or software function module. It should be noted that the division of modules in the embodiments of the application is illustrative, and is only a logical function division. When actually implemented, there can be another division method.
[0123] An embodiment of the present application provides a structural diagram of a network configuration terminal 300. The network configuration terminal 300 comprises a processor 101 and a communicator 102.
[0124] The processor 101 is configured to control the communicator 102 to acquire network configuration information and key rule information in response to an access operation of a terminal to be accessed; the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of the terminal to be accessed, a device category of the terminal to be accessed, a device identification code of the terminal to be accessed, a time stamp and an encryption algorithm; the processor 101 is further configured to control the communicator 102 to send acquisition information to the terminal to be accessed based on the key rule information acquired by the communicator 102; the acquisition information is used to instruct the terminal to be accessed to report target data, and the target data comprises the software version, the device category and the device identification code; the communicator 102 is further configured to receive the target data sent by the terminal to be accessed; the processor 101 is further configured to generate a key to be verified based on the time stamp corresponding to the current time, the target data received by the communicator 102 and the encryption algorithm acquired by the communicator 102; the processor 101 is further configured to acquire a cloud key based on the key to be verified; the cloud key is generated by the target data and the encryption algorithm; and the processor 101 is further configured to control the communicator 102 to send access information carrying the cloud key and the network configuration information to the terminal to be accessed; the access information is used to instruct the terminal to be accessed to access an Internet of Things server corresponding to the cloud key based on the network configuration information and the cloud key.
[0125] In some implementable examples, the processor 101 is further configured to control the communicator 102 to send key rule acquisition information to a physical network server; the key rule acquisition information is used to instruct the physical network server to issue the key rule information; and the communicator 102 is further configured to receive the key rule information sent by the physical network server.
[0126] In some implementable examples, the processor 101 is further configured to control the communicator 102 to send target information carrying the key to be verified, the target data and the encryption algorithm to the Internet of Things server; and the communicator 102 is further configured to receive the cloud key sent by the server in response to the target information.
[0127] Wherein, all the related contents of each step involved in the above method embodiment can be cited to the function description of the corresponding function module, and the action is not described here.
[0128] Of course, the network configuration terminal 300 provided by the embodiment of the present application includes but is not limited to the above-mentioned modules, for example, the network configuration terminal 300 can further comprise a memory 103. The memory 103 can be used to store the program code of the network configuration terminal 300, and can also be used to store the data generated by the network configuration terminal 300 in the running process, such as the data in the write request.
[0129] As an example, in combination with Figure 3 The functions implemented by the processing unit 101 in the network configuration terminal 300 are the same as those of the processor 101, the functions implemented by the transceiver unit 102 are the same as those of the communicator 102, and the functions implemented by the storage unit 103 are the same as those of the memory 103.
[0130] The embodiments of the present application also provide a chip system which can be applied to the network configuration terminal 300 in the foregoing embodiments. The chip system comprises at least one processor 1501 and at least one interface circuit 1502. The processor 1501 can be the processor in the network configuration terminal 300 described above. The processor 1501 and the interface circuit 1502 can be interconnected through a line. The processor 1501 can receive computer instructions from the memory of the network configuration terminal 300 described above through the interface circuit 1502 and execute the computer instructions. When the computer instructions are executed by the processor 1501, the network configuration terminal 300 can perform various steps performed by the network configuration terminal 300 in the embodiments described above. Of course, the chip system can also include other discrete devices, which are not limited in the embodiments of the present application.
[0131] The embodiments of the present application also provide a computer readable storage medium for storing computer instructions run by the network configuration terminal 300 described above.
[0132] The embodiments of the present application provide a structural diagram of an Internet of Things server 400. The Internet of Things server 400 comprises a communicator 201 and a processor 202.
[0133] The communicator 201 is configured to receive key rule acquisition information sent by the network configuration terminal;
[0134] The processor 202 is configured to control the communicator 201 to send key rule information to the network configuration terminal based on the key rule acquisition information received by the communicator 201; wherein the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of a terminal to be accessed, a device category of the terminal to be accessed, a device identification code of the terminal to be accessed, a time stamp and an encryption algorithm;
[0135] The communicator 201 is further configured to receive target information carrying a key to be verified sent by the network configuration terminal; wherein the key to be verified is generated by the network configuration terminal based on a time stamp corresponding to a current time, target data and an encryption algorithm, and the target data comprises a software version, a device category and a device identification code reported by the terminal to be accessed;
[0136] The processor 202 is further configured to parse the key to be verified received by the communicator 201 to obtain the time stamp, the target data and the encryption algorithm contained in the key to be verified.
[0137] The processor 202 is further configured to generate a verification key based on the timestamp, the target data and the encryption algorithm.
[0138] The processor 202 is further configured to generate a link cloud key based on the target data and the encryption algorithm in a case that the verification key matches the to-be-verified key.
[0139] The processor 202 is further configured to control the communicator 201 to send the link cloud key to the network configuration terminal.
[0140] In some implementable examples, the processor 202 is further configured to generate a verification time window based on the timestamp received by the communicator 201; and the processor 202 is further configured to generate an error prompt information in a case that the link cloud key is not generated within the verification time window.
[0141] In some implementable examples, the processor 202 is further configured to control the communicator 201 to send the link cloud key to the network configuration terminal in a case that the link cloud key is generated within the verification time window.
[0142] In some implementable examples, the processor 202 is further configured to generate a verification time window based on a preset time step and the timestamp received by the communicator 201.
[0143] In some implementable examples, the communicator 201 is further configured to receive connection information carrying a verification key sent by the to-be-accessed terminal; wherein the verification key is generated by the to-be-accessed terminal based on access information carrying the link cloud key and the network configuration information sent by the to-be-accessed terminal; and the processor 202 is further configured to establish an image connection with the to-be-accessed terminal in a case that the link cloud key matches the verification key received by the communicator 201, and control the communicator 201 to send feedback information of the established communication connection to the to-be-accessed terminal.
[0144] Wherein, all the related content of each step involved in the above method embodiments can be cited to the function description of the corresponding function module, and the action is not described here.
[0145] Of course, the Internet of Things server 400 provided by the embodiments of the present application includes but is not limited to the above-mentioned modules, for example, the Internet of Things server 400 can also include a memory 203. The memory 203 can be used to store the program code of the Internet of Things server 400, and can also be used to store the data generated by the Internet of Things server 400 in the running process, such as the data in the write request.
[0146] As an example, in combination with Figure 3The functions implemented by the transceiver unit 201 in the Internet of Things server 400 are the same as those of the communicator 201, the functions implemented by the processing unit 202 are the same as those of the processor 202, and the functions implemented by the storage unit 203 are the same as those of the memory 203.
[0147] The chip system can be applied to the Internet of Things server 400 in the foregoing embodiments. The chip system includes at least one processor 2501 and at least one interface circuit 2502. The processor 2501 can be the processor in the Internet of Things server 400. The processor 2501 and the interface circuit 1502 can be interconnected through a line. The processor 2501 can receive and execute computer instructions from the memory of the Internet of Things server 400 through the interface circuit 2502. When the computer instructions are executed by the processor 2501, the Internet of Things server 400 can perform the steps described in the foregoing embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make specific limitations thereto.
[0148] The embodiments of the present application also provide a computer readable storage medium for storing computer instructions executed by the Internet of Things server 400.
[0149] The embodiments of the present application provide a structural schematic diagram of a terminal 200 to be accessed. The terminal 200 includes a communicator 301 and a processor 302.
[0150] The communicator 301 is configured to receive access information carrying a cloud key and network configuration information sent by a network configuration terminal;
[0151] The processor 302 is configured to parse the cloud key received by the communicator 301 to obtain a parsed cloud key;
[0152] The processor 302 is further configured to verify the parsed cloud key to generate a verification key;
[0153] The processor 302 is further configured to control the communicator 301 to send connection information carrying the verification key to an Internet of Things server based on the network configuration information received by the communicator 301;
[0154] The communicator 301 is further configured to receive feedback information sent by the Internet of Things server.
[0155] All related contents of the steps involved in the method embodiments can be referred to the function description of the corresponding function modules, and the functions are not described here.
[0156] Of course, the to-be-accessed terminal 200 provided by the embodiments of the present application includes but is not limited to the above-mentioned modules, for example, the to-be-accessed terminal 200 can further include a memory 303. The memory 303 can be used to store the program code of the to-be-accessed terminal 200, and can also be used to store the data generated by the to-be-accessed terminal 200 during running, such as the data in the write request.
[0157] As an example, in combination with Figure 3 The functions implemented by the transceiver unit 301 in the to-be-accessed terminal 200 are the same as those of the communicator 301, the functions implemented by the processing unit 302 are the same as those of the processor 302, and the functions implemented by the storage unit 303 are the same as those of the memory 303.
[0158] The embodiments of the present application further provide a chip system which can be applied to the to-be-accessed terminal 200 in the above-mentioned embodiments. The chip system includes at least one processor 3501 and at least one interface circuit 3502. The processor 3501 can be the processor in the above-mentioned to-be-accessed terminal 200. The processor 3501 and the interface circuit 3502 can be interconnected through a line. The processor 3501 can receive and execute computer instructions from the memory of the above-mentioned to-be-accessed terminal 200 through the interface circuit 3502. When the computer instructions are executed by the processor 3501, the to-be-accessed terminal 200 can perform the steps performed by the to-be-accessed terminal 200 in the above-mentioned embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make a specific limitation in this regard.
[0159] The embodiments of the present application further provide a computer readable storage medium for storing the computer instructions executed by the above-mentioned to-be-accessed terminal 200.
[0160] The above-mentioned is only the specific implementation of the present disclosure, so that the person skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A network configuration terminal, characterized by comprising: Comprise: The processor is configured to control the communicator to acquire the network configuration information and the key rule information in response to the access operation of the to-be-accessed terminal; wherein the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of the to-be-accessed terminal, a device category of the to-be-accessed terminal, a device identification code of the to-be-accessed terminal, a timestamp and an encryption algorithm; The processor is further configured to control the communicator to send acquisition information to the to-be-accessed terminal based on the key rule information acquired by the communicator; wherein the acquisition information is used to instruct the to-be-accessed terminal to report target data, and the target data comprises a software version, a device category and a device identification code; The communicator is further configured to receive the target data sent by the to-be-accessed terminal; The processor is further configured to generate a to-be-verified key based on the timestamp corresponding to the current time, the target data received by the communicator and the encryption algorithm acquired by the communicator; The processor is further configured to acquire a cloud key based on the to-be-verified key; wherein the cloud key is generated from the to-be-verified key; The processor is further configured to control the communicator to send access information carrying the cloud key and the network configuration information to the to-be-accessed terminal; wherein the access information is used to instruct the to-be-accessed terminal to access an Internet of Things server corresponding to the cloud key based on the network configuration information and the cloud key; The processor, which performs the acquisition of the cloud key based on the to-be-verified key, is further configured to: Send target information carrying the to-be-verified key to the Internet of Things server; Receive the cloud key sent by the Internet of Things server.
2. The network terminal of claim 1, wherein, The processor is further configured to control the communicator to send key rule acquisition information to the Internet of Things server; wherein the key rule acquisition information is used to instruct the Internet of Things server to issue key rule information; The communicator is further configured to receive the key rule information sent by the Internet of Things server.
3. The network terminal of claim 1, wherein, The processor is further configured to control the communicator to send target information carrying the to-be-verified key to the Internet of Things server; The communicator is further configured to receive the cloud key sent by the server in response to the target information.
4. An Internet of Things server, characterized in that Comprise: The communicator is configured to receive key rule acquisition information sent by a network configuration terminal; The processor is configured to control the communicator to send key rule information to the network configuration terminal based on the key rule acquisition information received by the communicator; wherein the key rule information comprises parameter information required for generating a key, and the parameter information comprises a software version of a to-be-accessed terminal, a device category of the to-be-accessed terminal, a device identification code of the to-be-accessed terminal, a timestamp and an encryption algorithm; The communicator is further configured to receive target information carrying a to-be-verified key sent by the commissioning terminal; wherein the to-be-verified key is generated by the commissioning terminal based on a timestamp corresponding to a current time, target data and the encryption algorithm, and the target data includes a software version, a device category and a device identification code reported by the to-be-accessed terminal; The processor is further configured to parse the to-be-verified key received by the communicator to obtain a timestamp, target data and an encryption algorithm contained in the to-be-verified key; The processor is further configured to generate a verification key based on the timestamp, the target data and the encryption algorithm; The processor is further configured to generate a continuous cloud key based on the target data and the encryption algorithm in a case where the verification key matches the to-be-verified key; The processor is further configured to control the communicator to send the continuous cloud key to the commissioning terminal.
5. The IoT server of claim 4, wherein, The processor is further configured to generate a verification time window based on the timestamp received by the communicator; The processor is further configured to generate an error prompt information if a continuous cloud key is not generated within the verification time window.
6. The IoT server of claim 5, wherein, The processor is further configured to control the communicator to send the continuous cloud key to the commissioning terminal if a continuous cloud key is generated within the verification time window.
7. The IoT server of claim 5, wherein, The processor is further configured to generate a verification time window based on a preset time step and the timestamp received by the communicator.
8. The IoT server of claim 4, wherein, The communicator is further configured to receive connection information carrying a verification key sent by the to-be-accessed terminal; wherein the verification key is generated by the to-be-accessed terminal based on access information carrying a continuous cloud key and commissioning information sent by the to-be-accessed terminal; The processor is further configured to establish an image connection with the to-be-accessed terminal and control the communicator to send feedback information of an established communication connection to the to-be-accessed terminal in a case where the continuous cloud key matches the verification key received by the communicator.
9. A terminal to be accessed, characterized by The communicator is configured to receive access information carrying a continuous cloud key and commissioning information sent by a commissioning terminal; wherein the access information is generated by the commissioning terminal based on commissioning information and key rule information when the commissioning terminal receives an access operation of the to-be-accessed terminal, and the key rule information includes parameter information required for generating a key, and the parameter information includes a software version of the to-be-accessed terminal, a device category of the to-be-accessed terminal, a device identification code of the to-be-accessed terminal, a timestamp and an encryption algorithm; The processor is configured to parse the continuous cloud key received by the communicator to obtain a parsed continuous cloud key; The processor is further configured to verify the parsed continuous cloud key to generate a verification key; The processor is further configured to control the communicator to send connection information carrying the verification key to an Internet of Things server based on the commissioning information received by the communicator; The communicator is further configured to receive feedback information sent by the Internet of Things server. 10. A network system characterized by comprising: The application discloses a network access terminal, an Internet of Things server and a terminal to be accessed. The application discloses a network access terminal, an Internet of Things server and a terminal to be accessed.
Citation Information
Patent Citations
Hotspot auxiliary networking method and device and computer readable storage medium
CN116170823A