CN110610081B - Time sensor and time sensor-based security chip - Google Patents

Time sensor and time sensor-based security chip Download PDF

Info

Publication number
CN110610081B
CN110610081B CN201810612837.XA CN201810612837A CN110610081B CN 110610081 B CN110610081 B CN 110610081B CN 201810612837 A CN201810612837 A CN 201810612837A CN 110610081 B CN110610081 B CN 110610081B
Authority
CN
China
Prior art keywords
time
unit
detection result
time information
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810612837.XA
Other languages
Chinese (zh)
Other versions
CN110610081A (en
Inventor
范长永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huada Beidou Technology Co ltd
Original Assignee
Shenzhen Huada Beidou Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huada Beidou Technology Co ltd filed Critical Shenzhen Huada Beidou Technology Co ltd
Priority to CN201810612837.XA priority Critical patent/CN110610081B/en
Publication of CN110610081A publication Critical patent/CN110610081A/en
Application granted granted Critical
Publication of CN110610081B publication Critical patent/CN110610081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The application relates to a time sensor, comprising: the device comprises a signal receiving unit, a detecting unit and an alarm unit; the signal receiving unit sends time information to the detecting unit; the detection unit receives the time information, detects the time information according to a preset time range, obtains a detection result, and sends the detection result to the alarm unit; the alarm unit generates a working state control signal according to the detection result, wherein the working state control signal is used for controlling the working state of the safety chip where the time sensor is located. Therefore, the working state of the security chip where the time sensor is located can be used for judging whether the time information is attacked or not.

Description

Time sensor and time sensor-based security chip
Technical Field
The application relates to the technical field of information security, in particular to a time sensor and a security chip based on the time sensor.
Background
In the era of internetworking, the basic trust between a data network and a device is that the time inside the network and between devices is uniform. The time unification requirements are more stringent in the communication system and the power system, and once the time is inconsistent in the system, the whole communication system and the power system are paralyzed. The unified time also rises to the high level of information security, and attackers often attack the communication system and the power system by disturbing the system time, which directly threatens the national security.
Conventional sensors can sense external environmental information such as temperature, voltage, frequency and the like to determine whether the device itself is attacked by the temperature, voltage, frequency and the like, but the conventional sensors cannot make a judgment about whether the device is attacked by time.
Disclosure of Invention
Based on this, it is necessary to provide a time sensor and a time sensor-based security chip for solving the problem that whether or not time is attacked cannot be judged.
A time sensor, comprising: the device comprises a signal receiving unit, a detecting unit and an alarm unit;
the signal receiving unit sends time information to the detecting unit;
the detection unit receives the time information, detects the time information according to a preset time range, obtains a detection result, and sends the detection result to the alarm unit;
the alarm unit generates a working state control signal according to the detection result, wherein the working state control signal is used for controlling the working state of the safety chip where the time sensor is located.
In one embodiment, the detection unit comprises a self-test unit; the time information comprises first preset time information and second preset time information; the first preset time information is in the preset time range; the second preset time information is outside the preset time range;
when the self-checking unit receives the first preset time information, a first self-checking result is obtained according to a first working state of the alarm unit when the alarm unit is in the first preset time information; when the self-checking unit receives the second preset time information, a second self-checking result is obtained according to a second working state of the alarm unit when the alarm unit is in the second preset time information; the self-checking unit determines a first detection result according to the first self-checking result and the second self-checking result; the detection result includes the first detection result.
In one embodiment, when the first self-checking result and the second self-checking result are both passed, the self-checking unit determines that the first checking result is that the time sensor works normally; when any one of the first self-checking result and the second self-checking result is failed, determining that the first checking result is abnormal in operation of the time sensor;
when the working state control signal of the first working state is a first working state control signal, a first self-checking result is passed; and when the working state control signal of the second working state is the second working state control signal, the second self-checking result is passed.
In one embodiment, the alarm unit outputs a second working state control signal when the first detection result is abnormal.
In one embodiment, the detection unit includes: a real-time detection unit; the time information comprises real-time satellite time information determined by the signal receiving unit;
when the real-time detection unit receives the real-time information, detecting the time relation between the real-time information and the preset time range to obtain a second detection result; the detection result includes the second detection result.
In one embodiment, the real-time detection unit determines that the second detection result is normal when the real-time satellite time information is within the preset time range;
and when the real-time satellite time information is out of the preset time range, the real-time detection unit determines that the second detection result is abnormal.
In one embodiment, when the second detection result is normal, the real-time satellite time information is sent to the device where the time sensor is located;
acquiring a third detection result returned by the equipment; the third detection result is a determined detection result of detecting the current time of the equipment where the time sensor is located according to the real-time satellite time information, and the detection result comprises the third detection result.
In one embodiment, the alarm unit generates a second working state control signal when the second detection result or the third detection result is abnormal.
In one embodiment, a security chip based on a time sensor is further provided, including a central processing unit and the time sensor, where the central processing unit is connected with the alarm unit, and the alarm unit controls the working state of the central processing unit.
In one embodiment, the time sensor based security chip further includes a reset unit, a storage unit for storing data, a communication interface unit for connecting devices, a security algorithm unit for performing security operation, a temperature sensor for detecting temperature, a voltage sensor for detecting voltage, a frequency sensor for detecting frequency, and a position sensor for detecting position;
the reset unit receives the reset signal generated by the alarm unit and controls whether the central processing unit is in a reset state.
The time sensor and the time sensor-based safety chip comprise a signal receiving unit, an alarm unit and a detection unit, wherein the detection unit acquires time information through the signal receiving unit, detects the time information according to a preset time range, acquires a detection result, and sends the detection result to the alarm unit; the alarm unit generates a working state control signal according to the detection result, and further controls the working state of the safety chip where the time sensor is located. Therefore, the working state of the security chip where the time sensor is located can be judged whether the time is attacked or not.
Drawings
FIG. 1 is a schematic diagram of a time sensor according to an embodiment;
FIG. 2 is a schematic diagram of a time sensor according to another embodiment;
FIG. 3 is a schematic diagram illustrating a relationship between a preset time range and a device according to an embodiment;
FIG. 4 is a schematic diagram illustrating a relationship between a first preset time, a second preset time and a preset time range according to an embodiment;
FIG. 5 is a schematic diagram of a time sensor based security chip according to an embodiment;
FIG. 6 is a schematic diagram of a time sensor based security chip according to another embodiment;
FIG. 7 is a schematic diagram of a workflow of a time sensor based security chip according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The present application provides a time sensor, as shown in fig. 1, comprising: a signal receiving unit 110, a detecting unit 120, and an alarm unit 130.
The signal receiving unit 110 transmits time information to the detecting unit 120.
The detecting unit 120 receives the time information, detects the time information according to a preset time range, obtains a detection result, and sends the detection result to the alarm unit 130.
The alarm unit 130 generates a working state control signal according to the detection result, where the working state control signal is used to control the working state of the security chip where the time sensor is located.
The preset time range may be preset according to practical situations, and in a specific embodiment, the preset time range may be after a certain time point, for example, 2012. In another embodiment, the preset time range is expressed as being within a certain period of time, for example, 2012 to 2020.
In one embodiment, the detection unit 120 includes a self-checking unit and a real-time detection unit, where the self-checking unit is configured to perform self-checking on the sensor, and detect whether the time sensor is attacked; the real-time detection unit is used for detecting whether the time information determined by the signal receiving unit is accurate or not according to a preset time range. In one embodiment, the real-time detection unit is configured to detect whether the satellite real-time information determined by the signal receiving unit is normal. In another embodiment, the real-time detection unit is further configured to detect a time of a device connected to the security chip where the sensor is located, and detect whether time information of the device is attacked. The detection of the time of the device connected with the security chip where the sensor is located may be to obtain the current time information of the device, and compare whether the current time information of the device is consistent with the real-time satellite time, so as to obtain a judgment result; or when the real-time satellite time is detected to be normal, the real-time satellite time is sent to a system bus of the equipment, the equipment judges whether the time is consistent or not, and a judgment result is returned.
In one embodiment, the signal receiving unit sends time information to the detecting unit, the detecting unit detects the time information to obtain a detection result, and the obtained detection result is sent to the alarm unit. The alarm unit generates corresponding working state control signals according to the detection result, and different working state control information is used for controlling the working state of the safety chip where the time sensor is located.
The time sensor comprises a signal receiving unit, an alarm unit and a detection unit, wherein the detection unit acquires time information through the signal receiving unit, detects the time information according to a preset time range, acquires a detection result, and sends the detection result to the alarm unit; the alarm unit generates a working state control signal according to the detection result, and further controls the working state of the safety chip where the time sensor is located. Therefore, the working state of the security chip where the time sensor is located can be judged whether the time is attacked or not.
In one embodiment, as shown in FIG. 2, the detection unit 120 includes a self-test unit 210; the time information sent by the signal receiving unit is two preset time points and is used for self-building the time sensor, and the time information comprises first preset time information and second preset time information. The first preset time information is in the preset time range; the second preset time information is outside the preset time range. In practical situations, it is only required that one of the two time points is within a preset time range, and the other is not within the preset time range, in this embodiment, the time point within the preset time range is marked as first preset time information, and the time point outside the preset time range is marked as second preset time information.
FIG. 3 is a schematic diagram showing a relationship between a preset time range and a device according to an embodiment; fig. 4 is a schematic diagram of a relationship between a first preset time, a second preset time and a preset time range in an embodiment.
In this embodiment, the process of detecting the time information sent by the signal receiving unit by the self-detecting unit 210 is referred to as a self-detecting process, and by determining whether the alarm unit can work normally or not when the first preset time and the second preset time are determined, that is, whether the time sensor can work normally or not is detected.
In one embodiment, when receiving the first preset time information, the self-checking unit 210 obtains a first self-checking result according to a first working state of the alarm unit when the first preset time information is received; when the self-checking unit receives the second preset time information, a second self-checking result is obtained according to a second working state of the alarm unit when the alarm unit is in the second preset time information; the self-checking unit determines a first detection result according to the first self-checking result and the second self-checking result; the detection result includes the first detection result.
When the self-checking unit receives the time information from the signal receiving unit as first preset time information, the alarm unit is in a working state, and the working state is recorded as a first working state of the alarm unit when the alarm unit is in the first preset time information. When the self-checking unit receives the time information from the signal receiving unit as second preset time information, the alarm unit is in another working state, and the other working state is recorded as a second working state of the alarm unit when the alarm unit is in the second preset time information.
Further, the first detection result is a detection result obtained after the self-checking unit judges whether the time sensor works normally or not under the preset time information.
In one embodiment, when the first self-checking result and the second self-checking result are both passed, the self-checking unit determines that the first checking result is that the time sensor works normally; and when any one of the first self-checking result and the second self-checking result is failed, determining that the first checking result is abnormal in operation of the time sensor.
In one embodiment, the first preset time information is a time point within a preset time range, and the normal working state of the alarm unit should be a non-alarm state. In one embodiment, the second preset time information is a time point outside the preset time range, and the normal operation state of the alarm unit should be an alarm state.
In this embodiment, if the first working state of the alarm unit in the first preset time information is a non-alarm state and the second working state of the alarm unit in the second preset time information is an alarm state, the time sensor is considered to work normally.
Further, if the first working state of the alarm unit in the first preset time information is an alarm state, or if the second working state of the alarm unit in the second preset time information is a non-alarm state, the working abnormality of the time sensor is determined.
In one embodiment, when the working state control signal of the first working state is a first working state control signal, a first self-checking result is passed; and when the working state control signal of the first working state is a second working state control signal, the second self-checking result is passed.
In one embodiment, the working state control signal output by the alarm unit is a first working state control signal, which indicates that the safety chip where the control time sensor is located works normally; and when the working state control signal output by the alarm unit is the second working state control signal, the working state control signal indicates that the safety chip where the control time sensor is positioned pauses.
In one embodiment, the first working state control signal is a release reset signal, and is used for controlling the time sensor to end the reset state, i.e. the alarm unit does not alarm; the second working state control signal is a reset signal or an interrupt signal and is used for controlling the time sensor to enter a reset state or an interrupt state and controlling the time sensor to temporarily stop working, namely, the alarm unit alarms.
Further, if the working state control signal of the first working state is a release reset signal, the alarm unit works normally when judging the first preset time information, namely the first self-check passes. When the working state control signal of the second working state is a reset signal or an interrupt signal, the warning unit works normally when judging the second preset time information, namely the second self-checking passes. If the two self-detection results are passed at the same time, the time sensor is considered to be capable of working normally, and the obtained first detection result is normal. If any one of the two self-checking results is failed, the time sensor is considered to be incapable of working normally, and the obtained first checking result is abnormal.
In one embodiment, the alarm unit outputs a second working state control signal when the first detection result is abnormal.
In this embodiment, the self-checking process of the self-checking unit is ended, and a first detection result is obtained. The first detection result represents the final result of one self-detection; the first detection result is abnormal, namely the time sensor does not pass the self-detection, the alarm unit outputs a second working state control signal, and the time sensor is controlled to temporarily stop working. In one embodiment, the second operation state control signal is an interrupt signal or a reset signal.
In one embodiment, the obtained first detection result is normal, that is, the time sensor passes the self-check, the alarm unit outputs the first operation state control signal (that is, controls the time sensor to start operating), or the time sensor passes the self-check, and the alarm unit does not output the alarm signal (that is, controls the time sensor to keep operating).
In one embodiment, self-tests include power-on self-tests and real-time self-tests during operation. In one embodiment, when a first detection result obtained by power-on self-detection is normal, the alarm unit outputs a first working state control signal; and when the obtained first detection result is abnormal, the alarm unit outputs a second working state control signal. When the first detection result obtained by real-time self-checking in the working process is normal, the alarm unit does not output an alarm signal, the time sensor is controlled to keep the working state, and when the first detection result obtained by real-time self-checking in the working process is abnormal, the alarm unit outputs a second working state control signal.
In one embodiment, as shown in FIG. 2, the detection unit includes a real-time detection unit 220. In this embodiment, the time information includes real-time satellite time information determined by the signal receiving unit.
The real-time information is time information obtained by receiving a satellite signal from a signal receiving unit and analyzing the satellite signal. In one particular embodiment, the time sensor may acquire time via a navigation system satellite such as GPS, beidou, geranos (GLONASS), galileo (GALILEO), or the like.
In one embodiment, when receiving the real-time satellite time information sent by the signal receiving unit, the real-time detecting unit 220 detects a time relationship between the real-time satellite time information and a preset time range, and obtains a second detection result; the detection result includes the second detection result.
In this embodiment, when the time information received by the real-time detection unit 220 is real-time satellite time information, the real-time satellite time information determined by the signal receiving unit is detected in real time by the time sensor during the working process, so as to determine whether the real-time satellite time information obtained at present is normal. Therefore, the second detection result is a detection result of the real-time detection unit for judging whether the real-time satellite time is normal.
In one embodiment, the real-time detection unit 220 determines that the second detection result is normal when the real-time information is within the preset time range; the real-time detection unit 220 determines that the second detection result is abnormal when the real-time information is outside the preset time range.
In this embodiment, if the real-time satellite time information is detected to be outside the preset time range, the real-time satellite time information is determined to be inaccurate, and at this time, the second detection result determined by the real-time detection unit is abnormal. Similarly, if the real-time satellite time information is detected to be in the preset time range, the real-time satellite time information is considered to be normal, and the second detection result determined by the real-time detection unit is normal.
In one embodiment, the signal receiving unit receives satellite signals of two sets of satellite systems at the same time, and determines accuracy of real-time satellite time information through mutual authentication between the satellite signals of the two sets of satellite systems. In a specific embodiment, the Beidou navigation satellite system of China and the GPS system of the United states can be simultaneously received to ensure time safety. When the real-time satellite time signals in the two received satellite signals are inconsistent, the alarm unit generates an alarm signal.
In one embodiment, when the second detection result is normal, the method further includes: and sending the real-time satellite time information to equipment where the time sensor is located.
Acquiring a third detection result returned by the equipment; the third detection result is a determined detection result of detecting the current time of the equipment where the time sensor is located according to the real-time satellite time information, and the detection result comprises the third detection result.
The process of detecting the current time of the equipment where the time sensor is located according to the real-time satellite time information is recorded as a real-time detection process of the equipment time, and whether the current time of the equipment is attacked can be determined through the real-time detection process of the equipment time. The specific detection steps can be as follows: and sending the real-time satellite information to equipment where the time sensor is located, judging whether the current time of the equipment is consistent with the real-time satellite time or not by the equipment, and returning a third detection result. When the current time of the equipment is consistent with the real-time satellite time, returning a third detection result to be normal; and when the current time of the equipment is inconsistent with the real-time satellite time, returning a third detection result as an abnormality.
In one embodiment, the step of transmitting real-time satellite time information to the device in which the time sensor is located comprises: when the second detection result is normal, the real-time detection unit sends real-time satellite time information to a security algorithm unit of a security chip where the time sensor is located, and sends an effective identifier to the security algorithm unit. And when the effective identification is received, the security algorithm unit encrypts the real-time satellite time information through a symmetrical algorithm and performs abstract operation on the real-time satellite time information through a hash algorithm. And broadcasting the encrypted time information, summary information and effective identification to the equipment through a system bus. The equipment obtains time plaintext information through decryption, and the same algorithm used in encryption is adopted to carry out abstract operation, so that whether the equipment time is accurate or not is determined according to the time plaintext information and the abstract information, namely whether the equipment time is tampered or not is judged.
In one embodiment, the symmetric algorithm used for encrypting the time information may be a DES algorithm, and the hash algorithm used for the digest operation may be a SHA-1 algorithm. In other embodiments, other algorithms may be implemented.
In another embodiment, the step of detecting the current time of the device where the time sensor is located in real time may be: and when the second detection result is normal, the signal receiving unit acquires the current time information of the equipment, the current time information of the equipment is sent to the real-time detection unit, and the real-time detection unit judges whether the current time of the equipment is consistent with the real-time satellite time or not, so as to acquire a third detection result. When the current time of the current equipment is consistent with the real-time satellite time, the third detection result is normal; and when the current time of the equipment is inconsistent with the real-time satellite time, the third detection result is abnormal.
In one embodiment, after the real-time detection unit 220 obtains the second detection result or the third detection result, the second detection result or the third detection result is sent to the alarm unit, and the alarm unit generates a corresponding working state control signal according to the second detection result or the third detection result. In one embodiment, the alarm unit generates the second working state control signal when the second detection result or the third detection result is abnormal. The real-time detection unit detects that the real-time satellite signal is abnormal or the current time of the equipment is inconsistent with the normal real-time satellite signal, and generates a second working state control signal, namely the safety chip where the control time sensor is located pauses working.
In one embodiment, when the second detection result is normal, the alarm unit does not output an alarm signal, and the time sensor is controlled to keep a normal working state. Similarly, when the third detection result is normal, the alarm unit does not output an alarm signal, and the time sensor is controlled to keep a normal working state.
The time sensor designed by receiving the navigation satellite signals enables the sensor to accurately acquire the time information of the equipment, and has non-falsification. The time sensor has the characteristics of non-bypass and non-falsification because the time sensor has the functions of power-on self-detection and real-time detection.
In one embodiment, as shown in fig. 5, the present application further provides a security chip based on a time sensor, which includes a Central Processing Unit (CPU) 510 and the time sensor 520, where the central processing unit 510 is connected to an alarm unit, and the alarm unit controls an operation state of the central processing unit 510, so as to control an operation state of the security chip.
In one embodiment, the time sensor based security chip further includes a reset unit 610, a storage unit 620 for storing data, a communication interface unit 630 for connecting devices, a security algorithm unit 650 for performing security operations, and other security sensors 640. In one embodiment, the other sensors include: a temperature sensor for detecting temperature, a voltage sensor for detecting voltage, a frequency sensor for detecting frequency, and a position sensor for detecting position; the reset unit 610 receives the reset signal generated by the alarm unit and controls whether the central processing unit is in a reset state.
In a specific embodiment, when the alarm unit generates the second state control signal, the reset signal generated by the reset unit is valid, and the central processing unit is controlled to be in a reset state. When the alarm unit generates a first working state control signal, the reset signal generated by the reset unit is invalid, and the central processing unit is controlled to be in a normal working state.
The other safety sensors are respectively connected with the central processing unit, and the working state of the central processing unit can be controlled by the detection results of the sensors.
The time sensor-based security chip is preset with legal time information conforming to a preset time range and illegal time information not conforming to the preset time range in the interior before leaving the factory and is used for self-checking of the time sensor. In the use process, firstly, an allowable time range of the equipment is set, the safety chip monitors the equipment in real time, and once the allowable time range exceeds the set time range, an alarm mechanism is started, such as prohibiting or limiting the equipment from working, sending an alarm signal to a background management system and the like. The time sensor provides unified time for the whole system in the working process of the security chip, and the security algorithm unit encrypts time information, broadcasts the encrypted time information to the whole system through a system bus and detects whether the whole system is attacked in real time; devices on the system bus obtain the correct time information after decryption. Thus, it can be determined whether the device time is under attack.
The time sensor and the time sensor-based safety chip comprise a signal receiving unit, an alarm unit and a detection unit, wherein the detection unit acquires time information through the signal receiving unit, detects the time information according to a preset time range, acquires a detection result, and sends the detection result to the alarm unit; the alarm unit generates a working state control signal according to the detection result, and further controls the working state of the safety chip where the time sensor is located. Therefore, the working state of the security chip where the time sensor is located can be judged whether the time is attacked or not.
In a specific embodiment, the working steps of the time sensor-based security chip are shown in fig. 7, and include steps S1 to S6.
Step S1: step 1: the chip is powered on to perform time sensor self-checking firstly:
1) The navigation satellite receiving unit sends preset legal time information to the self-checking unit, wherein the preset legal time information is in a preset time range. When the self-checking unit receives preset legal time information, if the alarm unit does not alarm, the first step self-checking passes;
2) The navigation satellite receiving unit sends preset illegal time information to the self-checking unit, wherein the preset illegal time information is not in a preset range. When the self-checking unit receives preset illegal time information, if the alarm unit alarms, the second step of self-checking passes;
3) And the self-checking unit performs merging judgment on the results of the first step and the second step, and sends the final self-checking result to the safety alarm unit. When the first step and the second step are all passed, the self-checking is considered to pass, and when the first step or the second step is not passed, the self-checking is considered to not pass;
4) If the self-checking passes, the alarm unit releases a reset signal, and waits for the self-checking results of other safety sensors, and if all the self-checking passes, the CPU is started; if the self-test is not passed, the time sensor is considered to be attacked, the reset signal is valid, and the chip is always in a reset state;
step 2: the other safety sensors perform self-checking, if the self-checking is passed, the CPU is started, otherwise, the chip is in a reset state; other security sensor self-tests may be performed in parallel or in series with the time sensor self-test.
Step 3: after the chip works normally, namely the CPU is started, the real-time detection unit monitors time information in real time and transmits the result to the safety alarm unit;
because the time is in continuous change, the method and the device perform mutual authentication by simultaneously receiving two sets of satellite systems, so that the safety of time information is ensured. The time safety is guaranteed by simultaneously receiving the Beidou navigation satellite system of China and the GPS system of the United states.
Step 4: if the real-time satellite time information exceeds the preset time range, or the time contrast of the two sets of satellite systems is inconsistent, or the equipment time is inconsistent with the real-time satellite time, the alarm unit sends alarm information. In one embodiment, the user can set the alarm information as interrupt or reset, and the CPU processes the alarm interrupt or forces the chip to be in a reset state, so that information leakage is avoided.
Step 5: and in the normal working process of the chip, a self-checking instruction can be sent by the CPU irregularly, the time sensor is subjected to self-checking to confirm whether the time sensor is attacked or not, and a self-checking result is sent to the safety alarm unit.
Step 6: the safety alarm sends out an alarm signal in an interrupt or reset mode.
The real-time detection unit transmits the detection result to the security algorithm unit through an effective identification signal, when the effective identification signal is effective, the security algorithm unit encrypts the real-time information through a symmetric algorithm such as a DES algorithm and performs digest operation through a hash algorithm such as an SHA-1 algorithm, and the encrypted time information, the digest information and the effective identification are broadcasted to the equipment through the system bus. The device obtains the time plaintext information through decryption, and uses SHA-1 to carry out the same digest operation, and compares the time plaintext information with the received digest information to determine whether the time is tampered.
The time sensor-based security chip can solve the security requirement of a network system and equipment on time information and can protect the unified time of the system and the equipment. The time sensor acquires time information by receiving satellite signals, and performs mutual authentication by receiving the time of more than two sets of satellite systems, so that the reliability and the non-counterfeitability of the time information are ensured; meanwhile, the time sensor has the functions of power-on self-detection and real-time detection, so that the time sensor has the security characteristics of incapability of being bypassed, attack prevention, real-time detection and the like, and can perform real-time effective time protection on systems and equipment. The time sensor is included, so that the safety chip can obtain safe and reliable time information and safely broadcast the time information to the system and the equipment, and the whole system and the equipment can obtain safe and uniform time information.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the claims. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. The time sensor is characterized by comprising a signal receiving unit, a detecting unit and an alarming unit;
the signal receiving unit sends time information to the detecting unit;
the detection unit receives the time information, detects the time information according to a preset time range, obtains a detection result, and sends the detection result to the alarm unit;
the alarm unit generates a working state control signal according to the detection result, wherein the working state control signal is used for controlling the working state of the safety chip where the time sensor is positioned;
the detection unit comprises a self-detection unit; the time information comprises first preset time information and second preset time information; the first preset time information is in the preset time range; the second preset time information is outside the preset time range;
when the self-checking unit receives the first preset time information, a first self-checking result is obtained according to a first working state of the alarm unit when the alarm unit is in the first preset time information; when the self-checking unit receives the second preset time information, a second self-checking result is obtained according to a second working state of the alarm unit when the alarm unit is in the second preset time information; the self-checking unit determines a first detection result according to the first self-checking result and the second self-checking result; the detection result comprises the first detection result; the first detection result is obtained after the self-checking unit judges whether the time sensor works normally or not under the preset time information.
2. The time sensor of claim 1, wherein:
when the self-checking unit passes the first self-checking result and the second self-checking result, determining that the first detection result is that the time sensor works normally; when any one of the first self-checking result and the second self-checking result is failed, determining that the first checking result is abnormal in operation of the time sensor;
when the working state control signal of the first working state is a first working state control signal, a first self-checking result is passed; and when the working state control signal of the second working state is the second working state control signal, the second self-checking result is passed.
3. The time sensor according to claim 2, wherein the alarm unit outputs a second operation state control signal when the first detection result is abnormal.
4. A time sensor according to any one of claims 1 to 3, wherein the detection unit comprises: a real-time detection unit; the time information comprises real-time satellite time information determined by the signal receiving unit;
when the real-time detection unit receives the real-time information, detecting the time relation between the real-time information and the preset time range to obtain a second detection result; the detection result includes the second detection result.
5. The time sensor according to claim 4, wherein the signal receiving unit is configured to simultaneously receive satellite signals of two satellite systems, and determine accuracy of the real-time satellite time information according to the satellite signals of the two satellite systems.
6. The time sensor of claim 4, wherein: the real-time detection unit determines that a second detection result is normal when the real-time satellite time information is in the preset time range;
and when the real-time satellite time information is out of the preset time range, the real-time detection unit determines that the second detection result is abnormal.
7. The time sensor of claim 6, wherein when the second detection result is normal, the real-time satellite time information is sent to a device where the time sensor is located;
acquiring a third detection result returned by the equipment; the third detection result is a determined detection result of detecting the current time of the equipment where the time sensor is located according to the real-time satellite time information, and the detection result comprises the third detection result.
8. The time sensor according to claim 7, wherein the alarm unit generates a second operation state control signal when the second detection result or the third detection result is abnormal.
9. A time sensor based security chip comprising a central processor and a time sensor as claimed in any one of claims 1 to 8, the central processor being connected to the alarm unit, the alarm unit controlling the operating state of the central processor.
10. The time sensor-based security chip according to claim 9, further comprising a reset unit, a storage unit for storing data, a communication interface unit for connecting devices, a security algorithm unit for performing security operations, a temperature sensor for detecting temperature, a voltage sensor for detecting voltage, a frequency sensor for detecting frequency, and a position sensor for detecting position;
the reset unit receives the reset signal generated by the alarm unit and controls whether the central processing unit is in a reset state.
CN201810612837.XA 2018-06-14 2018-06-14 Time sensor and time sensor-based security chip Active CN110610081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810612837.XA CN110610081B (en) 2018-06-14 2018-06-14 Time sensor and time sensor-based security chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810612837.XA CN110610081B (en) 2018-06-14 2018-06-14 Time sensor and time sensor-based security chip

