Position sensor and safety chip based on position sensor

文档序号:1648923 发布日期:2019-12-24 浏览:29次 中文

阅读说明:本技术 位置传感器、基于位置传感器的安全芯片 (Position sensor and safety chip based on position sensor ) 是由 范长永 于 2018-06-14 设计创作,主要内容包括:一种位置传感器,包括卫星信号接收单元、报警单元以及检测单元;所述卫星信号接收单元向所述检测单元发送位置信息;所述检测单元接收所述位置信息,并根据预设位置范围对所述位置信息进行检测,获得检测结果,并将所述检测结果发送至所述报警单元;所述报警单元根据所述检测结果输出工作状态控制信号,所述工作状态控制信号用于控制所述位置传感器所在的安全芯片的工作状态。因此,通过上述位置传感器所在的安全芯片的工作状态可以针对位置信息是否受到攻击做出判断。(A position sensor comprises a satellite signal receiving unit, an alarm unit and a detection unit; the satellite signal receiving unit sends position information to the detection unit; the detection unit receives the position information, detects the position information according to a preset position range, obtains a detection result, and sends the detection result to the alarm unit; and the alarm unit outputs 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 position sensor is located. Therefore, the working state of the safety chip where the position sensor is located can be used for judging whether the position information is attacked or not.)

1. A position sensor is characterized by comprising a satellite signal receiving unit, an alarm unit and a detection unit;

the satellite signal receiving unit sends position information to the detection unit; the detection unit receives the position information, detects the position information according to a preset position range, obtains a detection result, and sends the detection result to the alarm unit; and the alarm unit outputs 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 position sensor is located.

2. The position sensor according to claim 1, wherein the detection unit includes a self-detection unit; the position information comprises first preset position information and second preset position information, the first preset position information is located in the preset position range, and the second preset position information is located outside the preset position range;

when the self-checking unit receives the first preset position information, a first self-checking result is obtained according to a first working state of the alarm unit in the first preset position information; when the self-checking unit receives the second preset position 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 position 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.

3. The position sensor of claim 2, wherein:

the self-checking unit determines that the first detection result is that the position sensor works normally when the first self-checking result and the second self-checking result both pass; when any one of the first self-checking result and the second self-checking result is failed, determining that the first detection result is abnormal operation of the position sensor;

when the working state control signal in the first working state is a first working state control signal, the first self-checking result is passed; and when the working state control signal in the second working state is the second working state control signal, the second self-checking result is passed.

4. The position sensor of claim 3, wherein: and the alarm unit outputs a second working state control signal when the first detection result is abnormal.

5. The position sensor of claim 4, wherein the second operating state control signal is an interrupt signal or a reset signal.

6. The position sensor according to any one of claims 1 to 5, characterized in that the detection unit includes: a real-time detection unit; the position information comprises real-time position information of the position sensor determined by the satellite signal receiving unit;

when the real-time detection unit receives the real-time position information, detecting the position relation between the real-time position information and the preset position range to obtain a second detection result; the detection result includes the second detection result.

7. The position sensor of claim 6, wherein:

the real-time detection unit determines that a second detection result is normal when the real-time position information is within the preset position range;

and the real-time detection unit determines that a second detection result is abnormal when the real-time position information is out of the preset position range.

8. The position sensor according to claim 7, wherein the alarm unit outputs a second operation state control signal when the second detection result is abnormal.

9. A security chip based on a position sensor, comprising a central processing unit and the position sensor of any one of claims 1 to 8, wherein the central processing unit is connected with the alarm unit, and the alarm unit controls the working state of the central processing unit.

10. The position 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 time sensor for detecting time;

the reset unit receives the reset signal generated by the alarm unit and controls whether the central processing unit is in a reset state or not.

Technical Field

The application relates to the technical field of information security, in particular to a position sensor and a security chip based on the position sensor.

Background

With the development of the internet of things technology, the tendency of interconnection of everything is, the production efficiency is greatly improved by the interconnection of everything, and great convenience is brought to the production and the life of people. With the wide application of the internet of things in the aspects of national infrastructure, industrial production, natural resources, intelligent home, intelligent driving, security and the like, the information security has risen to the national level, and the security chip has the attack resistance incomparable to software and becomes a core component of security protection.

