Sensor data management method, device, system and storage medium

By obtaining sensor data of the same type for comparison, and judging and limiting abnormal data, the problem of easy tampering of sensor data in smart homes is solved, security is improved, and the stability and security of the smart home environment are ensured.

CN112765679BActive Publication Date: 2024-09-10GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110024052.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-08
Publication Date
2024-09-10
Estimated Expiration
2041-01-08

AI Technical Summary

Technical Problem

In smart homes, individual sensor data can easily be tampered with, leading to security risks. It is difficult for existing technologies to effectively prevent illegal intrusions and data tampering.

Method used

By obtaining the same type of data detected by other sensors, it compares and determines whether the first data is abnormal. If it is abnormal, its use is restricted to prevent sensor data from being tampered with and improve the security of smart homes.

Benefits of technology

It effectively prevents sensor data from being tampered with, improves the security of smart homes, and ensures the normal operation of the device and the protection of user privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112765679B
    Figure CN112765679B
Patent Text Reader

Abstract

The present invention relates to a sensor data management method, device, system and storage medium; the management method comprises: when receiving first data for a detected object detected by a first sensor, obtaining second data for the detected object detected by a second sensor; wherein the data types of the first data and the second data are the same; judging whether the first data is abnormal according to the numerical values ​​of the second data and the first data and the comparison result; if the first data is abnormal, restricting the first data from being used in any device. When receiving sensor data for a detected object detected by a sensor, obtaining second data for the detected object detected by a second sensor, and when the data types of the first data and the second data are consistent, judging whether the first data is abnormal according to the second data, thereby avoiding the danger of sensor data being tampered with and improving the security in the field of smart homes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a sensor data management method, device, system and storage medium. Background Art

[0002] With the continuous development of the times, we have now begun to enter the era of smart homes. However, in the process of entering the era of smart homes, there has been an upgrade in the level of intelligence. For example, the more common smart home designs now detect the corresponding data through various sensors, and then once the data meets the threshold setting, the corresponding smart device will be activated.

[0003] However, the intelligence of smart homes still has certain risks. That is, triggering the corresponding smart device through only one related data sensor will pose certain security risks, because once hackers and other illegal users tamper with the corresponding sensor data, it will cause great security risks. Summary of the invention

[0004] In order to solve the problems existing in the prior art, at least one embodiment of the present invention provides a sensor data management method, device, system and storage medium.

[0005] In a first aspect, an embodiment of the present invention provides a sensor data management method, the management method comprising:

[0006] When first data for a detected object detected by a first sensor is received, second data for the detected object detected by a second sensor is acquired; wherein the first data and the second data have the same data type;

[0007] comparing the second data with the first data, and determining whether the first data is abnormal according to the comparison result;

[0008] If the first data is abnormal, the first data is restricted from being used in any device.

[0009] Based on the above technical solution, the embodiment of the present invention can also make the following improvements.

[0010] In combination with the first aspect, in a first embodiment of the first aspect, obtaining second data detected by the second sensor for the detected object includes:

[0011] Acquire a relative distance between the second sensor and the first sensor; wherein the data types of the data detected by the second sensor and the first sensor are consistent, and the detected objects detected by the first sensor and the second sensor are consistent;

[0012] Sensor data detected by a second sensor having the shortest relative distance to the first sensor is acquired as the second data.

[0013] In combination with the first embodiment of the first aspect, in a second embodiment of the first aspect, acquiring the relative distance between the second sensor and the first sensor includes:

[0014] Acquire a second sensor having a data type consistent with that of the data detected by the first sensor and a detected object consistent with that detected by the first sensor, as the second sensor;

[0015] For each second sensor, it is determined whether there is an obstacle between the second sensor and the first sensor. If there is an obstacle, the shortest distance between the first sensor and the second sensor bypassing the obstacle is calculated as the relative distance.

[0016] In combination with the first aspect, in a third embodiment of the first aspect, obtaining second data detected by the second sensor for the detected object includes:

[0017] Acquire a relative distance between a second sensor and the first sensor; wherein the data types of the data detected by the second sensor and the first sensor are consistent, and the detected objects detected by the first sensor and the second sensor are consistent;

[0018] Acquire sensor data detected by a second sensor whose relative distance to the first sensor is less than or equal to a preset distance as reference data;

[0019] All the reference data are averaged to obtain the second data.

[0020] In combination with the third embodiment of the first aspect, in a fourth embodiment of the first aspect, acquiring the relative distance between the second sensor and the first sensor includes:

[0021] Acquire a second sensor having a data type consistent with that of the data detected by the first sensor and a detected object consistent with that detected by the first sensor, as the second sensor;

[0022] For each second sensor, it is determined whether there is an obstacle between the second sensor and the first sensor. If there is an obstacle, the shortest distance between the first sensor and the second sensor bypassing the obstacle is calculated as the relative distance.

[0023] In combination with the first aspect, in a fifth embodiment of the first aspect, comparing the second data with the first data, and determining whether the first data is abnormal according to the comparison result, includes:

[0024] Calculating a deviation value between the first data and the second data;

[0025] Calculate the ratio of the deviation value to the first data, or the ratio of the deviation value to the second data, as a relative deviation;

[0026] Determining whether the relative deviation is greater than or equal to a preset deviation;

[0027] If the relative deviation is greater than or equal to the preset deviation, the first data is abnormal;

[0028] If the relative deviation is smaller than the preset deviation, the first data is normal.

[0029] In combination with the first aspect or the first, second, third, fourth or fifth embodiment of the first aspect, in a sixth embodiment of the first aspect, the management method further includes:

[0030] If the first data is abnormal, device information of a first sensor for acquiring the first data is uploaded to a server, and the first sensor is restricted from acquiring data.

[0031] In a second aspect, an embodiment of the present invention provides a sensor data management device, the management device comprising:

[0032] A first processing unit is configured to, when receiving first data for a detected object detected by a first sensor, obtain second data for the detected object detected by a second sensor; wherein the first data and the second data have the same data type;

[0033] The second processing unit is used to compare the second data with the first data, and determine whether the first data is abnormal according to the comparison result; if the first data is abnormal, restrict the first data from being used in any device.

[0034] In a third aspect, an embodiment of the present invention provides a sensor data management system, the control system comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0035] Memory, used to store computer programs;

[0036] The processor is used to implement any sensor data management method described in the first aspect when executing the program stored in the memory.

[0037] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any sensor data management method described in the first aspect.

[0038] The above technical solution of the present invention has the following advantages over the prior art: when receiving sensor data detected by a sensor for a detected object, this solution obtains second data detected by other sensors for the detected object. When the numerical types of the first data and the second data are consistent, it is possible to determine whether the first data is abnormal through the second data, thereby avoiding the danger of sensor data being tampered with and improving the security in the field of smart homes. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of a sensor data management method provided by an embodiment of the present invention;

[0040] Figure 2 is a flow chart of a sensor data management method provided by another embodiment of the present invention;

[0041] Figure 3 This is a flow chart of a sensor data management method provided by another embodiment of the present invention;

[0042] Figure 4 This is a second flow chart of a sensor data management method provided by another embodiment of the present invention;

[0043] Figure 5 is a structural schematic diagram of a sensor data management device provided by another embodiment of the present invention;

[0044] Figure 6 It is a structural schematic diagram of a sensor data management system provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0046] like Figure 1 As shown, an embodiment of the present invention provides a sensor data management method. Figure 1 , the control method comprises the following steps:

[0047] S11. When first data detected by the first sensor for the detected object is received, second data detected by the second sensor for the detected object is acquired; wherein the first data and the second data have the same data type.

[0048] In this embodiment, the first sensor and the second sensor in this step can be the same type of sensor or different types of sensors, such as a contact temperature sensor and a non-contact temperature sensor. Although both can be used to detect temperature, the structures of the sensors themselves are different.

[0049] In this embodiment, when the sensor data detected by the sensor for the detected object is received, the second data detected by the second sensor for the detected object is obtained. When the numerical types of the first data and the second data are consistent, it can be judged whether the first data is abnormal through the second data. For example, the first data detected by a temperature sensor, humidity sensor, smoke sensor or other sensor for a certain space, and if the second data detected for the same space is significantly different from the first data, it means that the data is abnormal. At this time, the data sent by the sensor with abnormal data should be terminated in time to control the startup service of other smart devices. For example, when the indoor humidity is detected to be low, the humidifier needs to be started for humidification. However, the second sensor detects that the indoor humidity is not low. At this time, the startup of the humidifier is interrupted in time to avoid danger and improve the safety in the field of smart homes.

