System suitable for source data verification of Internet of Things equipment and verification method

By deploying inspection equipment at the assembly location of IoT devices, conducting on-site inspections and storing data on the blockchain platform, the problem of authenticity verification of the source data of IoT devices is solved, and effective verification of the source data of IoT devices is achieved to ensure the authenticity and security of the data.

CN119906578APending Publication Date: 2025-04-29ANT BLOCKCHAIN TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510125528.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-26
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

The prior art is difficult to effectively verify the authenticity of source data of IoT devices. It can only ensure the security during data transmission, but cannot ensure the authenticity of data existing before transmission.

Method used

By deploying inspection equipment at the assembly location of IoT devices, inspection equipment inspects IoT devices on site and obtains inspection data. Through the built-in trusted service module, the Internet of Things data and inspection data are stored on the blockchain platform, thereby realizing verification of the source data of IoT devices.

Benefits of technology

It realizes the authenticity verification of the source data of IoT devices, ensuring that the data already exists and is true before transmission, and avoids the impact of forgery or tampering with data on subsequent operations and decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906578A_ABST
    Figure CN119906578A_ABST
Patent Text Reader

Abstract

The invention provides a system and method suitable for source data verification of Internet of Things equipment. The system comprises Internet of Things equipment, inspection equipment and a block chain platform, wherein the inspection equipment is deployed at an assembly site of the Internet of Things equipment; the Internet of Things equipment is used for carrying out data acquisition to obtain Internet of Things data, and requesting the block chain platform to store the Internet of Things data through a built-in trusted service module; the inspection equipment is used for acquiring inspection data in the process of on-site inspection of the Internet of Things equipment and requesting the block chain platform to store the inspection data through a built-in trusted service module, and the inspection data is used for representing the state of the Internet of Things equipment; and the block chain platform is used for receiving and storing the Internet of Things data and receiving and storing the inspection data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the field of information security technology, and in particular, to a system and verification method suitable for performing source data verification on Internet of Things devices. Background Art

[0002] With the rapid development of the global economy, the integration of the real economy and the digital economy has become an irreversible trend. The integration of the real economy and the digital economy can not only improve production efficiency and operational management, but also create new business models and services. In this process, the Internet of Things technology plays a key role. By uploading the collected data to the service platform, the Internet of Things devices enable the digitization of physical assets and achieve seamless connection between physical assets and the digital world. However, if the data obtained by the service platform is forged or tampered with, it will not only be difficult to effectively manage and maintain the physical assets, but it may also have a serious impact on a series of subsequent operations and decisions.

[0003] At present, in order to improve the credibility of data uploaded by IoT devices, the uploaded data can be encrypted to prevent the uploaded data from being tampered with during the data transmission process. However, in actual applications, it is found that the data uploaded by IoT devices (that is, the source data of IoT devices) is not necessarily true, and may be forged or tampered with. The above solution can only ensure that the data is not tampered with during the data transmission process, but cannot determine whether the source data of IoT devices is true. Summary of the invention

[0004] In view of this, one or more embodiments of this specification provide the following technical solutions:

[0005] According to a first aspect of one or more embodiments of this specification, a system suitable for performing source data verification on an Internet of Things device is proposed, the system comprising an Internet of Things device, an inspection device, and a blockchain platform, the inspection device being deployed at an assembly location of the Internet of Things device;

[0006] The IoT device is used to collect data to obtain IoT data, and to request the blockchain platform to store the IoT data through a built-in trusted service module;

[0007] The inspection device is used to obtain inspection data during the on-site inspection of the IoT device, and request the blockchain platform to store the inspection data through the built-in trusted service module, wherein the inspection data is used to indicate the status of the IoT device;

[0008] The blockchain platform is used to receive and store the IoT data, and to receive and store the inspection data.

[0009] According to a second aspect of one or more embodiments of this specification, a method for source data verification of an IoT device is proposed, which is applied to an inspection device, and the inspection device is deployed at an assembly location of the IoT device; the method includes:

[0010] Acquire inspection data during on-site inspection of the IoT device, where the inspection data is used to indicate the status of the IoT device;

[0011] The inspection data is requested to be stored on the blockchain platform through the built-in trusted service module. The blockchain platform is also used to store the IoT data obtained by the IoT device through data collection and requested to be stored through the built-in trusted service module.

[0012] According to a third aspect of one or more embodiments of this specification, a method for verifying source data of an IoT device is proposed, which is applied to a verification platform. The method includes:

[0013] For the target IoT data to be verified, obtain the target inspection data stored in the blockchain platform that meets the matching condition with the target IoT data, where the matching condition indicates the condition that the inspection data that has reference value to the target IoT data must meet;

[0014] Verify whether the target IoT data is authentic based on the target inspection data.

[0015] According to a fourth aspect of one or more embodiments of this specification, a device is proposed, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor implements the steps of the method described in the second or third aspect above by running the executable instructions.

[0016] According to a fifth aspect of one or more embodiments of the present specification, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in the second or third aspect above are implemented.

[0017] According to a sixth aspect of one or more embodiments of the present specification, a computer program product is proposed, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method described in the second or third aspect above.

[0018] It can be seen from the above embodiments that by deploying inspection equipment at the assembly site of the IoT device, the inspection equipment inspects the IoT device on site and obtains inspection data, and the IoT data of the IoT device and the inspection data obtained by inspecting the IoT device are stored in the blockchain platform together. In this way, if the authenticity of the IoT data is suspected, the inspection data can be obtained from the blockchain platform to verify the IoT data. Therefore, this specification provides a system suitable for verifying the source data of the IoT device, making it possible to verify the authenticity of the source data of the IoT device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of the architecture of a system suitable for performing source data verification on IoT devices, provided by an exemplary embodiment.

[0020] Figure 2 It is a schematic diagram of the architecture of another system suitable for performing source data verification on IoT devices provided by an exemplary embodiment.

[0021] Figure 3 It is a flowchart of a method suitable for performing source data verification on an Internet of Things device, provided by an exemplary embodiment.

[0022] Figure 4 It is a flowchart of a method for verifying source data of an Internet of Things device provided by an exemplary embodiment.

[0023] Figure 5 It is a flowchart of another method suitable for performing source data verification on an Internet of Things device provided by an exemplary embodiment.

[0024] Figure 6 It is a flowchart of another method for performing source data verification on an Internet of Things device provided by an exemplary embodiment.

[0025] Figure 7 It is a flowchart of a method for verifying source data of an Internet of Things device provided by an exemplary embodiment.

[0026] Figure 8 It is a flowchart of a method for source data verification of an Internet of Things device provided by an exemplary embodiment.

[0027] Fig. 9 It is a structural schematic diagram of a device provided by an exemplary embodiment.

[0028] Fig.10 It is a block diagram of a device suitable for performing source data verification on an Internet of Things device, provided by an exemplary embodiment.

[0029] Fig.11It is a block diagram of a device for verifying source data of an Internet of Things device provided by an exemplary embodiment. DETAILED DESCRIPTION

[0030] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this manual are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0031] With the rapid development of the global economy, the integration of the real economy and the digital economy has become an irreversible trend. The integration of the real economy and the digital economy can not only improve production efficiency and operational management, but also create new business models and services. In this process, the Internet of Things technology plays a key role. By uploading the collected data to the service platform, the Internet of Things devices enable the digitization of physical assets and achieve seamless connection between physical assets and the digital world. However, if the data obtained by the service platform is forged or tampered with, it will not only be difficult to effectively manage and maintain the physical assets, but it may also have a serious impact on a series of subsequent operations and decisions.

[0032] At present, in order to improve the credibility of data uploaded by IoT devices, the uploaded data can be encrypted to prevent the uploaded data from being tampered with during the data transmission process. For example, the SDK (Software Development Kit) installation package of the trusted service module is implanted in the IoT device, and the IoT device transmits the IoT data to be uploaded to the trusted service module. The trusted service module ensures the trusted flow of IoT data from the IoT device side to the blockchain platform side through built-in security encryption technology and storage technology.

[0033] However, in actual applications, it is found that in the process of transmitting IoT data from the hardware environment of IoT devices to the software environment and then to the trusted service module, IoT data may also be intercepted, tampered or forged, resulting in the IoT data obtained by the trusted service module (that is, the source data of the IoT device) not necessarily being true, and may be forged or tampered with. In other words, the above scheme can only guarantee the security of the data transmission process from the trusted service module to the blockchain platform, but cannot guarantee the security of the IoT data in the process of transmitting from the hardware environment of IoT devices to the software environment and then to the trusted service module, nor can it be known whether the source data obtained by the trusted service module is true.

[0034] Based on this, this specification provides a system suitable for source data verification of IoT devices. By deploying inspection equipment at the assembly site of the IoT device, the inspection equipment inspects the IoT device on-site to obtain inspection data, and the IoT data can be subsequently verified based on the inspection data.

[0035] During implementation, first, the IoT device collects data to obtain IoT data, and requests the blockchain platform to store the IoT data through the built-in trusted service module; then, the inspection data deployed at the assembly site of the IoT device obtains the inspection data during the on-site inspection of the IoT device, and requests the blockchain platform to store the inspection data through the built-in trusted service module, and the inspection data is used to represent the status of the IoT device; finally, the blockchain platform receives and stores the IoT data, and receives and stores the inspection data.