Disclosure of Invention

In view of the above, it is necessary to provide a location sensor and a security chip based on the location sensor, in order to solve the problem that the existing sensor cannot determine whether the location of the device is attacked.

A position sensor comprises a satellite signal receiving unit, an alarm unit and a detection unit;

the satellite signal receiving unit sends position information to the detection unit; the detection unit receives the position information, detects the position information according to a preset position range, obtains a detection result, and sends the detection result to the alarm unit; and the alarm unit outputs 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 position sensor is located.

In one embodiment, the detection unit comprises a self-detection unit; the position information comprises first preset position information and second preset position information, the first preset position information is located in the preset position range, and the second preset position information is located outside the preset position range;

when the self-checking unit receives the first preset position information, a first self-checking result is obtained according to a first working state of the alarm unit in the first preset position information; when the self-checking unit receives the second preset position 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 position 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 both pass, the self-checking unit determines that the first detection result is that the position sensor works normally; when any one of the first self-checking result and the second self-checking result is failed, determining that the first detection result is abnormal operation of the position sensor;

when the working state control signal in the first working state is a first working state control signal, the first self-checking result is passed; and when the working state control signal in 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 second operating state control signal is an interrupt signal or a reset signal.

In one embodiment, the detection unit includes: a real-time detection unit; the position information comprises real-time position information of the position sensor determined by the satellite signal receiving unit;

when the real-time detection unit receives the real-time position information, detecting the position relation between the real-time position information and the preset position range to obtain a second detection result; the detection result includes the second detection result.

In one embodiment, when the real-time position information is within the preset position range, the real-time detection unit determines that a second detection result is normal;

and the real-time detection unit determines that a second detection result is abnormal when the real-time position information is out of the preset position range.

In one embodiment, the alarm unit outputs a second working state control signal when the second detection result is abnormal.

In one embodiment, a safety chip based on a position sensor is further provided, and the safety chip comprises a central processing unit and the position sensor, wherein 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 position sensor-based security chip further comprises 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 time sensor for detecting time;

the reset unit receives the reset signal generated by the alarm unit and controls whether the central processing unit is in a reset state or not.

The position sensor and the safety chip based on the position sensor comprise a satellite signal receiving unit, an alarm unit and a detection unit, wherein the detection unit acquires position information through the satellite signal receiving unit, detects the position information according to a preset position range, obtains a detection result, sends the detection result to the alarm unit, and the alarm unit generates a working state control signal according to the detection result so as to control the working state of the safety chip where the position sensor is located. Therefore, whether the position information is attacked or not can be judged according to the working state of the safety chip where the position sensor is located.

Drawings

FIG. 1 is a schematic diagram of a position sensor in one embodiment;

FIG. 2 is a schematic diagram of a position sensor in another embodiment;

FIG. 3 is a diagram illustrating a relationship between a predetermined location range and a device in one embodiment;

FIG. 4 is a schematic diagram of a position sensor based security chip in one embodiment;

FIG. 5 is a schematic diagram of a position sensor-based security chip in another embodiment;

fig. 6 is a schematic diagram illustrating the operation steps of the 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 is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

The present application provides a position sensor, as shown in fig. 1, including a satellite signal receiving unit 110, a detecting unit 120, and an alarm unit 130.

The satellite signal receiving unit 110 transmits the position information to the detecting unit 120.

The detection unit 120 receives the position information, detects the position information according to a preset position range, obtains a detection result, and sends the detection result to the alarm unit.

The alarm unit 130 outputs 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 position sensor is located.

The preset position range may be preset according to an actual situation, and in a specific embodiment, the position range may be a longitude and latitude range.

In one embodiment, the detection unit 120 includes a self-checking unit and a real-time detection unit, wherein the self-checking unit is configured to perform self-checking on the sensor to detect whether the position sensor is attacked; the real-time detection unit is used for detecting the position of equipment connected with the safety chip where the sensor is located and detecting whether the position information of the equipment is attacked or not.

The satellite signal receiving unit sends position information to the detection unit, the detection unit obtains a detection result after detecting the position information, and the obtained detection result is sent to the alarm unit. The alarm unit generates a corresponding working state control signal according to the detection result, and different working state control information is used for controlling the working state of the safety chip where the position sensor is located.

