Method and system for processing fault information of internet-of-things terminal, and electronic device and medium
By using sensors in IoT terminals to obtain data, perform fault analysis and signature calculation, and upload fault information data to the blockchain for verification, the trust and reliability problems in the processing of fault information of IoT terminals are solved, and traceability and reliability are achieved.
Patent Information
- Application Number
- PCT/CN2025/078201
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2025-02-20
- Publication Date
- 2025-07-03
AI Technical Summary
There are trust problems in the process of reporting fault information, resulting in false information and lack of traceability and reliability.
The terminal monitoring data is obtained through preset sensors, fault analysis and signature calculation are performed, fault signature data is generated and then sent to the blockchain for verification and recording.
It realizes the traceability and reliability of the processing of fault information of the Internet of Things terminals, ensures the authenticity and integrity of the information, and prevents tampering.
Smart Images

Figure CN2025078201_03072025_PF_FP_ABST
Abstract
Description
Internet of Things terminal fault information processing method, system, electronic equipment and medium Technical Field
[0001] The present application relates to the field of Internet of Things technology, and in particular to a method, system, electronic device, and medium for processing Internet of Things terminal fault information. Background Art
[0002] In related technologies, the Internet of Things (IoT) connects various physical devices via a network, enabling them to collect and exchange data. When an IoT terminal encounters a fault, it must promptly report the fault information and request a response. However, this process can lead to trust issues, such as false reporting. Therefore, technical issues in related technologies need to be addressed. Summary of the Invention
[0003] The main purpose of the embodiments of the present application is to propose a method, system, electronic device and medium for processing IoT terminal fault information, which can achieve traceability of the IoT terminal fault information processing process and effectively improve the reliability of IoT terminal fault information processing.
[0004] To achieve the above objectives, one aspect of an embodiment of the present application provides a method for processing IoT terminal fault information, the method comprising:
[0005] Obtain terminal monitoring data of IoT terminals through preset sensors;
[0006] Perform fault analysis based on the terminal monitoring data to obtain fault information data;
[0007] Performing signature calculation on the fault information data to obtain fault signature data, and sending the fault signature data to a preset blockchain;
[0008] When it is determined that the preset blockchain has received the fault signature data, verification and analysis are performed on the fault signature data to obtain a verification result;
[0009] When it is determined that the verification result is passed, the fault signature data is recorded in the preset blockchain.
[0010] In some embodiments, performing fault analysis based on the terminal monitoring data to obtain fault information data includes:
[0011] Performing fault analysis on the terminal monitoring data using pre-configured rules to obtain terminal fault information;
[0012] According to the terminal fault information, a corresponding processing strategy is matched through a preset fault processing catalog to obtain corresponding fault processing event information;
[0013] Obtaining the IoT card information of the IoT terminal;
[0014] The fault information data is constructed based on the fault handling event information, the terminal fault information and the Internet of Things card information.
[0015] In some embodiments, performing signature calculation on the fault information data to obtain fault signature data, and sending the fault signature data to a preset blockchain, includes:
[0016] Performing private key signature calculation on the fault information data through a preset calculation module to obtain the fault signature data;
[0017] The fault signature data is broadcast to the blockchain network through a preset communication module.
[0018] In some embodiments, performing private key signature calculation on the fault information data by a preset calculation module to obtain the fault signature data includes:
[0019] Obtaining a first module identifier of the preset computing module;
[0020] Obtaining a second module identifier of the preset communication module;
[0021] According to the first module identifier, the second module identifier, the fault handling event information, the terminal fault information and the Internet of Things card information, a digital signature is performed using a preset private key to obtain the fault signature data.
[0022] In some embodiments, performing verification analysis on the fault signature data to obtain a verification result includes:
[0023] Perform signature value verification on the fault signature data using a preset public key to obtain a signature verification result;
[0024] When it is determined that the signature verification result passes, information extraction is performed based on the fault signature data to obtain the fault information data;
[0025] The fault information data is matched and verified with the preset verification information to obtain the verification result.
[0026] In some embodiments, after performing the step of recording the fault signature data to the preset blockchain, the method further includes:
[0027] Uploading the fault handling response information to the preset blockchain; wherein the fault handling response information includes the first fault handling event identifier, the fault handling party identifier, and the response time;
[0028] Match the corresponding fault handling event information according to the first fault handling event identifier to record the first fault handling event identifier, the fault handling party identifier, and the response time through the preset blockchain; wherein the fault handling event information includes a second fault handling event identifier.
[0029] In some embodiments, after performing the step of recording the fault handling response information through the preset blockchain and matching the corresponding fault handling event information, the method further includes:
[0030] Uploading the fault handling result information to the preset blockchain; wherein the fault handling result information includes the third fault handling event identifier and the handling result data;
[0031] Match the corresponding second fault processing event identifier according to the third fault processing event identifier to record the third fault processing event identifier and the processing result data through the preset blockchain.
[0032] To achieve the above objectives, another aspect of the present application provides an IoT terminal fault information processing system, the system comprising:
[0033] The first module is used to obtain terminal monitoring data of the Internet of Things terminal through preset sensors;
[0034] The second module is used to perform fault analysis based on the terminal monitoring data to obtain fault information data;
[0035] A third module is configured to perform signature calculation on the fault information data to obtain fault signature data, and to send the fault signature data to a preset blockchain;
[0036] A fourth module is configured to, upon determining that the preset blockchain has received the fault signature data, verify and analyze the fault signature data to obtain a verification result;
[0037] The fifth module is used to record the fault signature data to the preset blockchain when it is determined that the verification result is passed.
[0038] To achieve the above-mentioned object, another aspect of the present application provides an electronic device, comprising:
[0039] at least one processor;
[0040] at least one memory for storing at least one program;
[0041] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0042] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides a computer-readable medium, wherein the computer-readable medium stores a computer program, and the computer program implements the above-mentioned method when executed by a processor.
[0043] The embodiments of the present application include at least the following beneficial effects: The present application provides a method, system, electronic device, and medium for processing fault information of an IoT terminal. This solution first obtains terminal monitoring data of an IoT terminal through a preset sensor, performs fault analysis based on the terminal monitoring data, and obtains fault information data. Next, the embodiments of the present invention perform signature calculation on the fault information to obtain corresponding fault signature data, and then transmit the fault signature data to a preset blockchain. Then, when it is determined that the preset blockchain has received the fault signature data, the fault signature data is verified and analyzed to obtain a verification result. Accordingly, when the verification result is determined to be passed, the embodiments of the present invention record the fault signature data to the preset blockchain, thereby achieving traceability of the IoT terminal fault handling process. It is easy to understand that the embodiments of the present invention, by performing signature verification on the IoT terminal fault information data and uploading it to the preset blockchain, can effectively ensure the traceability of the fault handling process and effectively improve the reliability of IoT terminal fault information processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] FIG1 is a schematic diagram of a process flow of a method for processing fault information of an Internet of Things terminal provided by an embodiment of the present application;
[0045] FIG2 is a flowchart illustrating the steps of performing fault analysis based on terminal monitoring data to obtain fault information data according to an embodiment of the present application;
[0046] FIG3 is a flowchart illustrating the steps of performing signature calculation on fault information data to obtain fault signature data and sending the fault signature data to a preset blockchain according to an embodiment of the present application;
[0047] FIG4 is a flowchart illustrating the steps of performing private key signature calculation on fault information data by a preset calculation module to obtain fault signature data according to an embodiment of the present application;
[0048] FIG5 is a flowchart illustrating steps for verifying and analyzing fault signature data to obtain verification results according to an embodiment of the present application;
[0049] FIG6 is a schematic diagram of a process flow for uploading fault handling response information according to an embodiment of the present application;
[0050] 7 is a schematic diagram of the steps of uploading fault handling result information provided in an embodiment of the present application;
[0051] FIG8 is a schematic diagram of an IoT terminal fault information reporting architecture provided by an embodiment of the present application;
[0052] FIG9 is a schematic diagram of the overall processing flow of the method for processing fault information of an Internet of Things terminal provided in an embodiment of the present application;
[0053] FIG10 is a schematic diagram of the structure of an Internet of Things terminal fault information processing system provided in an embodiment of the present application;
[0054] FIG11 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0056] It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0057] The terms "at least one", "plurality", "each", "any", etc. used in this application include "at least one", "two" or more, "plurality" or "each", "any" or "any one", "each" or "any one" as used herein.
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0059] Before explaining the embodiments of the present application in detail, some of the nouns and terms involved in the embodiments of the present application are first explained. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0060] Blockchain: A chain of blocks. Each block contains information, linked together in chronological order. This chain is stored across all servers. As long as at least one server in the system is functioning, the entire blockchain is secure. These servers are called nodes in the blockchain system, providing storage space and computing power for the entire system.
[0061] International Mobile Subscriber Identity (IMSI): A unique identifier used to identify mobile users. Mobile networks use this identifier to identify users and provide services.
[0062] In related technologies, the Internet of Things (IoT) is a technology that connects various physical devices through a network, enabling them to collect and exchange data. When an IoT terminal encounters a fault, the IoT terminal needs to promptly report the corresponding fault information and request processing. For example, when a vehicle encounters a fault, the vehicle needs to send a rescue request to the rescue center. However, in this process, there may be trust issues such as false reported information. The party recording the fault information needs to authenticate the reporting terminal and ensure the authenticity and integrity of the reported information. It is also necessary to record the entire life cycle of the fault information and subsequent fault processing. Therefore, the technical problems existing in related technologies need to be improved.
[0063] In view of this, an embodiment of the present application provides an Internet of Things terminal fault information processing method, system, electronic device and medium. The solution obtains the terminal monitoring data of the Internet of Things terminal through a preset sensor, performs fault analysis based on the terminal monitoring data, and obtains fault information data. Next, the embodiment of the present invention performs a signature calculation on the fault information to obtain corresponding fault signature data, and sends the fault signature data to the preset blockchain. Then, when it is determined that the preset blockchain has received the fault signature data, the fault signature data is verified and analyzed to obtain a verification result. Accordingly, when it is determined that the verification result is a passed verification, the embodiment of the present invention records the fault signature data to the preset blockchain. In this way, by performing signature verification on the fault information data of the Internet of Things terminal and uploading it to the preset blockchain, the traceability of the fault handling process can be effectively guaranteed, and the reliability of the Internet of Things terminal fault information processing can be effectively improved.
[0064] The method for processing fault information of an Internet of Things terminal provided in the embodiment of the present application relates to the field of Internet of Things technology. The method for processing fault information of an Internet of Things terminal provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the method for processing fault information of an Internet of Things terminal, etc., but is not limited to the above forms.
[0065] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present application can 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, and the like that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can be located in local and remote computer media, including storage devices.
[0066] It should be noted that in each specific embodiment of the present application, when it comes to the need to perform relevant processing based on data related to the user's identity or characteristics, such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of such data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0067] FIG1 is an optional flowchart of a method for processing fault information of an Internet of Things terminal provided in an embodiment of the present application. The method in FIG1 may include but is not limited to steps S110 to S150.
[0068] S110, obtaining terminal monitoring data of the Internet of Things terminal through a preset sensor.
[0069] S120: Perform fault analysis based on the terminal monitoring data to obtain fault information data.
[0070] S130: Perform signature calculation on the fault information data to obtain fault signature data, and send the fault signature data to a preset blockchain.
[0071] S140: When it is determined that the preset blockchain has received the fault signature data, the fault signature data is verified and analyzed to obtain a verification result.
[0072] S150: When the verification result is determined to be passed, the fault signature data is recorded in the preset blockchain.
[0073] During the operation of this specific embodiment, the embodiment of the present invention first obtains terminal monitoring data from an IoT terminal through a preset sensor. Specifically, terminal monitoring data in the embodiment of the present invention refers to data information obtained by detecting the IoT terminal through corresponding sensors, such as current and voltage data, device temperature data, and signal data. Accordingly, the preset sensors in the embodiment of the present invention are determined and configured based on the specific device terminal. Next, the embodiment of the present invention performs fault analysis based on the obtained terminal monitoring data to determine the fault condition of the IoT terminal and obtain fault information data. Specifically, the embodiment of the present invention automatically analyzes the cause of the IoT terminal fault in real time using the terminal monitoring data, such as excessive current or low voltage, to obtain corresponding fault information data. The fault information data may include the corresponding fault cause and information related to the IoT terminal experiencing the fault. Furthermore, the embodiment of the present invention performs a signature calculation on the fault information data to obtain corresponding fault signature data, which is then sent to a preset blockchain. Specifically, signature calculation in the embodiment of the present invention refers to performing a cryptographic calculation using a corresponding encryption algorithm, such as an asymmetric encryption algorithm, to generate a corresponding unique identifier. The embodiment of the present invention performs a signature calculation on the fault information and sends the obtained fault signature data to a preset blockchain for validity verification. Furthermore, when the preset blockchain receives the corresponding fault signature data, the fault signature data is verified and analyzed to determine whether the verification result is passed. Accordingly, when it is determined that the verification result of the fault signature data is passed, the embodiment of the present invention records the fault signature data to the preset blockchain. For example, in the embodiment of the present invention, the fault signature data is first decrypted, and then a hash operation is performed on the decrypted data, and then the hash value is compared to determine whether the signature data is valid, thereby obtaining the corresponding verification result. It is easy to understand that when the verification determines that the fault signature data is valid, that is, the verification result is passed, the corresponding fault signature data is recorded on the preset blockchain, that is, the fault information of the Internet of Things terminal is recorded in the blockchain, thereby ensuring the credibility of the fault information and preventing the fault information from being tampered with, realizing the traceability of the fault information processing process of the Internet of Things terminal, and effectively improving the reliability of the fault information processing of the Internet of Things terminal.
[0074] 2 , in some embodiments of the present invention, performing fault analysis based on terminal monitoring data to obtain fault information data includes, but is not limited to, the following steps:
[0075] S210: Perform fault analysis on the terminal monitoring data according to pre-configured rules to obtain terminal fault information.
[0076] S220: Matching a corresponding processing strategy through a preset fault processing catalog according to the terminal fault information to obtain corresponding fault processing event information.
[0077] S230: Obtaining the IoT card information of the IoT terminal.
[0078] S240: Construct fault information data based on the fault handling event information, terminal fault information, and IoT card information.
[0079] In this specific embodiment, the present invention first performs fault analysis on terminal monitoring data using preconfigured rules to obtain corresponding terminal fault information. Specifically, the preconfigured rules in the present invention refer to analysis rules for IoT terminal faults and can be set based on the specific fault scenario. For example, when the current or voltage in the terminal monitoring data exceeds a preset threshold, it is determined to be a fault problem. The present invention uses preset judgment rules, i.e., preconfigured rules, to analyze the fault cause of the terminal monitoring data to obtain terminal fault information, thereby facilitating timely reporting of the fault information and the implementation of appropriate remedial measures. Next, the present invention matches the terminal information with a preset fault handling directory to a corresponding processing strategy, thereby obtaining corresponding fault handling event information. Specifically, the preset fault handling directory in the present invention refers to locally stored relevant fault handling information, such as fault handling items and corresponding processing strategies, i.e., the remedial processing strategies required for each fault scenario. In addition, fault handling event information refers to event information related to the relevant fault handling event, such as the unique identifier (ID) of the fault handling event. The present invention combines the analyzed terminal fault information with the local fault handling directory to provide a corresponding processing strategy and generate corresponding fault handling event information. Simultaneously, the present invention obtains the IoT card information of the IoT terminal. The IoT card information in the embodiments of the present invention refers to the IoT card information of the IoT terminal that experienced a fault, such as the IoT card's IMSI code. Furthermore, the embodiments of the present invention construct fault information data based on fault handling event information, terminal fault information, and IoT card information. It is readily understood that the fault information data constructed in the embodiments of the present invention includes the IoT card information of the IoT terminal that experienced a fault, fault handling event information, and terminal fault information, thereby enabling a relatively complete record of IoT terminal fault information and ensuring traceability and non-repudiation of the fault handling process.
[0080] 3 , in some embodiments of the present invention, performing signature calculation on fault information data to obtain fault signature data, and then sending the fault signature data to a preset blockchain, includes but is not limited to the following steps:
[0081] S310: Perform private key signature calculation on the fault information data through a preset calculation module to obtain fault signature data.
[0082] S320: Broadcast the fault signature data to the blockchain network through a preset communication module.
[0083] In this specific embodiment, the embodiment of the present invention first performs a private key signature calculation on the fault information data through a preset calculation module to obtain fault signature data, and then broadcasts the fault signature data to the blockchain network through a preset communication module. Specifically, the embodiment of the present invention generates a pair of keys, including a public key and a private key, during the blockchain signature calculation and verification process. Among them, the embodiment of the present invention signs the fault information data with a private key to obtain a corresponding signature value, namely the fault signature data. Accordingly, the public key in the embodiment of the present invention is used to verify the validity of the fault signature data. Accordingly, when the signature of the fault information data is completed, the embodiment of the present invention broadcasts the fault signature data to the blockchain network through the preset communication module, so that the preset blockchain can receive the corresponding fault signature data and verify its validity. It is easy to understand that the embodiment of the present invention can realize the verification signature of the information reported by the Internet of Things terminal by signing the fault information data with a private key and broadcasting it to the blockchain network, thereby effectively improving the reliability of the fault information processing of the Internet of Things terminal.
[0084] 4 , in some embodiments of the present invention, a private key signature calculation is performed on the fault information data by a preset calculation module to obtain the fault signature data, including but not limited to the following steps:
[0085] S410: Obtain a first module identifier of a preset computing module.
[0086] S420: Obtain a second module identifier of a preset communication module.
[0087] S430: Based on the first module identifier, the second module identifier, the fault handling event information, the terminal fault information and the IoT card information, a digital signature is performed using a preset private key to obtain fault signature data.
[0088] In this specific embodiment, when performing private key signature calculation, the embodiment of the present invention combines the first module identifier of the preset calculation module, the second module identifier of the preset communication module, the fault handling event information, the terminal fault information and the Internet of Things card information to perform digital signature. Specifically, the embodiment of the present invention first obtains the first module identifier of the preset calculation module, that is, obtains the calculation module ID of the preset calculation module. Then, the embodiment of the present invention obtains the second module identifier of the preset communication module, that is, the communication module ID of the preset communication module. Furthermore, the embodiment of the present invention calculates the signature values of the first module identifier, the second module identifier, the fault handling event information, the terminal fault information and the Internet of Things card information through the preset private key to obtain the fault signature data. Exemplarily, the fault signature data calculated in the embodiment of the present invention is as follows:
[0089] Fault signature data = sign(hash(fault information | fault handling event ID | communication module ID | computing module ID | IoT card information))
[0090] =sign(hash(specific sensor detection data | location information | fault handling event ID | communication module ID | computing module ID | IoT card IMSI))
[0091] Among them, the location information in the embodiment of the present invention refers to the location information of the IoT terminal where the fault occurs. In addition, the IoT card information in the embodiment of the present invention includes the International Mobile User Identity code of the IoT card. It is easy to understand that the data uploaded in the embodiment of the present invention includes IoT card information, communication module ID, computing module ID, sensor fault information, location information, etc. By signing the data with a private key, it is possible to record the information in the fault handling process more completely, ensuring the traceability of the fault handling process. At the same time, the fault information recording party parses the corresponding signature information, i.e., the fault signature data, to achieve IoT terminal authentication, effectively alleviating trust issues such as false reported information.
[0092] 5 , in some embodiments of the present invention, performing verification analysis on the fault signature data to obtain a verification result includes, but is not limited to, the following steps:
[0093] S510: Verify the signature value of the fault signature data using a preset public key to obtain a signature verification result.
[0094] S520: When it is determined that the signature verification result passes, information is extracted according to the fault signature data to obtain fault information data.
[0095] S530: Match and verify the fault information data with the preset verification information to obtain a verification result.
[0096] In this specific embodiment, the embodiment of the present invention verifies the signature value of the fault signature data through a preset public key to obtain a signature verification result. Specifically, the preset public key in the embodiment of the present invention corresponds to the preset private key mentioned above. When the blockchain full node receives the broadcast information, that is, the fault signature data, the shared public key is used to verify the validity of the digital signature (sign) value. Then, when the signature verification result of the fault signature data passes, the embodiment of the present invention extracts information based on the fault signature data to obtain corresponding fault information data. Specifically, when the signature verification result passes, that is, the fault signature data is valid, the embodiment of the present invention extracts the corresponding fault handling event information, terminal fault information, Internet of Things card information, communication module ID and computing module ID based on the fault signature data. Then, the embodiment of the present invention matches and verifies the extracted fault information data with the pre-configured local verification information, that is, the preset verification information, to obtain the corresponding verification result, such as verification passed or verification failed. It is easy to understand that the embodiment of the present invention verifies the signature of the front data of the reported fault, and verifies the matching of the IoT card information, computing module ID and communication module ID of the fault terminal, so as to facilitate the on-chain matching through the event ID and the fault handling responder ID after the authentication is passed, thereby effectively protecting the fault information and the subsequent fault handling process full life cycle record information from being tampered with.
[0097] 6 , in some embodiments of the present invention, after performing the step of recording the fault signature data to the preset blockchain, the IoT terminal fault information processing method provided by the embodiment of the present invention further includes but is not limited to the following steps:
[0098] S610: Upload the fault handling response information to the preset blockchain. The fault handling response information includes the first fault handling event identifier, the fault handling party identifier, and the response time.
[0099] S620: Matching corresponding fault handling event information according to the first fault handling event identifier to record the first fault handling event identifier, the fault handling party identifier, and the response time through a preset blockchain, wherein the fault handling event information includes the second fault handling event identifier.
[0100] In this specific embodiment, after recording the fault signature data on a preset blockchain, the present invention also records the corresponding fault handling response information on the preset blockchain. Specifically, the fault handling response information in the present embodiment includes a first fault handling event identifier, a fault handling party identifier, and a corresponding response time. In the present embodiment, the first fault handling event identifier refers to the unique identifier of the corresponding fault handling event, i.e., the fault handling event ID. Furthermore, in the present embodiment, the fault handling party identifier refers to the unique identifier of the party handling the relevant fault, i.e., the fault handling party ID. Furthermore, in the present embodiment, the response time refers to the time information of the fault handling party's response to the fault handling. After receiving the fault handling response information, the preset blockchain uses the first fault handling event identifier to match the corresponding fault handling event information, such as the second fault handling event identifier, from the preset blockchain. It is easy to understand that the present embodiment matches the corresponding second fault handling event identifier from the preset blockchain based on the first fault handling event identifier, thereby matching the fault handling response information with the fault handling event in the blockchain. Furthermore, the corresponding first fault handling event identifier, fault handling party identifier, and response time are recorded on the preset blockchain, thereby recording the entire lifecycle information of the IoT terminal fault handling process, effectively ensuring the traceability of the fault handling process and the non-repudiation of reported information.
[0101] 7 , in some embodiments of the present invention, after performing the step of recording fault handling response information through a preset blockchain and matching the corresponding fault handling event information, the IoT terminal fault information processing method provided by the embodiment of the present invention further includes but is not limited to the following steps:
[0102] S710: Upload the fault handling result information to the preset blockchain. The fault handling result information includes the third fault handling event identifier and the handling result data.
[0103] S720: Match the corresponding second fault processing event identifier according to the third fault processing event identifier to record the third fault processing event identifier and processing result data through a preset blockchain.
[0104] In this specific embodiment, after recording the corresponding fault handling response information via a preset blockchain, the embodiment of the present invention also records the corresponding fault handling result information to the preset blockchain. Specifically, the fault handling result information in the embodiment of the present invention refers to the handling result of the relevant terminal fault. The fault handling party uploads the corresponding fault handling result information to the preset blockchain, including a third fault handling event identifier and the handling result data. Accordingly, the third fault handling event identifier refers to the unique identifier of the handled fault handling event, namely the fault handling event ID. Next, the embodiment of the present invention matches the third fault handling event identifier in the fault handling result information with the second fault handling event identifier in the preset blockchain, thereby recording the corresponding fault handling result information to the preset blockchain. By uploading the corresponding handling result to the preset blockchain and matching the corresponding fault handling event ID, the embodiment of the present invention further ensures the full life cycle information recording of the fault handling process, ensuring that the IoT terminal fault information and subsequent fault handling process full life cycle record information are not tampered with, effectively improving the reliability and feasibility of IoT terminal fault information processing, and enabling traceability of the entire life cycle of IoT terminal fault information processing.
[0105] The following describes the solution of the embodiment of the present invention in detail with reference to a specific application scenario of fault information processing:
[0106] Referring to Figures 8 and 9, Figure 8 is a schematic diagram of the fault information reporting architecture in an embodiment of the present invention. In this embodiment of the present invention, a sensor module performs terminal detection to provide sensor detection data, i.e., terminal monitoring data. Simultaneously, a calculation module (preset calculation module) in this embodiment of the present invention automatically analyzes the cause of the fault in real time according to preconfigured rules. Then, combined with a local fault handling directory (i.e., a preset fault handling directory), it provides a corresponding handling strategy and generates a handling event ID. Next, the calculation module in this embodiment of the present invention calculates the signature value of the sensor data, the calculation module ID, the communication module ID, etc., to obtain fault signature data. Furthermore, in this embodiment of the present invention, the communication module (preset communication module) broadcasts the fault signature data to the blockchain network. Accordingly, the communication module provides IoT card information, communication module ID, and transmits fault information, geographic location, signature value, etc. In this embodiment of the present invention, the fault reporting terminal is a blockchain light node, providing information on the on-chain fault handling request. The fault handling party is also a blockchain light node, providing information on the on-chain fault handling response. The fault handling information recording platform is a blockchain full node, providing fault information recording, signature verification of fault handling request information, and a full lifecycle record of the fault handling process. Referring to Figure 9 , the fault reporting terminal in an embodiment of the present invention first collects and analyzes fault information and formulates a fault handling strategy. Simultaneously, the fault report information is signed by the corresponding computing module and the signature and fault information are reported to the blockchain full node. Upon receiving the corresponding signature and fault information, the blockchain full node performs signature verification. Once the signature verification is confirmed to be successful, the corresponding fault information is recorded in the blockchain. For example, after receiving the broadcast information, the blockchain full node verifies the digital signature value using a shared public key. Based on the verification signature, it extracts the IoT card information, communication module ID, and computing module ID of the fault information reporting device. This information is then matched against pre-configured local verification information to obtain a verification result. If verification is successful, the uploaded information is recorded, including the fault handling event ID and fault information. Then, the embodiment of the present invention performs fault notification and performs fault handling interaction. Furthermore, the fault handling party uploads fault handling response information and fault handling result information to the blockchain full node, including the fault handling event ID, fault handling party ID, response time, and handling results. Accordingly, when the blockchain full node receives the information uploaded by the fault handling party, it records the corresponding uploaded information and matches the fault handling event ID, thereby ensuring the full life cycle information recording of the fault handling process.
[0107] It is easy to understand that the embodiment of the present invention realizes the authentication of the Internet of Things terminal by signing and uploading the corresponding Internet of Things card information, computing module identification, communication module identification, fault information and location information to the blockchain, and parsing the signature information by the fault information recording party. At the same time, the embodiment of the present invention verifies the signature of the Internet of Things terminal fault information reporting terminal and the fault handling responder reporting information through the blockchain network, verifies the matching of the Internet of Things terminal Internet of Things card information, computing module ID and communication module ID, and when the authentication is passed, performs on-chain matching through the event ID and the fault handling responder ID, thereby effectively ensuring that the fault information and the subsequent fault handling process full life cycle record information are not tampered with. In addition, the embodiment of the present invention ensures the traceability of the fault handling process and the non-repudiation of the reported information by combining the Internet of Things terminal fault information, computing module identification, communication module identification, Internet of Things card information and location information for signature verification and uploading to the blockchain, effectively alleviating trust issues such as false reported information, and effectively improving the reliability of Internet of Things terminal fault information processing.
[0108] Referring to FIG. 10 , an embodiment of the present application further provides an IoT terminal fault information processing system that can implement the aforementioned IoT terminal fault information processing method. The system includes:
[0109] The first module 810 is used to obtain terminal monitoring data of the Internet of Things terminal through a preset sensor.
[0110] The second module 820 is used to perform fault analysis based on the terminal monitoring data to obtain fault information data.
[0111] The third module 830 is used to perform signature calculation on the fault information data to obtain fault signature data, and send the fault signature data to a preset blockchain.
[0112] The fourth module 840 is used to verify and analyze the fault signature data when it is determined that the preset blockchain has received the fault signature data to obtain a verification result.
[0113] The fifth module 850 is used to record the fault signature data to the preset blockchain when the verification result is determined to be passed.
[0114] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0115] The present application also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the aforementioned method for processing IoT terminal fault information. The electronic device can be any smart terminal, such as a tablet computer or an in-vehicle computer.
[0116] It can be understood that the contents of the above method embodiments are applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0117] Please refer to FIG11 , which illustrates a hardware structure of an electronic device according to another embodiment. The electronic device includes:
[0118] The processor 910 may be implemented as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0119] The memory 920 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 920 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 920 and is called by the processor 910 to execute the IoT terminal fault information processing method of the embodiments of this application.
[0120] Input / output interface 930, used to implement information input and output;
[0121] Communication interface 940, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);
[0122] bus 950 , which transmits information between various components of the device (e.g., processor 910 , memory 920 , input / output interface 930 , and communication interface 940 );
[0123] The processor 910 , the memory 920 , the input / output interface 930 , and the communication interface 940 are connected to each other in communication within the device via a bus 950 .
[0124] An embodiment of the present application also provides a computer-readable medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned method for processing fault information of an Internet of Things terminal.
[0125] It can be understood that the contents of the above method embodiments are all applicable to the present medium embodiment, the functions specifically implemented by the present medium embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0126] The memory, as a non-transient computer-readable medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely located relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0127] The embodiments of the present application provide an Internet of Things terminal fault information processing method, system, electronic device and medium, which obtain the terminal monitoring data of the Internet of Things terminal through a preset sensor, so as to perform fault analysis based on the terminal monitoring data and obtain fault information data. Next, the embodiment of the present invention performs a signature calculation on the fault information to obtain corresponding fault signature data, so as to send the fault signature data to a preset blockchain. Then, when the preset blockchain receives the fault signature data, the preset blockchain verifies and analyzes the fault signature data to obtain a verification result. Accordingly, when it is determined that the verification result is a passed verification, the embodiment of the present invention records the fault signature data to the preset blockchain, thereby achieving traceability of the Internet of Things terminal fault handling process. In the embodiment of the present invention, by performing signature verification on the fault information data of the Internet of Things terminal and uploading it to the preset blockchain, the traceability of the fault handling process can be effectively guaranteed, thereby improving the reliability of the Internet of Things terminal fault information processing.
[0128] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0129] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0130] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0131] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.
[0132] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0133] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0134] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0135] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0136] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a medium and includes multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned media include: various media that can store programs, such as USB flash drives, mobile hard drives, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0138] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present invention should be within the scope of the present invention.
Claims
1. A method for processing fault information of an Internet of Things terminal, characterized in that, The method includes: Obtaining terminal monitoring data of an Internet of Things (IoT) terminal through a preset sensor; Performing fault analysis based on the terminal monitoring data to obtain fault information data; Performing signature calculation on the fault information data to obtain fault signature data, and sending the fault signature data to a preset blockchain; When it is determined that the preset blockchain receives the fault signature data, performing verification analysis on the fault signature data to obtain a verification result; When it is determined that the verification result is passed, recording the fault signature data in the preset blockchain.
2. The method according to claim 1, characterized in that The performing fault analysis based on the terminal monitoring data to obtain fault information data includes: Performing fault analysis on the terminal monitoring data through pre-configured rules to obtain terminal fault information; Matching a corresponding processing strategy according to the terminal fault information through a preset fault processing directory to obtain corresponding fault processing event information; Obtaining IoT card information of the IoT terminal; Constructing the fault information data based on the fault processing event information, the terminal fault information, and the IoT card information.
3. The method according to claim 2, wherein The performing signature calculation on the fault information data to obtain fault signature data and sending the fault signature data to a preset blockchain includes: Performing private key signature calculation on the fault information data through a pre-designed calculation module to obtain the fault signature data; Broadcasting the fault signature data to a blockchain network through a preset communication module.
4. The method according to claim 3, wherein The performing private key signature calculation on the fault information data through a pre-designed calculation module to obtain the fault signature data includes: Obtaining a first module identifier of the pre-designed calculation module; Obtaining a second module identifier of the preset communication module; Performing digital signature on the basis of the first module identifier, the second module identifier, the fault processing event information, the terminal fault information, and the IoT card information through a preset private key to obtain the fault signature data.
5. The method according to claim 1, wherein The performing verification analysis on the fault signature data to obtain a verification result includes: Performing signature value verification on the fault signature data through a preset public key to obtain a signature verification result; When it is determined that the signature verification result is passed, performing information extraction based on the fault signature data to obtain the fault information data; Matching and verifying the fault information data with preset verification information to obtain the verification result.
6. The method according to claim 2, wherein After performing the step of recording the fault signature data in the preset blockchain, the method further includes: Uploading fault processing response information to the preset blockchain; wherein the fault processing response information includes a first fault processing event identifier, a fault processing party identifier, and a response time; Matching a corresponding one of the fault processing event information according to the first fault processing event identifier, and recording the first fault processing event identifier, the fault processing party identifier, and the response time through the preset blockchain; wherein the fault processing event information includes a second fault processing event identifier.
7. The method according to claim 6, characterized in that, After performing the step of recording the fault processing response information through the preset blockchain and matching the corresponding fault processing event information, the method further includes: Upload the fault handling result information to the preset blockchain; wherein, the fault handling result information includes a third fault handling event identifier and handling result data; Match the corresponding second fault handling event identifier according to the third fault handling event identifier, so as to record the third fault handling event identifier and the handling result data through the preset blockchain.
8. An Internet of Things terminal fault information processing system, characterized in that, The system includes: A first module, configured to obtain terminal monitoring data of an Internet of Things terminal through a preset sensor; A second module, configured to perform fault analysis based on the terminal monitoring data to obtain fault information data; A third module, configured to perform signature calculation on the fault information data to obtain fault signature data, so as to send the fault signature data to the preset blockchain; A fourth module, configured to perform verification analysis on the fault signature data to obtain a verification result when it is determined that the preset blockchain receives the fault signature data; A fifth module, configured to record the fault signature data to the preset blockchain when it is determined that the verification result is passed.
9. An electronic device, characterized in that, Includes: At least one processor; At least one memory, configured to store at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1-7.
10. A computer-readable medium storing a computer program, characterized in that, The computer program, when executed by a processor, implements the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for sharing an industrial intelligent device fault repair scheme
CN113722137A
Decentralization power grid fault traceability system based on Internet of Things and block chain technology
CN115941452A
Internet of Things terminal fault information processing method and system, electronic equipment and medium
CN117914681A
Blockchain-based data processing method, computer device, computer-readable storage medium, and computer program product
WO2022083399A1