Encryption transmission method and device based on fault transmission protocol
By distinguishing the auxiliary transmission unit from the effective transmission unit in the transmission unit and encrypting only the effective transmission unit, the problem of low security in the transmission of vehicle fault information is solved, and more efficient encrypted transmission security and efficiency is achieved.
Patent Information
- Application Number
- CN202411269860.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the fault information transmission of vehicle application scenarios is relatively low and is easily tampered with.
By adopting an encrypted transmission method based on the fault transmission protocol, by distinguishing the auxiliary transmission unit from the effective transmission unit in the transmission unit, only the information data blocks in the effective transmission unit are encrypted, and generated based on the auxiliary transmission unit and the encrypted effective transmission unit. And send a message.
It improves the security of fault information transmission, reduces the amount of data that needs to be encrypted and decrypted during transmission, and improves the efficiency of encrypted transmission.
Smart Images

Figure CN119030781A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information transmission, and in particular to an encryption transmission method and device based on a fault transmission protocol. Background Art
[0002] For the application scenario of vehicles, such as airplanes, high-speed trains, medical-related vehicles, etc., the security of transmitting fault information is generally low at present, because the fault information can be easily tampered with during the transmission process.
[0003] Therefore, it is urgent to propose a method for transmitting fault information with higher security. Summary of the invention
[0004] The present invention provides an encryption transmission method and device based on a fault transmission protocol, which are used to solve the problem in the related art that a method for transmitting fault information with higher security is urgently needed.
[0005] The present invention provides an encryption transmission method based on a fault transmission protocol, which is applied to a sending side device and includes: Among the one or more transmission units corresponding to the fault transmission protocol, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Encrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Generate and send first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0006] Optionally, encrypting the information data block in at least one of the valid transmission units includes: In at least one of the valid transmission units, determining a first transmission unit in which the information data block is filled with the fault information; encrypting at least one information data block in the first transmission unit; The generating and sending the first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit comprises: The first information is generated and sent based on the auxiliary transmission unit and the encrypted at least one first transmission unit.
[0007] Optionally, encrypting at least one information data block in the first transmission unit includes: In at least one information data block of the first transmission unit, inserting first encrypted source information at an encryption bit; The encryption bit is determined by any of the following: Randomly determine at least one bit as the encryption bit; At least one fixed bit is predetermined as the encryption bit.
[0008] Optionally, the first encrypted source information is a randomly or non-randomly generated character string, and the character string consists of at least one of the following: numbers; letters; symbols.
[0009] Optionally, when the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling in any one of the following items: the total number of transmission words and transmission auxiliary information; the total number of transmission words and the fault information; wherein the total number of transmission words is used to characterize the number of transmission units included in the first information; When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information defined and used by the user.
[0010] The present invention also provides an encryption transmission method based on a fault transmission protocol, which is applied to a receiving side device, comprising: Receiving first information from a sending side device; In at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Decrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Parsing the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0011] Optionally, before decrypting the information data block in at least one of the valid transmission units according to a preset encryption rule, the method further includes: Extracting the second encrypted source information inserted in the encryption bit in at least one information data block of the effective transmission unit; Comparing the second encrypted source information with the first encrypted source information used when the sending device encrypts the information to see if they match; Decrypting the information data block in at least one of the valid transmission units according to the preset encryption rule includes: In the case where the second encrypted source information matches the first encrypted source information, the information data block in at least one of the valid transmission units is decrypted according to a preset encryption rule.
[0012] Optionally, decrypting the information data block in at least one of the valid transmission units comprises: Extracting the content to be decrypted filled in the information data block of at least one of the valid transmission units; The other contents in the content to be decrypted except the second encrypted source information are reorganized into the second content.
[0013] Optionally, when the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling in any one of the following items: the total number of transmission words and transmission auxiliary information; the total number of transmission words and the fault information; wherein the total number of transmission words is used to characterize the number of transmission units included in the first information; When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information defined and used by the user.
[0014] The present invention also provides an encryption transmission device based on a fault transmission protocol, which is applied to a sending side device, comprising: A first determination module is used to determine, among one or more transmission units corresponding to the fault transmission protocol, a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; An encryption module, used for encrypting the information data block in at least one of the effective transmission units according to a preset encryption rule; A sending module, configured to generate and send first information based on the auxiliary transmission unit and at least one of the encrypted valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0015] The present invention also provides an encryption transmission device based on a fault transmission protocol, which is applied to a receiving side device, comprising: A receiving module, used for receiving first information from a sending side device; a second determining module, configured to determine, in at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and determine a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; A decryption module, used to decrypt the information data block in at least one of the effective transmission units according to a preset encryption rule; A parsing module, configured to parse a first content filled in a definition data block of the auxiliary transmission unit and a second content filled in a decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0016] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, it implements the encryption transmission method based on the fault transmission protocol of any of the above-mentioned sending side devices, or implements the encryption transmission method based on the fault transmission protocol of any of the above-mentioned receiving side devices.
[0017] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the encryption transmission method based on the fault transmission protocol of any of the above-mentioned sending side devices, or implements the encryption transmission method based on the fault transmission protocol of any of the above-mentioned receiving side devices.
[0018] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the encryption transmission method based on the fault transmission protocol of any of the above-mentioned sending-side devices, or implements the encryption transmission method based on the fault transmission protocol of any of the above-mentioned receiving-side devices.
[0019] The encryption transmission method and device based on the fault transmission protocol provided by the present invention are applied to the sending side equipment, and are used to encrypt based on the fault transmission protocol before sending information. Specifically, according to the first indication information corresponding to the transmission unit, the transmission unit is divided into an auxiliary transmission unit and an effective transmission unit. When the first indication information is the first state value or the fourth state value, the transmission unit is considered to be an auxiliary transmission unit, which is used to assist the transmission of information; when the first indication information is the second state value or the third state value, the transmission unit is considered to be an effective transmission unit, and the information data block of this transmission unit is used to fill the fault information, and then according to the pre-set encryption rules, only the information data block in at least one effective transmission unit is encrypted, and then the first information is generated and sent based on the auxiliary transmission unit and the encrypted at least one effective transmission unit. Through the encryption transmission method of the present invention, the security of fault information transmission can be effectively improved; in addition, compared with the situation where all transmission units are encrypted uniformly without distinction, the present invention only encrypts the information data block of the effective transmission unit used to transmit the fault information and generates the first information, which reduces the amount of data that needs to be encrypted and decrypted during the transmission process on the basis of improving the transmission security, and improves the efficiency of encrypted transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are 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.
[0021] Figure 1 It is one of the flow charts of the encryption transmission method based on the fault transmission protocol provided by the present invention; Figure 2 This is the second flow chart of the encryption transmission method based on the fault transmission protocol provided by the present invention; Figure 3 It is a signaling interaction diagram of the encryption transmission method based on the fault transmission protocol provided by the present invention; Figure 4 It is one of the structural schematic diagrams of the encryption transmission device based on the fault transmission protocol provided by the present invention; Figure 5 This is the second structural schematic diagram of the encryption transmission device based on the fault transmission protocol provided by the present invention; Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] The following describes the encryption transmission method and device based on the fault transmission protocol of the present invention in conjunction with the accompanying drawings.
[0024] The present invention provides an encryption transmission method based on a fault transmission protocol, which is applied to a sending side device, such as a control device. Figure 1 This is one of the flow charts of the encryption transmission method based on the fault transmission protocol provided by the present invention, such as Figure 1 As shown, the method includes steps 101 to 103; wherein: Step 101: among one or more transmission units corresponding to the faulty transmission protocol, determine a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and determine a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; Step 102: Encrypt the information data block in at least one of the valid transmission units according to a preset encryption rule; Step 103, based on the auxiliary transmission unit and at least one of the encrypted valid transmission units, generate and send the first information; wherein, the first state value represents that the transmission unit corresponds to the start instruction of transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to the end instruction of transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information customized and used by the user; the information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0025] A method for transmitting fault information with higher security is urgently needed in the related technology.
[0026] In view of the above problems, an embodiment of the present invention provides an encryption transmission method based on a fault transmission protocol, which is applied to a sending-side device and is used to encrypt information based on the fault transmission protocol before sending it, so as to effectively improve the security of fault information transmission.
[0027] Specifically, the transmission units are first divided into auxiliary transmission units and valid transmission units according to the first indication information corresponding to the transmission units.
[0028] In some embodiments, the first indication information defined in the fault transmission protocol may be a Sign Status Matrix (SSM).
[0029] When the first indication information is the first state value or the fourth state value, for example, SSM=01 or SSM=11, the transmission unit is considered to be an auxiliary transmission unit used to assist the transmission of information; when the first indication information is the second state value or the third state value, for example, SSM=00 or SSM=10, the transmission unit is considered to be a valid transmission unit, and the information data block of this transmission unit is used to fill fault information, and then according to the pre-set encryption rules, only the information data blocks in at least one valid transmission unit are encrypted, and then the first information is generated and sent based on the auxiliary transmission unit and the encrypted at least one valid transmission unit.
[0030] It should be noted that the encryption rules include, for example, encryption methods, encryption objects, etc. For example, the sending side and the receiving side predetermine that only information data blocks in some valid transmission units are encrypted using a certain encryption method.
[0031] Optionally, in the fault transmission protocol, the first indication information satisfies at least one of the following: 1) The first indication information is a first state value, which is used to indicate that the transmission unit corresponding to the first indication information corresponds to a start instruction for transmitting and parsing the first information; Specifically, the first indication information is a first state value, for example, SSM=01, and the fault transmission protocol defines: data transmission and analysis start from the transmission unit corresponding to SSM=01, representing the first transmission unit.
[0032] 2) The first indication information is a second state value, which is used to indicate that the transmission unit corresponding to the first indication information is used to transmit the fault information; Specifically, the first indication information is the second state value, for example, SSM=00. The fault transmission protocol defines: SSM=00 is used to characterize the transmission unit corresponding to the transmission of valid data block information (for example, fault information), that is, the transmission unit corresponding to SSM=00 is mainly used to transmit fault information, and these transmission units can also be used as failed transmission units.
[0033] 3) The first indication information is a third state value, which is used to indicate that the transmission unit corresponding to the first indication information corresponds to an end instruction of transmitting and parsing the first information; Specifically, the first indication information is the third state value, for example, SSM=10, and the fault transmission protocol defines: data transmission ends at SSM=10.
[0034] 4) The first indication information is a fourth state value, which is used to indicate that the transmission unit corresponding to the first indication information is used to transmit control bit information defined and used by a user.
[0035] Specifically, the first indication information is the fourth state value, for example, SSM=11, and the fault transmission protocol defines: SSM=11 is used to fill in control bit information customized and used by the user, such as transmitting similar remarks, description information, and control-related information.
[0036] It should be noted that the transmission unit corresponding to SSM=11 is optional, and the user can set whether to use the transmission unit of SSM=11 to transmit control information.
[0037] In some embodiments, the first state value, the second state value, the third state value, and the fourth state value can be set according to actual conditions. It is only necessary to ensure that these four state values are different to represent a transmission unit that supports the transmission of different information types.
[0038] Optionally, the fault transport protocol specifies: 1) When the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling in any one of the following items: a. Total number of transmitted words and transmission auxiliary information; b. The total number of transmitted words and the fault information; The total number of transmission words is used to represent the number of transmission units included in the first information; In some embodiments, the above-mentioned transmission auxiliary information is used to assist transmission, and can be defined as description, classification, test annotation, configuration or configuration information according to the system data transmission situation, such as Class I or Class II alarm information, configuration, version, time and other information, which can be customized by the user according to actual conditions.
[0039] Specifically, when the first indication information is the first state value, for example SSM=01, the transmission unit corresponding to the first indication information is the first transmission unit of the first information. In the first transmission unit, the total number of transmission words will be carried to characterize the number of transmission units included in the first information, and the above-mentioned transmission auxiliary information or fault information will also be carried. The transmission auxiliary information is used to assist transmission, and the fault information can also be transmitted directly through the first transmission unit.
[0040] In some embodiments, the fault transmission protocol defines that the maximum total number of transmission words is 255, that is, the maximum number of transmission units in the first information does not exceed 255.
[0041] 2) When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; Specifically, when the first indication information is the second state value or the third state value, for example, when SSM=00 or SSM=10, the transmission unit corresponding to the first indication information can be used to fill in the fault information.
[0042] 3) When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information that is defined and used by the user.
[0043] Specifically, when the first indication information is the fourth state value, for example, when SSM=11, the transmission unit corresponding to the first indication information can be used to fill in the control bit information defined and used by the user.
[0044] It should be noted that the data structure of at least one transmission unit and the first indication information are defined by a preset fault transmission protocol. The data structure of the transmission unit (transmission unit is, for example, a word) in the first information is illustrated below by way of example in Table 1: Table 1 Data structure of the transmission unit in the first message
[0045] In some embodiments, users can set the content filled in the defined information data block according to their own needs, fault information, configuration information, verification information, blank, spare, etc. that need to be transmitted, and store all data block contents defined in the words of all label numbers (e.g. label 356) in the memory according to the given data source. Theoretically, the number of words of the label number (e.g. label 356) can be set to infinity, but usually users need to set the words of the label number according to the required reporting, monitoring, device transmission rate, required transmission rate, total number of tested data or memory usage.
[0046] In the encryption transmission method based on the fault transmission protocol provided in the embodiment of the present invention, it is applied to the sending side device, and is used to encrypt based on the fault transmission protocol before sending information. Specifically, according to the first indication information corresponding to the transmission unit, the transmission unit is first divided into an auxiliary transmission unit and an effective transmission unit. When the first indication information is the first state value or the fourth state value, the transmission unit is considered to be an auxiliary transmission unit, which is used to assist the transmission of information; when the first indication information is the second state value or the third state value, the transmission unit is considered to be an effective transmission unit, and the information data block of this transmission unit is used to fill the fault information, and then according to the pre-set encryption rules, only the information data block in at least one effective transmission unit is encrypted, and then the first information is generated and sent based on the auxiliary transmission unit and the encrypted at least one effective transmission unit. Through the encryption transmission method of the present invention, the security of fault information transmission can be effectively improved; in addition, compared with the situation where all transmission units are encrypted uniformly without distinction, the present invention only encrypts the information data block of the effective transmission unit used to transmit the fault information and generates the first information, which reduces the amount of data that needs to be encrypted and decrypted during the transmission process on the basis of improving the transmission security, and improves the efficiency of encrypted transmission.
[0047] Optionally, the implementation of encrypting the information data block in at least one of the valid transmission units may include: In at least one of the valid transmission units, determining a first transmission unit in which the information data block is filled with the fault information; encrypting at least one information data block in the first transmission unit; The implementation manner of generating and sending the first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit may include: The first information is generated and sent based on the auxiliary transmission unit and the encrypted at least one first transmission unit.
[0048] Specifically, only some of the valid transmission units may be filled with fault information, and other valid transmission units may be empty or filled with other information. The present invention can encrypt only the first transmission unit filled with fault information in the information data block, and the remaining transmission units may not be encrypted. On the basis of improving the transmission security of the fault information, the amount of data that needs to be encrypted and decrypted during the transmission process can be further reduced, thereby improving the efficiency of encrypted transmission.
[0049] Optionally, the implementation of encrypting the information data block in at least one of the first transmission units may include: In at least one information data block of the first transmission unit, inserting first encrypted source information at an encryption bit; The encryption bit is determined by any of the following: 1) randomly determining at least one bit as the encryption bit; 2) Predetermine at least one fixed bit as the encryption bit.
[0050] Specifically, when encrypting an information data block, the data can be encrypted by inserting the first encryption source information into the encryption bit in the information data block. The encryption bit can be at least one randomly determined bit, for example, 27-29 bits are randomly determined as encryption bits, or 20-22 bits are determined as encryption bits, and other bits are normally filled with fault information; alternatively, the sending side and the receiving side may pre-determine at least one fixed bit as an encryption bit, and encrypt the data by inserting the fixed bit into the first encryption source information.
[0051] It should be noted that the encryption bits of different transmission units may be the same or different.
[0052] Optionally, the first encrypted source information is a randomly or non-randomly generated character string, and the character string consists of at least one of the following: numbers; letters; symbols.
[0053] Specifically, the first encrypted source information may be a randomly generated string to increase the randomness of data encryption, or may be a non-random string, such as a string predetermined by the sending side and the receiving side.
[0054] The present invention also provides an encryption transmission method based on a fault transmission protocol, which is applied to a receiving side device, such as a maintenance device. Figure 2 This is the second flow chart of the encryption transmission method based on the fault transmission protocol provided by the present invention, such as Figure 2 As shown, the method includes steps 201 to 204; wherein: Step 201: receiving first information from a sending side device; Step 202: In at least one transmission unit of the first information, determine a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and determine a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; Step 203: decrypt the information data block in at least one of the valid transmission units according to the preset encryption rules; Step 204, parse the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the information data block of at least one of the valid transmission units after decryption; wherein, the first state value represents that the transmission unit corresponds to the start instruction of transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to the end instruction of transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information customized and used by the user; the information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0055] In an embodiment of the present invention, the receiving side device needs to perform operations such as decryption and parsing on the encrypted transmitted information. Specifically, it first receives the first information from the sending side device, and in at least one transmission unit of the first information, determines that the corresponding first indication information is a transmission unit of the first state value or the fourth state value, for example, using the transmission unit with SSM=01 or SSM=11 as an auxiliary transmission unit to assist in the transmission of information; and determines that the corresponding first indication information is a transmission unit of the second state value or the third state value, for example, using the transmission unit with SSM=00 or SSM=10 as a valid transmission unit to fill fault information in the information data block of this transmission unit.
[0056] After the valid transmission unit is determined, the information data block in at least one valid transmission unit is decrypted according to a preset encryption rule.
[0057] For example, the encryption rules may instruct the sending device to encrypt the information data blocks of the 1st to 3rd valid transmission units using a certain encryption method. The receiving device may then decrypt only the information data blocks of the 1st to 3rd valid transmission units using the corresponding decryption method according to the encryption rules.
[0058] After decrypting the information data block, the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the effective transmission units can be parsed, for example, fault information can be parsed, thereby realizing encrypted transmission of fault information, avoiding tampering by a third party, and improving the security of fault information transmission.
[0059] In addition, compared to the situation where all transmission units are encrypted and decrypted uniformly without distinction, in the present invention, the sending side device and the receiving side device use pre-set encryption rules. The sending side device only encrypts the information data block of the valid transmission unit used to transmit fault information and then transmits it, and the receiving side device decrypts and parses the encrypted information data block. On the basis of improving transmission security, the amount of data that needs to be encrypted and decrypted during the transmission process is reduced, thereby improving the efficiency of encrypted transmission.
[0060] Optionally, the first indication information satisfies at least one of the following: 1) The first indication information is a first state value, which is used to indicate that the transmission unit corresponding to the first indication information corresponds to a start instruction for transmitting and parsing the first information; 2) The first indication information is a second state value, which is used to indicate that the transmission unit corresponding to the first indication information is used to transmit the fault information; 3) The first indication information is a third state value, which is used to indicate that the transmission unit corresponding to the first indication information corresponds to an end instruction of transmitting and parsing the first information; 4) The first indication information is a fourth state value, which is used to indicate that the transmission unit corresponding to the first indication information is used to transmit control bit information defined and used by a user.
[0061] Optionally, when the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling in any one of the following items: the total number of transmission words and transmission auxiliary information; the total number of transmission words and the fault information; wherein the total number of transmission words is used to characterize the number of transmission units included in the first information; When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information defined and used by the user.
[0062] Optionally, before decrypting the information data block in at least one of the valid transmission units according to the preset encryption rule, the second encrypted source information inserted in the encryption bit can be extracted from the information data block in at least one of the valid transmission units; Comparing the second encrypted source information with the first encrypted source information used when the sending device encrypts the information to see if they match; The implementation of decrypting the information data block in at least one of the valid transmission units according to the preset encryption rule may include: In the case where the second encrypted source information matches the first encrypted source information, the information data block in at least one of the valid transmission units is decrypted according to a preset encryption rule.
[0063] Specifically, before decrypting the information data block in the valid transmission unit, the receiving device can first extract the second encrypted source information inserted in the encryption bit in the information data block of at least one valid transmission unit, and preliminarily determine whether the information data block has been tampered with by other third parties by comparing the second encrypted source information with the first encrypted source information used when encrypting by the sending device.
[0064] When the second encrypted source information matches the first encrypted source information, it is considered that the information data block has not been tampered with by other third parties. At this time, the information data block is decrypted again. Specifically, according to the pre-set encryption rules, the information data block in at least one valid transmission unit is decrypted, thereby improving the security of data encryption transmission.
[0065] In some embodiments, if the second encrypted source information does not match the first encrypted source information, it is considered that the information data block has been tampered with by another third party, and decryption of the information data block and subsequent parsing operations may be prohibited.
[0066] In some embodiments, the receiving side device can determine the encryption bit and the first encryption source information used by the sending side device for encryption through encryption rules, the encryption bit and the first encryption source information.
[0067] Optionally, the implementation of decrypting the information data block in at least one of the valid transmission units may include: Extracting the content to be decrypted filled in the information data block of at least one of the valid transmission units; The other contents in the content to be decrypted except the second encrypted source information are reorganized into the second content.
[0068] Specifically, corresponding to the encryption method in which the sending side device inserts the encryption bit of the information data block into the encryption source of the first encrypted data, the receiving side device can, when determining that the second encrypted source information matches the first encrypted source information, first extract the content to be decrypted filled in the information data block of at least one valid transmission unit, and then reorganize the other content to be decrypted except the second encrypted source information as the decrypted second content.
[0069] The following example illustrates an encryption transmission method based on a fault transmission protocol provided by an embodiment of the present invention.
[0070] Figure 3 Schematic diagram of signaling interaction of the encryption transmission method based on the fault transmission protocol provided by the present invention, such as Figure 3 As shown, the method includes steps 301 to 306; wherein: Step 301: The transmitting side device determines, in at least one transmission unit, a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and determines a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; Step 302: The sending side device encrypts the information data block in at least one valid transmission unit according to a preset encryption rule; Step 303: The sending side device generates and sends first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit; the receiving side device receives the first information from the sending side device; Step 304: The receiving-side device determines, in at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and determines a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; Step 305: The receiving-side device decrypts the information data block in at least one valid transmission unit according to a preset encryption rule; Step 306: The receiving-side device parses the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one valid transmission unit.
[0071] The following is a description of the encryption transmission device based on the fault transmission protocol provided by the present invention. The encryption transmission device based on the fault transmission protocol described below and the encryption transmission method based on the fault transmission protocol described above can be referred to each other.
[0072] The present invention provides an encryption transmission device based on a fault transmission protocol, which is applied to a sending side device. Figure 4is one of the structural diagrams of the encryption transmission device based on the fault transmission protocol provided by the present invention, such as Figure 4 As shown, the encryption transmission device 400 based on the fault transmission protocol includes: A first determination module 401 is used to determine, among one or more transmission units corresponding to the fault transmission protocol, a transmission unit corresponding to which the first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and a transmission unit corresponding to which the first indication information is a second state value or a third state value as a valid transmission unit; An encryption module 402, configured to encrypt the information data block in at least one of the valid transmission units according to a preset encryption rule; A sending module 403, configured to generate and send first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0073] In the encryption transmission device based on the fault transmission protocol provided in the embodiment of the present invention, it is applied to the sending side device, and is used to encrypt based on the fault transmission protocol before sending information. Specifically, the first determination module first distinguishes the transmission unit into an auxiliary transmission unit and an effective transmission unit according to the first indication information corresponding to the transmission unit. When the first indication information is the first state value or the fourth state value, the transmission unit is considered to be an auxiliary transmission unit, which is used to assist the transmission of information; when the first indication information is the second state value or the third state value, the transmission unit is considered to be an effective transmission unit, and the information data block of this transmission unit is used to fill the fault information, and then the encryption module only encrypts the information data block in at least one effective transmission unit according to the preset encryption rules, and then the sending module generates and sends the first information based on the auxiliary transmission unit and the encrypted at least one effective transmission unit. Through the encryption transmission method of the present invention, the security of fault information transmission can be effectively improved; in addition, compared with the situation where all transmission units are encrypted uniformly without distinction, the present invention only encrypts the information data block of the effective transmission unit used to transmit the fault information and generates the first information, which reduces the amount of data that needs to be encrypted and decrypted during the transmission process on the basis of improving the transmission security, and improves the efficiency of encrypted transmission.
[0074] Optionally, the encryption module 402 is specifically used for: In at least one of the valid transmission units, determining a first transmission unit in which the information data block is filled with the fault information; encrypting at least one information data block in the first transmission unit; The sending module 403 is specifically used for: The first information is generated and sent based on the auxiliary transmission unit and the encrypted at least one first transmission unit.
[0075] Optionally, the encryption module 402 is further specifically configured to: In at least one information data block of the first transmission unit, inserting first encrypted source information at an encryption bit; The encryption bit is determined by any of the following: Randomly determine at least one bit as the encryption bit; At least one fixed bit is predetermined as the encryption bit.
[0076] Optionally, the first encrypted source information is a randomly or non-randomly generated character string, and the character string consists of at least one of the following: numbers; letters; symbols.
[0077] Optionally, when the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling in any one of the following items: the total number of transmission words and transmission auxiliary information; the total number of transmission words and the fault information; wherein the total number of transmission words is used to characterize the number of transmission units included in the first information; When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information defined and used by the user.
[0078] The present invention also provides an encryption transmission device based on a fault transmission protocol, which is applied to a receiving side device. Figure 5 This is the second structural diagram of the encryption transmission device based on the fault transmission protocol provided by the present invention, such as Figure 5 As shown, the encryption transmission device 500 based on the fault transmission protocol includes: The receiving module 501 is used to receive the first information from the sending side device; A second determining module 502 is configured to determine, in at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and determine a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; A decryption module 503, configured to decrypt the information data block in at least one of the valid transmission units according to a preset encryption rule; A parsing module 504, configured to parse the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0079] In the encryption transmission device based on the fault transmission protocol provided in the embodiment of the present invention, it is applied to the receiving side device, and is used to decrypt and parse the received information based on the fault transmission protocol. Specifically, the receiving module first receives the first information from the sending side device, and the second determination module determines the transmission unit whose corresponding first indication information is the first state value or the fourth state value as the auxiliary transmission unit in at least one transmission unit of the first information, and determines the transmission unit whose corresponding first indication information is the second state value or the third state value as the valid transmission unit; then the decryption module decrypts the information data block in the at least one valid transmission unit according to the preset encryption rules, and the parsing module parses the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the information data block of the at least one valid transmission unit after decryption, thereby realizing the encrypted transmission of the fault information, avoiding third-party tampering, and improving the security of the fault information transmission. In addition, compared to the situation where all transmission units are encrypted and decrypted uniformly without distinction, in the present invention, the sending side device and the receiving side device use pre-set encryption rules. The sending side device only encrypts the information data block of the valid transmission unit used to transmit fault information and then transmits it, and the receiving side device decrypts and parses the encrypted information data block. On the basis of improving transmission security, the amount of data that needs to be encrypted and decrypted during the transmission process is reduced, thereby improving the efficiency of encrypted transmission.
[0080] Optionally, the encryption transmission device 500 based on the fault transmission protocol further includes a processing module, which is used to: Extracting the second encrypted source information inserted in the encryption bit in at least one information data block of the effective transmission unit; Comparing the second encrypted source information with the first encrypted source information used when the sending device encrypts the information to see if they match; The decryption module 503 is specifically used for: In the case where the second encrypted source information matches the first encrypted source information, the information data block in at least one of the valid transmission units is decrypted according to a preset encryption rule.
[0081] Optionally, the decryption module 503 is further specifically configured to: Extracting the content to be decrypted filled in the information data block of at least one of the valid transmission units; The other contents in the content to be decrypted except the second encrypted source information are reorganized into the second content.
[0082] Optionally, when the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling in any one of the following items: the total number of transmission words and transmission auxiliary information; the total number of transmission words and the fault information; wherein the total number of transmission words is used to characterize the number of transmission units included in the first information; When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information defined and used by the user.
[0083] Figure 6 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communications interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute an encryption transmission method based on a fault transmission protocol, which is applied to a sending side device, and the method includes: Among the one or more transmission units corresponding to the fault transmission protocol, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Encrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Generate and send first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0084] or, The processor 610 may call the logic instructions in the memory 630 to execute an encryption transmission method based on a fault transmission protocol, which is applied to a receiving side device. The method includes: Receiving first information from a sending side device; In at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Decrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Parsing the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0085] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0086] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute an encryption transmission method based on a fault transmission protocol, applied to a sending side device, the method comprising: Among the one or more transmission units corresponding to the fault transmission protocol, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Encrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Generate and send first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0087] or, The computer can execute an encryption transmission method based on a fault transmission protocol, which is applied to a receiving-side device. The method includes: Receiving first information from a sending side device; In at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Decrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Parsing the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0088] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, an encryption transmission method based on a fault transmission protocol is implemented, and the method is applied to a sending side device, and the method includes: Among the one or more transmission units corresponding to the fault transmission protocol, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Encrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Generate and send first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0089] or, When the computer program is executed by a processor, an encryption transmission method based on a fault transmission protocol is implemented, and the method is applied to a receiving-side device. The method includes: Receiving first information from a sending side device; In at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Decrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Parsing the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
[0090] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0091] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An encryption transmission method based on a fault transmission protocol, characterized in that: Applied to a sending-side device, the method includes: Among the one or more transmission units corresponding to the fault transmission protocol, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Encrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Generate and send first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
2. The encryption transmission method based on the fault transmission protocol according to claim 1 is characterized in that: The step of encrypting the information data block in at least one of the valid transmission units comprises: In at least one of the valid transmission units, determining a first transmission unit in which the information data block is filled with the fault information; encrypting at least one information data block in the first transmission unit; The generating and sending the first information based on the auxiliary transmission unit and the encrypted at least one valid transmission unit comprises: The first information is generated and sent based on the auxiliary transmission unit and the encrypted at least one first transmission unit.
3. The encryption transmission method based on the fault transmission protocol according to claim 2 is characterized in that: The encrypting the information data block in at least one of the first transmission units comprises: In at least one information data block of the first transmission unit, inserting first encrypted source information at an encryption bit; The encryption bit is determined by any of the following: Randomly determine at least one bit as the encryption bit; At least one fixed bit is predetermined as the encryption bit.
4. The encryption transmission method based on the fault transmission protocol according to claim 3 is characterized in that: The first encrypted source information is a randomly or non-randomly generated character string, and the character string consists of at least one of the following: numbers; letters; symbols.
5. The encryption transmission method based on the fault transmission protocol according to claim 1 is characterized in that: In the case where the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling any one of the following items: the total number of transmission words and transmission auxiliary information; The total number of transmission words and the fault information; wherein the total number of transmission words is used to characterize the number of transmission units included in the first information; When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information defined and used by the user.
6. An encryption transmission method based on a fault transmission protocol, characterized in that: Applied to a receiving-side device, the method includes: Receiving first information from a sending side device; In at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value is determined as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value is determined as a valid transmission unit; Decrypting the information data block in at least one of the valid transmission units according to a preset encryption rule; Parsing the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
7. The encryption transmission method based on the fault transmission protocol according to claim 6 is characterized in that: Before decrypting the information data block in at least one of the valid transmission units according to the preset encryption rule, the method further includes: Extracting the second encrypted source information inserted in the encryption bit in at least one information data block of the effective transmission unit; Comparing the second encrypted source information with the first encrypted source information used when the sending device encrypts the information to see if they match; Decrypting the information data block in at least one of the valid transmission units according to the preset encryption rule includes: In the case where the second encrypted source information matches the first encrypted source information, the information data block in at least one of the valid transmission units is decrypted according to a preset encryption rule.
8. The encryption transmission method based on the fault transmission protocol according to claim 7 is characterized in that: The decrypting of the information data block in at least one of the valid transmission units comprises: Extracting the content to be decrypted filled in the information data block of at least one of the valid transmission units; The other contents in the content to be decrypted except the second encrypted source information are reorganized into the second content.
9. The encryption transmission method based on the fault transmission protocol according to claim 6 is characterized in that: In the case where the first indication information is the first state value, the transmission unit corresponding to the first indication information supports filling any one of the following items: the total number of transmission words and transmission auxiliary information; The total number of transmission words and the fault information; wherein the total number of transmission words is used to characterize the number of transmission units included in the first information; When the first indication information is the second state value or the third state value, the transmission unit corresponding to the first indication information supports filling in the fault information; When the first indication information is the fourth state value, the transmission unit corresponding to the first indication information supports filling in control bit information defined and used by the user.
10. An encrypted transmission device based on a fault transmission protocol, characterized in that: Applied to a sending-side device, the apparatus comprises: A first determination module is used to determine, among one or more transmission units corresponding to the fault transmission protocol, a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; An encryption module, used for encrypting the information data block in at least one of the effective transmission units according to a preset encryption rule; A sending module, configured to generate and send first information based on the auxiliary transmission unit and at least one of the encrypted valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block supports filling in the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
11. An encrypted transmission device based on a fault transmission protocol, characterized in that: Applied to a receiving-side device, the apparatus comprises: A receiving module, used for receiving first information from a sending side device; a second determining module, configured to determine, in at least one transmission unit of the first information, a transmission unit whose corresponding first indication information is a first state value or a fourth state value as an auxiliary transmission unit, and determine a transmission unit whose corresponding first indication information is a second state value or a third state value as a valid transmission unit; A decryption module, used to decrypt the information data block in at least one of the effective transmission units according to a preset encryption rule; A parsing module, configured to parse the first content filled in the definition data block of the auxiliary transmission unit and the second content filled in the decrypted information data block of at least one of the valid transmission units; The first state value represents that the transmission unit corresponds to a start instruction for transmitting and parsing the first information; the second state value represents that the transmission unit is used to transmit fault information; the third state value represents that the transmission unit corresponds to an end instruction for transmitting and parsing the first information; the fourth state value represents that the transmission unit is used to transmit control bit information defined and used by the user; The information data block is filled with the fault information, and the data structure of the at least one transmission unit and the first indication information are defined by a preset fault transmission protocol.
12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the encryption transmission method based on the fault transmission protocol as described in any one of claims 1 to 5, or implements the encryption transmission method based on the fault transmission protocol as described in any one of claims 6 to 9.
13. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the encryption transmission method based on the fault transmission protocol as described in any one of claims 1 to 5, or implements the encryption transmission method based on the fault transmission protocol as described in any one of claims 6 to 9.