[0050] In this embodiment, the detected object can be the weight of the entity, the temperature of the air, the humidity of the air, the PM2.5 of the air, etc., wherein, when the detected object is air, the same detected object detected by the second sensor should be the air in the same scene, specifically, such as the air in connected rooms and the air in the same space.

[0051] S12: Compare the second data with the first data, and determine whether the first data is abnormal based on the comparison result.

[0052] In this embodiment, since the second data is the data obtained by the second sensor for detecting the detected object, theoretically, the second data should be relatively consistent with the first data. Considering that the second sensor may not be in the same position as the first sensor, there may be a certain deviation between the second data and the first data. Therefore, in this step, the second data can be compared with the first data to determine whether the first data is abnormal; for example, to determine whether the relative deviation between the first data and the second data is greater than or equal to the preset deviation value, it can be known that since the first data and the second data are detected for the same detected object, when the first data is received, the second data is obtained in time to verify the first data to determine whether the first data is abnormal.

[0053] S13. If the first data is abnormal, restricting the first data from being used in any device.

[0054] In this embodiment, when it is confirmed that the first data is abnormal, the first data is first restricted to be applicable to other devices to prevent other devices from calling the data with obvious abnormalities to work, thereby realizing the identification of data that has been illegally invaded and tampered with, avoiding abnormal operation of the device, and improving the safety of the device.

[0055] In this embodiment, if the first data is normal, the first data is transmitted to the corresponding device to control the operation of the device. For example, in the application of this solution to the intelligent air-conditioning device, the indoor temperature is detected in real time, and the air-conditioning device is controlled to adjust the indoor temperature according to the indoor temperature. When the indoor temperature detected by the air-conditioning device is a, and the air-conditioning device needs to be started to adjust the indoor temperature, the temperature b detected by the temperature sensor that also detects the indoor temperature in the same scene is obtained, and a is compared with b. According to the comparison result of a and b, it is determined whether a is normal, for example, the difference between a and b is calculated to determine whether the difference is greater than or equal to a preset threshold. When the difference is greater than or equal to the preset threshold, a is determined to be abnormal, otherwise a is normal; when a is normal, the intelligent air-conditioning device is controlled to adjust the indoor temperature according to a. When a is abnormal, a can be deleted, or a can be shelved, or a can be uploaded to the server for recording.

[0056] In combination with the above embodiments, for example, when the relative deviation of the first data and the second data is greater than or equal to the preset deviation, the first data is determined to be abnormal, wherein the relative deviation value of the first data and the second data can be obtained by calculating the deviation value of the first data and the second data; calculating the ratio of the deviation value to the first data, or the ratio of the deviation value to the second data as the relative deviation.

[0057] In a specific embodiment, we take a simple air-conditioning smart device as an example to illustrate the specific design process. First, our smart devices each contain relevant sensors. For example, the air conditioner contains a temperature and humidity sensor to determine how much the smart device should adjust the air conditioner, and whether to choose dehumidification or more other operations. The following is a specific application. When the user sets the indoor humidity to 80%, the air conditioning dehumidification mode is started. The humidity data collected at this time is used as a, and then the background server will automatically traverse the smart devices around the room to see if there are any humidity sensors, and traverse from near to far. If relevant devices are found, the data collected by the humidity sensor with the closest distance can be used as data b, or the data collected by the humidity sensors with the required distance can be averaged as data b. At this time, the relative deviation of a and b is calculated (ab) / a or (ab) / b. If the relative deviation is greater than or equal to the preset deviation, it is determined that the first data is abnormal, that is, data a is abnormal, and the dehumidification mode service of the device is not linked. Otherwise, it is determined that data a is normal, and data a is transmitted to the corresponding device for dehumidification service control. Among them, the preset deviation can be set to 5% or other values. A smaller preset deviation can be set if the accuracy requirement is higher, and a larger preset deviation can be set if the accuracy requirement is lower. This solution does not make special restrictions on this.