Publications (2)

Publication Number Publication Date
CN110610081A CN110610081A (en) 2019-12-24
CN110610081B true CN110610081B (en) 2023-04-28

Family

ID=68887700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810612837.XA Active CN110610081B (en) 2018-06-14 2018-06-14 Time sensor and time sensor-based security chip

Country Status (1)

Country Link
CN (1) CN110610081B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514325A (en) * 2002-12-31 2004-07-21 英特尔公司 Trust determining real time clock
CN103077346A (en) * 2012-12-20 2013-05-01 深圳国微技术有限公司 Clock frequency detection based chip anti-attack system and method
CN103679058A (en) * 2013-12-25 2014-03-26 湖北警官学院 System and method of non-contact IC card for defending relay attack
CN104268487A (en) * 2014-09-23 2015-01-07 杭州晟元芯片技术有限公司 Reset and self-destruction management system for security chip

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1514325A (en) * 2002-12-31 2004-07-21 英特尔公司 Trust determining real time clock
CN103077346A (en) * 2012-12-20 2013-05-01 深圳国微技术有限公司 Clock frequency detection based chip anti-attack system and method
CN103679058A (en) * 2013-12-25 2014-03-26 湖北警官学院 System and method of non-contact IC card for defending relay attack
CN104268487A (en) * 2014-09-23 2015-01-07 杭州晟元芯片技术有限公司 Reset and self-destruction management system for security chip

