Electronic control multi-machine data real-time encryption transmission method

By using public information for encryption processing and difference transmission in the real-time encrypted transmission method of electronically controlled multi-machine data, the problem of insufficient key length of the existing encryption algorithm is solved, and the security and practicality of data transmission are improved.

CN118713883APending Publication Date: 2024-09-27CHONGQING HUAMEI ELECTRIC POWER EQUIPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410815321.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing encryption algorithms either have key lengths that are too short and are easily cracked, or key lengths that are too long, resulting in increased computational and storage space overhead, and cannot effectively resist brute force cracking and differential attacks.

Method used

In the real-time encrypted transmission method of electronically controlled multi-machine data, public channels are used to regularly broadcast public information. Each subsystem performs encryption processing based on the public information, and calculates the encrypted data difference and transmits it to the host. The host decrypts according to the identity information to ensure that the data Transmission security.

Benefits of technology

It improves the security of encrypted data transmission, reduces the storage space of encrypted data, and achieves accurate decryption of data in multiple subsystems, suitable for encryption tasks of different data formats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118713883A
    Figure CN118713883A
Patent Text Reader

Abstract

An electric control multi-machine data real-time encryption transmission method is characterized by comprising the following steps that 1, a team is established, and the team comprises a host and N sub-system hosts to obtain initial data of all sub-systems; 2, regularly broadcasting public information to the host and each subsystem through a public channel; 3, according to the current public information, an encryption unit in the subsystem converts the initial data into first data, converts the current data into second data, carries out subtraction to obtain first difference value data, and puts the first difference value data into encrypted data; 4, the host performs identity information identification on the encrypted data; 5, converting the initial data into third data by an encryption unit in the host, and subtracting the third data from the first difference data to obtain fourth data; and 6, the decryption unit decrypts the fourth data to obtain decrypted data. The method has the advantages that the security of data encryption transmission is improved, the storage space of encrypted data is reduced, and the practicability of the method is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information encryption, and in particular to a method for real-time encryption transmission of electronically controlled multi-machine data. Background Art

[0002] The basic process of data encryption is to process the original plain text file or data according to a certain algorithm, so that it becomes an unreadable code called "ciphertext", so that it can only be displayed after the corresponding key is entered. In this way, the purpose of protecting data from being stolen and read by illegal persons is achieved. The reverse process of this process is decryption, which is the process of converting the encoded information into its original data. The encryption algorithms that are currently used more are: DES algorithm, AES algorithm and RSA algorithm.

[0003] The DES (Data Encryption Standard) algorithm is a symmetric encryption algorithm developed by IBM in 1975. It is one of the earliest widely used symmetric encryption algorithms. The DES algorithm uses a 56-bit key to encrypt data. The encryption process uses permutation, substitution, XOR and other operations. The DES algorithm is fast, but it is not the best choice in terms of security because the key length of the DES algorithm is relatively short, and the risk of being cracked by brute force and differential attacks is relatively high.

[0004] AES (Advanced Encryption Standard) is a symmetric encryption algorithm that is widely used in the field of data encryption and protection. The key length used by the AES algorithm is 128 bits, 192 bits, or 256 bits, which is longer than the key length of the DES algorithm and has higher security. The AES algorithm uses a longer key length, a larger key space, higher security, and can effectively resist brute force attacks. Of course, because the key length is longer, more storage is required.

[0005] The RSA algorithm is the most widely used asymmetric encryption algorithm. It was invented by Ron Rivest, Adi Shamir and Leonard Adleman in 1978. The advantages of the RSA algorithm are high security. The public key can be made public, and the private key must be kept confidential, which ensures the security of the data. It can be used in a variety of application scenarios such as digital signatures and key negotiation. The disadvantages are that the encryption and decryption speeds are slow. The longer the key length, the longer the encryption and decryption time. If the key length is too short, it is easy to be cracked by brute force. If the key length is too long, it will increase the cost of computing and storage space.

[0006] Disadvantages of existing technologies: Existing encryption algorithms either have a key length that is too short and can be easily cracked by brute force, or have a key length that is too long, which increases the amount of computation and storage space overhead. Summary of the invention

[0007] The present invention provides a method for real-time encrypted transmission of electronically controlled multi-machine data, which can improve the security of data encryption.

[0008] In order to achieve the above object, the present invention provides a method for real-time encrypted transmission of electronically controlled multi-machine data, the key of which is to include the following steps:

[0009] Step 1: Form a team, which includes a host and N subsystems. In the early stage of team formation, the host obtains and saves the initial data A of each subsystem. After starting the work, various status data of the subsystem will change during the operation of the subsystem.

[0010] Step 2: During the team operation, public information is broadcast to the host and each subsystem via a public channel at regular intervals;

[0011] Step 3: The subsystem obtains the current public information, and the encryption unit in the subsystem converts the initial data A into the first data A through an encryption algorithm according to the current public information. ′ , convert the current data B of the subsystem into the second data B ′ , and the first data A ′ With the second data B ′ Subtract the difference to obtain first difference data C, and put the first difference data C into encrypted data to transmit to the host;

