Signal encryption method, decryption method, device and equipment

By performing amplitude modulation of the data signal and outputting encrypted signals that do not comply with the interface voltage standard, the problem that existing key verification methods cannot ensure data security is solved, and the high security and privacy of data information is achieved, ensuring that only specific devices can Decrypt.

CN119026144APending Publication Date: 2024-11-26BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310587102.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Existing key-based verification methods cannot effectively ensure the security of background data. Malicious personnel can create illegal debugging devices by copying permission keys to read vehicle log data.

Method used

By performing amplitude modulation of the output data signal, an encrypted signal that does not comply with the public interface voltage standard is generated, and output through a custom data transmission interface, the encrypted signal cannot be directly parsed, ensuring that the data receiving device cannot decrypt.

Benefits of technology

Improve the security and privacy of data information, prevent illegal acquisition, and decrypt background data only if there is a specific data receiving device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026144A_ABST
    Figure CN119026144A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a signal encryption method and device, a signal decryption method and device and equipment. The signal encryption method comprises the steps that amplitude modulation processing is conducted on a data signal to be output, an encrypted signal is obtained, the data signal to be output is a digital signal generated according to the public interface voltage standard, the encrypted signal is not a digital signal conforming to the public interface voltage standard, and the encrypted signal is output through a data transmission interface. A to-be-output data signal generated according to a public interface voltage standard is subjected to amplitude modulation processing to obtain an encrypted signal, and then the encrypted signal is output by adopting a data transmission interface. On the premise that no hardware circuit capable of analyzing the encrypted signal carries out amplitude modulation processing on the encrypted signal to obtain the decrypted signal, the encrypted signal cannot be decrypted, so that the security and privacy of data information are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of encryption technology, and specifically designs a signal encryption method, decryption method, device and equipment. Background Art

[0002] The background data includes a large amount of private information and technical secret information. In order to prevent the aforementioned private information and technical secret information from being maliciously obtained, it is necessary to perform access control on the debugging interface used to transmit log data in the computing device.

[0003] In the related art, the method for access control of the debugging interface is based on the key verification method. After the debugging device is connected to the debugging interface, the computing device obtains the permission key sent by the debugging device through the debugging interface and verifies whether the permission key is legal. If the permission key is legal, the computing device sends log data to the debugging device through the debugging interface.

[0004] However, since the permission key of the debugging device can be easily copied, malicious personnel can make illegal debugging devices by copying the permission key, and then use the illegal debugging devices to read vehicle log data. In other words, the permission method based on key verification cannot well guarantee the security of background data. Summary of the invention

[0005] In order to solve the above technical problems, the embodiments of the present disclosure provide a signal encryption method, a decryption method, an apparatus and a device.

[0006] In a first aspect, an embodiment of the present disclosure provides a signal encryption method for a data sender, comprising:

[0007] Performing amplitude modulation processing on the data signal to be output to obtain an encrypted signal, wherein the data signal to be output is a digital signal generated in accordance with a public interface voltage standard, and the encrypted signal is not a digital signal in accordance with a public interface voltage standard;

[0008] The encrypted signal is outputted through a data transmission interface.

[0009] Optionally, the data transmission interface is a non-standard interface, and the function of the signal line of the data transmission interface is customized;

[0010] Before outputting the encrypted signal using the data transmission interface, the method further includes: determining a target signal line in the data transmission interface that carries the encrypted signal based on a function definition of a signal line in the data transmission interface;

[0011] The adopting the output transmission interface to output the encrypted signal includes: adopting the target signal line to output the encrypted signal.

[0012] Optionally, the number of the target signal lines is at least two;

[0013] Before using the target signal line to output the encrypted signal, the method further includes: determining a bearer signal line among the target signal lines for transmitting the encrypted signal in a target cycle, wherein the target cycle is each cycle when the encrypted signal is transmitted, wherein the target signal lines used to transmit the encrypted signal in two adjacent cycles are different;

[0014] The adopting the target signal line to output the encrypted signal includes: adopting the bearer signal line to transmit the encrypted signal during the target period.

[0015] Optionally, before outputting the encrypted signal through the data transmission interface, the method further includes:

[0016] Determine the type of the data signal to be output, the type being a serial signal or a parallel signal;

[0017] The determining, based on the function definition of each signal line in the data transmission interface, a target signal line in the data transmission interface that carries the encrypted signal comprises:

[0018] The target signal line in the data transmission interface that carries the encrypted signal is determined based on the type of the output data signal and the functional definition of the signal line in the data transmission interface.

[0019] Optionally, before performing amplitude modulation processing on the data signal to be output, the method further includes:

[0020] Determining whether the data signal to be output is a parallel signal;

[0021] When the data signal to be output is a parallel signal, converting the signal to be output into a serial signal;

[0022] The performing amplitude modulation processing on the data signal to be output includes: performing amplitude modulation processing on the serial signal.

[0023] In a second aspect, an embodiment of the present disclosure provides a signal decryption method for a data receiver, comprising:

[0024] Acquire an encrypted signal transmitted from a data transmission interface, wherein the encrypted signal is not a digital signal complying with a public interface voltage standard;

[0025] The encrypted signal is amplitude modulated to obtain a decrypted signal, wherein the decrypted signal is a digital signal complying with a public interface voltage standard.

[0026] Optionally, the data transmission interface is a non-standard interface, and the function of the signal line of the data transmission interface is customized;

[0027] The method further comprises: determining a target signal line in the data transmission interface for transmitting the encrypted signal;

[0028] After obtaining the decrypted signal, the method further includes: based on the function definition of the target signal line in the data transmission interface, performing restoration processing on the decrypted signal to obtain a restored data signal.

[0029] Optionally, the number of the target signal lines is at least two, and the target signal lines used to transmit the encrypted signal in two adjacent cycles are different;

[0030] The restoring process of the decrypted signal to obtain a restored data signal includes:

[0031] According to the functional definition of the target signal line, the decrypted signals corresponding to the encrypted signals obtained from the respective target signal lines are spliced ​​to obtain the restored data signal.

[0032] Optionally, while acquiring the encrypted signal transmitted from the data transmission interface, the method further includes:

[0033] Acquire the number of target signal lines in the data transmission interface that simultaneously transmit the encrypted signal;

[0034] Determine the type of the encrypted signal according to the number of the target signal lines, the type being a serial signal or a parallel signal;

[0035] The decrypted signal is restored to obtain the restored data signal, including: according to the type of the encrypted signal, the decrypted signal corresponding to the encrypted signal received by each signal line is restored to obtain the restored data signal.

[0036] In a third aspect, an embodiment of the present disclosure provides a signal encryption device, including:

[0037] A signal acquisition module, used to acquire a data signal to be output, wherein the data signal to be output is a digital signal generated in accordance with a public interface voltage standard;

[0038] An encryption modulation module, used for performing amplitude modulation processing on the data signal to be output to obtain an encrypted signal, wherein the encrypted signal is not a digital signal complying with a public interface voltage standard;

[0039] The data sending module is used to output the encrypted signal through a data transmission interface.

[0040] In a fourth aspect, an embodiment of the present disclosure provides a signal decryption device, including:

[0041] A signal acquisition module, used to acquire an encrypted signal transmitted from the data transmission interface, wherein the encrypted signal is not a digital signal complying with a public interface voltage standard;

[0042] The decryption modulation module is used to perform amplitude modulation processing on the encrypted signal to obtain a decrypted signal, and the decrypted signal is a digital signal that complies with the public interface voltage standard.

[0043] In a fifth aspect, an embodiment of the present disclosure provides a device, comprising the signal encryption device as described above and / or the signal decryption device as described above.

[0044] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0045] The signal decryption solution provided by the embodiment of the present disclosure performs amplitude modulation processing on the data signal to be outputted generated in accordance with the disclosed interface voltage standard to obtain an encrypted signal, and then uses a data transmission interface to output the encrypted signal. In the absence of a hardware circuit capable of parsing the aforementioned encrypted signal to perform amplitude modulation processing on the encrypted signal to obtain a decrypted signal, the data receiving device cannot decrypt the encrypted signal, thereby ensuring the security and privacy of the data information. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work, including:

[0048] Figure 1 is a flow chart of a signal encryption method provided by an embodiment of the present disclosure;

[0049] Figure 2 is a schematic diagram of an amplitude modulation encryption circuit used in some embodiments of the present disclosure;

[0050] Figure 3 is a flow chart of a signal decryption method provided by an embodiment of the present disclosure;

[0051] Figure 4 is a schematic diagram of the structure of a signal encryption device provided by an embodiment of the present disclosure;

[0052] Figure 5 It is a structural diagram of a signal decryption device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0054] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

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

[0056] In order to solve the problem that the key verification-based method in the related art cannot well guarantee the security of the output data (in most cases, the output data is background data), and the output data may still be illegally obtained, the embodiment of the present disclosure provides a new signal encryption method and a signal decryption method. The new encryption method and decryption method are used together, and the decrypted computing device background data can only be obtained when there is a specific data receiving device.

[0057] Figure 1 is a flow chart of the signal encryption method provided by the embodiment of the present disclosure. Figure 1 As shown, the signal encryption method provided by the embodiment of the present disclosure includes S110-S120.

[0058] The signal encryption method provided by the embodiment of the present disclosure is executed by a computing device or a special encryption device. In a specific implementation, the computing device may be a device of various types that outputs private information or technical secret information. For example, the computing device may be a server or a terminal device. In the case where the computing device is a terminal device, the terminal device may be a smart phone, a tablet computer, a car terminal, etc. The encryption device may be a special encryption board, an encryption interface adapter, etc. The following takes the execution subject as an example of a computing device to illustrate the signal encryption method provided by the present disclosure.