Also Published As

Publication number Publication date
CN110610081A (en) 2019-12-24

Similar Documents

Publication Publication Date Title
KR101896783B1 (en) V2x communication apparatus for verifying reliability of v2x data, system having the same and method thereof
US10178094B2 (en) Communication system and information collection method executed in communication system
US10528484B2 (en) Device and method for protecting a security module from manipulation attempts in a field device
JP2013187555A (en) Communication system
CN104656502A (en) Function monitor
US20150324583A1 (en) Method for operating a control unit
US20160098918A1 (en) Tamper detection systems and methods for industrial & metering devices not requiring a battery
CN110610081B (en) Time sensor and time sensor-based security chip
US8601281B2 (en) Method for operating a sensor apparatus and sensor apparatus
CN108460284B (en) Computer key data protection system and method
CN113533830A (en) Power supply peak current measurement
US11392690B2 (en) Security monitoring apparatus and method for vehicle network
CN110609303B (en) Position sensor and safety chip based on position sensor
US11556660B2 (en) Method and apparatus for erasing security-relevant information in a device
US11204427B2 (en) Satellite signal receiving device, security sensor, and security chip
JP2023170125A (en) Security method and security device
CN111131136B (en) Vehicle information safety monitoring device
CN114243139A (en) Method for detecting thermal diffusion of a battery cell of a motor vehicle power battery, battery warning system and motor vehicle having a battery warning system
CN110609302B (en) Position monitoring device of networking equipment
US12007266B2 (en) Add-on module for manipulation protection of a sensor
US10020898B2 (en) Radio-device system and a method with time-parameter evaluation
JP6099381B2 (en) In-vehicle device
US20240195814A1 (en) Method and Apparatus for Identifying an Inadmissible Message of a Manipulated Control Device of a Vehicle by Means of a Second Control Device of the Vehicle
US8981932B2 (en) Apparatus comprising a pair of an alarm condition generator and an associated alarm circuit, chip card, and method
US20220173960A1 (en) Vehicle data processing device, vehicle data processing system, and vehicle data processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 room 201-2, Xinghe worldf building, No. 1 Yabao Road, Nankeng community, Bantian street, Longgang District, Shenzhen, Guangdong

Applicant after: Shenzhen Huada Beidou Technology Co.,Ltd.

Address before: 518172 5th floor, building 4, Yunli intelligent park, No.3, FAFA Road, Bantian street, Longgang District, Shenzhen City, Guangdong Province

Applicant before: ALLYSTAR TECHNOLOGY (SHENZHEN) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant