Internet of things information transmission method and device, storage medium and electronic device

By negotiating the decryption key between the IoT platform and the terminal, the IoT information is directly encrypted and decrypted, avoiding VPN adaptation, solving the problems of high resource consumption and low efficiency in IoT information transmission, and achieving a more efficient Information transmission.

CN113840282BActive Publication Date: 2024-09-24CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111134723.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-09-24
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

Existing IoT information transmission consumes a lot of resources and is inefficient in a massive terminal environment, mainly because each transmission requires VPN adaptation.

Method used

By sending a key acquisition request to the IoT platform, the pre-negotiated decryption key is obtained, and the information collected by the target IoT device is encrypted and transmitted based on this key. The receiving end obtains the information through the decryption process of the decryption key to avoid VPN adaptation.

Benefits of technology

It reduces resource consumption and improves the efficiency of IoT information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113840282B
    Figure CN113840282B
Patent Text Reader

Abstract

The present application provides an Internet of Things information transmission method and device, a storage medium and an electronic device, the method comprising: an Internet of Things platform stores a decryption key pre-negotiated with a target Internet of Things device, and when the Internet of Things device establishes a connection with a receiving end, the Internet of Things device encrypts the Internet of Things information collected by itself based on the pre-negotiated encryption key, and sends the encrypted Internet of Things information to the receiving end, and the receiving end obtains a target decryption password corresponding to the target Internet of Things device through the Internet of Things platform, thereby using the target decryption key to decrypt the encrypted Internet of Things information to obtain the Internet of Things information. It can be seen that the present application scheme reduces resource consumption and improves the efficiency of Internet of Things information transmission because VPN adaptation is not required.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to an Internet of Things information transmission method and device, a storage medium and an electronic device. Background Art

[0002] With the development of science and technology, the Internet of Things technology is being used more and more widely in people's lives. The Internet of Things is a network that connects any device to the Internet through information sensing devices such as radio frequency identification, infrared sensors, global positioning systems, laser scanners, etc., according to agreed protocols, and transmits information to achieve intelligent identification, positioning, tracking, monitoring and management.

[0003] In the prior art, IoT information transmission is adapted through VPN (Virtual Private Network) and then transmitted after adaptation. However, in the environment of massive IoT terminals (including IoT devices and receiving ends), VPN adaptation is required for each transmission of IoT information, which consumes a lot of resources and has low efficiency. Summary of the invention

[0004] The present application provides an Internet of Things information transmission method and device, a storage medium and an electronic device, aiming to solve the problem that existing Internet of Things transmission consumes a large amount of resources and has low efficiency.

[0005] In order to achieve the above objectives, this application provides the following technical solutions:

[0006] A method for transmitting information of the Internet of Things, applied to a receiving end, the method comprising:

[0007] Sending a key acquisition request to the Internet of Things platform; the key acquisition request includes device information of the target Internet of Things device;

[0008] Acquire feedback information sent by the IoT platform; the feedback information at least includes a target decryption key, and the target decryption key is obtained based on a decryption key pre-negotiated between the IoT platform and the target IoT device;

[0009] Sending a connection request to the target IoT device, so that when the target IoT device establishes a connection with the receiving end, the target IoT device encrypts the IoT information collected by the target IoT device based on a pre-negotiated encryption key and transmits the encrypted IoT information;

[0010] The encrypted IoT information is obtained, and based on the target decryption key, the encrypted IoT information is decrypted to obtain the IoT information.

[0011] In the above method, optionally, the feedback information also includes an authorization token.

[0012] In the above method, optionally, the sending of a connection request to the target IoT device includes:

[0013] Based on the authorization token, a connection request is sent to the target IoT device.

[0014] In the above method, optionally, the target IoT device establishing a connection with the receiving end includes:

[0015] The target IoT device performs a permission check on the receiving end based on the authorization token to obtain a check result;

[0016] When the verification result indicates that the authority verification is passed, a connection with the receiving end is established.

[0017] In the above method, optionally, the target IoT device performs permission verification on the receiving end based on the authorization token to obtain a verification result, including:

[0018] The target IoT device sends a permission verification request to the IoT platform based on the authorization token, so that the IoT platform can determine whether there is a token matching the authorization token in the pre-stored tokens, and if so, generate a verification result indicating that the permission verification has been passed; if not, generate a verification result indicating that the permission verification has not been passed;

[0019] Obtain the verification result fed back by the Internet of Things platform.

[0020] In the above method, optionally, the step of obtaining feedback information sent by the Internet of Things platform includes:

[0021] Obtain feedback information sent by the Internet of Things platform when the legitimacy of the key acquisition request is verified.

[0022] In the above method, optionally, the encrypting the IoT information collected by the target IoT device based on the pre-negotiated encryption key includes:

[0023] According to a preset update strategy, the pre-negotiated encryption key is updated to obtain a target encryption key;

[0024] The target encryption key is used to encrypt the IoT information collected by the target IoT device.

[0025] An Internet of Things information transmission device, applied to a receiving end, comprising:

[0026] A first sending unit, configured to send a key acquisition request to the Internet of Things platform; the key acquisition request includes device information of a target Internet of Things device;

[0027] A first acquisition unit is used to acquire feedback information sent by the Internet of Things platform; the feedback information at least includes a target decryption key, and the target decryption key is obtained based on a decryption key pre-negotiated between the Internet of Things platform and the target Internet of Things device;

[0028] A second sending unit is used to send a connection request to the target IoT device, so that when the target IoT device establishes a connection with the receiving end, the target IoT device encrypts the IoT information collected by the target IoT device based on a pre-negotiated encryption key and transmits the encrypted IoT information;

[0029] The second acquisition unit is used to acquire the encrypted Internet of Things information, and decrypt the encrypted Internet of Things information based on the target decryption key to obtain the Internet of Things information.

[0030] A storage medium stores an instruction set, wherein the instruction set, when executed by a processor, implements the above-mentioned Internet of Things information transmission method.

[0031] An electronic device, comprising:

[0032] A memory for storing at least one set of instructions;

[0033] The processor is used to execute the instruction set stored in the memory, and implement the above-mentioned Internet of Things information transmission method by executing the instruction set.

[0034] Compared with the prior art, this application has the following advantages:

[0035] The present application provides an Internet of Things information transmission method and device, a storage medium and an electronic device, the method comprising: an Internet of Things platform stores a decryption key pre-negotiated with a target Internet of Things device, and when the Internet of Things device establishes a connection with a receiving end, the Internet of Things device encrypts the Internet of Things information collected by itself based on the pre-negotiated encryption key, and sends the encrypted Internet of Things information to the receiving end, and the receiving end obtains a target decryption password corresponding to the target Internet of Things device through the Internet of Things platform, thereby using the target decryption key to decrypt the encrypted Internet of Things information to obtain the Internet of Things information. It can be seen that the present application scheme reduces resource consumption and improves the efficiency of Internet of Things information transmission because VPN adaptation is not required. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0037] Figure 1 A method flow chart of an Internet of Things information transmission method provided by this application;

[0038] Figure 2 Another method flow chart of an Internet of Things information transmission method provided by this application;

[0039] Figure 3 A flowchart of another method of an Internet of Things information transmission method provided by this application;

[0040] Figure 4 An example diagram of an Internet of Things information transmission method provided in this application;

[0041] Figure 5 A schematic diagram of the structure of an Internet of Things information transmission device provided in this application;

[0042] Figure 6 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0045] It should be noted that the concepts such as "first" and "second" mentioned in the present application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0046] It should be noted that the modifications of "one" and "plurality" mentioned in the disclosure of this application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0047] The present application can be used in many general or special computing device environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multi-processor devices, distributed computing environments including any of the above devices or equipment, etc.

[0048] The present application embodiment provides an Internet of Things information transmission method, which can be applied to a receiving end, see Figure 1 , the method flow chart of the Internet of Things information transmission method is as follows Figure 1 As shown, specifically including:

[0049] S101. Send a key acquisition request to the Internet of Things platform.

[0050] In this embodiment, when there is a need to obtain IoT information, the receiving end sends a key acquisition request to the IoT platform, where the IoT information includes but is limited to videos and pictures, and the key acquisition request includes device information of the target IoT device. The target IoT device is the IoT device corresponding to the IoT information to be obtained, that is, the IoT device that collects the IoT information to be obtained. The target IoT device includes but is not limited to a camera device, and the device information of the target IoT device includes but is not limited to the location information of the target IoT.

[0051] In this embodiment, when the Internet of Things platform receives a key acquisition request sent by the receiving end, it verifies the legitimacy of the key acquisition request, that is, verifies whether the receiving end has the authority to obtain the key; after passing the legitimacy verification of the key acquisition request, the Internet of Things platform obtains the target decryption key corresponding to the target Internet of Things device based on the device information of the target Internet of Things device, and feeds back the target decryption key as feedback information.

[0052] It should be noted that the target decryption key is obtained based on the decryption key pre-negotiated between the IoT platform and the target IoT device. Specifically, based on a preset update strategy, the pre-negotiated decryption key is updated to obtain the target decryption key. It should be noted that the update strategy is a manually set strategy and can be modified according to needs. Optionally, the update strategy can be to hash the pre-negotiated decryption key with the device identification and date parameters of the target IoT device. In other words, the target decryption key is obtained by hashing the pre-negotiated key, the date parameter and the device identification of the target IoT device.

[0053] S102: Obtain feedback information sent by the Internet of Things platform.

[0054] In this embodiment, the feedback information sent by the Internet of Things platform is obtained, specifically, the feedback information sent by the Internet of Things platform after the legality of the key acquisition request is verified. The feedback information at least includes the decryption key.

[0055] Optionally, the feedback information may also include an authorization token, which is a token generated by the IoT platform after the legitimacy of the key acquisition request is verified.

[0056] S103, sending a connection request to the target IoT device, so that when the target IoT device establishes a connection with the receiving end, based on the pre-negotiated encryption key, the IoT information collected by the target IoT device is encrypted and the encrypted IoT information is transmitted.

[0057] In this embodiment, the receiving end sends a connection request to the target IoT device, and the connection request is used to request to establish a connection with the target IoT device. Optionally, the receiving end sends a connection request to the target IoT device based on the authorization token.

[0058] In this embodiment, the target IoT device establishes a connection with the receiving end, and after establishing the connection with the receiving end, obtains the IoT information collected by itself, and uses the pre-negotiated encryption key to encrypt the IoT information collected by itself, and transmits the encrypted IoT information to the receiving end through the connection path.

[0059] Among them, see Figure 2 The process of establishing a connection between the target IoT device and the receiving end includes the following steps:

[0060] S201. The target IoT device performs permission verification on the receiving end based on the authorization token to obtain a verification result.

[0061] In this embodiment, after receiving the connection request sent by the receiving end, the target IoT device performs an authority check on the receiving end based on the authorization token included in the connection request to obtain a verification result.

[0062] Specifically, based on the authorization token, the receiving end is verified for permission and the process of obtaining the verification result includes the following steps:

[0063] The target IoT device sends a permission verification request to the IoT platform based on the authorization token, so that the IoT platform can determine whether there is a token matching the authorization token in the pre-stored tokens. If so, a verification result indicating that the permission verification has been passed is generated; if not, a verification result indicating that the permission verification has not been passed is generated;

[0064] Get the verification results fed back by the IoT platform.

[0065] In this embodiment, the target IoT device sends a permission verification request to the IoT platform based on the authorization token. After receiving the permission verification request sent by the target IoT, the IoT platform obtains the authorization token included in the permission verification request, and searches for a pre-stored token. By matching the pre-stored token with the authorization token, it is determined whether there is a token matching the authorization token in the pre-stored tokens. If so, a verification result indicating that the permission verification has been passed is generated. If not, a verification result indicating that the permission verification has not been passed is generated, and the verification result is fed back to the target IoT device.

[0066] The target IoT device obtains the verification result fed back by the IoT platform.

[0067] S202, determine whether the verification result indicates that the permission verification has been passed, if so, execute S203, if not, execute S204.

[0068] S203: Establish a connection with the receiving end.

[0069] In this embodiment, if the verification result indicates that the authority verification is passed, a connection with the receiving end is established.

[0070] S204: Do not establish a connection with the receiving end.

[0071] In this embodiment, if the check result indicates that the authorization check is not performed, the connection of the receiving end is not established.

[0072] In this embodiment, the negotiation process of the encryption key and the decryption key includes:

[0073] Step 1: The target IoT device initiates a key negotiation request to the IoT platform based on the device fingerprint information.

[0074] Step 2: After verifying the device fingerprint information, the IoT platform sends the IoT platform's certificate and signature, as well as the first negotiation information, to the target IoT device.

[0075] Step three, the target IoT device verifies the certificate and signature of the IoT platform. After the certificate and signature of the IoT platform are verified, the target IoT device's device certificate and signature, as well as second negotiation information are sent to the IoT platform. The device certificate of the target IoT device is the certificate assigned by the IoT platform when the target IoT device accesses the IoT platform, and the second negotiation information is obtained based on the first negotiation information.

[0076] Step 4: The IoT platform verifies the certificate and signature of the target IoT device. After the certificate and signature of the target IoT device are verified, key negotiation is completed. The IoT platform obtains the negotiated decryption key based on the first negotiation information and the second negotiation information; the target IoT device obtains the negotiated encryption key based on the first negotiation information and the second negotiation information.

[0077] It should be noted that the target IoT device and the IoT platform perform key negotiation according to a preset negotiation period. Optionally, the negotiation period may be twelve hours, one day, or one week.

[0078] See also Figure 3 The target IoT device encrypts the IoT information collected by the target IoT device based on the pre-negotiated encryption key, which specifically includes the following steps:

[0079] S301. According to a preset update strategy, a pre-negotiated encryption key is updated to obtain a target encryption key.

[0080] In this embodiment, the pre-negotiated encryption key is updated according to a preset update strategy to obtain a target encryption key. It should be noted that the update strategy is a manually set strategy and can be modified according to needs. Optionally, the update strategy can be to perform a hash calculation on the pre-negotiated encryption key, the device identification and date parameters of the target IoT device, that is, the target encryption key is obtained by performing a hash calculation on the pre-negotiated encryption key, the date parameters and the device identification of the target IoT device.

[0081] It should be noted that the pre-negotiated encryption key may be a key obtained based on a stream encryption algorithm.

[0082] S302: Use the target encryption key to encrypt the IoT information collected by the target IoT device.

[0083] In this embodiment, the target IoT device collects IoT information and uses the target encryption key to encrypt the collected IoT information.

[0084] S104: Obtain the encrypted IoT information, and decrypt the encrypted IoT information based on the target decryption key to obtain the IoT information.

[0085] In this embodiment, the encrypted IoT information transmitted by the target IoT device is obtained, and the encrypted IoT information is decrypted using the target decryption key fed back by the IoT platform, thereby obtaining the IoT information.

[0086] In the IoT information transmission method provided by the embodiment of the present application, the IoT platform stores the decryption key pre-negotiated with the target IoT device. When the IoT device establishes a connection with the receiving end, it encrypts the IoT information collected by itself based on the pre-negotiated encryption key, and sends the encrypted IoT information to the receiving end. The receiving end obtains the target decryption password corresponding to the target IoT device through the IoT platform, and then uses the target decryption key to decrypt the encrypted IoT information to obtain the IoT information. The application of the IoT information transmission method provided by the embodiment of the present application reduces the consumption of resources and improves the efficiency of IoT information transmission because VPN adaptation is not required.

[0087] See also Figure 4 The specific process of the Internet of Things information transmission method mentioned in the embodiment of the present application is described in detail as follows:

[0088] S401. The receiving end sends a key acquisition request to the Internet of Things platform.

[0089] When the receiving end needs to obtain IoT information from an IoT device, the receiving end sends a key acquisition request to the IoT platform based on the device information of the IoT device, where the IoT device is the device whose IoT information is to be obtained.

[0090] S402: The IoT platform performs a legitimacy check on the key acquisition request.

[0091] S403, the IoT platform determines whether the key acquisition request passes the legitimacy check, if not, executes S404, if yes, executes S405.

[0092] S404: The Internet of Things platform sends a first prompt message to the receiving end. The first prompt message is used to prompt the receiving end that it does not have the authority to obtain the key.

[0093] S405: The IoT platform sends the target decryption key and authorization token to the receiving end.

[0094] The IoT platform generates an authorization token after verifying the legitimacy of the key acquisition request, and obtains the target decryption key of the IoT device based on the pre-negotiated decryption key, and sends the authorization token and target decryption key to the receiving end.

[0095] S406: The receiving end sends a connection request to the IoT device.

[0096] The receiving end obtains the authorization token and the target decryption key, and sends a connection request to the IoT device based on the authorization token.

[0097] S407: The IoT device sends a permission verification request to the IoT platform.

[0098] After receiving the connection request, the IoT device obtains the authorization token included in the connection request, and sends a permission verification request to the IoT platform based on the authorization token.

[0099] S408. The IoT platform sends the verification result to the IoT device.

[0100] The IoT platform matches the authorization token sent by the IoT device based on the pre-stored tokens. If there is a token matching the authorization token in the pre-stored tokens, a verification result is generated indicating that the permission check has passed. Otherwise, a verification result is generated indicating that the permission check has not passed, and the verification result is fed back to the IoT device.

[0101] S409. The IoT device determines whether the verification result indicates that the permission verification has been passed. If not, execute S410. If so, execute S411.

[0102] S410: The IoT device sends a second prompt message to the receiving end, where the second prompt message is used to prompt the receiving end that the connection fails.

[0103] S411. The IoT device establishes a connection with the receiving end.

[0104] When the verification result indicates that the IoT device has passed the verification, the IoT device establishes a connection with the receiving end.

[0105] S412: The Internet of Things uses the pre-negotiated encryption key to encrypt the Internet of Things information collected by itself.

[0106] When the verification result indicates that the IoT device has passed the verification, it establishes a connection with the receiving end, obtains the IoT information collected by itself, updates the pre-negotiated encryption key, obtains the target encryption key, and uses the target encryption key to encrypt the collected IoT information.

[0107] S413. The physical network device sends the encrypted IoT information to the receiving end.

[0108] The physical network device transmits the encrypted IoT information to the receiving end through the connection path.

[0109] S414: The receiving end uses the target decryption key to decrypt the encrypted IoT information to obtain the IoT information.

[0110] It should be noted that although the operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.

[0111] It should be understood that the various steps described in the method embodiments disclosed in the present application can be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0112] and Figure 1 Corresponding to the method described above, the embodiment of the present application also provides an Internet of Things information transmission device for Figure 1 The specific implementation of the method is shown in the following diagram: Figure 5 As shown, specifically including:

[0113] The first sending unit 501 is used to send a key acquisition request to the Internet of Things platform; the key acquisition request includes device information of the target Internet of Things device;

[0114] A first acquisition unit 502 is configured to acquire feedback information sent by the IoT platform; the feedback information at least includes a target decryption key, and the target decryption key is obtained based on a decryption key pre-negotiated between the IoT platform and the target IoT device;

[0115] The second sending unit 503 is used to send a connection request to the target IoT device, so that when the target IoT device establishes a connection with the receiving end, the target IoT device encrypts the IoT information collected by the target IoT device based on the pre-negotiated encryption key and transmits the encrypted IoT information;

[0116] The second acquisition unit 504 is used to acquire the encrypted IoT information, and decrypt the encrypted IoT information based on the target decryption key to obtain the IoT information.

[0117] In the IoT information transmission device provided by the embodiment of the present application, the IoT platform stores the decryption key pre-negotiated with the target IoT device. When the IoT device establishes a connection with the receiving end, it encrypts the IoT information collected by itself based on the pre-negotiated encryption key, and sends the encrypted IoT information to the receiving end. The receiving end obtains the target decryption password corresponding to the target IoT device through the IoT platform, and then uses the target decryption key to decrypt the encrypted IoT information to obtain the IoT information. The application of the IoT information transmission device provided by the embodiment of the present application reduces resource consumption and improves the efficiency of IoT information transmission because VPN adaptation is not required.

[0118] In one embodiment of the present application, based on the above solution, the feedback information also includes an authorization token.

[0119] In one embodiment of the present application, based on the above solution, when the second sending unit 503 sends a connection request to the target IoT device, it is specifically used to:

[0120] Based on the authorization token, a connection request is sent to the target IoT device.

[0121] In one embodiment of the present application, based on the above solution, when the target IoT device establishes a connection with the receiving end, the second sending unit 503 is specifically used to:

[0122] The target IoT device performs a permission check on the receiving end based on the authorization token to obtain a check result;

[0123] When the verification result indicates that the authority verification is passed, a connection with the receiving end is established.

[0124] In one embodiment of the present application, based on the above-mentioned solution, the second sending unit 503 performs permission verification on the receiving end based on the authorization token when the target IoT device obtains the verification result, specifically for:

[0125] The target IoT device sends a permission verification request to the IoT platform based on the authorization token, so that the IoT platform can determine whether there is a token matching the authorization token in the pre-stored tokens, and if so, generate a verification result indicating that the permission verification has been passed; if not, generate a verification result indicating that the permission verification has not been passed;

[0126] Obtain the verification result fed back by the Internet of Things platform.

[0127] In one embodiment of the present application, based on the above solution, the first acquisition unit 502 is specifically used to:

[0128] Obtain feedback information sent by the Internet of Things platform when the legitimacy of the key acquisition request is verified.

[0129] In one embodiment of the present application, based on the above-mentioned solution, when the second sending unit 503 encrypts the IoT information collected by the target IoT device based on the pre-negotiated encryption key, it is specifically used to:

[0130] According to a preset update strategy, the pre-negotiated encryption key is updated to obtain a target encryption key;

[0131] The target encryption key is used to encrypt the IoT information collected by the target IoT device.

