Encryption authentication system
Through single bus connection and power supply, the design of the encryption authentication system is simplified, the problems of complexity and cost of existing systems are solved, and the application scenarios are expanded.
Patent Information
- Application Number
- CN202411130807.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-12-03
AI Technical Summary
The existing encryption authentication system is complex, costly, and difficult to design, which limits its application scope.
The communication link between the communication initiator device and the authentication target device is realized through a single bus connection, and the power supply is provided for the authentication target device, eliminating the need for antennas and external batteries and simplifying the system design.
It significantly reduces the system complexity and design difficulty, reduces the cost, and expands the application scenarios of the encryption authentication system.
Smart Images

Figure CN119066647A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of encryption authentication, and more specifically to an encryption authentication system. Background Art
[0002] Today's encryption authentication systems are roughly divided into two categories: contact and contactless.
[0003] The contact encryption authentication system uses contact communication, and the communication initiator device 110 and the authentication target device 120 are connected through contacts or wires. Figure 1 As shown, the wire connection includes power and ground wires, as well as control terminals such as clock, signal, interrupt, and enable. With so many contact wire connections, specially customized sockets or fixtures are often required. If the authentication target device cannot obtain power from the communication initiator device, an external battery is required on the side of the authentication target device. Therefore, the system is complex and costly.
[0004] The contactless encryption authentication system uses contactless communication, such as Figure 2 As shown, the communication initiator device 210 and the authentication target device 240 usually need to be equipped with antennas, namely the first antenna 220 and the second antenna 230 in the figure, to establish a communication link. The size of the antenna is related to the frequency of the communication, and the size is generally more than a few centimeters. Similarly, if the authentication target device cannot obtain power from the communication initiator device 210 through the electromagnetic field, an external battery is also required on the authentication target device 240 side. On the authentication target device side, the implementation of the antenna and power supply will increase the overall physical size and system complexity of the authentication target side, thereby increasing the design difficulty and cost of the system, and also limiting the scope of application of the encryption authentication system. Summary of the invention
[0005] The present application is proposed in view of the above problems. The present application provides an encryption authentication system, which can effectively reduce the complexity of the system and reduce the design difficulty and cost of the system.
[0006] According to a first aspect of the present application, there is provided an encryption authentication system, comprising: a communication initiating device and an authentication target device, wherein the communication initiating device and the authentication target device are connected via a single bus;
[0007] The communication initiating device is used to initiate and establish a communication link with the authentication target device during encryption authentication, and provide power to the authentication target device through the single bus;
[0008] The authentication target device is used to obtain power from the single bus and exchange information with the communication initiator device through the communication link.
[0009] In one embodiment of the present application, the communication initiating device includes a first processor and a transceiver circuit, and the first processor and the transceiver circuit are electrically connected;
[0010] The first processor is used to generate first encrypted authentication information and send the first encrypted authentication information to the transceiver circuit;
[0011] The transceiver circuit is used to modulate the first encrypted authentication information and output a corresponding transmission signal to the single bus; and demodulate the received signal to obtain the second encrypted authentication information, and send the second encrypted authentication information to the first processor.
[0012] In one embodiment of the present application, the transceiver circuit includes a transmitting circuit and a receiving circuit;
[0013] The sending circuit is used to modulate the voltage value of the single bus based on the first encrypted authentication information, and output the modulated signal to the single bus;
[0014] The receiving circuit is used to demodulate the received voltage signal to obtain second encrypted authentication information, and send the second encrypted authentication information to the first processor.
[0015] In one embodiment of the present application, the first processor supports at least one of SM4, RSA, and DES encryption authentication algorithms.
[0016] In one embodiment of the present application, the first processor is further configured to decrypt and authenticate the second encrypted authentication information.
[0017] In one embodiment of the present application, the authentication target device includes a second processor;
[0018] The second processor is used to obtain power from the single bus and demodulate the received voltage signal to obtain the first encrypted authentication information; and modulate the voltage value of the single bus based on the second encrypted authentication information, and output the modulated voltage signal to the single bus.
[0019] In one embodiment of the present application, the second processor includes: a rectifying and voltage stabilizing module, a second sending module, a second receiving module, and a second encryption authentication logic module; the rectifying and voltage stabilizing module is electrically connected to the second sending module, the second receiving module, and the second encryption authentication logic module respectively, and the second encryption authentication logic module is communicatively connected to the second sending module and the second receiving module respectively;
[0020] The rectification and voltage stabilization module is used to rectify and stabilize the received signal to obtain the power supply;
[0021] The second encryption authentication logic module is used to generate second encryption authentication information;
[0022] The second sending module is used to modulate the second encrypted authentication information and then output a corresponding sending signal to the single bus;
[0023] The second receiving module is used to demodulate the received signal to obtain the first encrypted authentication information, and send the first encrypted authentication information to the second encrypted authentication logic module.
[0024] In one embodiment of the present application, the second encryption and authentication logic module is further used to decrypt and authenticate the first encrypted authentication information.
[0025] In one embodiment of the present application, the second encryption authentication logic module is further used to generate the second encryption authentication information based on the first encryption authentication information.
[0026] The encryption authentication system of the present application realizes the communication link between the communication initiator and the authentication target device through a single bus, and provides power for the authentication target device. The authentication target device does not need to design an antenna or an external battery, thereby significantly reducing the system complexity, reducing the system design difficulty and cost, and expanding its application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0028] Figure 1 It is a schematic structural diagram of an existing contact encryption authentication system;
[0029] Figure 2 It is a schematic structural diagram of an existing contactless encryption authentication system;
[0030] Figure 3 is a schematic structural diagram of an encryption authentication system according to an embodiment of the present application;
[0031] Figure 4 is a schematic structural diagram of an encryption authentication system according to another embodiment of the present application;
[0032] Figure 5 is a schematic structural diagram of a second processor according to an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical scheme and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.
[0034] In view of the problem that the complexity of the existing encryption authentication system increases the difficulty and cost of system design, this application proposes an encryption authentication system that can effectively reduce the complexity of the system and reduce the difficulty and cost of system design. The following is a detailed description of it.
[0035] First, refer to Figure 3 To describe the encryption authentication system according to an embodiment of the present application.
[0036] like Figure 3 As shown, an encryption authentication system 300 provided by the present application includes: a communication initiating device 310 and an authentication target device 320, and the communication initiating device 310 and the authentication target device 320 are connected via a single bus.
[0037] The communication initiating device 310 is used to initiate and establish a communication link with the authentication target device 320 during encryption authentication, and provide power to the authentication target device 320 through a single bus.
[0038] Here, the communication initiating device 310 acts as a host to initiate the communication process of encryption authentication and establish a communication link with the authentication target device 320; and at the same time provide energy to the authentication target device 320.
[0039] The authentication target device 320 is used to obtain power from the single bus and exchange information with the communication initiator device 310 through a communication link.
[0040] Here, the authentication target device 320 is used as a slave to authenticate the target, and is connected to the communication initiator device 310 via a single bus.
[0041] The single bus communication technology is a half-duplex, bidirectional serial bus standard and interface technology. The single bus has only one data line. The data exchange and control in the system are completed by this line. The communication initiator 310 and the authentication target device 320 are connected through a single bus. The host only needs one port to communicate with the slave. Therefore, in this application, the communication link between the communication initiator and the authentication target can be realized through a single bus. At the same time, the slave can also obtain parasitic power from the bus, thereby saving input and output port resources, with a simple structure, low cost, and convenient bus expansion and maintenance.
[0042] In the present application, the communication initiating device 310 and the authentication target device 320 may be implemented by an integrated circuit or by discrete components.
[0043] Exemplarily, when implemented using an integrated circuit, the communication initiating device 310 and the authentication target device 320 may include a processor and a memory.
[0044] The processor can be a microcontroller unit (MCU), a central processing unit (CPU), a digital signal processor (DSP), a single-chip microcomputer and an embedded device, or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and can control other components in the encryption authentication system to perform the desired functions.
[0045] The memory may be a computer-readable storage medium in various forms, such as a volatile memory and / or a non-volatile memory. Volatile memory may include, for example, a random access memory (RAM), a cache memory (cache), a synchronous dynamic random access memory (SDRAM), etc. Non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory (Flash), etc. One or more computer program instructions may also be stored on the computer-readable storage medium, and the memory may run the program instructions to implement the encryption authentication process involved below.
[0046] This application proposes an encryption authentication system that integrates power supply and encryption authentication, which realizes the communication link between the communication initiator and the authentication target through a single bus, and provides energy to the authentication target at the same time. The authentication target does not need to design an antenna or an external battery. The electromagnetic field emitted by the communication initiator can not only provide the energy required for the authentication target device to work, but also serves as a communication link for two-way signals. In this way, the communication system can be simplified, which can significantly reduce the complexity of the system, and also reduce the difficulty and cost of system design, so that the restrictions on application scenarios are significantly reduced.
[0047] The following combination Figure 4 To illustrate an encryption authentication system 400 according to an embodiment of the present application.
[0048] In this embodiment, the communication initiating device includes a first processor 410 and a transceiver circuit 420 , and the first processor 410 and the transceiver circuit 420 are electrically connected.
[0049] The first processor 410 is used to generate first encrypted authentication information and send the first encrypted authentication information to the transceiver circuit 420; the transceiver circuit 420 is used to modulate the first encrypted authentication information and output a corresponding transmission signal to the single bus 440; and demodulate the received signal to obtain second encrypted authentication information, and send the second encrypted authentication information to the first processor 410.
[0050] The transceiver circuit 420 of this embodiment may be composed of passive components. Specifically, the transceiver circuit 420 includes a transmitting circuit 421 and a receiving circuit 422 , and both the transmitting circuit 421 and the receiving circuit 422 are connected to the single bus 440 .
[0051] The sending circuit 421 is used to modulate the voltage value of the single bus 440 based on the first encrypted authentication information, and output the modulated signal to the single bus 440;
[0052] The receiving circuit 422 is used to demodulate the received voltage signal to obtain the second encrypted authentication information, and send the second encrypted authentication information to the first processor 410 .
[0053] The sending circuit 421 can generate a voltage signal, and modulate the voltage signal based on the first encrypted authentication information to obtain an encrypted authentication signal; the receiving circuit 422 can receive a signal returned by the second processor.
[0054] The sending circuit 421 may modulate the first encrypted authentication information in the following manner: the sending circuit 421 pulls the single bus down to the ground voltage (GND) to represent data 0, and releases the single bus to a high voltage to represent data 1.
[0055] Specifically, the first processor 410 generates first encrypted authentication information based on a preset encryption authentication algorithm.
[0056] Exemplarily, the first processor 410 supports at least one of an SM4 block cipher algorithm (SM4), RSA, and a Data Encryption Standard (DES) encryption authentication algorithm.
[0057] In this embodiment, the authentication target device includes a second processor 430 ; the second processor 430 is connected to the transceiver circuit 420 via a single bus 440 .
[0058] In a specific implementation, the first processor 410 is further configured to decrypt and authenticate the second encrypted authentication information.
[0059] Here, the first processor 410 is used to encrypt and decrypt data and authenticate the legitimacy of the second processor 430. The specific implementation process can be determined according to the encryption authentication algorithm, which is a prior art, so the implementation process and the logical function of the first processor 410 are not described here.
[0060] It should be noted that since the single bus is a master-slave structure, the slave can only respond when the host calls the slave. Therefore, the first processor 410 strictly follows the single bus command sequence when accessing the second processor 430, and the encryption authentication algorithm in this embodiment is determined by the first processor 410.
[0061] The second processor 430 is used to obtain power from the single bus 440 and demodulate the received voltage signal to obtain the first encrypted authentication information; and modulate the voltage value of the single bus 440 based on the second encrypted authentication information, and output the modulated voltage signal to the single bus 440.
[0062] Here, the second encrypted authentication information is generated by the second processor 430 according to a preset encryption authentication algorithm. Therefore, in this embodiment, the second processor 430 is also used to generate the second encrypted authentication information based on the first encrypted authentication information.
[0063] The communication initiator of this embodiment initiates encrypted authentication communication and provides energy to the authentication target end. In the single-bus encrypted authentication system, the authentication target device does not need to be powered separately, and can obtain energy by simply connecting to the communication initiator through the single bus, thereby simplifying the complexity of the encrypted authentication system, reducing the design difficulty and cost of the system, and expanding its application scenarios.
[0064] The following combination Figure 5 To illustrate the second processor according to an embodiment of the present application.
[0065] See also Figure 5 According to an embodiment of the present application, the second processor 520 is used to be authenticated, and includes: a second encryption authentication logic module 521, a second sending module 522, a second receiving module 523, and a rectification and voltage stabilization module 524; the rectification and voltage stabilization module 524 is electrically connected to the second sending module 522, the second receiving module 523, and the second encryption authentication logic module 521, respectively, and the second encryption authentication logic module 521 is communicatively connected to the second sending module 522 and the second receiving module 523;
[0066] The rectifying and voltage stabilizing module 524 is used to rectify and stabilize the received signal to obtain power supply;
[0067] The second encryption authentication logic module 521 is used to generate second encryption authentication information;
[0068] The second sending module 522 is used to modulate the second encrypted authentication information and output a corresponding sending signal to the single bus;
[0069] The second receiving module 523 is used to demodulate the received signal to obtain the first encrypted authentication information, and send the first encrypted authentication information to the second encrypted authentication logic module 521 .
[0070] In this embodiment, the second sending module 522 and the second receiving module 523 are both connected to the single bus.
[0071] In this embodiment, the rectifying and voltage stabilizing module 524 generates power for use in authenticating the target device by rectifying and stabilizing the electrical signal transmitted via a single line.
[0072] Through the second sending module 522 and the second receiving module 523, the second processor 520 can receive the communication command sent by the first processor, modulate the response information onto the single bus, and then transmit the information to the first processor.
[0073] In a specific implementation, the second encryption authentication logic module 521 is further used to decrypt and authenticate the second encrypted authentication information.
[0074] Here, the second encryption authentication logic module 321 interacts with the first processor according to a preset encryption authentication algorithm, receives and responds to the authentication command of the first processor, thereby realizing the legitimacy authentication of the authentication target. This process is a prior art, so the implementation process and the logical function of the second encryption authentication logic module 321 are not described here.
[0075] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as required by the appended claims.
[0076] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0077] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0078] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0079] Similarly, it should be understood that in order to streamline the present invention and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.
[0080] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0081] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0082] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some modules in the article analysis device according to an embodiment of the present invention. The present invention may also be implemented as a device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0083] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
[0084] The above is only a specific embodiment of the present invention or an explanation of a specific embodiment. The protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. An encryption authentication system, characterized in that: The encryption authentication system comprises: a communication initiating device and an authentication target device, wherein the communication initiating device and the authentication target device are connected via a single bus; The communication initiating device is used to initiate and establish a communication link with the authentication target device during encryption authentication, and provide power to the authentication target device through the single bus; The authentication target device is used to obtain power from the single bus and exchange information with the communication initiator device through the communication link.
2. The encryption authentication system according to claim 1, characterized in that: The communication initiating device comprises a first processor and a transceiver circuit, wherein the first processor and the transceiver circuit are electrically connected; The first processor is used to generate first encrypted authentication information and send the first encrypted authentication information to the transceiver circuit; The transceiver circuit is used to modulate the first encrypted authentication information and then output a corresponding transmission signal to the single bus; And demodulate the received signal to obtain second encrypted authentication information, and send the second encrypted authentication information to the first processor.
3. The encryption authentication system according to claim 2, characterized in that: The transceiver circuit includes a transmitting circuit and a receiving circuit; The sending circuit is used to modulate the voltage value of the single bus based on the first encrypted authentication information, and output the modulated signal to the single bus; The receiving circuit is used to demodulate the received voltage signal to obtain second encrypted authentication information, and send the second encrypted authentication information to the first processor.
4. The encryption authentication system according to claim 2, characterized in that: The first processor supports at least one of SM4, RSA, and DES encryption authentication algorithms.
5. The encryption authentication system according to claim 2, characterized in that: The first processor is further configured to decrypt and authenticate the second encrypted authentication information.
6. The encryption authentication system according to claim 2, characterized in that: The authentication target device includes a second processor; The second processor is used to obtain power from the single bus and demodulate the received voltage signal to obtain the first encrypted authentication information; And based on the second encrypted authentication information, the voltage value of the single bus is modulated, and the modulated voltage signal is output to the single bus.
7. The encryption authentication system according to claim 6, characterized in that: The second processor includes: a rectifying and voltage stabilizing module, a second sending module, a second receiving module, and a second encryption authentication logic module; the rectifying and voltage stabilizing module is electrically connected to the second sending module, the second receiving module, and the second encryption authentication logic module respectively, and the second encryption authentication logic module is communicatively connected to the second sending module and the second receiving module respectively; The rectification and voltage stabilization module is used to rectify and stabilize the received signal to obtain the power supply; The second encryption authentication logic module is used to generate second encryption authentication information; The second sending module is used to modulate the second encrypted authentication information and then output a corresponding sending signal to the single bus; The second receiving module is used to demodulate the received signal to obtain the first encrypted authentication information, and send the first encrypted authentication information to the second encrypted authentication logic module.
8. The encryption authentication system as claimed in claim 7, characterized in that: The second encryption and authentication logic module is further used to decrypt and authenticate the first encryption and authentication information.
9. The encryption authentication system according to claim 7, characterized in that: The second encryption authentication logic module is further used to generate the second encryption authentication information based on the first encryption authentication information.