[0036] In the above technical solution, by deploying inspection equipment at the assembly site of the IoT device, the inspection equipment inspects the IoT device on site and obtains inspection data, and the IoT data of the IoT device and the inspection data obtained by inspecting the IoT device are stored in the blockchain platform together. In this way, if the authenticity of the IoT data is suspected, the inspection data can be obtained from the blockchain platform to verify the IoT data. Therefore, this specification provides a system suitable for verifying the source data of the IoT device, making it possible to verify the authenticity of the source data of the IoT device.

[0037] The system for verifying source data of IoT devices provided in this specification can be applied to any scenario where the authenticity of source data of IoT devices needs to be verified. This specification does not limit the scenario where the authenticity of source data of IoT devices needs to be verified, and only uses the following examples for illustrative purposes:

[0038] For example, an operator actually has only 100 IoT devices. Before the IoT device uploads data, the IoT device identifier and other information in the required uploaded data can be modified locally on the IoT device, thereby forging the illusion that there are 200 or even more IoT devices, in order to achieve the purpose of counterfeiting assets. If the system provided in this specification is used to verify the source data of IoT devices, not only can the IoT data of the IoT device be obtained, but also the inspection data obtained by the inspection device for inspecting the IoT device can be obtained. The inspection data can be used to verify whether the IoT data is true. If the IoT data is true, then the IoT device can be regarded as a real physical asset. If the IoT data is not true, then the IoT device can be regarded as a counterfeit asset. By verifying the IoT data of each IoT device, the 100 real IoT devices and the 100 fictitious IoT devices among the 200 IoT devices can be identified, so that the operator cannot counterfeit assets.

[0039] For another example, a malicious user invades an IoT device of a certain operator, and by modifying the location data and other information in the data to be uploaded locally on the IoT device, the user creates the illusion that the IoT device has not been invaded, thereby achieving the purpose of invading the IoT device. If the system provided in this specification is used to verify the source data of IoT devices, not only can the IoT data of the IoT device be obtained, but also the inspection data obtained by the inspection equipment during the inspection of the IoT device can be obtained. The IoT data can be verified to be true through the inspection data. If the IoT data is true, then the IoT device is an IoT device that has not been invaded. If the IoT data is not true, then the IoT device is an IoT device that has been invaded. By determining whether the IoT device has been invaded, the asset security of the operator can be better maintained.

[0040] For another example, if a merchant falsifies order data to make improper profits, if the system provided in this specification is used to verify the source data of IoT devices, an image acquisition device can be installed in the store, and the store can be inspected through the image acquisition device. The image captured by the image acquisition device is the inspection data obtained from the on-site inspection of the store. Since the inspection data obtained by the image acquisition device can represent information such as the customer flow of the store, the authenticity of the order data (IoT data of IoT devices) can be verified based on the inspection data.

[0041] Figure 1 FIG. 1 is a schematic diagram of the architecture of a system suitable for performing source data verification on IoT devices provided by an exemplary embodiment. Figure 1 As shown, the system includes an Internet of Things device, an inspection device and a blockchain platform, and the inspection device is deployed at the assembly site of the Internet of Things device.

[0042] Among them, the IoT device can be a device that can exchange data with other devices through the Internet. In one embodiment, the IoT device is any device such as a charging pile, a photovoltaic cell, a shared bicycle, an image acquisition device, etc., and this specification does not limit the IoT device. The IoT device can be one or more, and this specification does not limit the number of IoT devices.

[0043] Inspection equipment refers to equipment with inspection functions. In one embodiment, the inspection equipment can be any equipment such as a device equipped with a designated sensor, an intelligent robot, an embodied intelligent device, etc. Among them, the designated sensor can be any sensor such as an infrared sensor, a visual sensor, etc. that can obtain information about IoT devices, and this specification does not limit the designated sensor. An embodied intelligent device is an intelligent device that can interact with the environment in real time through perception and interaction. The embodied intelligent device can be an intelligent device of various forms, and can perform a variety of tasks in a real physical environment to complete the evolution of artificial intelligence. In addition, the inspection device can be one or more, and this specification does not limit the number of inspection devices.

[0044] One inspection device corresponds to one or several inspection areas, and the inspection device is deployed in the corresponding inspection area. Since several IoT devices are deployed in the inspection area, it can also be regarded as that the inspection device is deployed at the assembly location of the IoT device.

[0045] Taking the IoT device as a charging pile as an example, the inspection device can be deployed in a charging station, where several charging piles are deployed, and the inspection device deployed in the charging station is used for on-site inspection of the charging piles in the charging station. Of course, the inspection device can also be deployed in one charging station, and the inspection device is used for on-site inspection of the charging piles in the charging station and the charging piles in several nearby charging stations.

[0046] In this system, the IoT data of IoT devices and the inspection data of inspection equipment can be stored in the blockchain platform to ensure the security of data storage.

[0047] The blockchain platform involved in this specification may only include a blockchain network composed of several blockchain nodes. In this case, the Internet of Things devices and inspection devices can store the Internet of Things data and inspection data in the blockchain platform by initiating blockchain transactions to the blockchain nodes in the blockchain network. In addition, the blockchain platform may also include a centralized management platform, which can be connected to several blockchain networks, thereby acting as an agent relay for interacting with the blockchain network. For example, the management platform may include a BaaS platform (also referred to as a BaaS cloud) for providing blockchain as a service (BaaS, Blockchain as aService). The BaaS platform can provide pre-written software for activities occurring on the blockchain (such as database management, source data authenticity verification), and provide easy-to-use, one-click deployment, fast verification, and flexible and customizable blockchain services for communication computing devices (such as the Internet of Things devices and inspection devices involved in the embodiments of this specification) connected to the BaaS platform, thereby accelerating the development, testing, and launch of blockchain business applications, and helping the implementation of blockchain business application scenarios in various industries.

[0048] In this specification, the IoT devices and inspection devices can have built-in trusted service modules, so that the IoT devices and inspection devices can execute the logical process of data storage in the trusted service module, thereby ensuring that the data storage process is trustworthy.

[0049] Figure 2 FIG. 1 is a schematic diagram of the architecture of a system suitable for performing source data verification on an IoT device, provided by another exemplary embodiment. Figure 2 As shown, the system Figure 1 Based on the shown architecture, a verification platform can be further included.

[0050] The verification platform supports the implementation of data verification services based on the blockchain platform, for example, verifying the authenticity of IoT data, etc. The verification platform and the blockchain platform are connected through the Internet, so that the verification platform and the blockchain platform can realize information exchange.

[0051] The verification platform and the blockchain platform can be platforms provided by the same operator or by different operators, and this specification does not limit this. In addition, when the blockchain platform only includes the blockchain network itself, the verification platform involved in this specification can also be regarded as the above-mentioned BaaS platform.

[0052] Figure 3 This is a flowchart of a method for verifying source data of an IoT device provided by an exemplary embodiment. The execution subject of the method is Figure 1 The system shown or Figure 2 The system shown. Figure 3 As shown, the method includes:

[0053] Step S301: The IoT device collects data to obtain IoT data, and requests the blockchain platform to store the IoT data through the built-in trusted service module.

[0054] The IoT device in the above step S301 refers to a device belonging to the IoT device category in the system, or the IoT device is any IoT device in the system, which is not limited in this specification.

[0055] In one embodiment, the IoT data obtained by the IoT device through data collection may include internal data of the IoT device, and may also include external data of the IoT device. Exemplarily, the IoT data includes internal data, and the internal data is used to indicate the operating status of the IoT device itself. Taking the IoT device as a charging pile as an example, the internal data may include the current working status, current voltage, current current, etc. Among them, the current working status may be standby, waiting for charging, charging, or charging completed, etc. Exemplarily, the IoT data includes external data, and the external data is used to indicate the data of the external object collected by the IoT device. Taking the IoT device as an image acquisition device as an example, the external data is an image of the external object collected by the image acquisition device. The image may be a picture, a video, etc.

[0056] It should be noted that this specification only takes the example that the IoT data includes internal data or external data to exemplify the IoT data. In another embodiment, the IoT data may also include but is not limited to timestamp, location data, device identity data, etc. Among them, the timestamp is used to indicate the generation time of the IoT data; the device identity data is used to indicate the identity of the IoT device that generates the IoT data. Optionally, the device identity data is the device identification of the IoT device. For example, the device identity data is the SN (Serial Number Code) code of the IoT device. The location data is used to indicate the location of the corresponding IoT device. The location data may include longitude, latitude, and altitude; of course, the location data may also include a coordinate system type, which is the coordinate system type of the coordinate system to which the longitude, latitude, and altitude belong.

[0057] The trusted service module enables the device to automatically connect to the blockchain platform through a trusted root based on the unique characteristics of the device, realizes the trusted chaining of IoT devices and data, and performs full-process encryption to improve the data credibility of the device, providing a trusted foundation for industrial collaboration. Exemplarily, the trusted service module is the SDK (Software Development Kit) of MaaS. Among them, MaaS (Module as a Service) is a set of end-to-end, cloud-to-chain integrated software service frameworks that can be applied to AIoT (Artificial Intelligence Internet of Things) devices. Through a trusted root based on the unique characteristics of the device, the device automatically connects to the blockchain platform, realizes the trusted chaining of IoT devices and data, and performs full-process encryption to improve the data credibility of IoT devices, providing a trusted foundation for industrial collaboration.

[0058] like Figure 4 As shown, the IoT device collects data to obtain IoT data (that is, source data), and transmits the IoT data to the communication module of the IoT device; wherein, the communication module includes the device SDK and MaaS-SDK, and the device SDK is an application deployed in the IoT device to enable the normal operation of the IoT device; transmitting the IoT data to the communication module of the IoT device means first transmitting the IoT data to the device SDK, then transmitting the IoT data to the MaaS-SDK through the device SDK, and finally storing the IoT data in the blockchain platform through the MaaS-SDK, so as to realize the on-chain of IoT data, so that the IoT data will not be tampered with during the storage process. Among them, on-chain means that the data collected by the device reaches the blockchain platform through a series of secure encryption algorithms and secure links, and is stored in the blockchain platform.

[0059] In step S302, the inspection device obtains inspection data during the on-site inspection of the IoT device, and requests the blockchain platform to store the inspection data through the built-in trusted service module. The inspection data is used to indicate the status of the IoT device.

[0060] In one embodiment, if the operator of the Internet of Things device forges or tampers with the Internet of Things data, it may also forge or tamper with the inspection data to avoid the false Internet of Things data being verified. Therefore, in order to ensure that the inspection data uploaded by the inspection device is authentic, the inspection device is provided by other operators except the operator of the Internet of Things device, that is, the Internet of Things device and the inspection device are provided by different operators to ensure the authenticity of the inspection data. Among them, the operator providing the inspection device guarantees the authenticity of the inspection data. Exemplarily, the inspection device may be provided by the operator of the blockchain platform. Exemplarily, the inspection device may be provided by the operator of the verification platform. Exemplarily, the inspection device may be provided by a third-party operator. Exemplarily, the inspection device may be provided by a trusted institution. In this way, it can be ensured that the inspection data uploaded by the inspection device is authentic.

[0061] In this specification, the inspection data is used to indicate the state of the IoT device. Exemplarily, the inspection data is used to indicate the operating state of the IoT device. Taking the IoT device as a charging pile as an example, the inspection data may include the current working state, current voltage, current current, etc. Among them, the current working state may be standby, waiting for charging, charging, or charging completed, etc. Exemplarily, the inspection data is used to indicate the existence state of the IoT device, and the existence state is that the IoT device exists or the IoT device does not exist. Of course, the inspection data may also include but is not limited to timestamps, location data, device identity data, etc. Among them, the timestamp is used to indicate the generation time of the inspection data; the device identity data is used to indicate the identity of the inspection device, and optionally, the device identity data is the device identification of the inspection device, for example, the device identity data is the SN (Serial Number Code, serial number code) code of the inspection device. The location data is used to indicate the location of the corresponding inspection device, and the location data may include longitude, latitude, and altitude; of course, the location data may also include a coordinate system type, which is the coordinate system type of the coordinate system to which the longitude, latitude, and altitude belong.

[0062] Next, an example of how the inspection equipment inspects IoT devices on-site is described:

[0063] In an illustrated embodiment, the system includes a plurality of IoT devices, and the inspection device is used to inspect at least a portion of the IoT devices among the plurality of IoT devices. In order to enable the inspection device to inspect the at least a portion of the IoT devices more accurately, an electronic map of the inspection area can be provided to the inspection device, and the IoT devices that need to be inspected by the inspection device are marked in the electronic map, so that the inspection device can find the IoT devices that need to be inspected according to the electronic map and inspect the IoT devices. Among them, the inspection device obtains inspection data during the on-site inspection of the IoT devices, including: obtaining an electronic map of the inspection area, the IoT devices that need to be inspected by the inspection device are marked in the electronic map, and the IoT devices that need to be inspected by the inspection device are at least a portion of the IoT devices among the plurality of IoT devices included in the system; based on the electronic map, driving to the position corresponding to any marked IoT device, performing on-site inspection on the IoT device, and obtaining the inspection data of the IoT device.

[0064] Among them, the electronic map is marked with IoT devices that need to be inspected by the inspection equipment. The inspection equipment can automatically plan the driving route according to the markings in the electronic map, and inspect each IoT device marked in the electronic map in turn. It should be noted that the inspection equipment can inspect IoT devices in only one inspection area, or it can inspect IoT devices in multiple inspection areas. When the inspection equipment inspects IoT devices in multiple inspection areas, the above steps can be performed in turn for the electronic map of each inspection area.

[0065] The electronic map may be provided by the operator of the IoT device. Of course, the electronic map may also be provided by other operators. This specification does not limit the electronic map.

[0066] The position corresponding to any marked IoT device can be any position around the IoT device, or a relative position relationship between the IoT device and the inspection device may be pre-set. The position corresponding to the IoT device is a position that satisfies the relative position relationship. This specification does not limit the position corresponding to the IoT device.

[0067] Next, the method of obtaining inspection data by the inspection device is described as follows:

[0068] In an illustrated embodiment, the inspection device first determines whether the IoT device exists. If the IoT device exists, an on-site inspection is performed on the IoT device to obtain inspection data. If the IoT device does not exist, the preset inspection data used to indicate that the IoT device does not exist is directly used as the inspection data of the IoT device. The inspection device drives to the location corresponding to any marked IoT device based on an electronic map, performs an on-site inspection on the IoT device, and obtains the inspection data of the IoT device, including: the inspection device drives to the location corresponding to any marked IoT device based on an electronic map, determines whether the IoT device exists, performs an on-site inspection on the IoT device if the IoT device exists, and obtains first inspection data. If the IoT device does not exist, second inspection data is generated, and the second inspection data is used to indicate that the IoT device does not exist.

[0069] In one embodiment, the second inspection data is generated based on preset status data. If a certain IoT device does not exist, the inspection device obtains the preset status data, and generates the second inspection data based on the status data, the device identity data of the IoT device, and a timestamp. The preset status data is used to indicate that the device does not exist.

[0070] Among them, different inspection equipment has different on-site inspection methods. This specification only exemplifies the inspection methods of the inspection equipment with the following embodiments.

[0071] In one embodiment, the inspection device is provided with a mechanical arm, and the inspection device performs on-site inspection on the IoT device through the mechanical arm. If the IoT device exists, the on-site inspection is performed on the IoT device to obtain first inspection data, including: if the IoT device exists, the inspection device inserts its own mechanical arm into the target interface of the IoT device, reads the device data of the IoT device from the IoT device based on the target interface, and obtains the first inspection data.

[0072] In another embodiment, the inspection device is provided with an infrared sensor, and the inspection device performs an on-site inspection on the IoT device through the infrared sensor. If the IoT device exists, the on-site inspection is performed on the IoT device to obtain the first inspection data, including: if the IoT device exists, the inspection device obtains a thermal image of the IoT device through the infrared sensor to obtain the first inspection data.

[0073] If the IoT device is a model, then the IoT device will not work, so there will be no situation where different areas of the IoT device heat differently; if the IoT device is a real running device, the different operating states of different components of the IoT device during operation will cause different heating conditions in different areas of the IoT device. Therefore, it is possible to determine whether the IoT device is a model or a real running device based on the thermal image of the IoT device.

[0074] In another embodiment, the inspection method of the inspection device is: to determine whether the Internet of Things device is a three-dimensional device by circling the Internet of Things device. If the Internet of Things device exists, the Internet of Things device is inspected on site to obtain first inspection data, including: if the Internet of Things device exists, the inspection device circles the Internet of Things device to obtain the first inspection data. The first inspection data is used to indicate whether the Internet of Things device is three-dimensional or flat. When the first inspection data indicates that the Internet of Things device is three-dimensional, the Internet of Things device is a real Internet of Things device; when the first inspection data indicates that the Internet of Things device is flat, the Internet of Things device is a false Internet of Things device.

[0075] In another illustrated embodiment, the inspection device does not need to determine whether the IoT device exists, but directly photographs the location of the IoT device, and the image obtained by the photographing can indicate whether the IoT device exists and / or the operating status of the IoT device. The inspection device drives to the location corresponding to any marked IoT device based on the electronic map, performs on-site inspection of the IoT device, and obtains the inspection data of the IoT device, including: the inspection device drives to the location corresponding to any marked IoT device based on the electronic map, obtains the third inspection data by photographing the target location, and the target location is the location of any IoT device indicated by the electronic map.

[0076] Among them, the third inspection data may include pictures or videos taken by the inspection device at the target location, and may also include timestamps, location data of the inspection device, device identity data of the inspection device, etc. This specification does not limit the third inspection data.

[0077] In one embodiment, the third inspection data may not only indicate whether the IoT device exists, but also indicate the operating status of the IoT device. Exemplarily, if the pictures or videos included in the third inspection data do not include the IoT device, it is determined that the IoT device does not exist. If the pictures or videos included in the third inspection data include the IoT device, and the operating status data of the IoT device is displayed on the display screen of the IoT device, it is determined that the IoT device exists, and the operating status of the IoT device can be determined based on the operating status data on the display screen of the IoT device.