[0059] S110: performing amplitude modulation processing on the data signal to be output to obtain an encrypted signal. The data signal to be output is a digital signal generated in accordance with a public interface voltage standard, and the encrypted signal is not a digital signal in accordance with a public interface voltage standard.

[0060] In the embodiment of the present disclosure, the data signal to be output is a data signal generated by the computing device during normal operation. When a specific trigger condition is met, the data signal will be processed as a signal to be output and output to other devices.

[0061] The data signal to be output may be a log signal (ie, log data) generated when the computing device is running, or a signal generated when the computing device is running and used to control other devices, or a signal used to interact with other devices for data exchange, which is not specifically limited in the embodiments of the present disclosure.

[0062] The signal to be output may be a serial signal or a parallel signal, which is not particularly limited in the embodiments of the present disclosure.

[0063] It should be noted that the data signal to be output is a digital signal generated in accordance with a public interface voltage standard. The aforementioned public interface voltage standard is a universal I / O voltage standard, such as a TTL (Transistor Transistor Logic) interface standard, a CMOS standard, a LVTTL standard, a LVCMOS standard, an RS232 standard, an RS485 standard, a HSTL (High Speed ​​Transceiver Logic) standard, or a LVDS (Low-Voltage Differential Signal) standard. In other words, the high-level voltage of the data signal to be output can be a high-level voltage defined by standards such as 1.8V, 2.5V, 2.8V, 3.5V, 5V, 9V, etc.

[0064] Since the data signal to be output is a digital signal generated in accordance with the public interface voltage standard, if the data signal to be output is directly output, the relevant technicians can determine its high-level voltage and the signal frequency of the data signal to be output by measuring the data signal to be output, that is, they can use standard devices to make a data receiving device to realize the reading of the aforementioned data signal to be output. Then, by cracking the data signal to be output, the data information included in the data signal to be output can be obtained. In order to avoid the aforementioned problem, the computing device in the embodiment of the present disclosure does not directly output the data signal to be output, but executes the following S120.

[0065] In the embodiment of the present disclosure, the computing device performs amplitude modulation processing on the data signal to be output, which is to use an amplitude modulation circuit to perform amplitude modulation on the output signal to change the high-level voltage value in the data signal to be output, and obtain a digital signal with a high-level voltage modulated. The above-mentioned modulated digital signal is called an encrypted signal. The following text will explain why the above-mentioned high-level voltage modulated signal is called an encrypted signal.

[0066] In the disclosed embodiment, the encrypted signal is not a digital signal that complies with the disclosed interface voltage standard. In other words, the encrypted signal is not a voltage of 1.8V, 2.5V, 2.8V, 3.5V, 5V or 9V, which is a high-level potential used in the existing digital circuit standard. Correspondingly, the existing data processing chip for processing digital signals cannot parse the high-level potential in the encrypted signal, and it is also impossible to realize the correct operation of the MOS tube in the digital processing chip and realize the parsing of the encrypted signal.

[0067] It is precisely because the encrypted signal is not a digital signal that complies with the public interface voltage standard and cannot be directly analyzed using existing digital processing chips that the encrypted signal is called an "encrypted signal."

[0068] S120: Output the encrypted signal using the data transmission interface.

[0069] As analyzed above, since the encrypted signal is a digital signal whose high potential level is modulated to a non-public interface voltage standard, the encrypted signal cannot be directly processed by a data processing chip or signal processing circuit manufactured according to the standard, and can only be processed by a special signal processing circuit. In other words, the encrypted signal itself has the property of being difficult to crack, so the encrypted signal can be directly output using a data output interface.

[0070] By adopting the signal encryption method provided by the embodiment of the present disclosure, the data signal to be outputted generated in accordance with the disclosed interface voltage standard is subjected to amplitude modulation processing to obtain an encrypted signal, and then the encrypted signal is outputted through a data transmission interface. In the absence of a hardware circuit capable of parsing the aforementioned encrypted signal, the data receiving device cannot decrypt the encrypted signal, thereby ensuring the security and privacy of the data information.

[0071] As before, in S120, the computing device uses a data transmission interface to output the encrypted signal. In some embodiments, the aforementioned data transmission interface may be a data transmission interface of a standard structure, that is, an interface in which the number of signal lines and the functions of the signal lines are defined according to a specific standard. For example, it may be a serial structure interface of a standard type such as USB, a parallel structure interface of a standard type such as PCIE, or other types of standard type interfaces, as long as the data transmission interface can realize the reliable transmission of the encrypted signal after amplitude modulation processing.

[0072] In some other embodiments, the aforementioned data transmission interface may also be a non-standard interface, that is, an interface in which the number of signal lines and / or the functions of each signal line are customized. In the case where the data transmission interface is a non-standard interface, that is, when the signal line data transmission in the data transmission interface is customized, the computing device may also implement interface hardware encryption of the encrypted signal through the data transmission interface according to the customized signal line function. To implement the aforementioned interface hardware encryption, before executing the aforementioned S120, the computing device may also execute the following S130.