The position sensor comprises a satellite signal receiving unit, an alarming unit and a detecting unit, wherein the detecting unit acquires position information through the satellite signal receiving unit, detects the position information according to a preset position range, acquires a detection result, sends the detection result to the alarming unit, and the alarming unit generates a working state control signal according to the detection result so as to control the working state of a safety chip where the position sensor is located. Therefore, whether the position information is attacked or not can be judged according to the working state of the safety chip where the position sensor is located.

In one embodiment, as shown in FIG. 2, the detection unit includes a self-test unit 210; in this embodiment, the position information sent by the satellite signal receiving unit is two preset position points, and is used for performing self-checking on the position sensor, where the position information includes first preset position information and second preset position information. The first preset position information is located in the preset position range, and the second preset position information is located outside the preset position range. In an actual situation, the two position points only need to satisfy that one of the two position points is within the preset position range, and the other position point is not within the preset position range.

In this embodiment, the process of detecting the position information is referred to as a self-checking process, that is, whether the position sensor can work normally is detected.

In one embodiment, when receiving first preset position information, the self-checking unit 210 obtains a first self-checking result according to a first working state of the alarm unit at the first preset position information; when the self-checking unit receives the second preset position 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 position 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 position information received by the self-checking unit from the satellite signal receiving unit is first preset position 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 position information is the first preset position information. When the position information received by the self-checking unit from the satellite signal receiving unit is second preset position 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 in the second preset position information.

Further, the first detection result is a detection result obtained after the self-checking unit judges whether the position sensor works normally under the preset position information.

In one embodiment, when the first self-checking result and the second self-checking result both pass, the self-checking unit determines that the first detection result is that the position 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 detection result is abnormal operation of the position sensor.

In one embodiment, the first preset position information is a position point within a preset position range, and the normal working state of the alarm unit should be a non-alarm state. In one embodiment, the second preset position information is a position point outside the preset position range, and the normal working state of the alarm unit should be an alarm state.

In this embodiment, if the first operating state of the alarm unit when the first preset position information is the no-alarm state, and the second operating state of the alarm unit when the second preset position information is the alarm state, it is determined that the position sensor is working normally.

Further, if the first working state of the alarm unit in the first preset position information is an alarm state, or the second working state of the alarm unit in the second preset position information is a non-alarm state, the position sensor is determined to be in abnormal working.

In one embodiment, when the operating state control signal of the first operating state is a first operating state control signal, the first self-checking result is pass; and when the working state control signal in the second working state is the second working state control signal, the second self-checking result is passed.

In one embodiment, the first operating state control signal is a release reset signal for controlling the position 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 position sensor to enter a reset state or an interrupt state and for controlling the position sensor to stop working temporarily, namely, the alarm unit alarms.

Further, if the working state control signal of the first working state is the release reset signal, it is determined that the alarm unit is working normally when the first preset position information is received, that is, the first self-check is passed. When the working state control signal of the second working state is a reset signal or an interrupt signal, the alarm unit is judged to work normally when the second preset position information is received, namely the second self-check is passed. If the two self-checking results pass simultaneously, the position sensor is considered to be capable of working normally, and the obtained first detection result is normal. If any one of the two self-detection results is failed, the position sensor is considered to be incapable of normal operation, and the obtained first detection 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-test process of the self-test unit is finished, and a first test result is obtained. Wherein the first detection result represents a final result of the one-time self-detection; and when the first detection result is abnormal, namely the position sensor fails to pass the self-checking, the alarm unit outputs a second working state control signal to control the position sensor to stop working temporarily. In one embodiment, the second operating state control signal is an interrupt signal or a reset signal.

In one embodiment, the first detection result is normal, that is, the position sensor passes the self-test, and the alarm unit outputs the first operation state control signal (that is, the position sensor is controlled to start operating), or the position sensor passes the self-test, and the alarm unit does not output the alarm signal (that is, the position sensor is controlled to maintain the operation state).