[0078] For example, taking the IoT device as a charging pile, the display screen of the charging pile displays the SN code, current voltage, current current and current working status of the charging pile. By shooting the location of the charging pile, a picture or video of the charging pile can be obtained, and the SN code, current voltage, current current and current working status of the charging pile can be determined based on the picture or video of the charging pile.

[0079] In another illustrated embodiment, since the operator of the IoT device has the distribution information of the IoT device, the electronic map used by the inspection device can be provided by the operator of the IoT device. If the operator of the IoT device forges or tampers with the IoT data of the IoT device, then the operator may also forge or tamper with the electronic map. For this reason, this specification also provides a solution for how the inspection device conducts on-site inspections if the electronic map is forged or tampered with. Among them, the inspection device drives to the location corresponding to any marked IoT device based on the electronic map, conducts on-site inspections on the IoT device, and obtains the inspection data of the IoT device, including: the inspection device drives to the inspection area based on the electronic map, and if the difference between the actual geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset conditions, the inspection of the IoT devices in the inspection area is terminated, and fourth inspection data is generated for each IoT device marked in the electronic map, and the fourth inspection data is used to indicate that the IoT device does not exist.

[0080] Among them, the preset condition refers to the condition that needs to be met when the real geographical environment of the inspection area is significantly different from the geographical environment indicated by the electronic map. In one embodiment, the preset condition indicates that the difference between the real geographical environment of the inspection area and the geographical environment indicated by the electronic map is not less than a first value. If the difference between the real geographical environment of the inspection area and the geographical environment indicated by the electronic map is not less than the first value, it is determined that the difference between the real geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset condition; if the difference between the real geographical environment of the inspection area and the geographical environment indicated by the electronic map is less than the first value, it is determined that the difference between the real geographical environment of the inspection area and the geographical environment indicated by the electronic map does not meet the preset condition.

[0081] The first value may be any value, for example, an empirical value, a value set by a technician, a system default value, etc. This specification does not limit the first value.

[0082] In one embodiment, the preset condition indicates that the environment type of the real geographical environment of the inspection area is different from the environment type of the geographical environment indicated by the electronic map. Exemplarily, if the real geographical environment of the inspection area is a residential area, and the geographical environment indicated by the electronic map is a factory, it is determined that the difference between the real geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset condition. Exemplarily, if the real geographical environment of the inspection area is a mountain, and the geographical environment indicated by the electronic map is a grassland, it is determined that the difference between the real geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset condition.

[0083] The trusted service module uses a trusted root based on the unique characteristics of the device to automatically connect the device to the blockchain platform, realize the trusted chain of inspection equipment and data, and perform full-process encryption to improve the data credibility of the device and provide a trusted foundation for industrial collaboration. Exemplarily, the trusted service module is the SDK (Software Development Kit) of MaaS.

[0084] like Figure 4 As shown, the inspection device obtains the inspection data of the IoT device through its own sensors (such as visual sensors, infrared sensors, robotic arms, etc.), uploads the inspection data to the MaaS-SDK of the inspection device, and stores the inspection data on the blockchain platform through the MaaS-SDK, so that the inspection data will not be tampered with during the storage process.

[0085] Step S303: The blockchain platform receives and stores the IoT data, and receives and stores the inspection data.

[0086] In one embodiment shown, the blockchain platform only stores the IoT data and the inspection data, and does not further process the stored IoT data and the inspection data. Later, other platforms can obtain the IoT data and the inspection data from the blockchain platform for further processing, for example, verifying whether the IoT data is authentic based on the inspection data. In another embodiment shown, the blockchain platform not only stores the IoT data and the inspection data, but also can further process the IoT data and the inspection data, for example, verifying whether the IoT data is authentic based on the inspection data.

[0087] In an illustrated embodiment, the blockchain platform can not only store IoT data and inspection data, but also verify the authenticity of IoT data based on the inspection data. In one embodiment, the blockchain platform is deployed with a smart contract for verifying the authenticity of IoT data, and the blockchain platform can complete the authenticity verification of IoT data by calling the smart contract. The blockchain platform responds to the contract call transaction of the smart contract and calls the smart contract to: obtain the target IoT data that needs to be verified, the target inspection data that meets the matching conditions between the target IoT data and the evidence stored in the blockchain platform, and verify whether the target IoT data is authentic based on the target inspection data. The matching condition indicates the conditions that the inspection data with reference value for the target IoT data must meet.

[0088] The contract call transaction can be sent by any client to the blockchain platform, or by any platform to the blockchain platform. For example, the contract call transaction is sent by the trusted platform to the blockchain platform, and this specification does not limit this.

[0089] In one embodiment, the contract call transaction is sent when there is a need to verify the authenticity of the IoT data. In another embodiment, the contract call transaction is sent once every target time period. Exemplarily, when the contract call transaction is sent once every target time period, the blockchain platform responds to the contract call transaction of the smart contract and calls the smart contract to use the smart contract to: for the newly added target IoT data to be verified, obtain the newly added target inspection data stored in the blockchain platform and that meets the matching conditions with the target IoT data, and verify whether the newly added target IoT data is authentic based on the newly added target inspection data.

[0090] The newly added target IoT data refers to the IoT data that is stored in the blockchain platform during the period from the last time the contract call transaction was received to the current time (that is, the time when the contract call transaction is received this time). The newly added target inspection data refers to the inspection data that is stored in the blockchain platform during the period from the last time the contract call transaction was received to the current time.

[0091] One point that needs to be explained is that the above-mentioned method of "the blockchain platform obtains the target inspection data that meets the matching condition between the target IoT data that needs to be verified and stored in the blockchain platform" is similar to the method in the following step S304 "the verification platform obtains the target inspection data that meets the matching condition between the target IoT data that needs to be verified and stored in the blockchain platform", and can refer to the following step S304, which will not be repeated here.

[0092] The above-mentioned method of "verifying whether the target IoT data is authentic based on the target inspection data in the blockchain platform" is the same as the method of "verifying whether the target IoT data is authentic based on the target inspection data by the verification platform" in the following step S305. Please refer to the following step S305 and will not be repeated here.

[0093] Another point to be explained is that the authenticity verification process of IoT data can be carried out in the blockchain platform or in the verification platform. When the authenticity verification process of IoT data is carried out in the blockchain platform, the method may not include the following steps S304 to S305, such as Figure 3 As shown; when the authenticity verification process of the IoT data is not performed on the blockchain platform, the method may include the following steps 304 to S305, such as Figure 5 shown.

[0094] In step S304, the verification platform obtains the target inspection data stored in the blockchain platform that meets the matching conditions with the target IoT data to be verified, and the matching conditions indicate the conditions that the inspection data must meet to have reference value for the target IoT data.

[0095] Step S305: The verification platform verifies whether the target IoT data is authentic based on the target inspection data.

[0096] It should be noted that the above steps S304 to S305 are similar to the following steps S701 to S702, and reference may be made to the following steps S701 to S702, which will not be described one by one here.

[0097] Next, Figure 6 The process shown in the figure is an exemplary description of the method of verifying the source data of IoT devices. Figure 6As shown in the figure, the IoT data of the IoT device is sent from the source to the device SDK, then from the device SDK to the MaaS-SDK, and finally stored in the blockchain platform through the MaaS-SDK, ensuring the trusted flow of IoT data from the IoT device to the verification platform; among them, the IoT data stored in the IoT device is the "account" in "account-to-reality"; the inspection device obtains the inspection data through inspection and stores the inspection data in the blockchain platform; the inspection data stored in the inspection device is the "reality" in "account-to-reality"; the verification platform obtains the IoT data stored in the IoT device and the inspection data stored in the inspection device from the blockchain platform, and makes a consistency judgment to determine whether the "account" and "reality" are consistent. If the "account" and "reality" are consistent, the IoT data is true, and if the "account" and "reality" are not consistent, the IoT data is not true. Among them, account-to-reality is an accounting term, which is the abbreviation for the verification of the consistency between the accounting book records and the actual number of physical objects and funds. Among them, accounting books refer to books composed of pages of a certain format, which are based on accounting vouchers and record various economic transactions comprehensively, systematically and continuously.

[0098] In the above technical solution, by deploying inspection equipment at the assembly site of the IoT device, the inspection equipment inspects the IoT device on site and obtains inspection data, and the IoT data of the IoT device and the inspection data obtained by inspecting the IoT device are stored in the blockchain platform together. In this way, if the authenticity of the IoT data is suspected, the inspection data can be obtained from the blockchain platform to verify the IoT data. Therefore, this specification provides a system suitable for verifying the source data of the IoT device, making it possible to verify the authenticity of the source data of the IoT device.

[0099] In addition, the above system can also verify the authenticity of IoT data based on inspection data in a blockchain platform or a verification platform, so that false IoT data can be found from the stored IoT data to prevent false IoT data from having an adverse effect on a series of subsequent operations or decisions.

[0100] Figure 7 This is a flowchart of a method for verifying source data of an IoT device provided by an exemplary embodiment. The execution subject of the method is a verification platform, such as Figure 7 As shown, the method includes:

[0101] Step S701, for the target IoT data to be verified, obtain the target inspection data stored in the blockchain platform that meets the matching conditions with the target IoT data, where the matching conditions indicate the conditions that the inspection data that has reference value to the target IoT data must meet.

[0102] In the above step S701, the target IoT data to be verified can be the IoT data stored in all IoT devices in the system, or the IoT data stored in some IoT devices in the system, or the IoT data stored in specified IoT devices in the system, or the IoT data stored in any IoT device in the system. This specification does not limit this.

[0103] In one embodiment, the target IoT data to be verified is the IoT data stored in the IoT device of a certain operator in the system; for the target IoT data to be verified, obtaining the target inspection data stored in the blockchain platform that meets the matching conditions with the target IoT data means: obtaining the inspection data stored in the blockchain platform for the inspection data of the IoT device of the operator. Subsequently, when verifying the target IoT data based on the target inspection data, the corresponding relationship between each target IoT data and each target inspection data is determined one by one, and the authenticity of the target IoT data is verified based on the corresponding target inspection data.

[0104] In another embodiment, the target IoT data to be verified is IoT data stored in a designated IoT device in the system, or IoT data stored in any IoT device in the system. For the target IoT data to be verified, obtaining the target inspection data stored in the blockchain platform that meets the matching condition with the target IoT data refers to: obtaining the inspection data obtained by the inspection device inspecting the IoT device from the blockchain platform.

[0105] In an illustrated embodiment, the matching condition includes at least one of the following:

[0106] (1) A device matching condition, where the device matching condition indicates that the inspection data and the IoT data correspond to the same IoT device.

[0107] Among them, when the target IoT data to be verified is the IoT data of an IoT device, the target inspection data that meets the device matching condition with the target IoT data is the inspection data obtained by an on-site inspection of the IoT device. When the target IoT data to be verified is the IoT data of multiple IoT devices, the target inspection data that meets the device matching condition with the target IoT data is the inspection data obtained by an on-site inspection of the multiple IoT devices. For example, the target IoT data to be verified is the IoT data of IoT device A, IoT device B, and IoT device C, and the target inspection data is the inspection data obtained by on-site inspections of IoT device A, IoT device B, and IoT device C, respectively.

[0108] (2) A time matching condition, which indicates that the timestamp in the inspection data matches the timestamp in the IoT data.

[0109] The timestamp in the inspection data matches the timestamp in the IoT data, which can be the same as the timestamp in the inspection data, or the difference between the timestamp in the inspection data and the timestamp in the IoT data does not exceed a second value, which can be any value, for example, 1 second, 5 seconds, 10 seconds, 1 minute, etc. The second value can be an empirical value, a value set by a technician, or a system default value, and this specification does not limit the second value.

[0110] (3) A first location matching condition, wherein the first location matching condition indicates that the location data in the inspection data matches the location data in the IoT data.

[0111] Among them, the location data in the inspection data is used to indicate the location of the inspection equipment, and the location data in the IoT data is used to indicate the location of the IoT device. Therefore, the matching of the location data in the inspection data with the location data in the IoT data means that the distance between the location indicated by the location data in the inspection data and the location indicated by the location data in the IoT data does not exceed a third value, and the third value can be any value, for example, 20 meters, 50 meters, etc. The third value can be an empirical value, a value set by a technician, or a system default value, and this specification does not limit the third value.

[0112] (4) A second location matching condition, wherein the second location matching condition indicates that the IoT device corresponding to the IoT data belongs to the inspection object range of the inspection device corresponding to the inspection data.

[0113] The system may include multiple IoT devices and multiple inspection devices, and the multiple inspection devices cooperate to complete on-site inspections of the multiple IoT devices. In order to enable multiple inspection devices to perform division of labor and cooperation more accurately, the inspection object range can be configured for each inspection device. Among them, the way to configure the inspection object range for each inspection device can be to directly configure the inspection object range for each inspection device. For example, the inspection object range configured for inspection device A is 0-100, indicating that the number of IoT devices that inspection device A needs to inspect is 0-100; or the inspection object range can be configured for the inspection device by configuring an inspection area for each inspection device. For example, inspection area a is configured for inspection device A, and the electronic map of inspection area a marks the IoT devices that need to be inspected by the inspection device in the inspection area, so that the inspection object range of inspection device A can be determined according to the markings in the electronic map.

[0114] In one embodiment, the inspection object range includes device identity data of multiple IoT devices. In another embodiment, the inspection object range includes the maximum number and the minimum number of multiple IoT devices that need to be inspected by the inspection device. This specification does not limit the way in which the inspection object range is expressed.

[0115] Next, this specification provides an exemplary description of the timing when the verification platform verifies whether the IoT data is authentic:

[0116] In an illustrated embodiment, the verification platform performs a step of verifying whether the IoT data is authentic when there is a verification requirement. The verification platform obtains the target inspection data stored in the blockchain platform that meets the matching conditions with the target IoT data for the target IoT data to be verified, including: the verification platform responds to receiving the verification request, and obtains the target inspection data stored in the blockchain platform that meets the matching conditions with the target IoT data for the target IoT data to be verified. The verification request can be sent by any client, and this specification does not limit the object of sending the verification request.

[0117] In another illustrated embodiment, the verification platform performs a step of verifying whether the IoT data is authentic once every certain period of time. The verification platform obtains target inspection data stored in the blockchain platform and that meets the matching conditions with the target IoT data for the target IoT data to be verified, including: the verification platform performs a step of obtaining the newly added target inspection data stored in the blockchain platform and that meets the matching conditions with the target IoT data for the newly added target IoT data to be verified once every target period of time.

[0118] Among them, the newly added target IoT data that needs to be verified refers to: the IoT data received during the time period between the last time the IoT data authenticity verification was performed and the current time (that is, the time when the IoT data authenticity verification is performed this time); the newly added target inspection data refers to: the inspection data received during the time period between the last time the IoT data authenticity verification was performed and the current time (that is, the time when the IoT data authenticity verification is performed this time).

[0119] Step S702: Verify whether the target IoT data is authentic based on the target inspection data.

[0120] In an illustrated embodiment, the verification platform can verify whether the target IoT data is authentic based on at least one judgment condition. Verifying whether the target IoT data is authentic based on the target inspection data includes: when the target inspection data satisfies at least one judgment condition, determining that the target IoT data is authentic.

[0121] The at least one judgment condition includes at least one of the following:

[0122] (1) A first judgment condition, wherein the first judgment condition indicates that the target inspection data indicates that the IoT device actually exists.

[0123] By forging or tampering with the IoT data uploaded by IoT device A, the illusion of the existence of IoT device B can be forged. For example, by forging or tampering with the device identity data, location data, etc. in the IoT data uploaded by IoT device A, the existence of IoT device B at location Z can be forged. By performing on-site inspections at location Z using inspection equipment, it can be determined that IoT device B does not exist at location Z at all, and the corresponding IoT data is forged or tampered with, and is not authentic. Therefore, when the target inspection data meets the first judgment condition, it can be determined that the target IoT data is authentic; when the target inspection data does not meet the first judgment condition, it can be determined that the target IoT data is not authentic.

[0124] (2) A second judgment condition, wherein the second judgment condition indicates that the target inspection data indicates that the IoT device is in operation.

[0125] When the IoT data uploaded by IoT device A is forged or tampered with to create the illusion that IoT device B exists, in order to deceive the on-site inspection of the inspection device, the malicious user may place a fake IoT device model at position Z, making the inspection device believe that IoT device B actually exists at position Z. In order to accurately verify the authenticity of IoT data in this case, a second judgment condition is also set; when the target inspection data meets the second judgment condition, it can be determined that the target IoT data is authentic; when the target inspection data does not meet the second judgment condition, it can be determined that the target IoT data is not authentic.

[0126] In an illustrated implementation, the first judgment condition and the second judgment condition can be applied to a scenario in which an IoT device collects external data. In one embodiment, the target IoT data includes external data, which is used to represent data of an external object collected by the target IoT device, and the target inspection data is used to represent the existence status of the target IoT device. When the target inspection data satisfies at least one judgment condition, the target IoT data is determined to be true, including: when the target inspection data satisfies the first judgment condition and / or the second judgment condition, the target IoT data is determined to be true.

[0127] (3) A third judgment condition, which indicates that the operating status of the Internet of Things device represented by the target inspection data is consistent with the operating status of the target Internet of Things device represented by the target Internet of Things data.

[0128] In an illustrated implementation, the third judgment condition can be applied to a scenario where an IoT device collects internal data. In one embodiment, the target IoT data includes internal data, the internal data is used to represent the operating status of the target IoT device itself, and the target inspection data is used to represent the operating status of the target IoT device. The target IoT data and the target inspection data can be judged for consistency. If the target inspection data is consistent with the target IoT data, the target IoT data is determined to be true; if the target inspection data is inconsistent with the target IoT data, the target IoT data is determined to be false. Wherein, when the target inspection data satisfies at least one judgment condition, the target IoT data is determined to be true, including: when the target inspection data satisfies the third judgment condition, the target IoT data is determined to be true.

