A PCIe interface password card with high-precision timing function

By designing a PCIe interface password card with high-precision timing function, using 4G-LTE, satellite, and NTP time signal sources, high-precision system time synchronization is achieved, solving the problems of large time error and low accuracy in the existing technology, and meeting the needs of commercial cryptographic calculation and industrial control.

CN115065435BActive Publication Date: 2025-02-28ZHONG AN YUNKE TECH DEV (SHANDONG) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210318116.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-29
Publication Date
2025-02-28
Estimated Expiration
2042-03-29

AI Technical Summary

Technical Problem

The prior art has bottlenecks in commercial cryptographic calculations and high-precision time synchronization, resulting in large time errors and low accuracy, which cannot meet the needs of data measurement and industrial control.

Method used

A PCIe interface password card with high-precision timing function was designed. The timing system model includes a signal layer, a control layer and an interface layer. Through three time signal sources, 4G-LTE, satellite, and NTP, time information in different scenarios is obtained, and automatic switching is performed according to the signal strength of the time source to ensure time accuracy.

Benefits of technology

It realizes high-precision system time synchronization, with an annual error of less than ±0.4 seconds, meeting the needs of efficient commercial password calculation and high-precision time synchronization, and is suitable for diversified usage scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115065435B_ABST
    Figure CN115065435B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of password card timing, specifically, to a PCIe interface password card with high-precision timing function, and its timing system model includes a signal layer, a control layer and an interface layer; wherein: the signal layer includes a secret key generator, a 4G antenna, an NTP server, an RTC timekeeping controller and a satellite antenna; the control layer includes a data encryption processing module, a 4G signal acquisition device, a time signal parser, a time master, a satellite time signal parser, an interrupt processor and a satellite signal acquisition device; the interface layer includes a PCI-ex1 interface, an interface driver and a PC / server. The present invention is designed to integrate timing and encryption functions, and is connected to a PC / server through a PCI-e slot, with high transmission efficiency and good compatibility; it can support multiple time sources such as satellite signals, 4G-LTE signals, and NTP signals, and can automatically switch according to signal strength to ensure time accuracy and meet diversified usage scenarios; using the PCIex1 interface, data is transmitted in a point-to-point form, effectively improving the transmission rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of password card timing, in particular to a PCIe interface password card with a high-precision timing function. Background Art

[0002] Commercial encryption is an important part of my country's encryption system and is used to protect commercial data information. The application of commercial encryption is directly related to network security, economic security, national security, and the vital interests of every citizen and social organization. At present, with the in-depth development of intelligence, digitization, and networking, various application systems have an increasing demand for commercial encryption security. In particular, with the development of emerging technologies such as smart homes, cloud computing, mobile Internet, and big data, the demand for cryptographic software, chips, cryptographic modules, cryptographic boards, cryptographic systems, and other technologies has become more and more urgent.

[0003] In terms of communication speed, PCI bus has been widely used in the embedded field in the past decade or so. However, due to the parallel characteristics of PCI bus, the communication scheme based on PCI bus is limited by data throughput and bandwidth, and has gradually reached a bottleneck. With the advantages of efficient serial transmission characteristics, higher transmission rate, exclusive bandwidth, etc., the PCIe bus standard has been rapidly developed once it was launched, and gradually replaced the PCI bus. In terms of computer motherboard interface, PCIe slot is the main expansion slot of the motherboard. By plugging in different expansion cards, you can get almost all the functions that the computer can achieve, such as sound card, network card, graphics card, USB expansion card, video capture card and other kinds of expansion cards. Because of the "universal" compatibility characteristics, it is often difficult to find a PCIe slot on the computer motherboard.

