Information processing method and device of Internet of Things equipment, equipment and medium
By using blockchain systems to save device status information in IoT device management, the problem of decentralized maintenance of IoT device information is solved, and unified standardized processing of IoT devices and asset security guarantees are achieved.
Patent Information
- Application Number
- CN202411472390.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-23
- Publication Date
- 2025-02-07
AI Technical Summary
The prior art is difficult to achieve unified and standardized processing of IoT devices, resulting in decentralized maintenance of information such as device ownership, positioning, and binding, and it is difficult to effectively record and process.
By obtaining the device status information of the Internet of Things devices provided by the service provider, saving it to the blockchain system, and obtaining the actual status information, and processing it based on the two, so as to achieve unified control and standardized management of Internet of Things devices.
Use the blockchain system to uniformly save device status information, realize unified control and standardized management of IoT devices, and ensure the security of equipment assets.
Smart Images

Figure CN119402543A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device, equipment and medium for an Internet of Things device. Background Art
[0002] As one of the entrances to offline services in the sinking market, the coverage and operation of IoT terminal devices play a key role in the entire offline business. In the process of achieving IoT coverage and active goals, the existing ecological service providers, due to business and organizational factors, have led to decentralized maintenance of key information such as device ownership, device positioning, and device binding. The process and results of the equipment's offline operations in various industries lack effective and standardized records, making it difficult to standardize the IoT devices from a unified perspective.
[0003] Therefore, how to achieve standardized processing of IoT devices is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of this specification provide an information processing method, apparatus, device and medium for an Internet of Things device to achieve standardized processing of the Internet of Things device.
[0005] To solve the above technical problems, the embodiments of this specification are implemented as follows: An information processing method for an IoT device provided in an embodiment of this specification includes: Obtain device status information of IoT devices provided by the service provider; Saving the device status information to the blockchain system; After the device status information is saved in the blockchain system, the actual status information of the IoT device is obtained; The Internet of Things device is processed based on the actual status information and the device status information stored in the blockchain system.
[0006] An information processing device for an Internet of Things device provided in an embodiment of this specification includes: The first information acquisition module is used to obtain device status information of the Internet of Things device provided by the service provider; An information uploading module is used to save the device status information to the blockchain system; A second information acquisition module is used to obtain the actual status information of the IoT device after saving the device status information to the blockchain system; An information processing module is used to process the Internet of Things device based on the actual status information and the device status information stored in the blockchain system.
[0007] An information processing device for an Internet of Things device provided in an embodiment of this specification includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Obtain device status information of IoT devices provided by the service provider; Saving the device status information to the blockchain system; After the device status information is saved in the blockchain system, the actual status information of the IoT device is obtained; The Internet of Things device is processed based on the actual status information and the device status information stored in the blockchain system.
[0008] An embodiment of the present specification provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement an information processing method for an Internet of Things device.
[0009] An embodiment of this specification can achieve the following beneficial effects: In the embodiments of this specification, the device status information of the IoT device provided by the service provider related to the IoT device can be saved to the blockchain system, and the actual status information of the IoT device can be obtained, and then the IoT device can be processed based on the actual status information and the device status information saved in the blockchain system. Among them, the blockchain system can be used to uniformly save the device status information provided by the service provider, so as to realize the unified management and control of the IoT devices, and the asset security of the IoT devices can be guaranteed based on the actual status information of the IoT devices obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0011] Figure 1 This is a schematic diagram of an application scenario of an information processing method for an Internet of Things device in an embodiment of this specification; Figure 2 A flowchart of an information processing method for an Internet of Things device provided in an embodiment of this specification; Figure 3 A swim lane diagram of an information processing method for an Internet of Things device provided in an embodiment of this specification; Figure 4 A schematic diagram of the structure of an information processing device for an Internet of Things device provided in an embodiment of this specification; Figure 5 A schematic diagram of the structure of an information processing device of an Internet of Things device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0012] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this description, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of one or more embodiments of this specification.
[0013] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.
[0014] In the prior art, the management of IoT devices is usually done by each service provider managing its own business. For example, the manufacturer of IoT devices manages the production information of IoT devices; the operator who operates and manages IoT devices manages the operation information of IoT devices. The information of IoT devices is scattered among various service providers, making it impossible to effectively process IoT devices.
[0015] In order to solve the defects in the prior art, this solution provides the following embodiments: Figure 1 Schematic diagram of an application scenario of an information processing method for an Internet of Things device in an embodiment of this specification. Figure 1 As shown, the scheme may include a service provider 1, a server 2, and a blockchain system 3. Among them, the service provider 1 may be various service providers related to the IoT device, such as manufacturers that produce IoT devices, service providers that operate IoT devices, merchants that use IoT devices, and the like. In the embodiment of this specification, the server 2 may obtain the device status information of the IoT device provided by the service provider 1, such as the device usage status information, the device deployment status information, and the like, and save the device status information provided by the service provider to the blockchain system 3. The blockchain system 3 may save the device status information provided by the service provider. The server 2 may also obtain the actual status information of the IoT device, such as the actual location information of the IoT device, the actual processing business type information, and the like, and may process the IoT device based on the actual status information and the device status information saved in the blockchain system. Next, an information processing method for an Internet of Things device provided in an embodiment of the specification will be specifically described with reference to the accompanying drawings: Figure 2 The following is a flow chart of an information processing method for an IoT device provided in an embodiment of the present specification. From a program perspective, the execution subject of the process can be a program installed on an application server or an application client.
[0016] like Figure 2 As shown, the process may include the following steps: Step 202: Obtain device status information of the IoT device provided by the service provider.
[0017] The Internet of Things is the combination of objects and the Internet, forming an Internet where objects are connected to each other. Through some sensing devices, such as positioning systems, sensors, etc., objects are connected to the Internet of Things according to certain service agreements. Common IoT devices can include identification with functions such as sensors, device identification, and communication, which can connect to the network and transmit data. For example, smart TVs, smart speakers, smart toys, wearable devices, smart appliances, etc., smart locks, smart thermostats, smart lighting equipment, monitoring equipment, etc., and payment terminals, business self-service terminals, etc.
[0018] The service provider may be a service provider related to the IoT device, for example, a manufacturer of the IoT device, a transporter of the IoT device, a user of the IoT device, etc. The device status information may be information related to the device status of the IoT, such as production status information, transportation status information, operation status information, and other information related to the entire life cycle of the IoT device.
[0019] Step 204: Save the device status information to the blockchain system.
[0020] In the embodiments of this specification, the device status information of the IoT device provided by the service provider can be saved to the blockchain system, and the blockchain system can be used to ensure the credibility and traceability of the information.
[0021] Step 206: After the device status information is saved in the blockchain system, the actual status information of the IoT device is obtained.
[0022] The actual status information of the IoT device may be the actual status information of the IoT obtained by a method other than the service provider providing the device status information after the device status information provided by the service provider is saved in the blockchain system. For example, for the transportation information of the IoT device, the actual transportation information of the IoT device may be further determined by receiving the delivery information provided by the operator of the IoT device; the server may send some instructions for detecting the status of the IoT device to the IoT device to determine whether the IoT device is in use, and so on.
[0023] Step 208: Process the IoT device based on the actual status information and the device status information stored in the blockchain system.
[0024] In the embodiments of this specification, it is possible to determine whether the device status information provided by the service provider is incorrect based on the actual status information of the IoT device, and then process the IoT device.
[0025] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification can be interchanged according to actual needs, or some steps can be omitted or deleted.
[0026] Figure 2 The method in the method can save the device status information of the IoT device provided by the service provider related to the IoT device to the blockchain system, and can also obtain the actual status information of the IoT device, and then process the IoT device based on the actual status information and the device status information saved in the blockchain system. Among them, the blockchain system can uniformly save the device status information provided by the service provider, realize the unified control and standardized management of the IoT devices, and can also ensure the asset security of the IoT devices based on the actual status information of the IoT devices obtained.
[0027] based on Figure 2 The method, the examples of this specification also provide some specific implementation plans of the method, which are described below.
[0028] Optionally, the processing of the IoT device based on the actual status information and the device status information stored in the blockchain system in the embodiments of this specification may specifically include: Determine whether the actual status information is consistent with the device status information stored in the blockchain system, and obtain a determination result; Based on the judgment result, the Internet of Things device is processed.
[0029] In actual applications, the device status information of the IoT device provided by the service provider may be incorrect, or the service provider may not provide updated status information in a timely manner after the status of the IoT device changes. As a result, the actual status information of the IoT device may be inconsistent with the device status information stored in the blockchain system. In the embodiments of this specification, the IoT device can be processed by determining whether the actual status information of the IoT device is consistent with the device status information provided by the service provider in the blockchain system.
[0030] In actual applications, the service provider can send the device status information of the IoT device to the server through the service terminal. The service terminal can be equipped with terminal applications such as applications and applets that can send the device status information of the IoT device to the server. The terminal application can be a terminal application managed by the server, such as a applet installed in the application corresponding to the server; it can also be a terminal application managed by the service provider itself, and the terminal application can interact with the server through an agreed program interface. For example, the manufacturer's production management platform can communicate with the server, and the manufacturer can send the device production information of the IoT device to the server through the production management platform, or send the device production information of the IoT device to the server through the application corresponding to the server. The IoT device can also be equipped with an application that can provide device status information to the server, and the service provider can also provide device status information to the server through the IoT device. The specific method can be set according to the actual situation and is not specifically limited here.
[0031] The processing of IoT devices in the embodiments of this specification may include processing of the IoT devices themselves, such as permission management of IoT devices, management of system, business and other device software installed in the devices, etc.; it may also include processing of the service providers corresponding to the IoT devices, such as identifying the risks of the service providers, limiting the service providers' use of IoT devices, etc.
[0032] In the embodiment of this specification, the device status information of the Internet of Things device provided by the service provider may include device status information of multiple Internet of Things devices; wherein, the processing of the Internet of Things device based on the judgment result may specifically include: Determine the number of IoT devices whose actual status information in each IoT device is inconsistent with the device status information in the blockchain system; Based on the quantity, determine the abnormality rate of the IoT device corresponding to the service provider; When the abnormal rate of the Internet of Things device is greater than or equal to a preset threshold, the Internet of Things device is processed.
[0033] In actual applications, the same service provider can correspond to multiple IoT devices, and the server can save the device status information of multiple IoT devices provided by the service provider to the blockchain system. Among them, the IoT device whose actual status information is inconsistent with the device status information stored in the blockchain system can be determined as an abnormal device, and the abnormal rate of the IoT device corresponding to the service provider can be determined based on the data of the abnormal device and the number of multiple IoT devices corresponding to the service provider. For example, the number of abnormal devices in the IoT devices related to the service provider is a, and the number of IoT devices related to the service provider is b. The abnormal rate of the IoT device can be determined based on the ratio of a to b. Among them, when the abnormal rate of the IoT device is greater than or equal to the preset threshold, the IoT device can be processed, for example, the operating authority of the IoT device is re-determined, the risk assessment of the service provider corresponding to the IoT device is performed, and the business relationship with the service provider corresponding to the IoT device is terminated, etc.
[0034] In practical applications, abnormal IoT devices may be processed, wherein the processing of the IoT devices may specifically include: Determine an IoT device whose actual standby status information in the IoT device is inconsistent with the device status information in the blockchain system as an abnormal device; The service provider's service authority for the abnormal device is revoked.
[0035] In the embodiments of this specification, the service provider may include an operator with the right to operate the IoT device, for example, an operator of the IoT device in a certain area, which can distribute the IoT device to various users in the area under its jurisdiction; it may also include a user with the right to use the IoT device, for example, a shopping mall or business place that uses the IoT device. The service provider may send information such as the distribution and usage of the IoT device to the server, and the blockchain system may store various information provided by the service provider.
[0036] Among them, if it is determined that the actual status information of the IoT device is inconsistent with the device status information provided by the service provider, the IoT device can be determined as an abnormal device, that is, the information of the IoT device provided by the service provider is incorrect, and the service provider's rights to use, govern, and benefit from the abnormal device can be revoked. For example, the operator has placed payment devices in three stores respectively. Assume that the location information of the stores provided by the operator is c, d, and e, but through the business information processed by the payment device or the positioning information of the payment device itself, it is determined that the actual location of the payment device at c is in the store at f. It can be determined that the operator did not actually place the payment device in the store at c, and the information provided by the operator is incorrect, and the operator's jurisdiction over the payment device at f can be revoked.
[0037] In actual applications, there may be situations where the user of the IoT device changes the location of the IoT device or stops using the IoT device on his own, and the operator cannot be informed of the user's situation in a timely manner. In the embodiments of this specification, after an abnormal device is identified, a prompt message indicating that the IoT device information is abnormal can be sent to the service provider so that the service provider can promptly check the actual status of the IoT device under its jurisdiction. When there is a problem, the service provider can promptly discover the problem and correct it, and can also promptly update the device status information stored in the blockchain system.
[0038] Optionally, the method in the embodiments of this specification may further include: If the judgment result indicates that the actual status information of the IoT device is inconsistent with the device status information stored in the blockchain system, a prompt message is sent to the service provider to prompt the service provider to provide the latest status information of the IoT device.
[0039] Among them, the prompt information may include the device identification of the IoT device, such as the device name, device ID, etc., and may also include an information identification indicating status information that needs to be updated, which is used to prompt the service provider which status information of the IoT device needs to be updated, so that the service provider can complete the information update in a targeted manner and improve the efficiency of information updating.
[0040] In the embodiment of the present specification, the device status information of the abnormal device is obtained from the blockchain system within a preset time period after the prompt information is sent, and it is determined whether the service party has completed the information update within the preset time according to the prompt information. If the service party has not completed the update or the update is incorrect, a second reminder can be given, or the service party's service authority for the Internet of Things device can be revoked.
[0041] In order to provide the service quality of the service provider and enable the IoT device to better serve the user, the method in the embodiment of this specification may also include: Based on the actual status information and the device status information stored in the blockchain system, a risk assessment is performed on the service provider; and / or, Based on the actual status information and the device status information stored in the blockchain system, the reward resources of the service provider are determined.
[0042] In actual applications, the actual status information of the IoT device and the device status information of the IoT device provided by the service provider can reflect the service capability of the service provider. For example, if there is or there is a lot of information inconsistent with the actual status information in the device status information of the IoT device provided by the service provider, it can be determined that the service capability of the service provider is limited and there may be risks. For example, for a manufacturer of IoT devices, if the device status information provided by the manufacturer is that the production of the IoT device has been completed and the physical device has been delivered to the transporter for transportation, but the information obtained from the transporter is that the manufacturer did not deliver the IoT device to the transporter as agreed, it can be determined that the manufacturer did not complete the production of the device as agreed, and the production capacity of the manufacturer may be at risk; for another example, assuming that the IoT device is a device with payment capabilities, an operator in a certain area will lay the IoT device in multiple consumer places, and provide the information of the consumer places where the IoT device is located to the server so that the information can be saved in the blockchain system. Assuming that the actual location information of the IoT device determined by the payment business processed by the IoT device is different from the location information of the IoT device saved in the blockchain system, it can be determined that the information provided by the operator is incorrect, the operator may not accurately manage the use of the device, and the operator may not be able to accurately manage the risk of the device.
[0043] In the embodiments of this specification, different risk assessment strategies can be used for different service providers based on the actual status information of the IoT device and the device status information stored in the blockchain system. The specific risk assessment strategy can be set according to the actual situation and is not specifically limited here.
[0044] In actual applications, if the actual status information of the IoT device is consistent or mostly consistent with the device status information provided by the service provider in the blockchain system, it can be determined that the service provider has good service capabilities and reward resources can be issued to the service provider. Among them, reward resources can be preferential rewards, monetary rewards, device permission rewards, etc. For example, for a payment device, the actual location information, business processing information, etc. of the payment device are consistent with the location information and business processing information of the payment device provided by the operator in the blockchain system, and reward resources can be fed back to the operator.
[0045] Among them, the amount of reward resources can be positively correlated with the number of IoT devices corresponding to the service provider, and the reward resources of the service provider can also be determined according to the device abnormality rate corresponding to the service provider, etc. The specific calculation method of the reward resources can be set according to actual needs, and no specific limitation is made here.
[0046] In the embodiments of this specification, the service provider can provide the device status information of the IoT device in a preset format, and then the server can save the device status information to the blockchain system in a unified preset format, which is also convenient for subsequent query of the saved device status information. Optionally, the device status information of the IoT device provided by the service provider in the embodiments of this specification specifically includes: Obtain device status information of IoT devices provided by the service provider in a preset format.
[0047] Among them, the preset format may include at least one element information of the device identification of the Internet of Things device, the service provider information corresponding to the Internet of Things device, the device address information corresponding to the Internet of Things device, the status information of the Internet of Things device, and the time information corresponding to the status information of the Internet of Things device.
[0048] In the embodiments of this specification, the device identification of the Internet of Things device can be the name, device number, device ID, etc. of the Internet of Things device; the service provider can be the device manufacturer, equipment transporter, equipment operation and management party, equipment user, etc., and the service provider information can be the name of each service provider, business license information, and other information that can represent the service provider; the address information of the device can be the operating address information of the Internet of Things device, such as the location information of the Internet of Things device installed, the store information where the Internet of Things device is located, the address information, the address where the Internet of Things device collects information, etc.; the status information of the Internet of Things device can include the status information of each process in the entire life cycle of the Internet of Things device, such as the generation, supply, sale, operation, maintenance and return of the Internet of Things device, such as production status information, transportation status information, operation and management status information, usage status information, maintenance, repair and other status information; among which, the time corresponding to the status in each process of the Internet of Things device can also be used as an element in the device status information.
[0049] For example, a manufacturer receives a production order for IoT devices on March 1. The manufacturer can arrange factory production according to the delivery time requirements. Assuming that the production of 50 IoT devices was completed on March 3 and the production of 40 IoT devices was completed on March 4, the manufacturer can fill in the device status information of these 90 IoT devices in the production platform. For each IoT device, the manufacturer can fill in the device identification, manufacturer identification, device location, production time, production status and other information of each device. The server can obtain the device status information provided by the manufacturer.
[0050] For another example, for a store that uses IoT devices, after installing IoT devices in the store, the device ID, store ID, store address, time the device is in the store, device usage status, and other information can be sent to the server through the IoT device or the store terminal device. If a problem occurs with the IoT device during subsequent use, maintenance information can also be sent to the server, which may include the device ID that needs to be repaired, the store ID where the device needs to be repaired is located, the address where the device needs to be repaired is located, the time when the repair is reported, the equipment maintenance status, and other information provided to the server; after the repair is completed, the server can also obtain information indicating the repair results provided in a preset format.
[0051] In actual applications, if the device status information provided by the service provider does not meet the preset format, the server may also adjust the format of the device status information provided by the service provider to obtain device status information that meets the preset format.
[0052] In the embodiments of this specification, the timestamp corresponding to each device status information can be set according to the time when each service provider provides the device status information, and the blockchain system can store the preset format device status information provided by each service provider in order according to the timestamp.
[0053] The Internet of Things device is an operating device provided offline by the ecological service provider to the merchant store. In the embodiment of this specification, the information of the Internet of Things devices in various industry lines can be uniformly saved in the blockchain system, which can realize the information exchange of various industry lines, and the blockchain system can store detailed information of each action of the device.
[0054] Among them, the blockchain system can store information about the entire life cycle of IoT devices provided by various service providers. When the device status information needs to be queried, the required information can be obtained from the blockchain system, and the information query can be avoided from disturbing the various service providers.
[0055] In addition, the blockchain system stores the device status information of IoT devices in a preset format. When querying, you can query based on any element information contained in the preset format. For example, you can check which devices are in maintenance based on maintenance information; you can also check which IoT devices the store is using during the time period based on store information and time information. Among them, the storage method in the preset format can meet the user's various query needs, and can realize multi-dimensional distributed query of IoT devices' generation of production plans, logistics supply, sales operations, maintenance and clearance, and other process data throughout the life cycle, and can also better realize the management of IoT devices.
[0056] In the embodiments of this specification, due to the natural trust mechanism of blockchain, the authenticity of the identity of the reported data can be guaranteed, and the subsequent traceability and responsibility can also be supported. In addition, the dual capabilities of standardized records and trust mechanisms enable users who need to query data to query historical data from multiple perspectives in a distributed manner.
[0057] In the embodiments of this specification, the device status information of the IoT device may be information about the entire life cycle of the IoT device, wherein the service provider may be the device manufacturer, device transporter, device operation manager, device user, etc. involved in the entire life cycle of the IoT device. The device status information and actual status information may include at least one of information indicating the device production status, information indicating the device transportation status, information indicating the device operation status, and information indicating the device maintenance and clearance status.
[0058] Among them, the processing of the Internet of Things device may include at least one of the following processing: ownership management of the Internet of Things device, data query of the Internet of Things device, and data correction of the Internet of Things device.
[0059] In actual applications, in order to improve the utilization rate of IoT devices and allow more users to use IoT devices for business processing, for example, IoT devices may include payment terminal devices, business self-service terminal devices, etc. Users can use IoT devices to complete payment, business processing and other matters. The IoT devices in the embodiments of this specification can be provided to service providers who operate and use IoT devices by leasing, selling, or using in cooperation.
[0060] The ownership management of IoT devices may include the management of the leasing rights, usage rights, and production rights of the IoT. For example, multiple payment devices are allocated to an operator, but the device status information or actual status information stored in the blockchain system determines that some of the operator's multiple devices are not turned on or used, or some devices have not processed any business. It can be determined that the operator has not fully operated each device, and the operator's operating rights to operate multiple devices or some of the devices that have not been fully operated can be revoked. The operator cannot obtain the reward resources corresponding to the some devices that have not been fully operated.
[0061] Data query for IoT devices can be a query for the process data of the entire life cycle of IoT devices, such as production planning, logistics supply, sales operation, maintenance and clearance, and the query results can be obtained from the blockchain system. Among them, the device status information in the blockchain system can also be updated according to the actual status information, and the query results can be provided according to the latest device status information.
[0062] For data correction of IoT devices, when the actual status information is inconsistent with the device status information stored in the blockchain system, the device status information stored in the blockchain system can be corrected, so that the blockchain system can store the latest device status information of the IoT device.
[0063] The actual status information in the embodiments of this specification may include planned actual status information agreed upon in advance with the service provider before submitting the IoT device to the service provider, such as planned delivery time and quantity information, planned transportation delivery information, and information such as the number, use location, purpose, and time of planned operation of IoT devices.
[0064] The actual status information may also be determined based on the business information processed by the IoT device. Optionally, in the embodiment of this specification, obtaining the actual status information of the IoT device may specifically include: Obtaining business processing information of the IoT device; Based on the business processing information, actual status information of the Internet of Things device is determined.
[0065] In actual applications, the server can obtain the business processing information of the IoT device, such as the time information of the business processing, the type information of the business processed, the content information of the business processed, etc. Among them, it is also possible to determine whether the physical network device is in use based on the time information of the business processing; the location of the physical network device can also be determined based on the business content information; and the terminal applications included in the IoT device and the business types that the IoT device can process can also be determined based on the business type information.
[0066] For example, for a payment device, when a consumer pays through the payment device, the server can obtain payment information, which may include information of both parties to the transaction. Assuming that the user pays in a store, the payment information may include the store's logo, thereby determining the operating location of the device.
[0067] In the embodiments of this specification, the IoT devices can also be managed in a targeted manner based on the device status information of the IoT stored in the blockchain system. For example, the IoT devices in a certain area can be selected to perform system upgrades on the devices in that area; functional upgrades can also be performed on some IoT devices that do not have certain functions, and so on.
[0068] In order to more clearly illustrate an information processing method of an Internet of Things device provided in an embodiment of this specification, Figure 3 This is a swim lane diagram of an information processing method for an Internet of Things device provided in an embodiment of this specification, and the method may include an information acquisition phase and an information processing phase. Figure 3 As shown, the method may also include: Step 302: The service provider sends the device status information of the IoT device to the server through the terminal.
[0069] The terminal may be the IoT device itself, or other terminals that can be used by the service provider, such as the service provider's operating platform, operating terminal, etc. The device status information may be information related to the entire life cycle of the IoT device, such as information related to the production, transportation, operation, use, maintenance and clearance processes.
[0070] Step 304: The server obtains the device status information of the IoT device provided by the service provider.
[0071] Step 306: The server sends the device status information to the blockchain system.
[0072] The server may be a block node in the blockchain system or a server outside the blockchain system. When the server is not included in the blockchain system, the server may send the device status information to a node server corresponding to a node in the blockchain system that can upload information to the blockchain, so that the node server can save the information to the blockchain system.
[0073] Step 308: The blockchain system saves the device status information of the IoT device provided by the service provider.
[0074] Among them, the encrypted device status information can be saved to the blockchain system based on the smart contract.
[0075] Step 310: The server may also obtain actual status information of the IoT device.
[0076] In actual applications, the server can analyze and determine the actual status information of the IoT device based on the business information processed by the IoT device. The server can also send a request to the IoT device to obtain device information. If the IoT device responds, it can be determined that the IoT device is in a usable state. The IoT device can also send the current status information to the server.
[0077] Step 312: The server may process the IoT device based on the actual status information and the device status information stored in the blockchain system, wherein it may be determined whether the actual status information is consistent with the device status information stored in the blockchain system.
[0078] Step 314: If the actual status information is consistent with the device status information stored in the blockchain system, the reward resources corresponding to the service provider can be determined, and the reward resources can be sent to the service provider.
[0079] Step 316: The service provider obtains reward resources.
[0080] Step 318: If the actual status information is consistent with the device status information stored in the blockchain system, a prompt message may be sent to the service provider to prompt the service provider to update the device status information.
[0081] Step 320: The service provider may provide the latest device status information based on the prompt information.
[0082] The latest device status information may be the latest device status information at the specific current time that can be provided by the service provider.
[0083] Step 322: The server may obtain the latest device status information provided by the service provider, and save the latest device status information to the blockchain system.
[0084] Step 324: The blockchain system can save the latest device status information provided by the service provider.
[0085] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Figure 4 This is a schematic diagram of the structure of an information processing device for an Internet of Things device provided in an embodiment of this specification. Figure 4 As shown, the device may include: The first information acquisition module 402 is used to acquire device status information of the Internet of Things device provided by the service provider; The information upload module 404 is used to save the device status information to the blockchain system; The second information acquisition module 406 is used to obtain the actual status information of the IoT device after saving the device status information to the blockchain system; The information processing module 408 is used to process the IoT device based on the actual status information and the device status information stored in the blockchain system.
[0086] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.
[0087] Figure 5 This is a schematic diagram of the structure of an information processing device for an Internet of Things device provided in an embodiment of this specification. Figure 5 As shown, the device 500 may include: at least one processor 510; and, A memory 530 in communication with the at least one processor; wherein, The memory 530 stores instructions 520 executable by the at least one processor 510. The instructions are executed by the at least one processor 510 to enable the at least one processor 510 to: Obtain device status information of IoT devices provided by the service provider; Saving the device status information to the blockchain system; After the device status information is saved in the blockchain system, the actual status information of the IoT device is obtained; The Internet of Things device is processed based on the actual status information and the device status information stored in the blockchain system.
[0088] Based on the same idea, the embodiment of this specification also provides a computer-readable medium corresponding to the above method. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the above information processing method of the Internet of Things device.
[0089] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. Figure 5 As for the device shown, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0090] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0091] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.
[0092] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0093] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0094] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0095] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0096] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0098] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0099] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0100] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0101] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0102] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0103] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0104] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An information processing method for an Internet of Things device, comprising: Obtain device status information of IoT devices provided by the service provider; Saving the device status information to the blockchain system; After the device status information is saved in the blockchain system, the actual status information of the IoT device is obtained; the IoT device is processed based on the actual status information and the device status information saved in the blockchain system; wherein, the processing of the IoT device includes processing of the IoT device and / or processing of the service provider.
2. According to the method of claim 1, the processing of the IoT device based on the actual status information and the device status information stored in the blockchain system specifically includes: Determine whether the actual status information is consistent with the device status information stored in the blockchain system, and obtain a determination result; Based on the judgment result, the Internet of Things device is processed.
3. According to the method of claim 2, the device status information of the Internet of Things device provided by the service provider includes device status information of multiple Internet of Things devices; The processing of the IoT device based on the judgment result specifically includes: Determine the number of IoT devices whose actual status information in each IoT device is inconsistent with the device status information in the blockchain system; Based on the quantity, determine the abnormality rate of the IoT device corresponding to the service provider; When the abnormal rate of the Internet of Things device is greater than or equal to a preset threshold, the Internet of Things device is processed.
4. According to the method of claim 1, the processing of the IoT device specifically comprises: Determine an IoT device whose actual status information in the IoT device is inconsistent with the device status information in the blockchain system as an abnormal device; The service provider's service authority for the abnormal device is revoked.
5. According to the method of claim 4, the service rights include at least one of usage rights and jurisdictional rights.
6. The method according to claim 2, further comprising: If the judgment result indicates that the actual status information of the IoT device is inconsistent with the device status information stored in the blockchain system, a prompt message is sent to the service provider to prompt the service provider to provide the latest status information of the IoT device.
7. According to the method of claim 6, the prompt information includes a device identification of the IoT device.
8. The method according to claim 1, further comprising: Based on the actual status information and the device status information stored in the blockchain system, a risk assessment is performed on the service provider; and / or: Based on the actual status information and the device status information stored in the blockchain system, the reward resources of the service provider are determined.
9. According to the method of claim 1, the obtaining of device status information of the IoT device provided by the service provider specifically comprises: Obtain device status information of IoT devices provided by the service provider in a preset format.
10. According to the method of claim 9, the preset format includes at least one element information of the device identification of the Internet of Things device, the service provider information corresponding to the Internet of Things device, the device address information corresponding to the Internet of Things device, the status information of the Internet of Things device, and the time information corresponding to the status information of the Internet of Things device.
11. The method according to claim 1, wherein the service provider includes at least one of an equipment manufacturer, an equipment transporter, an equipment operation manager, and an equipment user; The equipment status information and / or the actual status information includes at least one of information indicating equipment production status, equipment transportation status, equipment operation status, and equipment maintenance and clearance status.
12. According to the method of claim 1, the processing includes at least one of permission management for the IoT device, management of device software installed in the IoT device, ownership management for the IoT device, data query for the IoT device, and data correction for the IoT device.
13. According to the method of claim 1, the obtaining of the actual status information of the IoT device specifically comprises: Obtaining business processing information of the IoT device; Based on the business processing information, actual status information of the Internet of Things device is determined.
14. The method according to claim 13, wherein the service processing information comprises at least one of time information of processing the service, type information of processed service and content information of processed service.
15. The method according to claim 1, wherein the device status information of the IoT device comprises planned actual status information pre-agreed between the IoT device and the service provider before submitting the IoT device to the service provider; and / or, The device status information of the IoT device includes information about the entire life cycle of the IoT device.
16. An information processing device for an Internet of Things device, comprising: The first information acquisition module is used to obtain device status information of the Internet of Things device provided by the service provider; An information uploading module is used to save the device status information to the blockchain system; A second information acquisition module is used to obtain the actual status information of the IoT device after saving the device status information to the blockchain system; An information processing module is used to process the Internet of Things device based on the actual status information and the device status information stored in the blockchain system; wherein, processing the Internet of Things device includes processing the Internet of Things device and / or processing the service provider.
17. An information processing device for an Internet of Things device, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein: The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Get the device status information of the IoT device provided by the service provider: Saving the device status information to the blockchain system; After the device status information is saved in the blockchain system, the actual status information of the IoT device is obtained; the IoT device is processed based on the actual status information and the device status information saved in the blockchain system; wherein, the processing of the IoT device includes processing of the IoT device and / or processing of the service provider.
18. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the information processing method of an Internet of Things device according to any one of claims 1 to 15.