[0073] S130: Determine a target signal line in the data transmission interface that carries an encrypted signal based on a function definition of the signal line in the data transmission interface.

[0074] Correspondingly, the aforementioned S120 using the data transmission interface to output the encrypted signal may include S121.

[0075] S121: Output the encrypted signal using the target signal line.

[0076] In the embodiment of the present disclosure, the functional definition of the signal lines in the data transmission interface refers to whether each signal line in the data transmission interface is used to transmit encrypted signals, and if so, according to what strategy the encrypted signals are transmitted.

[0077] For example, in some embodiments, the data transmission signal includes 10 signal lines (that is, 10 data transmission pins), and the aforementioned encrypted signal is a serial signal. In the computing device design stage, it is determined that the second signal line and the third signal line in the data transmission interface are used to transmit the encrypted signal in a differential data transmission manner, and the second signal line transmits a positive voltage signal, and the third signal line transmits a negative voltage signal. Correspondingly, the aforementioned S130 determines the target signal line carrying the encrypted signal in the data transmission interface based on the functional definition of the signal line in the data transmission interface, and determines that the second signal line is used to transmit the encrypted signal of the positive voltage, and the third signal line is used to transmit the encrypted signal of the negative voltage.

[0078] For another example, in some other embodiments, the output transmission signal line includes 10 signal lines (that is, 10 data output pins), and the aforementioned encrypted signal is an 8-bit parallel signal. In the computing device design stage, it is determined that the second signal line to the ninth signal line in the data transmission interface are used to transmit each clock synchronization signal in the parallel signal. Correspondingly, the aforementioned S130 determines the target signal line carrying the encrypted signal in the data transmission interface based on the functional definition of the signal line in the data transmission interface, and determines that the second signal line to the ninth signal line are used to transmit each clock synchronization signal.

[0079] By using the signal line in the customized data transmission interface to transmit the encrypted signal, the encrypted signal can be re-encrypted through the data transmission interface. The corresponding technicians need to first crack which encrypted signal is transmitted by each signal line in the data transmission interface, and determine the amplitude modulation encryption method of each decrypted signal, in order to obtain the signal to be encrypted.

[0080] In some embodiments, the number of target signal lines is at least two, and at least two of the target signal lines can transmit encrypted signals interchangeably according to a set period, or transmit encrypted signals alternately according to a set period, so that the target signal lines used to transmit one encrypted signal in two adjacent periods are not the same.

[0081] Correspondingly, before executing the aforementioned S121, the computing device may also execute the following S122.

[0082] S122: Determine a bearer signal line among target signal lines used to transmit the encrypted signal in a target cycle, wherein the target signal lines used to transmit the encrypted signal in two adjacent cycles are different.

[0083] For example, the output signal line in the data transmission interface includes three target signal lines, and the three target signal lines are used alternately as carrier signal lines for transmitting encrypted signals. Specifically, the first target signal line is used to transmit the encrypted signal in the first cycle, the second target signal line is used to transmit the encrypted signal in the second cycle, the third target signal line is used to transmit the encrypted signal in the third cycle, and the first target signal line is used to continue to transmit the encrypted signal in the fourth cycle, ..., until the encrypted signal is transmitted.

[0084] In the case of executing the aforementioned S122, the use of the target signal line to output the encrypted signal in the aforementioned S121 is specifically S1211: using the bearer signal line to transmit the encrypted signal during the target cycle.

[0085] In the specific implementation process, the encrypted signal is transmitted using the bearer signal in the target cycle. Starting from the first cycle in which the encrypted signal is received, the encrypted signal is transmitted according to the aforementioned alternating transmission rule until all the encrypted signals are transmitted.

[0086] By using multiple target signal lines alternately as the carrier signal lines for transmitting encrypted signals, rather than fixedly using one target signal line as the carrier signal line for transmitting a specific encrypted signal, the aforementioned rules can be used to implement further hardware encryption of the encrypted signal, thereby increasing the difficulty of cracking the encrypted signal.

[0087] In a specific implementation, when the encrypted signal is a parallel signal, the computing device uses multiple target signal lines alternately as the carrier signal lines for transmitting one encrypted signal. In this case, if the cracker does not obtain the target signal line to alternately transmit the encrypted signal, he can basically only rely on brute force to determine the above rules, and the cost of cracking the encrypted signal is extremely high.

[0088] As described above, in a specific implementation, the signal to be encrypted may be a parallel signal or a serial signal. To adapt to the type of the output transmission signal and realize the transmission of the corresponding type of data signal, the computing device may further execute the following S140 before executing the aforementioned S130.

[0089] S140: Determine the type of the signal to be encrypted, which is a serial signal or a parallel signal.

[0090] In a specific implementation, the computing device may determine the type of the signal to be encrypted according to the source of the signal to be encrypted. For example, if the signal to be output is a data signal transmitted from a serial bus in the computing device, the signal to be output is determined to be a serial signal; and if the signal to be output is a data signal transmitted from a parallel bus in the computing device, the signal to be output is determined to be a parallel signal.