[0004] In this context, the password board based on the new generation of Soc network terminal security chip came into being. The board supports symmetric encryption algorithms such as SM4, AES, and DES, supports elliptic curve public key cryptographic algorithms such as SM2 and RSA, and supports HASH algorithms such as SM3, SHA1, SHA224, and SHA256. The algorithms are independent of each other and meet the requirements of large-scale and high-real-time cryptographic calculations in the network system through the PCIe+USB solution. The timing password card integrates timing and password calculations, and only requires one PCIe interface. It is compatible with the performance of cryptographic algorithms and can meet the timing requirements. In practical applications, high-precision system time and cryptographic technology complement each other. The current computer system time is basically provided by the network time or the motherboard clock chip, which is very likely to cause large time errors and low precision, and cannot complete specific tasks in data measurement, industrial control and other fields. So far, it is imperative to develop a combined timing password card that can meet efficient commercial cryptographic calculations and provide high-precision time. In view of this, we propose a PCIe interface password card with high-precision timing function. Summary of the invention

[0005] The purpose of the present invention is to provide a PCIe interface password card with a high-precision timing function to solve the problems raised in the above background technology.

[0006] In order to solve the above technical problems, one of the purposes of the present invention is to provide a PCIe interface password card with high-precision timing function, wherein the timing system model includes three parts: a signal layer, a control layer and an interface layer; the signal layer, the control layer and the interface layer are sequentially connected in communication; wherein:

[0007] The signal layer includes a key generator, a 4G antenna, an NTP server, an RTC timekeeping controller and a satellite antenna;

[0008] The control layer includes a data encryption processing module, a 4G signal acquisition device, a time signal parser, a time master controller, a satellite time signal parser, an interrupt processor and a satellite signal acquisition device;

[0009] The interface layer includes a PCI-e x1 interface, an interface driver and a PC / server.

[0010] As a further improvement of the technical solution, the key generator, the 4G antenna, the NTP server, the RTC timing controller and the satellite antenna are operated in parallel; wherein:

[0011] The key generator is connected to the data encryption processing module and is used to generate and store encryption and decryption keys used in the data encryption process;

[0012] The 4G antenna is connected to the 4G signal acquisition device to obtain the operator base station time and is backward compatible. If the 4G signal is weak, it will automatically switch to the 3G or 2G base station;

[0013] The RTC timing controller is connected to the time master controller and is used to transmit time information or a 1pps pulse signal to the time master controller;

[0014] The satellite antenna is connected to the satellite signal acquisition device and is used to receive satellite signals.

[0015] As a further improvement of the technical solution, the RTC timing controller uses a temperature-compensated crystal oscillator with high precision, and can still provide high-precision timing services when the external clock source is invalid.

[0016] As a further improvement of the technical solution, the data encryption processing module operates independently, the 4G signal acquisition device, the time signal parser and the time master are communicated and connected in sequence, and the satellite signal acquisition device is communicated and connected with the time master through the satellite time signal parser and the interrupt processor running in parallel; wherein:

[0017] The data encryption processing module is connected to the PCI-e interface and is used for transparent transmission of data streams between the PC / server;

[0018] The time signal analyzer is connected to the NTP server via GPRS to obtain network time;

[0019] The time master controller is connected to the PCI-e interface for transmitting time messages / control commands with the PC / server;

[0020] The satellite time signal parser is connected to the satellite signal acquisition device, and the satellite signal acquisition device converts the satellite signal into a NMEA protocol data packet and outputs the time message in a serial port manner through the satellite time signal parser;

[0021] The interrupt processor is connected to the satellite signal acquisition device, and the interrupt processor receives a 1pps pulse signal output by the satellite signal acquisition device.

[0022] As a further improvement of the present technical solution, the core of the data encryption processing module is a group of data encryption and decryption algorithm sub-modules; wherein the algorithm sub-modules include elliptic curve public key cryptographic algorithms such as SM2 and RSA, symmetric encryption algorithms such as SM4, AES, DES, and HASH algorithms such as SM3, SHA1, SHA224, SHA256, and each algorithm is independent of each other.

[0023] As a further improvement of the present technical solution, the time master controller is the core of the timing system model. It obtains time information in different scenarios through three time signal sources: 4G-LTE, satellite, and NTP, which is used to synchronize the time in the password card and can automatically switch according to the signal strength of the time source.

[0024] As a further improvement of the technical solution, the time master meets diversified usage scenarios through independent time sources. The time source deployment schemes for different scenarios are:

[0025] In network communication rooms where it is inconvenient to deploy satellite antennas outdoors, 4G antennas can be placed indoors and 4G-LTE / NTP time sources can be used to completely eliminate damage to equipment caused by lightning.

[0026] When using GPS / Beidou satellite signals, microsecond-level timing accuracy can be achieved;

[0027] By using a built-in high-precision timekeeping clock source, namely the RTC timekeeping controller, and a temperature-compensated crystal oscillator, it can still provide high-precision timing services when the external clock source is invalid.

[0028] As a further improvement of the technical solution, the specific method of the time master controller automatically switching according to the time source signal strength includes the following:

[0029] Preset a specific time interval (e.g. 10 minutes) to patrol the strength of satellite signals, LTE signals, and NTP signals. The priority is in the order of satellite signal > NTP signal > LTE signal. Specifically:

[0030] A. Satellite signals are closely related to the direction of satellite antenna placement and whether the space is open. When the antenna is placed in a strongly shielded environment such as indoors or between buildings, the satellite module often cannot identify valid signals. When the signal strength is too weak or the time data is incorrect, the current time source will switch to a signal source with a lower priority and in a valid state.

[0031] B. Under NTP signal, each patrol will be conducted on the time servers of Alibaba Cloud, National Time Service Center, Hong Kong Observatory, National Institute of Standards and Technology, University of Science and Technology of China, etc. After each patrol, the weight will be recorded according to the signal stability of different servers. When the weight exceeds the set value, the time will no longer be obtained from the server. In this way, the best NTP time server in different regions and different network environments can be selected. If the NTP cannot provide valid time or cannot connect to a valid server, the current time source will be switched to a valid signal source. Under this condition, if the satellite signal is valid in the patrol result, the NTP signal source can be interrupted and switched to the satellite signal source.

[0032] C. The time under LTE signal is generally derived from the base station time of the operator around the device. If the device cannot connect to the base station or the time provided by the base station is invalid, the current time source will be switched to a valid signal source. Under this condition, if the satellite signal or NTP signal is valid in the patrol result, the LTE signal source can be interrupted and switched to a high-priority signal source.

[0033] D. If the above three signals are invalid, the board uses the built-in RTC timekeeping controller to run the time. The controller has a built-in temperature-compensated crystal oscillator and can still provide stable and reliable time with an annual error of less than ±0.4 seconds.

[0034] As a further improvement of the technical solution, the PCI-e x1 interface, the interface driver and the PC / server are sequentially connected through communication; wherein:

[0035] The PCI-e x1 interface connects the modules of the control layer, obtains corresponding time signals from different time sources, and is driven by the interface to connect with different PCs / servers through different interface modes, thereby realizing the transmission of time data streams and time messages / control commands.

[0036] The PCI-e x1 interface is compatible with x2, x4, x8, x16 and the higher-speed x32; the PCI-e x1 interface is connected to the password function and timing function of the password card respectively via USB, uses the PCIe+USB communication solution, adopts a serial interconnection method, and performs data transmission in a point-to-point form, and each device can enjoy the bandwidth individually.

[0037] The second object of the present invention is to provide a PCIe interface password card timing system operation platform device, including a processor, a memory, and a computer program stored in the memory and running on the processor, and the processor is used to implement any of the above-mentioned PCIe interface password cards with high-precision timing functions when executing the computer program.

[0038] The third object of the present invention is to provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements any of the above-mentioned PCIe interface password cards with high-precision timing functions.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] 1. This PCIe interface password card with high-precision timing function can integrate timing and encryption functions, and is connected to the PC / server through the PCI-e slot, with high transmission efficiency and better compatibility;