[0012] Step 4: The host performs identity information recognition on the encrypted data to obtain subsystem identity information;

[0013] Step 5: The encryption unit in the host converts the initial data A into third data A″ ​​according to the current public information and the subsystem identity information, and then adopts the encryption algorithm consistent with the subsystem and the initial data A, and subtracts the third data A″ ​​from the first difference data C to obtain fourth data B″, and transmits it to the decryption unit;

[0014] Step 6: The decryption unit selects a decryption algorithm corresponding to the subsystem according to the current public information and the subsystem identity information to decrypt the fourth data B″ to obtain decrypted data D, thereby generating the real current data B of the subsystem.

[0015] Through the above design, public information is uniformly distributed through a public channel, and each subsystem uses different encryption algorithms to encrypt the initial data A and the current data B according to the public information to obtain the first data A. ′ and the second data B ′, and calculate the difference between the two, and then put the difference into the encrypted data and transmit it to the host. The first difference data C is transmitted as encrypted data. When the encrypted data is intercepted by any third party, the third party cannot decipher the encrypted data to obtain the current data B, thereby improving the security of data encryption transmission.

[0016] The first data A′ is equal to the third data A″, the second data B′ is equal to the fourth data B″, and the current data B is equal to the decrypted data D.

[0017] Preferably, in step 2, the public information is either weather forecast information, music information, time information, public information broadcast by the host, or encrypted text information of the last public broadcast by other subsystems.

[0018] The public information is the encrypted literal information that was publicly broadcast by other subsystems last time, that is, when a subsystem performed encrypted data transmission last time, it also broadcast its encrypted data, that is, the encrypted literal information as public information. Except for the host, other subsystems also know the encrypted data, but they are unable to decipher the encrypted data based on the public information.

[0019] Through the above design, the encrypted data is encrypted using third-party information, which effectively improves the security of data transmission, and the public information released in different time periods is different.

[0020] Preferably, in step 3, the encryption algorithm is expressed as:

[0021] C=A ′ -B ′ =γA-γB

[0022] Wherein, C represents the first difference data, γ represents the public information, A represents the initial data, and B represents the current data;

[0023] The current data B is converted into the initial data A for the next data transmission.

[0024] Through the above design, the current data B of the subsystem is converted into the initial data A for the next data transmission, so that the data changes of each subsystem in each data transmission time period can be clearly understood.

[0025] Preferably, in step 4, one of the subsystems is provided with an encryption algorithm, and the host is provided with the encryption algorithms and corresponding decryption algorithms of all the subsystems.

[0026] Through the above design, different encryption algorithms are set correspondingly for different subsystems, which effectively improves the security of information encryption transmission.

[0027] Preferably, in step 4, the encrypted information also contains identity information of the corresponding subsystem.

[0028] Through the above design, the host determines which subsystem the encrypted information comes from through the subsystem identity information in the encrypted information, which makes it easy for the host to query the corresponding encryption and decryption algorithms based on the identity information, ensure the smooth progress of the decryption task, and provide the reliability of data decryption; at the same time, it can achieve accurate decryption of data information of multiple subsystems and realize one-to-many signal encryption transmission function.

[0029] Preferably, the subsystem is further provided with a data conversion unit for converting the data formats of the initial data and the current data into a binary data format or a decimal data format according to the values ​​of the initial data and the current data.

[0030] The data conversion unit is used to realize the data format conversion of the initial data and the current data, converting them into a binary data format or a decimal data format that is convenient for computer processing operations, thereby improving data processing efficiency. At the same time, the data format of the data to be processed is uniformly converted so that it is not limited to a single data format limitation of the data to be processed, so that the method can be applied to encryption tasks of data in various formats and has stronger practicality.

[0031] Preferably, the host is further provided with a data reverse conversion unit for converting the decrypted data D in a binary data format or a decimal data format into a data format identical to that of the initial data A.

[0032] The data inversion unit is used to invert the decrypted data in binary data format or decimal data format to restore the original data format of the initial data A.

[0033] The beneficial effects of the present invention are as follows: not only the security of data encryption transmission is improved, but also the storage space of encrypted data is reduced, thereby improving the practicability of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the process in the embodiment. DETAILED DESCRIPTION

[0035] The present invention is further described in detail below in conjunction with the accompanying drawings and specific examples. The following examples or drawings are used to illustrate the present invention, but are not used to limit the scope of the present invention.

[0036] like Figure 1 As shown: A method for real-time encrypted transmission of electronically controlled multi-machine data, the key of which is to include the following steps:

[0037] Step 1: Form a team, which includes a host and N subsystems. In the early stage of team formation, the host obtains and saves the initial data A of each subsystem. After starting the work, various status data of the subsystem will change during the operation of the subsystem.

[0038] Step 2: During the team operation, public information is broadcast to the host and each subsystem via a public channel at regular intervals;

[0039] Step 3: The subsystem obtains the current public information, and the data conversion unit in the subsystem converts the initial data and the current data into a binary value format and transmits the binary value format to the encryption unit;

[0040] Step 4: The encryption unit in the subsystem converts the initial data A into the first data A through an encryption algorithm according to the current public information. ′ , convert the current data B of the subsystem into the second data B ′ , and the first data A ′ With the second data B ′ Subtract the difference to obtain first difference data C, and put the first difference data C into encrypted data to transmit to the host;

[0041] Step 5: The host performs identity information recognition on the encrypted data to obtain subsystem identity information;

[0042] Step 6: The encryption unit in the host converts the initial data A into third data A″ ​​according to the current public information and the subsystem identity information, and then adopts the encryption algorithm consistent with the subsystem and the initial data A, and subtracts the third data A″ ​​from the first difference data C to obtain fourth data B″, and transmits it to the decryption unit;

[0043] Step 7: The decryption unit selects a decryption algorithm corresponding to the subsystem according to the current public information and the subsystem identity information to decrypt the fourth data B″, obtains decrypted data D, and transmits it to the data inversion unit.

[0044] Step 8: The data reverse conversion unit converts the decrypted data D into the same data format as the initial data A to obtain the current data B of the corresponding subsystem.

[0045] In step 3, the encryption algorithm is expressed as:

[0046] C=A ′ -B ′ =γA-γB

[0047] Wherein, C represents the first difference data, γ represents the public information, A represents the initial data, and B represents the current data;

[0048] The current data B is converted into the initial data A for the next data transmission.

[0049] In step 4, one of the subsystems is correspondingly provided with an encryption algorithm, and the host is provided with the encryption algorithms and corresponding decryption algorithms of all the subsystems.

[0050] In step 4, the encrypted information also contains the identity information of the corresponding subsystem.

[0051] In this embodiment, the team is a fleet, the host is a mother ship, the subsystem is a daughter ship, the initial data A includes fuel data, personnel data, cargo data, food data, etc., and the public information is weather forecast information.

[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for real-time encrypted transmission of electronically controlled multi-machine data, characterized in that: The following steps are involved: Step 1: Form a team, which includes a host and N subsystems. In the early stage of team formation, the host obtains and saves the initial data A of each subsystem. After starting the work, various status data of the subsystem will change during the operation of the subsystem. Step 2: During the team operation, public information is broadcast to the host and each subsystem via a public channel at regular intervals; Step 3: The subsystem obtains the current public information. The encryption unit in the subsystem converts the initial data A into the first data A′ and the current data B of the subsystem into the second data B′ according to the current public information through an encryption algorithm, and makes a difference between the first data A′ and the second data B′ to obtain the first difference data C. The first difference data C is placed into the encrypted data and transmitted to the host. Step 4: The host performs identity information recognition on the encrypted data to obtain subsystem identity information; Step 5: The encryption unit in the host converts the initial data A into third data A″ ​​according to the current public information and the subsystem identity information, and then adopts the encryption algorithm consistent with the subsystem and the initial data A, and subtracts the third data A″ ​​from the first difference data C to obtain fourth data B″, and transmits it to the decryption unit; Step 6: The decryption unit selects a decryption algorithm corresponding to the subsystem according to the current public information and the subsystem identity information to decrypt the fourth data B″ to obtain decrypted data D, thereby generating the real current data B of the subsystem.

2. The method for real-time encrypted transmission of electronically controlled multi-machine data according to claim 1, characterized in that: In step 2, the public information may be weather forecast information, music information, time information, public information broadcast by the host, or encrypted text information of the last public broadcast by other subsystems.

3. The method for real-time encrypted transmission of electronically controlled multi-machine data according to claim 1, characterized in that: In step 3, the encryption algorithm is expressed as: C=A′-B′=γA-γB Wherein, C represents the first difference data, γ represents the public information, A represents the initial data, and B represents the current data; The current data B is converted into the initial data A for the next data transmission.

4. The method for real-time encrypted transmission of electronically controlled multi-machine data according to claim 1, characterized in that: In step 4, one of the subsystems is correspondingly provided with an encryption algorithm, and the host is provided with the encryption algorithms and corresponding decryption algorithms of all the subsystems.

5. The method for real-time encrypted transmission of electronically controlled multi-machine data according to claim 1, characterized in that: In step 4, the encrypted information also contains the identity information of the corresponding subsystem.

6. The method for real-time encrypted transmission of electronically controlled multi-machine data according to claim 1, characterized in that: The subsystem is also provided with a data conversion unit for converting the data formats of the initial data and the current data into a binary data format or a decimal data format according to the values ​​of the initial data and the current data.

7. The method for real-time encrypted transmission of electronically controlled multi-machine data according to claim 6, characterized in that: The host is also provided with a data reverse conversion unit for converting the decrypted data D in a binary data format or a decimal data format into a data format identical to that of the initial data A.