In one embodiment, the self-test includes a power-on self-test and a real-time self-test during operation. In one embodiment, the self-checking of the real-time self-checking is finished in the power-on self-checking and working processes, and when the obtained first detection result is abnormal, the alarm unit outputs a second working state control signal. When the first detection result is normal after the power-on self-detection is finished, the alarm unit outputs a first working state control signal; after the self-checking is finished in the working process, the alarm unit does not output an alarm signal, and the position sensor is controlled to keep a working state.

In one embodiment, as shown in FIG. 2, the detection unit includes a real-time detection unit 220. In this embodiment, the position information includes real-time position information where the position sensor is located, which is determined by the satellite signal receiving unit.

In this embodiment, the real-time location information of the location sensor is the real-time location information of the device connected to the security chip where the location sensor is located. Namely, the real-time detection unit detects the real-time position of the equipment and judges whether the position of the equipment conforms to the preset range of the position of the equipment. The preset range of the device position is a preset position range.

The real-time position information is position information which is obtained by receiving satellite signals by a satellite signal receiving unit and analyzing the satellite signals. In one embodiment, the position sensor may acquire the position from a navigation system satellite such as GPS, beidou, GLONASS (GLONASS), GALILEO (GALILEO), or the like.

When receiving the real-time position information sent by the satellite signal receiving unit, the real-time detecting unit 220 detects a position relationship between the real-time position information and a preset position range to obtain a second detection result; the detection result includes the second detection result.

In this embodiment, when the position information received by the real-time detection unit is real-time position information, the real-time position information is a process of detecting, by the position sensor, position information of a device connected to a chip where the sensor is located in a working process. And the second detection result is obtained by judging whether the real-time position is attacked or not by the real-time detection unit.

In one embodiment, the real-time detection unit 220 determines that the second detection result is normal when the real-time position information is within the preset position range; the real-time detection unit 220 determines that the second detection result is abnormal when the real-time position information is outside the preset position range.

In one embodiment, the alarm unit generates a second working state control signal when the second detection result is abnormal.

In this embodiment, if it is detected that the real-time position information is outside the preset position range, it is determined that the real-time position information does not conform to the allowable movement range preset for the position of the device, the second detection result determined by the real-time detection unit is abnormal, that is, the alarm unit generates alarm information, and controls the safety chip where the position sensor is located to stop working, and the alarm information may be an interrupt signal or a reset signal. Similarly, if the real-time position information is detected to be in the preset position range, the real-time position information is determined to conform to the allowable movement range preset for the equipment position, and the second detection result determined by the real-time detection unit is normal, so that the alarm unit cannot generate an alarm signal, and the safety chip where the position sensor is located keeps a normal working state.

The position sensor designed by receiving the navigation satellite signals enables the sensor to accurately acquire the position information of the equipment, and is not forgeable. The position sensor has the characteristics of non-bypass and non-forgery due to the functions of power-on self-test and real-time detection of the position sensor.

In a specific embodiment, as shown in fig. 3, a schematic diagram of a relationship between a preset position range and a device is provided for the device in this embodiment. Firstly, longitude and latitude ranges (as shown by a dotted line box in the figure) which are allowed to move of the mobile equipment are set, a security chip comprising the position sensor monitors the mobile equipment in real time, an alarm mechanism is started once real-time position information of the equipment is detected to be beyond the set range, and an alarm unit generates corresponding alarm signals, for example, the equipment is forbidden or limited to work, the alarm signals are sent to a background management system, and the like.

In one embodiment, as shown in fig. 4, the present application further provides a security chip based on a position sensor, which includes a central processing unit 410(CPU) and the position sensor 420, wherein the central processing unit is connected to the alarm unit, and the alarm unit controls the operating state of the central processing unit.

In one embodiment, as shown in fig. 5, the position sensor-based security chip further includes a reset unit 510, a storage unit 520 for storing data, other sensors 540, a security algorithm unit 550 for performing security operations, and a communication interface unit 530 for connecting devices. In one embodiment, the other sensors 540 may include: a temperature sensor for detecting temperature, a voltage sensor for detecting voltage, a frequency sensor for detecting frequency, and a time sensor for detecting time. In other embodiments, the security chip may also include other security sensors.

The reset unit 510 receives a reset signal generated by the alarm unit and controls whether the central processing unit is in a reset state.