[0091] In the case of executing the aforementioned S140, the aforementioned S130 determines, based on the function definition of each signal line in the data transmission interface, that the target signal line carrying the encrypted signal in the data transmission interface includes S131.

[0092] S131: Determine a target signal line in the data transmission interface that carries the encrypted signal based on the type of the encrypted signal and the function definition of the signal line in the data transmission interface.

[0093] Based on the type of encrypted signal and the functional definition of the signal line in the data transmission interface, the target line carrying the encrypted signal in the data transmission interface is determined to determine which signal lines should be used to transmit the encrypted signal and how each signal line transmits the encrypted signal. For example, when the encrypted signal is a serial signal, determine which target signal line or target signal lines are used to transmit the serial encrypted signal; when the encrypted signal is a parallel signal, determine which target signal lines are used to transmit the parallel encrypted signal.

[0094] As described above, when executing S110, the computing device needs to perform amplitude modulation processing on the data signal to be output to obtain an encrypted signal. In a specific implementation, the computing device needs to use an amplitude modulation circuit to perform amplitude modulation processing on the output signal. Figure 2 Schematic diagram of an amplitude modulation encryption circuit used in some embodiments of the present disclosure. Figure 2 As shown, the amplitude modulation circuit includes an operational amplifier and corresponding voltage-dividing resistors R1, R2 and R3. According to the working principle of the operational amplifier and the aforementioned circuit structure, when the high potential level of the data signal to be output is U, the voltage of the encrypted signal is (1+R1 / R2)*U. In other words, the operational amplifier circuit realizes a voltage boosting function, so that the high potential level of the encrypted signal is greater than the high potential level of the data signal to be output.

[0095] As described above, in a specific implementation, if the data signal to be output is a parallel signal, the aforementioned operational amplifier circuit can be set for each parallel signal to implement amplitude modulation processing of the corresponding data signal to be output, and obtain each encrypted signal. However, if an operational amplifier circuit is set for each parallel signal, a corresponding number of operational amplifiers and voltage divider resistors need to be used according to the number of parallel signals. According to the existing circuit situation, the parallel signal is at least 8 channels, and correspondingly at least 8 operational amplifiers and corresponding voltage divider circuits are required, which makes the circuit board wiring area in the computing device too large.

[0096] To avoid the aforementioned problem, in some embodiments of the present disclosure, the computing device may further execute the following S150 - S160 before executing the aforementioned S110 .

[0097] S150: Determine whether the data signal to be output is a parallel signal; if so, execute S160; if not, directly execute S110.

[0098] S160: Convert the signal to be output into a serial signal, and execute S110.

[0099] In a specific implementation, whether the data signal to be output is a parallel signal can be determined based on the source of the data signal to be output, which will not be described in detail here. If the data signal to be output is a parallel signal, the computing device can use a universal asynchronous receiver / transmitter (UART) to convert the parallel signal into a serial signal, and then execute S110. By using the above method to convert the parallel signal to be output into a serial signal, and then performing amplitude modulation processing on the serial signal, only one set of operational amplifier circuits needs to be used for the serial signal.

[0100] It should be noted that the operational amplifier circuit used in the embodiment of the present disclosure should be a high-frequency operational amplifier circuit that meets the frequency characteristics of the data signal to be output, so as to ensure that the output encrypted signal still has the frequency characteristics of the data signal to be output.

[0101] In addition to providing the aforementioned signal encryption method, the embodiment of the present disclosure also provides a signal decryption method corresponding to the aforementioned signal encryption method. The aforementioned signal decryption method can be executed by a data receiving device, and the signal decryption method is described below with the data receiving device as the execution subject.

[0102] Figure 3 is a flow chart of the signal decryption method provided by the embodiment of the present disclosure. Figure 3 As shown, the signal decryption method provided by the embodiment of the present disclosure includes S210-S220.

[0103] S210: Acquire an encrypted signal transmitted from the data transmission interface, where the encrypted signal is not a digital signal that complies with a public interface voltage standard.

[0104] In the disclosed embodiment, the data receiving device receives the encrypted signal transmitted through the data transmission interface. It should be noted that the encrypted signal is not a digital signal complying with the disclosed interface voltage standard, but a signal obtained by amplitude modulation processing using the above encryption method.

[0105] S220: performing amplitude modulation processing on the encrypted signal to obtain a decrypted signal, where the decrypted signal is a digital signal complying with a public interface voltage standard.

[0106] After obtaining the encrypted signal, the data receiving device then performs amplitude modulation processing on the encrypted signal to obtain a decrypted signal. In a specific implementation, the decrypted signal is a digital signal that complies with the public interface voltage standard. Because the decrypted signal is a digital signal that complies with the public interface voltage standard, a general processing circuit can be used to process the decrypted signal to determine the data information contained therein.

[0107] In some embodiments, the encrypted signal is subjected to amplitude modulation processing to obtain the decrypted signal, and the encrypted signal can be processed by an amplitude modulation processing method that is opposite to the amplitude modulation processing in the aforementioned encryption method to obtain the decrypted signal, that is, to obtain the aforementioned data signal to be output. In other embodiments, the encrypted signal is subjected to amplitude modulation processing to obtain the decrypted signal, and the decrypted signal can be modulated into a signal with a high voltage level different from that of the data signal to be output, but the high voltage level of the aforementioned signal still complies with the public interface voltage standard.

[0108] Using the method provided in the embodiment of the present disclosure, an amplitude modulation circuit is configured in the data receiving device. The amplitude modulation circuit can be a circuit with the same structure as the operational amplifier circuit mentioned above, or a circuit with a structure different from the operational amplifier circuit mentioned above and realizing the opposite function. The analysis will not be expanded here. For details, please refer to the relevant knowledge of circuit basics.

[0109] In the embodiment of the present disclosure, the data transmission interface in the data receiving device is a non-standard interface in which the functions of the signal lines are customized. Accordingly, before executing the aforementioned S220, the data receiving device may also execute the following S230.

[0110] S230: Determine a target signal line for transmitting the encrypted signal in the data transmission interface.

[0111] To determine the target signal line for transmitting the encrypted signal in the data transmission interface, a voltage detection method is used to determine which signal line has a digital signal of a specific frequency, and then the signal line is used as the target signal line.

[0112] On the basis of executing the aforementioned S230, after executing S220 to perform amplitude modulation processing on the encrypted signal to obtain a decrypted signal, the data receiving device may further execute S240.

[0113] S240: Based on the function definition of the target signal line in the data transmission interface, the decrypted signal is restored to obtain a restored data signal.

[0114] In a specific implementation, the function definition of the target signal line includes what type of signal the target signal line transmits (serial signal or parallel signal), and in what manner the aforementioned signal is transmitted. After determining the function definition of the target signal in the data transmission interface, the data receiving device can restore the decrypted signal according to the aforementioned interface definition to obtain a restored data signal.

[0115] For example, in some embodiments, the decrypted signal is a serial signal; after obtaining the aforementioned serial signal, the data receiving device converts the serial signal into a parallel signal according to the functional definition of the target interface line.

[0116] For another example, in some other embodiments, the encrypted signal is a two-way differential signal. After obtaining the two-way differential signal, the data receiving device performs signal verification based on the transmission of the two-way differential signal to determine whether the two-way differential signal receives strong electromagnetic interference and the potential changes. If it is verified that the two-way differential signal is not subject to strong electromagnetic interference, one of the serial signals (that is, the decrypted signal) is used as the restored data signal.

[0117] In some embodiments of the present disclosure, the number of target signal lines is at least two, and the target signal lines used to transmit the encrypted signal in two adjacent cycles are not the same. For example, when the number of target signal lines is two, the two target signal lines transmit the encrypted signal alternately. Correspondingly, the computing device executes the aforementioned S240 specifically including S241.

[0118] S241: According to the functional definition of the target signal line, the decrypted signals corresponding to the encrypted signals obtained from the respective target signal lines are spliced ​​to obtain a restored data signal.

[0119] The decrypted signals are spliced ​​according to the functional definition of the target signal line, and the periodic sorting order of the encrypted signals received from each target signal line is determined according to the functional definition of the target signal line, and the decrypted signals are spliced ​​according to the aforementioned periodic sorting order to obtain the restored data signal.

[0120] For example, when the encrypted signal is an 8-way parallel signal, the 8-way parallel signal transmits a certain signal alternately and circulates in a specific order. In this case, the data receiving device can splice the decrypted signals according to the functional definition of the target signal line, that is, according to the order of the transmitted signals in the target signal line, to obtain the restored data signals.

[0121] In some embodiments of the present disclosure, while executing the aforementioned S210 to obtain the encrypted signal transmitted from the data transmission interface, the computing device also executes the following S250-S260.

[0122] S250: Acquire the number of target signal lines in the data transmission interface that simultaneously transmit encrypted signals.

[0123] S260: Determine the type of the encrypted signal according to the number of target signal lines, which may be a serial signal or a parallel signal.

[0124] In a specific implementation, the data receiving device can determine the number of signal lines for transmitting encrypted signals according to the interface definition of each target signal line in the data transmission interface and the number of signal lines for transmitting high-level points. After determining the number of target signal lines, the type of encrypted signal can be determined according to the number of target signal lines. For example, when the number of target signal lines is two and the high-level voltages of the two signals are opposite, it can be determined that the encrypted signal is a serial signal. For another example, when the number of target signal lines is eight and the high-level voltages of the eight signals are the same, it can be determined that the encrypted signal is a parallel signal.

[0125] In case of executing the aforementioned S250 - S260 to determine the type of the encrypted signal, the aforementioned S240 specifically includes S242 .

[0126] S242: Perform restoration processing on the decrypted signal corresponding to the encrypted signal received by each signal line according to the type of the encrypted signal to obtain a restored data signal.

[0127] Specifically, if the encrypted signal is a serial signal, and the restored data signal actually used is a parallel signal, the computing device can use a serial-to-parallel conversion method, that is, use a universal asynchronous receiver-transmitter to perform serial-to-parallel conversion on the decrypted signal to obtain a parallel restored data signal. If the encrypted signal is a serial signal, the restored data signal actually used can be a serial signal, and the decrypted signal can be directly used as the restored data signal.

[0128] In some embodiments of the present disclosure, after obtaining the aforementioned restored data signal, the computing device may further execute S270.

[0129] S270: reprocessing the restored data signal to obtain a processing result.

[0130] In a specific implementation, the computing device reprocesses the restored data signal to obtain a processing result, which is to use a corresponding business processing method to process the restored data signal to obtain a corresponding processing result. For example, in the case where the restored data signal is a log signal, the data receiving device can analyze the log signal to determine whether the computing device is in a fault state, and in the case of a fault state, the fault location and how to handle the fault.

[0131] In addition to providing the aforementioned signal encryption method and signal decryption method, the embodiments of the present disclosure also provide a signal encryption device and a signal decryption device corresponding to the aforementioned methods.

[0132] Figure 4 Schematic diagram of the structure of the signal encryption device provided by the embodiment of the present disclosure. Figure 4 As shown, the signal encryption device 400 includes an encryption modulation module 401 and a data transmission module 402. The encryption modulation module 401 is used to perform amplitude modulation processing on the output data signal to obtain an encrypted signal. The output data signal is a digital signal generated in accordance with the public interface voltage standard, and the encrypted signal is not a digital signal in accordance with the public interface voltage standard; the data transmission module 402 is used to output the encrypted signal using a data transmission interface.

[0133] In some implementations, the data transmission interface is a non-standard interface in which the signal line function is customized. Correspondingly, the signal decryption device 400 further includes a target signal line determination circuit, which determines the target signal line in the data transmission interface that carries the encrypted signal based on the function definition of the signal line in the data transmission interface. Correspondingly, the data sending module 402 uses the target signal line to output the encrypted signal.

[0134] In some embodiments, the number of target signal lines is at least two. The target signal line determination circuit determines the bearer signal line in the target signal line used to transmit the encrypted signal in the target cycle, wherein the target signal line used to transmit the encrypted signal in two adjacent cycles is different. Correspondingly, the data sending module 402 uses the bearer signal line to transmit the encrypted signal in the target cycle.

[0135] In some embodiments, the signal acquisition module 401 is further used to determine the type of the data signal to be output, which is a serial signal or a parallel signal. Correspondingly, the data sending module 402 determines the target signal line in the data transmission interface that carries the encrypted signal based on the type of the output data signal and the functional definition of the signal line in the data transmission interface.

[0136] In some embodiments, the signal acquisition module 401 is further used to determine whether the data signal to be output is a parallel signal, and if it is determined that the data signal to be output is a parallel signal, convert the signal to be output into a serial signal. The encryption modulation module 401 performs amplitude modulation processing on the converted serial signal.

[0137] Figure 5 is a schematic diagram of the structure of a signal decryption device 500 provided in an embodiment of the present disclosure. Figure 5As shown, the signal decryption device 500 includes a signal acquisition module 501 and a decryption modulation module 502. The signal acquisition module 501 is used to acquire an encrypted signal transmitted from a data transmission interface, and the encrypted signal is not a digital signal that complies with the public interface voltage standard; the decryption modulation module 502 is used to perform amplitude modulation processing on the encrypted signal to obtain a decrypted signal, and the decrypted signal is a digital signal that complies with the public interface voltage standard.

[0138] In some embodiments, the decryption modulation module 502 performs amplitude modulation processing on the encrypted signal according to the inverse method of the amplitude modulation method for generating the encrypted signal to obtain the decrypted signal.

[0139] In some embodiments, the data transmission interface is a non-standard interface in which the functions of the signal lines are customized. Correspondingly, the signal acquisition module 501 is also used to determine the target signal line in the data transmission interface for transmitting the encrypted signal. The signal decryption device 500 also includes a signal restoration unit, and the signal restoration circuit is used to restore the decrypted signal based on the function definition of the target signal line in the data transmission interface to obtain a restored data signal.

[0140] In some embodiments, the number of target signal lines is at least two, and the target signal lines used to transmit the encrypted signal in two adjacent cycles are different. Correspondingly, the signal restoration circuit splices the decrypted signals corresponding to the encrypted signals obtained from each target signal line according to the functional definition of the target signal line to obtain a restored data signal.

[0141] In some embodiments, the signal acquisition module 501 acquires the number of target signal lines in the data transmission interface that simultaneously transmit the encrypted signal while acquiring the encrypted signal transmitted from the data transmission interface, and determines the type of the encrypted signal according to the number of target signal lines, which is a serial signal or a parallel signal. Correspondingly, the signal restoration circuit restores the decrypted signal corresponding to the encrypted signal received by each signal line according to the type of the encrypted signal to obtain a restored data signal.

[0142] In some embodiments, the signal decryption device 500 further includes a post-processing circuit, which is used to reprocess the restored data signal to obtain a processing result.

[0143] The embodiment of the present disclosure also provides a device, the computing device includes the above signal encryption device and / or signal decryption device, and can perform the corresponding signal amplitude modulation encryption function and / or amplitude modulation decryption function according to the above method.

[0144] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system based on hardware that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0145] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0146] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0147] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0148] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A signal encryption method, used for a data sender, characterized in that: include: Performing amplitude modulation processing on the data signal to be output to obtain an encrypted signal, wherein the data signal to be output is a digital signal generated in accordance with a public interface voltage standard, and the encrypted signal is not a digital signal in accordance with a public interface voltage standard; The encrypted signal is outputted using a data transmission interface.

2. The method according to claim 1, characterized in that Before outputting the encrypted signal using the data transmission interface, the method further includes: determining a target signal line in the data transmission interface that carries the encrypted signal based on a function definition of a signal line in the data transmission interface; The adopting the output transmission interface to output the encrypted signal includes: adopting the target signal line to output the encrypted signal.

3. The method according to claim 2, characterized in that The number of the target signal lines is at least two; Before using the target signal line to output the encrypted signal, the method further includes: determining a bearer signal line among the target signal lines for transmitting the encrypted signal in a target cycle, wherein the target cycle is each cycle when the encrypted signal is transmitted, wherein the target signal lines used to transmit the encrypted signal in two adjacent cycles are different; The adopting the target signal line to output the encrypted signal includes: adopting the bearer signal line to transmit the encrypted signal during the target period.

4. The method according to claim 2, characterized in that: Before outputting the encrypted signal through the data transmission interface, the method further includes: Determine the type of the data signal to be output, the type being a serial signal or a parallel signal; The determining, based on the function definition of each signal line in the data transmission interface, a target signal line in the data transmission interface that carries the encrypted signal comprises: The target signal line in the data transmission interface that carries the encrypted signal is determined based on the type of the output data signal and the functional definition of the signal line in the data transmission interface.

5. The method according to claim 1, characterized in that Before performing amplitude modulation processing on the data signal to be output, the method further includes: Determining whether the data signal to be output is a parallel signal; When the data signal to be output is a parallel signal, converting the signal to be output into a serial signal; The performing amplitude modulation processing on the data signal to be output includes: performing amplitude modulation processing on the serial signal.

6. A signal decryption method, used for a data receiver, characterized in that: include: Acquire an encrypted signal transmitted from a data transmission interface, wherein the encrypted signal is not a digital signal complying with a public interface voltage standard; The encrypted signal is amplitude modulated to obtain a decrypted signal, wherein the decrypted signal is a digital signal complying with a public interface voltage standard.

7. The method according to claim 6, characterized in that The data transmission interface is a non-standard interface, and the function of the signal line of the data transmission interface is customized; The method further comprises: determining a target signal line in the data transmission interface for transmitting the encrypted signal; After obtaining the decrypted signal, the method further includes: based on the function definition of the target signal line in the data transmission interface, performing restoration processing on the decrypted signal to obtain a restored data signal.

8. The method according to claim 7, characterized in that The number of the target signal lines is at least two, and the target signal lines used to transmit the encrypted signal in two adjacent cycles are different; The restoring process of the decrypted signal to obtain a restored data signal includes: According to the functional definition of the target signal line, the decrypted signals corresponding to the encrypted signals obtained from the respective target signal lines are spliced ​​to obtain the restored data signal.

9. The method according to claim 6, characterized in that While acquiring the encrypted signal transmitted from the data transmission interface, the method further includes: Acquire the number of target signal lines in the data transmission interface that simultaneously transmit the encrypted signal; Determine the type of the encrypted signal according to the number of the target signal lines, the type being a serial signal or a parallel signal; The decrypted signal is restored to obtain the restored data signal, including: according to the type of the encrypted signal, the decrypted signal corresponding to the encrypted signal received by each signal line is restored to obtain the restored data signal.

10. A signal encryption device, characterized in that: include: An encryption modulation module, used for performing amplitude modulation processing on the data signal to be output to obtain an encrypted signal, wherein the data signal to be output is a digital signal generated in accordance with a public interface voltage standard, and the encrypted signal is not a digital signal in accordance with a public interface voltage standard; The data sending module is used to output the encrypted signal through a data transmission interface.

11. A signal decryption device, characterized in that: include: A signal acquisition module, used to acquire an encrypted signal transmitted from the data transmission interface, wherein the encrypted signal is not a digital signal complying with a public interface voltage standard; The decryption modulation module is used to perform amplitude modulation processing on the encrypted signal to obtain a decrypted signal, and the decrypted signal is a digital signal that complies with the public interface voltage standard.

12. A device, characterized in that: It comprises the signal encryption device as claimed in claim 10 and / or the signal decryption device as claimed in claim 11.