[0041] 2. The PCIe interface password card with high-precision timing function can support multiple time sources such as Beidou / GPS dual-mode satellite signals, 4G-LTE signals, NTP signals, etc. It has internal autonomous time source management, and can automatically switch according to the time source signal strength by patrolling satellite signals, LTE signals, and NTP signal strength at specific intervals. The priority is in the order of satellite signal>NTP signal>LTE signal, and it can ensure time accuracy. Each time source can work independently to meet diversified usage scenarios;

[0042] 3. This PCIe interface password card with high-precision timing function uses PCIe x1 interface, is compatible with x2, x4, x8, x16 and higher-speed x32, uses PCIe+USB communication solution, adopts serial interconnection mode, and transmits data in a point-to-point form. Each device can enjoy the bandwidth independently, effectively improving the transmission rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is the overall framework diagram of the timing system model of the password card in the present invention;

[0044] Figure 2 It is a block diagram of the local structural module of the password card in the present invention;

[0045] Figure 3 It is a schematic diagram of the structure of an exemplary electronic computer platform device in the present invention.

[0046] The meaning of each number in the figure is:

[0047] 1. Signal layer; 11. Key generator; 12. 4G antenna; 13. NTP server; 14. RTC timekeeping controller; 15. Satellite antenna;

[0048] 2. Control layer; 21. Data encryption processing module; 22. 4G signal acquisition device; 23. Time signal analyzer; 24. Time master controller; 25. Satellite time signal analyzer; 26. Interrupt processor; 27. Satellite signal acquisition device;

[0049] 3. Interface layer; 31. PCI-e x1 interface; 32. Interface driver; 33. PC / server. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example

[0051] like Figure 1-3 As shown, this embodiment provides a PCIe interface password card with high-precision timing function, and its timing system model includes three parts: signal layer 1, control layer 2 and interface layer 3; signal layer 1, control layer 2 and interface layer 3 are connected in communication in sequence; wherein:

[0052] The signal layer 1 includes a key generator 11, a 4G antenna 12, an NTP server 13, an RTC timekeeping controller 14 and a satellite antenna 15;

[0053] The control layer 2 includes a data encryption processing module 21, a 4G signal acquisition device 22, a time signal parser 23, a time master 24, a satellite time signal parser 25, an interrupt processor 26 and a satellite signal acquisition device 27;

[0054] The interface layer 3 includes a PCI-e x1 interface 31 , an interface driver 32 and a PC / server 33 .

[0055] In this embodiment, the key generator 11, the 4G antenna 12, the NTP server 13, the RTC timing controller 14 and the satellite antenna 15 operate in parallel; wherein:

[0056] The key generator 11 is connected to the data encryption processing module 21 and is used to generate and store encryption and decryption keys used in the data encryption process;

[0057] The 4G antenna 12 is connected to the 4G signal acquisition device 22, which is used to obtain the operator base station time and is backward compatible. If the 4G signal is weak, it will automatically switch to the 3G or 2G base station;

[0058] The RTC timekeeping controller 14 is connected to the time master 24 and is used to transmit time information or a 1pps pulse signal to the time master 24;

[0059] The satellite antenna 15 is connected to the satellite signal acquisition device 27 for receiving satellite signals.

[0060] In this embodiment, the RTC timing controller 14 uses a temperature compensated crystal oscillator with high precision, and can still provide high-precision timing services when the external clock source is invalid.

[0061] In this embodiment, the data encryption processing module 21 operates independently, the 4G signal acquisition device 22, the time signal parser 23 and the time master 24 are sequentially communicated and connected, and the satellite signal acquisition device 27 is respectively communicated and connected with the time master 24 through the satellite time signal parser 25 and the interrupt processor 26 running in parallel; wherein:

[0062] The data encryption processing module 21 is connected to the PCI-e interface 31 for transparent transmission of data streams between the PC / server 33;

[0063] The time signal analyzer 23 is connected to the NTP server 13 via GPRS to obtain network time;

[0064] The time master controller 24 is connected to the PCI-e interface 31 for transmitting time messages / control commands to and from the PC / server 33;

[0065] The satellite time signal parser 25 is connected to the satellite signal acquisition device 27, and the satellite signal acquisition device 27 converts the satellite signal into a NMEA protocol data packet and outputs the time message in a serial port manner through the satellite time signal parser 25;

[0066] The interrupt processor 26 is connected to the satellite signal acquisition device 27 , and the interrupt processor 26 receives the 1 pps pulse signal output by the satellite signal acquisition device 27 .

[0067] In this embodiment, the core of the data encryption processing module 21 is a group of data encryption and decryption algorithm sub-modules; among them, the algorithm sub-modules include elliptic curve public key cryptographic algorithms such as SM2 and RSA, symmetric encryption algorithms such as SM4, AES, DES, and HASH algorithms such as SM3, SHA1, SHA224, SHA256, and each algorithm is independent of each other.

[0068] In this embodiment, the time controller 24 is the core of the timing system model. It obtains time information in different scenarios through three time signal sources: 4G-LTE, satellite, and NTP, which is used to synchronize the time in the password card and can automatically switch according to the signal strength of the time source.

[0069] In this embodiment, the time master 24 meets diversified usage scenarios through independent time sources. The time source deployment schemes for different scenarios are:

[0070] In a network communication room where it is inconvenient to deploy the satellite antenna 15 outdoors, the 4G antenna 12 can be arranged indoors, and the 4G-LTE / NTP time source can be used to completely eliminate the damage to the equipment caused by lightning weather;

[0071] When using GPS / Beidou satellite signals, microsecond-level timing accuracy can be achieved;

[0072] By using a built-in high-precision timekeeping clock source, namely an RTC timekeeping controller 14, and a temperature-compensated crystal oscillator, a high-precision timing service can still be provided when an external clock source is invalid.

[0073] In this embodiment, the specific method for the time controller 24 to automatically switch according to the time source signal strength includes the following:

[0074] Preset a specific time interval (e.g. 10 minutes) to patrol the strength of satellite signals, LTE signals, and NTP signals. The priority is in the order of satellite signal > NTP signal > LTE signal. Specifically:

[0075] A. Satellite signals are strongly related to the placement direction and openness of the satellite antenna 15. When the antenna is placed in a strongly shielded environment such as indoors or between buildings, the satellite module often cannot recognize effective signals. When the strength is too weak or the time data is incorrect, the current time source will switch to a signal source with a lower priority and in an effective state;

[0076] B. Under NTP signal, each patrol will be conducted on the time servers of Alibaba Cloud, National Time Service Center, Hong Kong Observatory, National Institute of Standards and Technology, University of Science and Technology of China, etc. After each patrol, the weight will be recorded according to the signal stability of different servers. When the weight exceeds the set value, the time will no longer be obtained from the server. In this way, the best NTP time server in different regions and different network environments can be selected. If the NTP cannot provide valid time or cannot connect to a valid server, the current time source will be switched to a valid signal source. Under this condition, if the satellite signal is valid in the patrol result, the NTP signal source can be interrupted and switched to the satellite signal source.

[0077] C. The time under LTE signal is generally derived from the base station time of the operator around the device. If the device cannot connect to the base station or the time provided by the base station is invalid, the current time source will be switched to a valid signal source. Under this condition, if the satellite signal or NTP signal is valid in the patrol result, the LTE signal source can be interrupted and switched to a high-priority signal source.

[0078] D. If the above three signals are invalid, the board uses the built-in RTC timekeeping controller 14 to run the time. The controller has a built-in temperature compensated crystal oscillator and can still provide stable and reliable time with an annual error of less than ±0.4 seconds.

[0079] In this embodiment, the PCI-e x1 interface 31, the interface driver 32 and the PC / server 33 are sequentially connected through communication; wherein:

[0080] The PCI-e x1 interface 31 connects the modules of the control layer 2, obtains corresponding time signals from different time sources, and connects to different PCs / servers 33 through different interface modes through the interface driver 32, thereby realizing the transmission of time data streams and time messages / control commands.

[0081] The PCI-e x1 interface 31 is compatible with x2, x4, x8, x16 and the faster x32; the PCI-e x1 interface 31 is connected to the password function and timing function of the password card respectively via USB, using the PCIe+USB communication solution, adopting a serial interconnection method, and performing data transmission in a point-to-point form, and each device can enjoy the bandwidth individually.

[0082] like Figure 3 As shown, this embodiment also provides a PCIe interface password card timing system operation platform device, which includes a processor, a memory, and a computer program stored in the memory and running on the processor.

[0083] The processor includes one or more processing cores, the processor is connected to the memory through a bus, the memory is used to store program instructions, and when the processor executes the program instructions in the memory, the above-mentioned PCIe interface password card with high-precision timing function is realized.

[0084] Optionally, the memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0085] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned PCIe interface password card with high-precision timing function is implemented.

[0086] Optionally, the present invention also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the above-mentioned aspects of the PCIe interface password card with high-precision timing function.

[0087] A person skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0088] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A PCIe interface password card with high-precision timing function, characterized in that: The timing system model comprises three parts: a signal layer (1), a control layer (2) and an interface layer (3); the signal layer (1), the control layer (2) and the interface layer (3) are sequentially connected in communication; wherein: The signal layer (1) includes a key generator (11), a 4G antenna (12), an NTP server (13), an RTC timekeeping controller (14) and a satellite antenna (15); The control layer (2) comprises a data encryption processing module (21), a 4G signal acquisition device (22), a time signal analyzer (23), a time master controller (24), a satellite time signal analyzer (25), an interrupt processor (26) and a satellite signal acquisition device (27); The interface layer (3) includes a PCI-e x1 interface (31), an interface driver (32) and a PC / server (33); The secret key generator (11), the 4G antenna (12), the NTP server (13), the RTC timekeeping controller (14) and the satellite antenna (15) operate in parallel; wherein: The key generator (11) is connected to the data encryption processing module (21) and is used to generate and store encryption and decryption keys used in the data encryption process; The 4G antenna (12) is connected to the 4G signal acquisition device (22) and is used to obtain the operator base station time and is backward compatible. If the 4G signal is weak, it will automatically switch to a 3G or 2G base station; The RTC timekeeping controller (14) is connected to the time master controller (24) and is used to transmit time information or a 1pps pulse signal to the time master controller (24); The satellite antenna (15) is connected to the satellite signal acquisition device (27) and is used to receive satellite signals; The data encryption processing module (21) operates independently, the 4G signal acquisition device (22), the time signal parser (23) and the time master controller (24) are sequentially connected in communication, and the satellite signal acquisition device (27) is connected in communication with the time master controller (24) through the satellite time signal parser (25) and the interrupt processor (26) running in parallel; wherein: The data encryption processing module (21) is connected to the PCI-e x1 interface (31) and is used for transparent transmission of data streams between the PC / server (33); The time signal analyzer (23) is connected to the NTP server (13) via GPRS to obtain network time; The time master controller (24) is connected to the PCI-e x1 interface (31) and is used for transmitting time messages / control commands between the PC / server (33); The satellite time signal parser (25) is connected to the satellite signal acquisition device (27), and the satellite signal acquisition device (27) converts the satellite signal into a NMEA protocol data packet and outputs the time message in a serial port manner through the satellite time signal parser (25); The interrupt processor (26) is connected to the satellite signal acquisition device (27), and the interrupt processor (26) receives a 1 pps pulse signal output by the satellite signal acquisition device (27); The PCI-e x1 interface (31), the interface driver (32) and the PC / server (33) are sequentially connected via communication; wherein: The PCI-e x1 interface (31) is connected to each module of the control layer (2), obtains corresponding time signals from different time sources, and is connected to different PCs / servers (33) through different interface modes through the interface driver (32), thereby realizing the transmission of time data streams and time messages / control commands.