The other sensors are respectively connected with the central processing unit, and the working state of the central processing unit can be controlled through the detection result of each sensor.

The position sensor has the safety characteristics of non-bypass property, self-checking property, unsealing resistance, probe detection and the like, and the safety chip with the position sensor is designed by combining the position sensor with the traditional chip safety technology, can cope with position-specific hacker attacks, and guarantees the safety of mobile equipment.

In one embodiment, the range within which the device is allowed to move is preset in the security chip before the device loaded with the security chip leaves a factory, and in one embodiment, the range within which the device is allowed to move is latitude and longitude information. The first longitude and latitude information and the second longitude and latitude information are respectively in a range and out of a range which is preset to allow the device to move.

In a specific embodiment, the working steps of the security chip are shown in fig. 6, and include the following steps:

step S1: firstly, carrying out position sensor self-checking on a chip:

1) the navigation satellite receiving unit sends preset first fixed longitude and latitude information to the self-checking unit, and the first fixed longitude and latitude information is in a preset range. When the self-checking unit receives the first longitude and latitude information, if the alarming unit does not alarm, the first step of self-checking is passed;

2) and the navigation satellite receiving unit sends preset second fixed longitude and latitude information to the self-checking unit, wherein the second fixed longitude and latitude information is not in a preset range. When the self-checking unit receives the second longitude and latitude information, if the alarming unit alarms, the second step of self-checking is passed;

3) the self-checking unit is used for combining and judging the self-checking results of the first step and the second step, and sending the final self-checking result to the safety alarm unit, and if the first step self-checking and the second step self-checking are both passed, the self-checking is considered to be passed, otherwise, the self-checking is not passed;

4) if the self-checking is passed, the safety alarm unit releases a reset signal; if the self-checking fails, the position sensor is considered to be attacked, the reset signal is effective, and the chip is always in a reset state;

step S2: other safety sensors perform self-checking, if the self-checking is passed, the CPU is started, otherwise, the chip is in a reset state; wherein the self-checking of the other safety sensors can be performed in parallel or in series with the self-checking of the position sensor.

Step S3: after the chip normally works, namely the CPU is started, the real-time detection unit monitors the position information of the current equipment in real time and transmits the result to the alarm unit;

step S4: if the real-time position information exceeds the preset longitude and latitude range, the alarm unit sends alarm information; the user can set the alarm information to be interrupted or reset according to the actual condition, and the CPU carries out alarm interruption processing or forces the chip to be in a reset state, so that information leakage is avoided;

step S5: during the normal working process of the security chip, a self-checking instruction can be sent out by the CPU at irregular intervals to perform self-checking on the position sensor so as to confirm whether the position sensor receives an attack or not, and a self-checking result is sent to the security alarm unit, wherein the steps of the self-checking process are the same as the power-on self-checking step in the step S1.

Step S6: the safety alarm sends out an alarm signal in an interruption or reset mode.

The safety chip based on the position sensor comprises the position sensor and can sense the position information of the mobile equipment. The position sensor comprises a satellite signal receiving unit, an alarming unit and a detecting unit, wherein the detecting unit acquires position information through the satellite signal receiving unit, detects the position information according to a preset position range, acquires a detection result, and sends the detection result to the alarming unit, and the alarming unit generates a working state control signal according to the detection result so as to control the working state of a safety chip where the position sensor is located. Therefore, whether the position information of the equipment where the security chip is located is attacked or not can be judged according to the working state of the security chip.

The above-mentioned security chip based on the position sensor can solve the security requirement of the mobile device for the position information, and in a specific embodiment, the practical application can protect the allowable moving range of the device by setting the electronic fence, or ensure that the moving object moves within the limited range. In addition, the position sensor acquires the position by receiving satellite signals, so that the reliability and the unforgeability of position information are ensured; meanwhile, the position sensor has the functions of power-on self-checking and detection implementation, so that the position sensor has the safety characteristics of non-bypass, attack prevention, real-time detection and the like, can perform real-time and effective position protection on the mobile equipment, can cope with hacker attacks aiming at positions, and ensures the position safety of the mobile networking equipment.

The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种支架式卫星导航仪

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类