[0129] Exemplarily, taking the IoT device as a charging pile, the target IoT data includes the current working state, current current and current voltage. The target inspection data is an image of the charging pile. By identifying the image, the current working state, current current and current voltage of the charging pile can be obtained. Among them, the current working state, current current and current voltage of the charging pile can be determined based on the position of the charging gun in the charging pile and the information displayed on the display screen of the charging pile. If the current working state, current current and current voltage contained in the target IoT data are consistent with the current working state, current current and current voltage of the charging pile determined based on the target inspection data, the target IoT data is determined to be true.

[0130] (4) A fourth judgment condition, which indicates that the location data in the target inspection data matches the location data in the target IoT data.

[0131] Among them, the location data in the target inspection data is used to indicate the location of the inspection equipment, and the location data in the target IoT data is used to indicate the location of the IoT device. Since the target inspection data is obtained by the inspection equipment performing on-site inspections on the IoT device, the location of the inspection equipment indicated by the location data in the target inspection data should be close to the location of the IoT device indicated by the location data in the target IoT data. Therefore, the matching of the location data in the target inspection data with the location data in the target IoT data means that the distance between the location of the inspection equipment indicated by the location data in the target inspection data and the location of the IoT device indicated by the location data in the target IoT data does not exceed a third value, and the third value can be any value, for example, 20 meters, 50 meters, etc. The third value can be an empirical value, a value set by a technician, or a system default value. This specification does not limit the third value.

[0132] (5) A fifth judgment condition, which indicates that the IoT device corresponding to the target IoT data belongs to the inspection object range of the inspection device corresponding to the target inspection data.

[0133] By forging or tampering with the IoT data uploaded by IoT device A, the illusion of the existence of IoT device B can be forged. However, the inspection object range of the inspection device is determined based on the electronic map of the inspection device. Therefore, the inspection object range is a real inspection object range and will not include IoT device B, which does not exist at all. Therefore, the inspection object range can be used to determine whether the IoT device actually exists, thereby determining whether the corresponding IoT data is true.

[0134] In one embodiment, the method also includes: obtaining a target electronic map used by the target inspection device during the inspection process; determining the inspection object scope of the target inspection device based on the device identity data of the Internet of Things devices that need to be inspected by the target inspection device marked in the target electronic map; if the target Internet of Things device belongs to the inspection object scope, determining that the target inspection data meets the fifth judgment condition.

[0135] Among them, the target electronic map used by the target inspection equipment during the inspection process can be obtained from the blockchain platform. When the target inspection equipment inspects the IoT device on-site, not only the inspection data can be stored in the blockchain platform, but also the target electronic map used can be stored in the blockchain platform.

[0136] Next, the above steps S701 to S702 are described in an exemplary embodiment:

[0137] IoT data includes device identity data, timestamp, location data and internal data, and inspection data includes device identity data, timestamp, location data and images obtained by photographing IoT devices. Image recognition of images in inspection data can obtain the device identity data of the photographed IoT device and the operating status data of the IoT device. For the target IoT data to be verified, obtain the target inspection data stored in the blockchain platform that meets the device matching conditions and time matching conditions with the target IoT data, determine whether the location data in the target inspection data matches the location data in the target IoT data, and whether the operating status data determined based on the target inspection data matches the internal data in the target IoT data. If the location data in the target inspection data matches the location data in the target IoT data, and the operating status data determined based on the target inspection data matches the internal data in the target IoT data, then the target IoT data is determined to be authentic, so that the credibility of the target IoT device corresponding to the target IoT data can be further determined.

[0138] One point that needs to be explained is that the verification platform is a platform used to verify whether IoT data and / or IoT devices are trustworthy. Therefore, the verification platform can also be called a trusted platform, and this specification does not limit this.

[0139] Another point that needs to be explained is that the frequency of IoT devices storing IoT data is different from the frequency of inspection devices storing inspection data. For example, IoT devices store IoT data every 1 minute, and inspection devices inspect IoT devices every week. Therefore, for the target IoT data to be verified, when obtaining the target inspection data stored in the blockchain platform that meets the matching conditions with the target IoT data, it is only necessary to verify the IoT data whose timestamp matches the timestamp of the inspection data.

[0140] In the above technical scheme, by deploying inspection equipment at the assembly site of the IoT device, the inspection equipment inspects the IoT device on-site and obtains inspection data, and the IoT data of the IoT device and the inspection data obtained by inspecting the IoT device are stored in the blockchain platform together. The verification platform can obtain the target inspection data and target IoT data from the blockchain platform, and verify whether the target IoT data is true based on the target inspection data, thereby avoiding false IoT data from having an adverse effect on a series of subsequent operations or decisions.

[0141] Figure 8 This is a flowchart of a method for verifying source data of an IoT device provided by an exemplary embodiment. The execution subject of the method is a patrol device; Figure 8 As shown, the method includes:

[0142] Step S801, obtaining inspection data during on-site inspection of IoT devices, where the inspection data is used to indicate the status of the IoT devices.

[0143] In an illustrated embodiment, the system includes multiple IoT devices. Obtaining inspection data during on-site inspection of IoT devices includes: obtaining an electronic map of the inspection area, the electronic map is marked with IoT devices that need to be inspected by the inspection device, and the IoT devices that need to be inspected by the inspection device are at least a part of the multiple IoT devices; based on the electronic map, driving to a location corresponding to any marked IoT device, performing on-site inspection of the IoT device, and obtaining inspection data of the IoT device.

[0144] In one embodiment, based on an electronic map, driving to a location corresponding to any marked IoT device, performing an on-site inspection of the IoT device, and obtaining inspection data of the IoT device includes: based on an electronic map, driving to a location corresponding to any marked IoT device, determining whether the IoT device exists, if the IoT device exists, performing an on-site inspection of the IoT device to obtain first inspection data, if the IoT device does not exist, generating second inspection data, the second inspection data being used to indicate that the IoT device does not exist.

[0145] In another embodiment, based on the electronic map, drive to the position corresponding to any marked IoT device, perform on-site inspection of the IoT device, and obtain inspection data of the IoT device, including: based on the electronic map, drive to the position corresponding to any marked IoT device, obtain third inspection data by photographing the target position, and the target position is the position of any IoT device indicated by the electronic map.

[0146] In another embodiment, based on the electronic map, drive to the location corresponding to any marked IoT device, perform on-site inspection of the IoT device, and obtain inspection data of the IoT device, including: based on the electronic map, drive to the inspection area, if the difference between the actual geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset conditions, then terminate the inspection of the IoT devices in the inspection area, and generate fourth inspection data for each IoT device marked in the electronic map, the fourth inspection data is used to indicate that the IoT device does not exist.

[0147] Step S802, requesting the blockchain platform to store inspection data through the built-in trusted service module. The blockchain platform is also used to store IoT data obtained by IoT devices through data collection and requested to be stored through the built-in trusted service module.

[0148] It should be noted that the above steps S801 to S802 are similar to the above step S302, and reference may be made to the above step S302, which will not be described in detail here.

[0149] In the above technical scheme, by deploying inspection equipment at the assembly site of the IoT device, the inspection equipment inspects the IoT device on site and obtains the inspection data, and the IoT data of the IoT device and the inspection data obtained by inspecting the IoT device are stored in the blockchain platform together. In this way, if the authenticity of the IoT data is in doubt, the inspection data can be obtained from the blockchain platform to verify the IoT data, thereby achieving "account consistency" for IoT data, providing a more solid foundation for the application of IoT data in insurance, financing and other fields.

[0150] This specification also provides a system suitable for performing source data verification on an IoT device, the system comprising an IoT device, an inspection device and a blockchain platform, wherein the inspection device is deployed at the assembly location of the IoT device;

[0151] IoT devices are used to collect IoT data and request the blockchain platform to store IoT data through the built-in trusted service module;

[0152] Inspection equipment is used to obtain inspection data during on-site inspection of IoT devices. The inspection data is stored on the blockchain platform through the built-in trusted service module. The inspection data is used to indicate the status of IoT devices.

[0153] The blockchain platform is used to receive and store IoT data, as well as receive and store inspection data.

[0154] In one illustrated embodiment, the system includes a plurality of IoT devices; the inspection device is specifically used for:

[0155] Obtain an electronic map of the inspection area, where the electronic map marks the IoT devices that need to be inspected by the inspection device, and the IoT devices that need to be inspected by the inspection device are at least a part of the multiple IoT devices;

[0156] Based on the electronic map, drive to the location corresponding to any marked IoT device, conduct on-site inspection of the IoT device, and obtain the inspection data of the IoT device.

[0157] In an illustrated embodiment, the inspection device is used to drive to a location corresponding to any marked IoT device based on an electronic map, determine whether the IoT device exists, and if the IoT device exists, perform an on-site inspection on the IoT device to obtain first inspection data; if the IoT device does not exist, generate second inspection data, and the second inspection data is used to indicate that the IoT device does not exist;

[0158] or,

[0159] The inspection device is used to drive to a position corresponding to any IoT device marked on the electronic map, and obtain third inspection data by photographing the target position, where the target position is the position of any IoT device indicated on the electronic map;