[0058] In a specific embodiment, similar to the above situation, when the indoor humidity set by our user is 80%, the air conditioner dehumidification mode is started. The humidity data collected at this time is taken as a, and then the background server will automatically traverse whether there are any smart devices around the room that include humidity sensors, and traverse from near to far. If relevant devices are found, the data collected by the humidity sensor with the closest distance can be used as data b, or the data collected by the humidity sensors with the required distance can be averaged as data b. At this time, a and b are compared for modulus |ab|, assuming that 5% is set as an acceptable range. If the modulus is equal to 3% at this time, that is, the modulus is less than the preset deviation, then the air conditioner is set to dehumidification mode by default. If the modulus is 15%, that is, the modulus is greater than the preset deviation, the data a is judged to be abnormal, and the dehumidification mode service of the device is not linked. Otherwise, the data a is judged to be normal, and the data a is transmitted to the corresponding device for control of the dehumidification service.

[0059] In this embodiment, in the existing smart home environment, most of the smart work of the home relies on data detected in real time by sensors. For example, the air purifier detects the air quality of the indoor environment to further confirm whether to work. The night light that automatically lights up when a user passes by at night also relies on sensor data. Therefore, once the sensor data is tampered with, the security of the indoor environment is also easily threatened. For example, abnormal data from the smoke alarm will automatically trigger the start of the camera service, so illegal users may steal the privacy of our users. There are many more vivid examples that show that sensor data will directly affect the security of our entire smart home field.

[0060] In this embodiment, when any sensor detects the first data of the detected object, this scheme obtains the second data of the same data type as the first data detected by other second sensors that also detect the detected object, and determines whether the first data is abnormal through the second data, thereby realizing abnormal monitoring of the first data, preventing someone from illegally invading our sensor equipment to tamper with the sensor data, and ensuring the security of the internal environment of the smart home.

[0061] In this embodiment, the management method further includes: if the first data is abnormal, uploading the device information of the first sensor that obtains the first data to the server, and restricting the first sensor from obtaining data. After determining that the first data of the first sensor is abnormal, uploading the device information of the first sensor to the server, and restricting the first sensor from continuing to work, reducing interference information.

[0062] Specifically, each time the first data is abnormal, the device information of the first sensor that obtains the first data can be uploaded to the server. In the server, the number of uploads of each device information can be counted. When the number of uploads of any device information exceeds a preset number, the first sensor corresponding to the device information is restricted from operating, thereby avoiding restrictions on sensors that have erroneous data collection and improving fault tolerance.

[0063] like Figure 2 As shown, an embodiment of the present invention provides a sensor data management method. Figure 2 , the management method includes the following steps:

[0064] S21. When first data detected by the first sensor for the detected object is received, a relative distance between the second sensor and the first sensor is obtained; wherein the data types of the data detected by the second sensor and the first sensor are consistent, and the detected objects detected by the first sensor and the second sensor are consistent.

[0065] In this embodiment, when sensor data detected by the sensor for the detected object is received, a second sensor is determined whose detected data is consistent with the data type of the data detected by the first sensor and whose detected object is also consistent with the detected object detected by the first sensor. After the second sensor is determined, the relative distance between each second sensor and the first sensor is obtained.

[0066] S22. Acquire sensor data detected by a second sensor having the shortest relative distance to the first sensor as second data.

[0067] In this embodiment, since the sensor data detected by the two sensors for detecting the same object are more likely to have errors when the relative distance between them is larger, the sensor data detected by the second sensor with the smallest relative distance is obtained as the second data to determine whether the first data is abnormal.

[0068] S23: Compare the second data with the first data, and determine whether the first data is abnormal based on the comparison result.

[0069] For details of step S23, please refer to the description of step S12, which will not be repeated here in this embodiment.

[0070] S24: If the first data is abnormal, restrict the first data from being used on any device.

[0071] For details of step S24, please refer to the description of step S13, which will not be repeated here in this embodiment.

[0072] In this embodiment, the relative distance between each second sensor and the first sensor is determined, and sensor data of the second sensor with the smallest relative distance to the first sensor is obtained as the second data. Whether the first data is abnormal is determined by the second data, thereby improving the accuracy of verification.

[0073] like Figure 3 As shown, in this embodiment, obtaining the relative distance between the second sensor and the first sensor includes the following steps:

[0074] S31 . Acquire a second sensor, as the second sensor, whose data type is consistent with that of the data detected by the first sensor and whose detected object is consistent with that detected by the first sensor.

[0075] In this embodiment, a second sensor is determined, the data type of the detected data is consistent with that of the data detected by the first sensor, and the object detected is consistent with the object detected by the first sensor.

[0076] S32. For each second sensor, determine whether there is an obstacle between the second sensor and the first sensor. If there is an obstacle, calculate the shortest distance between the first sensor and the second sensor that bypasses the obstacle as the relative distance.

[0077] In this embodiment, it is determined whether there is an obstacle between the first sensor and the second sensor based on the positions and spatial conditions of the first sensor and the second sensor. For example, an image including the first sensor and the second sensor is acquired through a camera, and whether there is an obstacle between the first sensor and the second sensor is obtained through the device parameters of the camera. It is also possible to determine whether there is an obstacle between the first sensor and the second sensor by setting an infrared ranging device on the first sensor and the second sensor. It is also possible to determine whether the first sensor and the second sensor are in the same room based on the positions of the first sensor and the second sensor themselves and the indoor environment. If they are not in the same room, the wall generally becomes an obstacle.

[0078] In this example, when there is an obstacle between the first sensor and the second sensor, the shortest distance between the first sensor and the second sensor to bypass the obstacle is calculated, that is, the distance from the first sensor to the second sensor along the edge of the obstacle, wherein the edge length of the obstacle can also be determined by the camera to identify the size of the obstacle to complete the calculation of the shortest distance, or the shortest distance from the first sensor to the second sensor to bypass the obstacle can be determined based on the size of each object in the recorded space.

[0079] like Figure 4 As shown, an embodiment of the present invention provides a sensor data management method. Figure 4 , the management method includes the following steps:

[0080] S41. When first data detected by the first sensor for the detected object is received, a relative distance between the second sensor and the first sensor is obtained; wherein the data types of the data detected by the second sensor and the first sensor are consistent, and the detected objects detected by the first sensor and the second sensor are consistent.

[0081] In this embodiment, when sensor data detected by the sensor for the detected object is received, a second sensor is determined whose detected data is consistent with the data type of the data detected by the first sensor and whose detected object is also consistent with the detected object detected by the first sensor. After the second sensor is determined, the relative distance between each second sensor and the first sensor is obtained.

[0082] S42: Acquire sensor data detected by a second sensor whose relative distance to the first sensor is less than or equal to a preset distance as reference data.

[0083] In this embodiment, since the sensor data detected by the two sensors for detecting the same object are more likely to have errors when the relative distance between them increases, the sensor data detected by the second sensor whose relative distance is less than or equal to the preset distance is obtained as reference data.

[0084] S43. Averaging all reference data to obtain second data.

[0085] In this embodiment, in order to avoid a small number of second data for verification, once the second sensor is illegally invaded, it is impossible to verify whether the first data is abnormal. In this embodiment, sensor data detected by the second sensor with a relative distance less than a preset distance is obtained as reference data, and the various reference data are averaged to obtain a value as the second data to verify whether the first data is abnormal.

[0086] S44: Compare the second data with the first data, and determine whether the first data is abnormal based on the comparison result.

[0087] For details of step S44, please refer to the description of step S12, which will not be repeated here in this embodiment.

[0088] S45: If the first data is abnormal, restrict the first data from being used in any device.

[0089] For details of step S45, please refer to the description of step S13, which will not be repeated here in this embodiment.

[0090] In this embodiment, the reference data can also be used as the second data, and the relative deviation between each second data and the first data is calculated respectively. If the relative deviation between any second data and the first data is greater than or equal to the preset deviation, the first data is considered to be abnormal, otherwise the first data is normal. Although this method is stricter in judging the first data, it can also effectively prevent the sensor from being illegally invaded.

[0091] In this embodiment, the relative distance between each second sensor and the first sensor is obtained, including: obtaining a second sensor having a data type consistent with that of the data detected by the first sensor and consistent with the detected object detected by the first sensor as the second sensor; for each second sensor, determining whether there is an obstacle between the second sensor and the first sensor, and if there is an obstacle, calculating the shortest distance between the first sensor and the second sensor to bypass the obstacle as the relative distance.

[0092] In this embodiment, the relative distance between each second sensor and the first sensor can be obtained by referring to the following: Figure 3 The description in the illustrated embodiment will not be repeated in this embodiment.

[0093] like Figure 5 As shown, an embodiment of the present invention provides a sensor data management device, which includes: a first processing unit 11 and a second processing unit 12.

[0094] In this embodiment, the first processing unit 11 is used to obtain second data for the detected object detected by the second sensor when receiving first data for the detected object detected by the first sensor; wherein the first data and the second data have the same data type;

[0095] In this embodiment, the second processing unit 12 is used to compare the second data with the first data, and determine whether the first data is abnormal according to the comparison result; if the first data is abnormal, the first data is restricted from being used in any device.

[0096] In this embodiment, the first processing unit 11 is specifically used to obtain the relative distance between the second sensor and the first sensor; obtain sensor data detected by the second sensor having the smallest relative distance to the first sensor as the second data; wherein the data types of the data detected by the second sensor are consistent with those of the first sensor, and the detected objects detected by the first sensor and the second sensor are consistent.

[0097] Alternatively, in this embodiment, the first processing unit 11 is specifically used to obtain the relative distance between each second sensor and the first sensor; obtain sensor data detected by the second sensor whose relative distance to the first sensor is less than or equal to a preset distance as reference data; average all reference data to obtain second data; wherein the data type of the data detected by the second sensor is consistent with that of the first sensor, and the detected objects detected by the first sensor and the second sensor are consistent.

[0098] In this embodiment, the first processing unit 11 is specifically used to obtain a second sensor as the second sensor, the data type of which is consistent with that of the data detected by the first sensor and the object detected by the first sensor; for each second sensor, it is determined whether there is an obstacle between the second sensor and the first sensor. If there is an obstacle, the shortest distance between the first sensor and the second sensor to bypass the obstacle is calculated as the relative distance.

[0099] In this embodiment, the second processing unit 12 is specifically used to calculate the deviation value of the first data and the second data; calculate the ratio of the deviation value to the first data, or the ratio of the deviation value to the second data, as a relative deviation; determine whether the relative deviation is greater than or equal to a preset deviation; if the relative deviation is greater than or equal to the preset deviation, the first data is abnormal; if the relative deviation is less than the preset deviation, the first data is normal.

[0100] In this embodiment, the management device further includes: a third processing unit, configured to upload device information of a first sensor for acquiring the first data to a server if the first data is abnormal, and to restrict the first sensor from acquiring data.

[0101] like Figure 6 As shown, an embodiment of the present invention provides a sensor data management system, the management system includes: a processor 1110, a communication interface 1120, a memory 1130 and a communication bus 1140, wherein the processor 1110, the communication interface 1120, and the memory 1130 communicate with each other through the communication bus 1140;

[0102] Memory 1130, used for storing computer programs;

[0103] The processor 1110 is used to implement the following method when executing the program stored in the memory 1130:

[0104] When first data for the detected object detected by the first sensor is received, second data for the detected object detected by the second sensor is acquired; wherein the first data and the second data have the same data type;

[0105] comparing the second data with the first data, and determining whether the first data is abnormal according to the comparison result;

[0106] If the first data is abnormal, the first data is restricted from being used in any device.

[0107] In the electronic device provided by the embodiment of the present invention, the processor 1110 executes the program stored in the memory 1130 and, upon receiving sensor data for a detected object detected by a sensor, obtains second data also for the detected object detected by a second sensor. When the data types of the first data and the second data are consistent, it is possible to determine whether the first data is abnormal based on the second data, thereby avoiding the danger of sensor data being tampered with and improving the security in the field of smart homes.

[0108] The communication bus 1140 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0109] The communication interface 1120 is used for communication between the above electronic device and other devices.