[0132] An embodiment of the present application further provides a storage medium, wherein the storage medium stores an instruction set, wherein when the instruction set is executed, the Internet of Things information transmission method disclosed in any of the above embodiments is executed.

[0133] The present application also provides an electronic device, whose structural diagram is as follows: Figure 6 As shown, it specifically includes a memory 601, which is used to store at least one set of instruction sets; a processor 602, which is used to execute the instruction set stored in the memory, and implement the Internet of Things information transmission method disclosed in any of the above embodiments by executing the instruction set.

[0134] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0135] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope disclosed in the present application. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.

[0136] The above description is only a preferred embodiment disclosed in this application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the disclosure of this application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the disclosure of this application (but not limited to) to form a technical solution.

Claims

1. A method for transmitting information of the Internet of Things, characterized in that: Applied to the receiving end, the method comprises: Sending a key acquisition request to the Internet of Things platform; the key acquisition request includes device information of the target Internet of Things device; Obtain feedback information sent by the IoT platform; the feedback information at least includes a target decryption key, and the target decryption key is obtained by updating the decryption key pre-negotiated between the IoT platform and the target IoT device based on a preset update strategy; the preset update strategy includes performing hash calculation on the decryption key, the device identification of the target IoT device, and the date parameter; Sending a connection request to the target IoT device, so that when the target IoT device establishes a connection with the receiving end, the target IoT device encrypts the IoT information collected by the target IoT device based on a pre-negotiated encryption key and transmits the encrypted IoT information; Acquire the encrypted IoT information, and decrypt the encrypted IoT information based on the target decryption key to obtain the IoT information; The encrypting of the IoT information collected by the target IoT device based on the pre-negotiated encryption key includes: According to a preset update strategy, the pre-negotiated encryption key is updated to obtain a target encryption key; The target encryption key is used to encrypt the IoT information collected by the target IoT device.

2. The method according to claim 1, characterized in that The feedback information also includes an authorization token.

3. The method according to claim 2, characterized in that The sending a connection request to the target IoT device includes: Based on the authorization token, a connection request is sent to the target IoT device.

4. The method according to claim 2, characterized in that: The target IoT device establishes a connection with the receiving end, including: The target IoT device performs a permission check on the receiving end based on the authorization token to obtain a check result; When the verification result indicates that the authority verification is passed, a connection with the receiving end is established.

5. The method according to claim 4, characterized in that The target IoT device performs permission verification on the receiving end based on the authorization token to obtain a verification result, including: The target IoT device sends a permission verification request to the IoT platform based on the authorization token, so that the IoT platform can determine whether there is a token matching the authorization token in the pre-stored tokens, and if so, generate a verification result indicating that the permission verification has been passed; if not, generate a verification result indicating that the permission verification has not been passed; Obtain the verification result fed back by the Internet of Things platform.

6. The method according to claim 1, characterized in that The obtaining of feedback information sent by the Internet of Things platform includes: Obtain feedback information sent by the Internet of Things platform when the legitimacy of the key acquisition request is verified.

7. An Internet of Things information transmission device, characterized in that: Applied to a receiving end, the device comprises: A first sending unit, configured to send a key acquisition request to the Internet of Things platform; the key acquisition request includes device information of a target Internet of Things device; A first acquisition unit is used to acquire feedback information sent by the Internet of Things platform; the feedback information at least includes a target decryption key, and the target decryption key is obtained by updating the decryption key pre-negotiated between the Internet of Things platform and the target Internet of Things device based on a preset update strategy; the preset update strategy includes hashing the decryption key, the device identification of the target Internet of Things device, and the date parameter; A second sending unit is used to send a connection request to the target IoT device, so that when the target IoT device establishes a connection with the receiving end, the target IoT device encrypts the IoT information collected by the target IoT device based on a pre-negotiated encryption key and transmits the encrypted IoT information; A second acquisition unit is used to acquire the encrypted IoT information, and decrypt the encrypted IoT information based on the target decryption key to obtain the IoT information; The encrypting of the IoT information collected by the target IoT device based on the pre-negotiated encryption key includes: According to a preset update strategy, the pre-negotiated encryption key is updated to obtain a target encryption key; The target encryption key is used to encrypt the IoT information collected by the target IoT device.

8. A storage medium, characterized in that: The storage medium stores an instruction set, wherein the instruction set, when executed by the processor, implements the Internet of Things information transmission method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: include: A memory for storing at least one set of instructions; A processor is used to execute an instruction set stored in the memory, and implement the Internet of Things information transmission method according to any one of claims 1 to 6 by executing the instruction set.