[0160] or,

[0161] The inspection equipment is used to drive to the inspection area based on the electronic map. If the difference between the actual geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset conditions, the inspection of the Internet of Things devices in the inspection area is terminated, and fourth inspection data is generated for each Internet of Things device marked in the electronic map. The fourth inspection data is used to indicate that the Internet of Things device does not exist.

[0162] In one illustrated embodiment, the system further includes a verification platform;

[0163] The verification platform is specifically used to obtain the target inspection data stored in the blockchain platform that meets the matching conditions with the target IoT data to be verified, and the matching conditions indicate the conditions that the inspection data with reference value to the target IoT data must meet;

[0164] Verify whether the target IoT data is authentic based on the target inspection data.

[0165] In an illustrated embodiment, the matching condition includes at least one of the following:

[0166] Device matching condition, the device matching condition indicates that the inspection data and the IoT data correspond to the same IoT device;

[0167] A time matching condition, which indicates that the timestamp in the inspection data matches the timestamp in the IoT data;

[0168] A first location matching condition, the first location matching condition indicating that location data in the inspection data matches location data in the IoT data;

[0169] The second location matching condition indicates that the Internet of Things device corresponding to the Internet of Things data belongs to the inspection object range of the inspection device corresponding to the inspection data.

[0170] In an illustrated embodiment, the verification platform is used to: determine that the target IoT data is authentic when the target inspection data satisfies at least one judgment condition;

[0171] At least one judgment condition, including at least one of the following:

[0172] The first judgment condition indicates that: the target inspection data indicates that the IoT device actually exists;

[0173] The second judgment condition indicates that: the target inspection data indicates that the IoT device is in operation;

[0174] A third judgment condition, the third judgment condition indicates that: the operating state of the IoT device represented by the target inspection data is consistent with the operating state of the IoT device represented by the target IoT data;

[0175] A fourth judgment condition, the fourth judgment condition indicates that: the location data in the target inspection data matches the location data in the target IoT data;

[0176] The fifth judgment condition indicates that: the Internet of Things device corresponding to the target Internet of Things data belongs to the inspection object range of the inspection device corresponding to the target inspection data.

[0177] In an illustrated embodiment, the target IoT data includes internal data, the internal data is used to indicate the operating state of the target IoT device itself, and the target inspection data is used to indicate the operating state of the target IoT device; the verification platform is specifically used to: when the target inspection data satisfies the third judgment condition, determine that the target IoT data is true;

[0178] or,

[0179] The target IoT data includes external data, which is used to represent the data of external objects collected by the target IoT device, and the target inspection data is used to represent the existence status of the target IoT device; the verification platform is specifically used to: when the target inspection data meets the first judgment condition and / or the second judgment condition, determine that the target IoT data is true.

[0180] In one illustrated embodiment, the verification platform is specifically configured to:

[0181] Obtain the target electronic map used by the target inspection equipment during the inspection process;

[0182] Determine the inspection object scope of the target inspection device based on the device identity data of the IoT devices that need to be inspected by the target inspection device marked in the target electronic map;

[0183] If the target IoT device belongs to the inspection object scope, it is determined that the target inspection data meets the fifth judgment condition.

[0184] In one illustrated embodiment, the blockchain platform is deployed with a smart contract for verifying the authenticity of IoT data;

[0185] A blockchain platform is used to respond to a contract call transaction of a smart contract and call the smart contract to: obtain, through the smart contract, for the target IoT data that needs to be verified, the target inspection data that meets the matching conditions between the target IoT data and the evidence stored in the blockchain platform, and verify whether the target IoT data is authentic based on the target inspection data, wherein the matching conditions indicate the conditions that the inspection data that has reference value for the target IoT data must meet.

[0186] Fig. 9 is a schematic structural diagram of a device provided by an exemplary embodiment. Fig. 9At the hardware level, the device includes a processor 902, an internal bus 904, a network interface 906, a memory 908, and a non-volatile memory 910, and may also include hardware required for other functions. One or more embodiments of this specification may be implemented based on software, such as the processor 902 reading the corresponding computer program from the non-volatile memory 910 into the memory 908 and then running it. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0187] Please refer to Fig.10 , the device suitable for source data verification of IoT devices can be applied to Fig. 9 The device shown in the figure is used to implement the technical solution of this specification. Among them, the device suitable for performing source data verification on the Internet of Things device may include:

[0188] The acquisition unit 1001 is used to acquire inspection data during the on-site inspection of the IoT device, where the inspection data is used to indicate the status of the IoT device;

[0189] The evidence storage unit 1002 is used to request the blockchain platform to store inspection data through the built-in trusted service module. The blockchain platform is also used to store IoT data obtained by IoT devices through data collection and requested to be stored through the built-in trusted service module.

[0190] In one illustrated embodiment, the acquisition unit 1001 is used to obtain an electronic map of the inspection area, where the Internet of Things devices that need to be inspected by the inspection equipment are marked on the electronic map, and the Internet of Things devices that need to be inspected by the inspection equipment are at least a part of the multiple Internet of Things devices; based on the electronic map, drive to the position corresponding to any marked Internet of Things device, perform on-site inspection of the Internet of Things device, and obtain the inspection data of the Internet of Things device.

[0191] In an illustrated embodiment, the acquisition unit 1001 is used to drive to a location corresponding to any marked IoT device based on an electronic map, determine whether the IoT device exists, and if the IoT device exists, perform an on-site inspection of the IoT device to obtain first inspection data; if the IoT device does not exist, generate second inspection data, and the second inspection data is used to indicate that the IoT device does not exist; or,

[0192] The acquisition unit 1001 is used to drive to a position corresponding to any IoT device marked on the electronic map, and obtain third inspection data by photographing the target position, where the target position is the position of any IoT device indicated on the electronic map; or

[0193] The acquisition unit 1001 is used to drive to the inspection area based on the electronic map. If the difference between the actual geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset conditions, the inspection of the Internet of Things devices in the inspection area is terminated, and the fourth inspection data is generated for each Internet of Things device marked in the electronic map. The fourth inspection data is used to indicate that the Internet of Things device does not exist.

[0194] Please refer to Fig.11 , the device for verifying the source data of IoT devices can be applied to Fig. 9 The device shown in the figure is used to implement the technical solution of this specification. Among them, the device for verifying the source data of the Internet of Things device may include:

[0195] The acquisition unit 1101 is used to acquire, for the target IoT data to be verified, the target inspection data stored in the blockchain platform and meeting a matching condition with the target IoT data, where the matching condition indicates a condition that the inspection data having a reference value to the target IoT data must meet;

[0196] The verification unit 1102 is used to verify whether the target IoT data is authentic based on the target inspection data.

[0197] In an illustrated embodiment, the matching condition includes at least one of the following:

[0198] Device matching condition, the device matching condition indicates that the inspection data and the IoT data correspond to the same IoT device;

[0199] A time matching condition, which indicates that the timestamp in the inspection data matches the timestamp in the IoT data;

[0200] A first location matching condition, the first location matching condition indicating that location data in the inspection data matches location data in the IoT data;

[0201] The second location matching condition indicates that the Internet of Things device corresponding to the Internet of Things data belongs to the inspection object range of the inspection device corresponding to the inspection data.

[0202] In an illustrated embodiment, the verification unit 1102 is used to determine that the target IoT data is authentic when the target inspection data satisfies at least one judgment condition;

[0203] At least one judgment condition, including at least one of the following:

[0204] The first judgment condition indicates that: the target inspection data indicates that the IoT device actually exists;

[0205] The second judgment condition indicates that: the target inspection data indicates that the IoT device is in operation;

[0206] A third judgment condition, the third judgment condition indicates that: the operating state of the IoT device represented by the target inspection data is consistent with the operating state of the IoT device represented by the target IoT data;

[0207] A fourth judgment condition, the fourth judgment condition indicates that: the location data in the target inspection data matches the location data in the target IoT data;

[0208] The fifth judgment condition indicates that: the Internet of Things device corresponding to the target Internet of Things data belongs to the inspection object range of the inspection device corresponding to the target inspection data.

[0209] In an illustrated embodiment, the target IoT data includes internal data, the internal data is used to indicate the operating state of the target IoT device itself, and the target inspection data is used to indicate the operating state of the target IoT device; the verification unit 1102 is used to determine that the target IoT data is true when the target inspection data satisfies the third judgment condition; or,

[0210] The target IoT device includes external data, the external data is used to represent the data of the external object collected by the target IoT device, and the target inspection data is used to represent the existence status of the target IoT device; the verification unit 1102 is used to determine that the target IoT data is true when the target inspection data meets the first judgment condition and / or the second judgment condition.

[0211] In one illustrated embodiment, the verification unit 1102 is used to obtain a target electronic map used by the target inspection device during the inspection process; determine the inspection object scope of the target inspection device based on the device identity data of the Internet of Things devices that need to be inspected by the target inspection device marked in the target electronic map; if the target Internet of Things device belongs to the inspection object scope, determine that the target inspection data meets the fifth judgment condition.

[0212] Based on the same concept as the above method, this specification also provides an electronic device, including: a processor; a memory for storing processor executable instructions; wherein the processor implements the steps of the method described in any of the above embodiments by running the executable instructions.

[0213] Based on the same concept as the above method, this specification also provides a computer-readable storage medium on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0214] Based on the same concept as the above method, this specification also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any of the above embodiments when executed by a processor.

Claims

1. A system suitable for performing source data verification on an IoT device, the system comprising an IoT device, a patrol device and a blockchain platform, wherein the patrol device is deployed at the assembly location of the IoT device; The IoT device is used to collect data to obtain IoT data, and to request the blockchain platform to store the IoT data through a built-in trusted service module; The inspection device is used to obtain inspection data during the on-site inspection of the IoT device, and request the blockchain platform to store the inspection data through the built-in trusted service module, wherein the inspection data is used to indicate the status of the IoT device; The blockchain platform is used to receive and store the IoT data, and to receive and store the inspection data.

2. The system according to claim 1, wherein the system comprises a plurality of IoT devices; the inspection device is specifically used for: Obtain an electronic map of the inspection area, wherein the electronic map is marked with IoT devices that need to be inspected by the inspection device, and the IoT devices that need to be inspected by the inspection device are at least a part of the multiple IoT devices; Based on the electronic map, drive to the location corresponding to any marked IoT device, perform on-site inspection of the IoT device, and obtain inspection data of the IoT device.

3. The system according to claim 2, The inspection device is used to drive to a position corresponding to any marked IoT device based on the electronic map, determine whether the IoT device exists, and if so, perform an on-site inspection on the IoT device to obtain first inspection data; if not, generate second inspection data, where the second inspection data is used to indicate that the IoT device does not exist; or, The inspection device is used to drive to a position corresponding to any marked IoT device based on the electronic map, and obtain third inspection data by photographing the target position, where the target position is the position of any IoT device indicated by the electronic map; or, The inspection device is used to travel to the inspection area based on the electronic map. If the difference between the actual geographical environment of the inspection area and the geographical environment indicated by the electronic map meets the preset conditions, the inspection of the Internet of Things devices in the inspection area is terminated, and fourth inspection data is generated for each Internet of Things device marked in the electronic map. The fourth inspection data is used to indicate that the Internet of Things device does not exist.

4. The system according to claim 1, further comprising a verification platform; The verification platform is specifically used to obtain, for the target IoT data to be verified, target inspection data stored in the blockchain platform that meets a matching condition with the target IoT data, wherein the matching condition indicates a condition that the inspection data having a reference value for the target IoT data must meet; Verify whether the target IoT data is authentic based on the target inspection data.

5. The system according to claim 4, wherein the matching condition comprises at least one of the following: A device matching condition, wherein the device matching condition indicates that the inspection data and the IoT data correspond to the same IoT device; A time matching condition, wherein the time matching condition indicates that a timestamp in the inspection data matches a timestamp in the IoT data; a first location matching condition, wherein the first location matching condition indicates that location data in the inspection data matches location data in the IoT data; A second location matching condition, wherein the second location matching condition indicates that the Internet of Things device corresponding to the Internet of Things data belongs to the inspection object range of the inspection device corresponding to the inspection data.

6. The system according to claim 4, wherein the verification platform is used to: determine that the target IoT data is authentic when the target inspection data satisfies at least one judgment condition; The at least one judgment condition includes at least one of the following: A first judgment condition, wherein the first judgment condition indicates that the target inspection data indicates that the IoT device actually exists; A second judgment condition, wherein the second judgment condition indicates that the target inspection data indicates that the IoT device is in operation; A third judgment condition, wherein the third judgment condition indicates that: the operating state of the Internet of Things device represented by the target inspection data is consistent with the operating state of the Internet of Things device itself represented by the target Internet of Things data; A fourth judgment condition, wherein the fourth judgment condition indicates that: the location data in the target inspection data matches the location data in the target IoT data; A fifth judgment condition, the fifth judgment condition indicates: the Internet of Things device corresponding to the target Internet of Things data belongs to the inspection object range of the inspection device corresponding to the target inspection data.

7. The system according to claim 6, The target IoT data includes internal data, the internal data is used to indicate the operating state of the target IoT device, and the target inspection data is used to indicate the operating state of the target IoT device; the verification platform is specifically used to: when the target inspection data satisfies the third judgment condition, determine that the target IoT data is true; or, The target Internet of Things data includes external data, and the external data is used to represent the data of the external object collected by the target Internet of Things device. The target inspection data is used to represent the existence status of the target Internet of Things device; the verification platform is specifically used to: when the target inspection data meets the first judgment condition and / or the second judgment condition, determine that the target Internet of Things data is true.

8. The system according to claim 6, wherein the verification platform is specifically used for: Obtaining a target electronic map used by the target inspection device during the inspection process; Determine the inspection object scope of the target inspection device based on the device identity data of the Internet of Things devices that need to be inspected by the target inspection device marked in the target electronic map; If the target IoT device belongs to the inspection object range, it is determined that the target inspection data meets the fifth judgment condition.

9. The system according to claim 1, wherein the blockchain platform is deployed with a smart contract for verifying the authenticity of the IoT data; The blockchain platform is used to call the smart contract in response to a contract call transaction of the smart contract, so as to obtain, through the smart contract: for the target IoT data that needs to be verified, the target inspection data that meets the matching condition between the target IoT data and the evidence stored in the blockchain platform, and verify whether the target IoT data is authentic based on the target inspection data, and the matching condition indicates the condition that the inspection data that has reference value for the target IoT data must meet.

10. A method for verifying source data of an IoT device, applied to an inspection device, wherein the inspection device is deployed at an assembly location of the IoT device; the method comprises: Acquire inspection data during on-site inspection of the IoT device, where the inspection data is used to indicate the status of the IoT device; The inspection data is requested to be stored on the blockchain platform through the built-in trusted service module. The blockchain platform is also used to store the IoT data obtained by the IoT device through data collection and requested to be stored through the built-in trusted service module.

11. A method for verifying source data of an IoT device, applied to a verification platform, the method comprising: For the target IoT data to be verified, obtain the target inspection data stored in the blockchain platform that meets the matching condition with the target IoT data, where the matching condition indicates the condition that the inspection data that has reference value to the target IoT data must meet; Verify whether the target IoT data is authentic based on the target inspection data.

12. The method according to claim 11, wherein the matching condition comprises at least one of the following: A device matching condition, wherein the device matching condition indicates that the inspection data and the IoT data correspond to the same IoT device; A time matching condition, wherein the time matching condition indicates that a timestamp in the inspection data matches a timestamp in the IoT data; a first location matching condition, wherein the first location matching condition indicates that location data in the inspection data matches location data in the IoT data; A second location matching condition, wherein the second location matching condition indicates that the Internet of Things device corresponding to the Internet of Things data belongs to the inspection object range of the inspection device corresponding to the inspection data.

13. The method according to claim 11, wherein the step of verifying whether the target IoT data is authentic based on the target inspection data comprises: When the target inspection data satisfies at least one judgment condition, determining that the target IoT data is true; The at least one judgment condition includes at least one of the following: A first judgment condition, wherein the first judgment condition indicates that the target inspection data indicates that the IoT device actually exists; A second judgment condition, wherein the second judgment condition indicates that the target inspection data indicates that the IoT device is in operation; A third judgment condition, wherein the third judgment condition indicates that: the operating state of the Internet of Things device represented by the target inspection data is consistent with the operating state of the Internet of Things device itself represented by the target Internet of Things data; A fourth judgment condition, wherein the fourth judgment condition indicates that: the location data in the target inspection data matches the location data in the target IoT data; A fifth judgment condition, the fifth judgment condition indicates: the Internet of Things device corresponding to the target Internet of Things data belongs to the inspection object range of the inspection device corresponding to the target inspection data.

14. The method according to claim 13, The target IoT data includes internal data, the internal data is used to indicate the operating state of the target IoT device, and the target inspection data is used to indicate the operating state of the target IoT device; when the target inspection data satisfies at least one judgment condition, determining that the target IoT data is true includes: When the target inspection data satisfies the third judgment condition, determining that the target IoT data is true; or, The target IoT device includes external data, the external data is used to represent data of an external object collected by the target IoT device, and the target inspection data is used to represent the existence status of the target IoT device; When the target inspection data satisfies at least one judgment condition, determining that the target Internet of Things data is authentic includes: when the target inspection data satisfies the first judgment condition and / or the second judgment condition, determining that the target Internet of Things data is authentic.

15. The method according to claim 13, further comprising: Obtaining a target electronic map used by the target inspection device during the inspection process; Determine the inspection object scope of the target inspection device based on the device identity data of the Internet of Things devices that need to be inspected by the target inspection device marked in the target electronic map; If the target IoT device belongs to the inspection object range, it is determined that the target inspection data meets the fifth judgment condition.

16. A device comprising: processor; A memory for storing processor-executable instructions; wherein the processor implements the steps of the method according to any one of claims 10 or 11-15 by running the executable instructions.

17. A computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method according to any one of claims 10 or 11-15.

18. A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method according to any one of claims 10 or 11-15.