[0110] The memory 1130 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory 1130 may also be at least one storage device located away from the processor 1110 .

[0111] The above-mentioned processor 1110 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0112] An embodiment of the present invention provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the sensor data management method of any of the above embodiments.

[0113] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidStateDisk (SSD)), etc.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A sensor data management method, characterized in that: The management method comprises: When first data for a detected object detected by a first sensor is received, second data for the detected object detected by a second sensor is acquired; wherein the first data and the second data have the same data type; The acquiring of the second data detected by the second sensor for the detected object comprises: acquiring a relative distance between the second sensor and the first sensor; wherein the data types of the data detected by the second sensor and the first sensor are consistent, and the detected objects detected by the first sensor and the second sensor are consistent; The obtaining of the relative distance between the second sensor and the first sensor includes: obtaining a second sensor having the same data type as the data detected by the first sensor and the same detected object as the first sensor, as the second sensor; for each second sensor, determining whether there is an obstacle between the second sensor and the first sensor, and if there is an obstacle, calculating the shortest distance between the first sensor and the second sensor to bypass the obstacle as the relative distance; acquiring sensor data detected by a second sensor having the shortest relative distance to the first sensor as the second data; or, Acquire sensor data detected by a second sensor whose relative distance to the first sensor is less than or equal to a preset distance as reference data; average all the reference data to obtain the second data; comparing the second data with the first data, and determining whether the first data is abnormal according to the comparison result; If the first data is abnormal, the first data is restricted from being used in any device.

2. The management method according to claim 1, characterized in that: The comparing the second data with the first data, and judging whether the first data is abnormal according to the comparison result, includes: Calculating a deviation value between the first data and the second data; Calculate the ratio of the deviation value to the first data, or the ratio of the deviation value to the second data, as a relative deviation; Determining whether the relative deviation is greater than or equal to a preset deviation; If the relative deviation is greater than or equal to the preset deviation, the first data is abnormal; If the relative deviation is smaller than the preset deviation, the first data is normal.

3. The management method according to any one of claims 1 and 2, characterized in that: The management method also includes: If the first data is abnormal, device information of a first sensor for acquiring the first data is uploaded to a server, and the first sensor is restricted from acquiring data.

4. A sensor data management device, characterized in that: The management device comprises: A first processing unit is configured to, when receiving first data for a detected object detected by a first sensor, obtain second data for the detected object detected by a second sensor; wherein the first data and the second data have the same data type; The acquiring of the second data detected by the second sensor for the detected object comprises: acquiring a relative distance between the second sensor and the first sensor; wherein the data types of the data detected by the second sensor and the first sensor are consistent, and the detected objects detected by the first sensor and the second sensor are consistent; The obtaining of the relative distance between the second sensor and the first sensor includes: obtaining a second sensor having the same data type as the data detected by the first sensor and the same detected object as the first sensor, as the second sensor; for each second sensor, determining whether there is an obstacle between the second sensor and the first sensor, and if there is an obstacle, calculating the shortest distance between the first sensor and the second sensor to bypass the obstacle as the relative distance; acquiring sensor data detected by a second sensor having the shortest relative distance to the first sensor as the second data; or, Acquire sensor data detected by a second sensor whose relative distance to the first sensor is less than or equal to a preset distance as reference data; average all the reference data to obtain the second data; The second processing unit is used to compare the second data with the first data, and determine whether the first data is abnormal according to the comparison result; if the first data is abnormal, restrict the first data from being used in any device.

5. A sensor data management system, characterized in that: The management system comprises: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the sensor data management method described in any one of claims 1 to 3 when executing the program stored in the memory.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the sensor data management method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Device for outputting a measurement signal indicating a physical measurement variable

    CN104870260A

  • Abnormality detection method and device for proximity sensor and mobile terminal

    CN111182115A

  • Intelligent equipment control method and device, electronic equipment and computer storage medium

    CN112068510A

  • Information processor, information processing system, abnormality detection system, and control method and control program of information processor

    JP2020201799A

  • System and methods of enhanced data reliability of internet of things sensors to perform critical decisions using peer sensor interrogation

    US20200250016A1