Internet of Things data security encryption transmission method and system
By generating the same password between different platforms of IoT devices and encrypting the transmitted data, the problem of secure sharing of data transmission between IoT devices is solved, and the secure transmission and reception of data between different platforms is realized.
Patent Information
- Application Number
- CN202510502801.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-05-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the data transmission process between different platforms, it is difficult for IoT devices to achieve secure sharing of data, resulting in an increase in the risk of data leakage.
By generating a password within the same time period, adding passwords to the two mutually transmitted data, and determining whether these passwords are the same, determining whether the two mutually transmitted data can be transmitted to each other. Under the same password, data can be transmitted and received from each other through the data interaction platform.
It realizes the secure sharing of IoT data between different platforms, reduces the risk of data leakage, and ensures the confidentiality, integrity and availability of data during transmission.
Smart Images

Figure CN120034398A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electronic digital data processing, and in particular relates to a method and system for secure encryption transmission of Internet of Things data. Background Art
[0002] IoT data security encryption refers to the use of encryption technology to protect data during transmission in the IoT environment, ensuring the confidentiality, integrity and availability of data during transmission, and preventing the transmitted data from being tampered with or leaked. IoT devices usually collect and transmit a large amount of information, such as technical solution data and commercial confidential data. Encryption technology is a key means to ensure the security of this information, which can prevent data from being stolen or maliciously used, maintain the stable operation of the IoT system, and protect the interests of users.
[0003] IoT data needs to be shared and interacted between different platforms, but the encryption standards and encryption technologies of different platforms may be different, which makes it difficult to achieve secure data sharing during the transmission process between the two platforms. That is, one platform cannot receive the transmission data of another platform or the other platform cannot receive the transmission data of one platform, and the transmission data will be leaked, increasing the risk of transmission data leakage. Summary of the invention
[0004] The present invention provides a method and system for secure encryption transmission of Internet of Things data, which are used to solve the technical problems of secure transmission and sharing of Internet of Things data. By judging whether the passwords added to two mutually transmitted data generated in the same time period or in a certain time period are the same, it is determined whether the two mutually transmitted data can be transmitted to each other. Under the condition that the passwords added to the two mutually transmitted data are the same, after data interaction for one transmission data, one transmission data is sent out and received, and after data interaction for the other transmission data, the other transmission data is sent out and received. In this way, the two mutually transmitted data can be transmitted and received to each other.
[0005] In order to achieve the above object, the present invention is implemented by the following technical solutions:
[0006] A method for secure encryption transmission of IoT data comprises the following steps:
[0007] Step S1: Generate a password within a certain time period, and add the password to each of the two mutually transmitted data; wherein the passwords added to the two mutually transmitted data are generated within the same time period;
[0008] Step S2: Determine whether the passwords added to the two mutually transmitted data generated in the same time period are the same. If the passwords added to the two mutually transmitted data are the same, the two mutually transmitted data can be transmitted to each other. If the passwords added to the two mutually transmitted data are different, the two mutually transmitted data cannot be transmitted to each other.
[0009] Step S3: After the data exchange is completed for a transmission data, the transmission data is transmitted again; wherein, after the data exchange is completed for a transmission data, the password added to the transmission data remains unchanged;
[0010] Step S4: After the data exchange is completed for the other transmission data, the other transmission data is transmitted again; wherein, after the data exchange is completed for the other transmission data, the password added to the other transmission data remains unchanged;
[0011] Step S5: Regenerate a password after a certain period of time.
[0012] Optionally, in step S1, a password is generated in a certain time period by using a fixed time period password generation method, and the fixed time period password generation method is as follows:
[0013] (1);
[0014] in, For each character in the password, each character is Arranged in order, To generate each character in the password, For each character in the password The order of generation; To check whether each character in the password is in accordance with The sequential arrangement and generation operations;
[0015] For each character in the password After the order is arranged and generated, each character in the password is The order of arrangement and generation is tested;
[0016] For a certain period of time, or Generate a password for a certain period of time and test the generated password.
[0017] Furthermore, a certain time period is set, and the passwords added to the two mutually transmitted data are added at the same time, and the passwords added to the two mutually transmitted data remain unchanged within the certain time period;
[0018] The passwords added to the two mutually transmitted data are automatically generated within the same time period, and the passwords added to the two mutually transmitted data are randomly generated within the same time period.
[0019] Optionally, in step S2, a function separation method is used to determine whether the passwords added to two mutually transmitted data generated in the same time period are the same. The function separation method is the following formula (2):
[0020] (2);
[0021] in, A password added to the transmitted data. To detect a password added to a transmission, A password added to another transmission data. To detect a password added to another transmission;
[0022] Password separator, a password added to the transmission data Password added to another transmission data to separate;
[0023] To determine the password added to a transmission data Password added to another transmission data Are they the same?
[0024] For time detection operation, detect a password added to the transmitted data Password added to another transmission data Whether it is within the same time period;
[0025] To determine the password added to a transmission data within the same time period Password added to another transmission data Are they the same? To judge the result.
[0026] Furthermore, to determine whether the passwords added to two mutually transmitted data generated in the same time period are the same, the following steps are adopted:
[0027] Step a: within a certain time period, detecting the number of passwords, password characters and the order of password characters of a password added to a transmission data;
[0028] Step b: within a certain time period, detecting the number of passwords, password characters and the arrangement order of password characters of the password added to another transmission data;
[0029] Step c: If within a certain time period, the number of passwords, password characters and the arrangement order of password characters of the password added to one transmission data are the same as the number of passwords, password characters and the arrangement order of password characters of the password added to another transmission data, then the passwords added to the two mutually transmitted data are the same; otherwise, the passwords added to the two mutually transmitted data are different;
[0030] Among them, in step c, whether the passwords added to the two mutually transmitted data are the same determines whether the two mutually transmitted data can be transmitted.
[0031] Optionally, in step S3, the password added to the transmission data output after the transmission data is interacted with other data remains unchanged.
[0032] Optionally, in step S4, after another transmission data is interacted with through other data, the password added to the other transmission data outputted remains unchanged.
[0033] Optionally, in step S5, a password is regenerated after a certain period of time, and a password is added to each of the two mutually transmitted data, and the passwords added to the two mutually transmitted data are the same.
[0034] An Internet of Things data security encryption transmission system, comprising:
[0035] Time counting module, used to calculate time;
[0036] A password setting module, used for calculating time using a time counting unit so as to generate a password within a certain time period;
[0037] The first data platform is used to add a password to the data in the first data platform;
[0038] The second data platform is used to add a password to the data in the second data platform;
[0039] A data interaction platform, used for data in the first data platform and data in the second data platform to interact with each other;
[0040] The time counting module is connected to the password setting module, and the password setting module is connected to the first data platform and the second data platform; the first data platform and the second data platform are both connected to the data interaction platform.
[0041] Beneficial effects of the present invention:
[0042] By generating a password within a certain time period, adding passwords to two mutually transmitted data respectively, judging whether the passwords added to the two mutually transmitted data respectively generated within the same time period or within a certain time period are the same, it is determined whether the two mutually transmitted data can be transmitted to each other. Under the condition that the passwords added to the two mutually transmitted data are the same, after data interaction for one transmission data, one transmission data is sent out and received, and after data interaction for the other transmission data, the other transmission data is sent out and received. In this way, the two mutually transmitted data can be transmitted and received to each other. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 It is a schematic diagram of the system structure of the present invention;
[0045] Figure 2 The system of the present invention is a working principle diagram of an embodiment;
[0046] Figure 3 A working principle diagram of another embodiment of the system of the present invention;
[0047] Figure 4 It is the work flow chart of the present invention. DETAILED DESCRIPTION
[0048] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0049] Embodiment 1;
[0050] like Figure 1 As shown, this embodiment provides an IoT data security encryption transmission system, including: a time counting module, a password setting module, a first data platform, a second data platform and a data interaction platform;
[0051] Time counting module, used to calculate time;
[0052] A password setting module, used for calculating time using a time counting unit so as to generate a password within a certain time period;
[0053] The first data platform is used to add a password to the data in the first data platform;
[0054] The second data platform is used to add a password to the data in the second data platform;
[0055] A data interaction platform, used for data in the first data platform and data in the second data platform to interact with each other;
[0056] The time counting module is connected to the password setting module, and the password setting module is connected to the first data platform and the second data platform; the first data platform and the second data platform are both connected to the data interaction platform.
[0057] Embodiment 2;
[0058] Based on Example 1, Figure 2 As shown, the data in the first data platform is transmitted to the data interaction platform, the user accesses the data interaction platform, the data in the first data platform temporarily stored in the data interaction platform is then transmitted to the second data platform, and the second data platform receives the data in the first data platform.
[0059] like Figure 3 As shown, the data in the second data platform is transmitted to the data interaction platform, the user accesses the data interaction platform, the data in the second data platform temporarily stored in the data interaction platform is then transmitted to the first data platform, and the first data platform receives the data in the second data platform.
[0060] Embodiment 3;
[0061] Based on Example 1-Example 2, as Figure 4 As shown, this embodiment provides a method for secure encryption transmission of IoT data, comprising the following steps:
[0062] Step S1: Generate a password within a certain time period, and add the password to each of the two mutually transmitted data; wherein the passwords added to the two mutually transmitted data are generated within the same time period;
[0063] Step S2: Determine whether the passwords added to the two mutually transmitted data generated in the same time period are the same. If the passwords added to the two mutually transmitted data are the same, the two mutually transmitted data can be transmitted to each other. If the passwords added to the two mutually transmitted data are different, the two mutually transmitted data cannot be transmitted to each other.
[0064] Step S3: After the data exchange is completed for a transmission data, the transmission data is transmitted again; wherein, after the data exchange is completed for a transmission data, the password added to the transmission data remains unchanged;
[0065] Step S4: After the data exchange is completed for the other transmission data, the other transmission data is transmitted again; wherein, after the data exchange is completed for the other transmission data, the password added to the other transmission data remains unchanged;
[0066] Step S5: Regenerate a password after a certain period of time.
[0067] In step S1, a password is generated in a certain time period by using a fixed time period password generation method. The specific fixed time period password generation method is as follows:
[0068] (1);
[0069] in, For each character in the password, each character is Arrange in order, To generate each character in the password, For each character in the password The order of generation; To check whether each character in the password is in accordance with The sequential arrangement and generation operations;
[0070] It should be noted here that each character is The characters in the password (i.e., numbers from 0 to 9) are generated by arranging them in the order of Generate the content of each character in the password. Let each character in the password follow Arrange in order, Yes After the character content is generated, The character content is generated, and finally The character content is generated, The characters are randomly generated.
[0071] For each character in the password After the order is arranged and generated, each character in the password is The order of arrangement and generation is tested, specifically, After the character content of Detect the character content of After the character content of The character content is detected, and the character content generation and character content detection are performed in this way.
[0072] For a certain period of time, or A password is generated within a certain period of time, and the generated password is tested.
[0073] Set a time period. The length of the time period is determined according to the setting. The time period can be 1 hour or 2 hours. The passwords added to the two mutually transmitted data are added at the same time (that is, the passwords added to the two mutually transmitted data are added within 1 hour or 2 hours). The passwords added to the two mutually transmitted data do not change within a time period, because the passwords added to the two mutually transmitted data have been automatically set within a time period (that is, within 1 hour or 2 hours). The passwords within a time period do not change.
[0074] The passwords added to the two mutually transmitted data are automatically generated within the same time period (ie, within 1 hour or 2 hours), and the passwords added to the two mutually transmitted data are randomly generated within the same time period.
[0075] In step S2, a function separation method is used to determine whether the passwords added to two mutually transmitted data generated in the same time period are the same. The function separation method is the following formula (2):
[0076] (2);
[0077] in, A password added to the transmitted data. To detect a password added to a transmission, A password added to another transmission data. To detect a password added to another transmission;
[0078] Password separator, password separator Add a password to the transmitted data A password added to another transmission to separate;
[0079] To determine the password added to a transmission data A password added to another transmission Are they the same? There is only one password added to the transmitted data. A password added to another transmission Separate them to accurately determine the password added to a transmission data A password added to another transmission Are they the same?
[0080] For time detection operation, detect a password added to the transmitted data A password added to another transmission Whether it is within the same time period;
[0081] For example: a password added to the transmission data Password added to another transmission data Each of them can have their own password generation time record, through the time detection operation Detect a password added to the transmitted data Password added to another transmission data Whether they are all generated in the same time period, so that it can be determined whether a password added to the transmission data is generated in the same time period Password added to another transmission data . Just a password added to the transmitted data Password added to another transmission data are generated in the same time period and and If they are the same, the two mutually transmitted data can be transmitted to each other.
[0082] To determine the password added to a transmission data within the same time period Password added to another transmission data Are they the same? To judge the result and Are they the same?
[0083] Embodiment 4;
[0084] Based on Example 3, to determine whether the passwords added to two mutually transmitted data generated in the same time period are the same, the following steps are adopted:
[0085] Step a: within a certain time period, detecting the number of passwords, password character content and password character arrangement order of a password added to a transmission data;
[0086] Step b: within a certain time period, detecting the number of passwords, password character content and password character arrangement order of the password added to another transmission data;
[0087] Step c: If within a certain time period, the number of passwords, the content of password characters and the arrangement order of password characters of the password added to one transmission data are the same as the number of passwords, the content of password characters and the arrangement order of password characters of the password added to another transmission data, then the passwords added to the two mutually transmitted data are the same; otherwise, the passwords added to the two mutually transmitted data are different;
[0088] Among them, in step c, whether the passwords added to the two mutually transmitted data are the same determines whether the two mutually transmitted data can be transmitted.
[0089] In addition, in step S3, the password added to the transmission data output after the transmission data is interacted with other data remains unchanged.
[0090] In step S4, after another transmission data is exchanged through other data, the password added to the other transmission data outputted remains unchanged.
[0091] In step S5, a password is regenerated after a certain period of time, and a password is added to each of the two mutually transmitted data, and the passwords added to the two mutually transmitted data are the same.
[0092] Embodiment 5;
[0093] Based on all the above embodiments, Figure 1-Figure 3 As shown, the time is calculated by the time counting unit, and the password setting module uses the time counting unit to calculate the time so as to generate a password within a certain time period. The password is the password added to the data in the first data platform and the data in the second data platform, that is, the password added to the data in the first data platform is , the password added to the data in the second data platform is , ensuring that within a certain period of time and same.
[0094] like Figure 2 As shown, within a certain period of time and Under the same conditions, with the added password The data in the first data platform is transmitted to the data interaction platform, and the user accesses the data with the added password through the data interaction platform. Data in the first data platform (because the user knows the password ), the data interaction platform has a password added The data in the first data platform is then transmitted to the second data platform through the data interaction platform, and the second data platform can receive the data with the password added. The data in the first data platform is encrypted because the password added to the data in the first data platform The password added to the data in the second data platform Same, as long as and Similarly, the second data platform allows access to the first data platform.
[0095] Similarly, if Figure 3As shown, within a certain period of time and Under the same conditions, with the added password The data in the second data platform is transmitted to the data interaction platform, and the user accesses the data with the added password through the data interaction platform. The data in the second data platform (because the user knows the password ), the data interaction platform has a password added The data in the second data platform is then transmitted to the first data platform through the data interaction platform, and the first data platform can receive the data with the password added. The data in the second data platform is encrypted because the password added to the data in the second data platform The password added to the data in the first data platform Same, as long as and Similarly, the first data platform allows access to the second data platform.
[0096] After a certain period of time, the password setting module regenerates a password, which is the password added by the data in the first data platform and the data in the second data platform, and the passwords added by the two mutually transmitted data are still the same, ensuring that the data in the first data platform and the data in the second data platform are the same after a certain period of time. Figure 2 and Figure 3 operation.
[0097] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for secure encryption transmission of Internet of Things data, characterized in that: The steps include: Step S1: Generate a password within a certain time period, and add the password to each of the two mutually transmitted data; wherein the passwords added to the two mutually transmitted data are generated within the same time period; Step S2: Determine whether the passwords added to the two mutually transmitted data generated in the same time period are the same. If the passwords added to the two mutually transmitted data are the same, the two mutually transmitted data can be transmitted to each other. If the passwords added to the two mutually transmitted data are different, the two mutually transmitted data cannot be transmitted to each other. Step S3: After the data exchange is completed for a transmission data, the transmission data is transmitted again; wherein, after the data exchange is completed for a transmission data, the password added to the transmission data remains unchanged; Step S4: After the data exchange is completed for the other transmission data, the other transmission data is transmitted again; wherein, after the data exchange is completed for the other transmission data, the password added to the other transmission data remains unchanged; Step S5: Regenerate a password after a certain period of time.
2. According to claim 1, a method for secure encryption transmission of Internet of Things data is characterized in that: In the step S1, a password is generated in a certain time period by using a fixed time period password generation method, and the fixed time period password generation method is the following formula (1): (1); in, For each character in the password, each character is Arrange in order, To generate each character in the password, For each character in the password The order of generation; To check whether each character in the password is in accordance with The sequential arrangement and generation operations; For each character in the password After the order is arranged and generated, each character in the password is The order of arrangement and generation is tested; For a certain period of time, or Generate a password for a certain period of time and test the generated password.
3. The method for secure encryption transmission of IoT data according to claim 2, characterized in that: The certain time period is set, the passwords added to the two mutually transmitted data are added at the same time, and the passwords added to the two mutually transmitted data remain unchanged within the certain time period; The passwords added to the two mutually transmitted data are automatically generated within the same time period, and the passwords added to the two mutually transmitted data are randomly generated within the same time period.
4. The method for secure encryption transmission of IoT data according to claim 1, characterized in that: In step S2, a function separation method is used to determine whether the passwords added to the two mutually transmitted data generated in the same time period are the same. The function separation method is the following formula (2): (2); in, A password added to the transmitted data. To detect a password added to a transmission, A password added to another transmission data. To detect a password added to another transmission; Password separator, a password added to the transmission data A password added to another transmission to separate; To determine the password added to a transmission data A password added to another transmission Are they the same? For time detection operation, detect a password added to the transmitted data A password added to another transmission Whether it is within the same time period; To determine the password added to a transmission data within the same time period A password added to another transmission Are they the same? To judge the result.
5. The method for secure encryption transmission of Internet of Things data according to claim 4, characterized in that: To determine whether the passwords added to the two mutually transmitted data generated in the same time period are the same, the following steps are adopted: Step a: within a certain time period, detecting the number of passwords, password characters and the order of password characters of a password added to a transmission data; Step b: within a certain time period, detecting the number of passwords, password characters and the arrangement order of password characters of the password added to another transmission data; Step c: If within a certain time period, the number of passwords, password characters and the arrangement order of password characters of the password added to one transmission data are the same as the number of passwords, password characters and the arrangement order of password characters of the password added to another transmission data, then the passwords added to the two mutually transmitted data are the same; otherwise, the passwords added to the two mutually transmitted data are different; Wherein, in the step c, whether the passwords added to the two mutually transmitted data are the same determines whether the two mutually transmitted data can be transmitted.
6. The method for secure encryption transmission of IoT data according to claim 1, characterized in that: In the step S3, the password added to the transmission data output after the transmission data is interacted with other data remains unchanged.
7. The method for secure encryption transmission of IoT data according to claim 1, characterized in that: In the step S4, the password added to the other transmission data outputted after the other transmission data is interacted with through other data remains unchanged.
8. The method for secure encryption transmission of IoT data according to claim 1, characterized in that: In the step S5, a password is regenerated after a certain period of time, and a password is added to each of the two mutually transmitted data, and the passwords added to the two mutually transmitted data are the same.
9. An Internet of Things data security encryption transmission system, used to execute an Internet of Things data security encryption transmission method according to any one of claims 1-8, characterized in that: include: Time counting module, used to calculate time; A password setting module, used for calculating time using a time counting unit so as to generate a password within a certain time period; The first data platform is used to add a password to the data in the first data platform; The second data platform is used to add a password to the data in the second data platform; A data interaction platform, used for data in the first data platform and data in the second data platform to interact with each other; The time counting module is connected to the password setting module, and the password setting module is connected to the first data platform and the second data platform; the first data platform and the second data platform are both connected to the data interaction platform.
Citation Information
Patent Citations
Method and system for generating and verifying dynamic password of Internet of Things, and computer equipment
CN110034926A
Conference control method and device
CN111786945A
Authentication login method and device for shared account
CN116471076A
Bidirectional authentication method and system based on internet of things
WO2024139603A1