2. The PCIe interface password card with high-precision timing function according to claim 1, characterized in that: The RTC timekeeping controller (14) uses a temperature-compensated crystal oscillator and has high precision, and can still provide high-precision timing services when the external clock source is invalid.

3. The PCIe interface password card with high-precision timing function according to claim 1, characterized in that: The core of the data encryption processing module (21) is a group of data encryption and decryption algorithm submodules; wherein the algorithm submodules include SM2, RSA elliptic curve public key cryptography algorithm, SM4, AES, DES symmetric encryption algorithm, SM3, SHA1, SHA224, SHA256 HASH algorithm, and each algorithm is independent of each other.

4. The PCIe interface password card with high-precision timing function according to claim 1, characterized in that: The time master controller (24) is the core of the timing system model. It obtains time information in different scenarios through three time signal sources: 4G-LTE, satellite, and NTP, and is used to synchronize the time in the password card. It can also automatically switch according to the signal strength of the time source.

5. The PCIe interface password card with high-precision timing function according to claim 1, characterized in that: The time master controller (24) meets diversified usage scenarios through an independently working time source. The time source deployment scheme for different scenarios is: In a network communication room where it is inconvenient to deploy a satellite antenna (15) outdoors, a 4G antenna (12) is arranged indoors, and a 4G-LTE / NTP time source is used to completely eliminate damage to equipment caused by lightning weather; When using GPS / Beidou satellite signals, microsecond-level timing accuracy can be achieved; By using a built-in high-precision timekeeping clock source, namely an RTC timekeeping controller (14), and a temperature-compensated crystal oscillator, a high-precision timekeeping service can still be provided when the external clock source is invalid.

6. The PCIe interface password card with high-precision timing function according to claim 1, characterized in that: The specific method of the time master controller (24) automatically switching according to the time source signal strength includes the following: Preset specific intervals to patrol the strength of satellite signals, LTE signals, and NTP signals. The priority is in the order of satellite signal > NTP signal > LTE signal. Specifically: A. The satellite signal is related to the placement direction of the satellite antenna (15) and whether it is open. When the antenna is placed in an environment blocked indoors or between buildings, the satellite module often cannot recognize the effective signal. When the strength is too weak or the time data is incorrect, the current time source will switch to a signal source with a lower priority and in an effective state; B. Under NTP signal, each patrol will be conducted on the time servers of Alibaba Cloud, National Time Service Center, Hong Kong Observatory, National Institute of Standards and Technology, and University of Science and Technology of China. After each patrol, the weights will be recorded according to the signal stability of different servers. When the weight exceeds the set value, the time will no longer be obtained from the server. In this way, the best NTP time servers in different regions and network environments can be selected. If NTP cannot provide valid time or cannot connect to a valid server, the current time source will be switched to a valid signal source. Under this condition, if the satellite signal is valid in the patrol result, the NTP signal source can be interrupted and switched to the satellite signal source. C. The time under LTE signal comes from the base station time of operators around the device; If the device cannot connect to the base station or the time provided by the base station is invalid, the current time source will switch to a valid signal source; Under this condition, if the satellite signal or NTP signal in the patrol result is valid, the LTE signal source can be interrupted and switched to a high-priority signal source; D. If the above three signals are invalid, the board uses the built-in RTC timekeeping controller (14) to run the time. The controller has a built-in temperature compensated crystal oscillator and can still provide stable and reliable time with a second error of less than ±0.4 seconds.

7. The PCIe interface password card with high-precision timing function according to claim 1, characterized in that: The PCI-e x1 interface (31) is compatible with x2, x4, x8, x16 and a higher-speed x32; the PCI-e x1 interface (31) is connected to the password function and the timing function of the password card respectively via USB.

Citation Information

Patent Citations

  • High-precision time block chain system and method

    CN112019345A

  • PCIE password card

    CN215298232U