Terminal fault processing method and system, electronic equipment and storage medium
By adopting blockchain technology and smart contracts in the operation and maintenance order dispatch system, the problems of inefficient data security and task allocation in traditional systems are solved, and efficient, secure and intelligent processing of terminal failures is achieved.
Patent Information
- Application Number
- CN202411567876.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-25
AI Technical Summary
Traditional operation and maintenance order dispatch systems have the risk of low data security and easy to be tampered with, and lack of intelligence and automation in task allocation, resulting in inefficient terminal fault handling and inability to accurately match the professional skills and workloads of maintenance personnel.
Blockchain technology is used to receive fault data sent by the terminal, and the fault data is stored on the chain through smart contracts to ensure the integrity and immutability of the data. Based on the fault data stored on the chain, the fault level of the terminal is determined, and the target maintenance personnel are automatically matched to send maintenance information.
It improves maintenance efficiency and service quality, ensures the safety and accuracy of fault data, and realizes intelligent and automated task allocation.
Smart Images

Figure CN119692967A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, system, electronic device and storage medium for processing terminal failures. Background Art
[0002] In the current operation and maintenance management, the dispatch system is the key link between users and operation and maintenance personnel. Its efficiency and accuracy directly affect the quality of operation and maintenance services and user experience. When a terminal fails, the dispatch system is needed to dispatch orders to maintenance personnel. However, the traditional operation and maintenance dispatch system has many defects and cannot meet the growing operation and maintenance needs and complex and changing operation and maintenance scenarios. The current traditional operation and maintenance dispatch system mainly relies on centralized databases for data storage and management. This method has the risk of low data security and easy tampering. In addition, task allocation usually adopts manual or simple rule allocation methods, lacks intelligent and automated processing, resulting in inefficient terminal fault handling and inability to accurately match the professional skills and workload of maintenance personnel. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide a terminal failure processing method, system, electronic device and storage medium to overcome all or part of the deficiencies in the prior art.
[0004] Based on the above purpose, the present application provides a method for processing terminal failures, which is applied to blockchain, and the method includes: receiving fault data sent by the terminal; storing the fault data on the chain; determining the fault level corresponding to the terminal based on the fault data stored on the chain; determining the target maintenance personnel corresponding to the terminal based on the fault level, and sending maintenance information for repairing the terminal to the target maintenance personnel.
[0005] Optionally, storing the fault data on-chain includes: using a smart contract to automatically write the fault data into a pre-built blockchain.
[0006] Optionally, determining the target maintenance personnel corresponding to the terminal based on the fault level includes: searching for multiple maintenance personnel corresponding to the fault level in a pre-constructed fault-personnel data table; and randomly determining the target maintenance personnel from among the multiple maintenance personnel.
[0007] Optionally, after sending maintenance information for repairing the terminal to the target maintenance personnel, the method further includes: obtaining a query code for fault data determined using a smart contract, and sending the query code to the target maintenance personnel.
[0008] Optionally, after sending maintenance information for repairing the terminal to the target maintenance personnel, the method further includes: in response to receiving a query request for the maintenance progress of the terminal, performing authority verification on the initiator of the query request; in response to determining that the authority verification has passed, sending the maintenance progress to the initiator.
[0009] Optionally, in response to determining that the authority verification is passed, after sending the maintenance progress to the initiator, the method includes: receiving an evaluation of the maintenance progress sent by the initiator.
[0010] Optionally, before uploading the fault data to a chain for storage, the method includes: preprocessing the fault data.
[0011] Based on the same inventive concept, the present application also provides a terminal fault processing system, which is applied to blockchain, and the system includes: a data layer, a blockchain layer and a service layer; the data layer is used to receive fault data sent by the terminal; the blockchain layer is used to store the fault data on the chain; the service layer is used to determine the fault level corresponding to the terminal based on the fault data stored on the chain; based on the fault level, determine the target maintenance personnel corresponding to the terminal, and send maintenance information for repairing the terminal to the target maintenance personnel.
[0012] Based on the same inventive concept, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0013] Based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the method as described above.
[0014] As can be seen from the above, the terminal fault processing method, system, electronic device and storage medium provided by the present application include receiving fault data sent by the terminal. The fault data is stored on the chain to ensure the integrity and non-tamperability of the fault data. Based on the fault data stored on the chain, the fault level corresponding to the terminal is determined, and the degree of fault of the terminal can be accurately determined. Based on the fault level, the target maintenance personnel corresponding to the terminal are determined, and maintenance information for repairing the terminal is sent to the target maintenance personnel, thereby improving maintenance efficiency and service quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 A flowchart of a method for handling a terminal failure according to an embodiment of the present application;
[0017] Figure 2 A schematic diagram of the structure of a terminal failure processing system according to an embodiment of the present application;
[0018] Figure 3 This is a structural diagram of a terminal failure processing system according to another embodiment of the present application;
[0019] Figure 4 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0020] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0021] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0022] As mentioned in the background technology section, in the current operation and maintenance management, the dispatch system is the key link between users and operation and maintenance personnel. Its efficiency and accuracy directly affect the quality of operation and maintenance services and user experience. When a terminal fails, the dispatch system is required to dispatch orders to maintenance personnel. However, the traditional operation and maintenance dispatch system has many defects and cannot meet the growing operation and maintenance needs and complex and changing operation and maintenance scenarios. Specifically, it includes:
[0023] Traditional dispatch systems usually rely on centralized databases for data storage and management. This single data storage method has the risk of low data security and easy tampering. Once the database fails or is attacked maliciously, it will lead to the loss or damage of operation and maintenance data, which will affect the normal progress of maintenance work. Traditional dispatch systems often use manual allocation or simple rule allocation methods for task allocation, lacking intelligent and automated means. This method is not only inefficient, but also difficult to accurately match the professional skills and current workload of maintenance personnel, resulting in untimely terminal fault handling or low-quality handling.
[0024] In view of this, the present application embodiment proposes a method for processing terminal failures, referring to Figure 1 , applied to blockchain, the method comprises the following steps:
[0025] Step 101: receiving fault data sent by a terminal.
[0026] In this step, the terminal can obtain its current status through its own detection function. If it finds that it has a fault, it will generate fault data and send the fault data to the system. Relevant fault data is received from each terminal through the preset interface and protocol, where the fault data includes equipment status, fault alarm, maintenance records, etc. The terminal includes operation and maintenance terminals and equipment.
[0027] Step 102: Upload the fault data to a chain for storage.
[0028] In this step, in order to prevent the loss or damage of fault data, which would affect the maintenance efficiency of the terminal, the fault data is stored on the chain. The data on the blockchain is protected by cryptography. Once written into the blockchain, it cannot be changed, which fundamentally prevents data falsification. Encryption technology is used to store fault data securely to ensure the integrity and non-tamperability of the fault data.
[0029] Step 103: Determine the fault level corresponding to the terminal based on the fault data stored in the uplink.
[0030] In this step, the fault data can reflect the fault degree of the terminal device, and the fault data is the fault data stored on the chain, which can prevent tampering and has accuracy. The fault data is analyzed to determine the fault level corresponding to the terminal. For example, the data included in the fault data is calculated according to a predetermined weight ratio to obtain the calculated value corresponding to the fault data, and the fault level corresponding to the terminal is determined according to the calculated value. By determining the fault level corresponding to the terminal through the fault data stored on the chain, the fault degree of the terminal can be accurately determined.
[0031] Step 104: Determine a target maintenance person corresponding to the terminal based on the fault level, and send maintenance information for maintaining the terminal to the target maintenance person.
[0032] In this step, after determining the fault level of the terminal, the terminal needs to be repaired. According to the fault level, the target maintenance personnel corresponding to the terminal are determined. The fault level has a corresponding relationship with the target maintenance personnel, and the determined target maintenance personnel have the ability to repair the terminal fault. The maintenance information for repairing the terminal is automatically sent to the target maintenance personnel. The system can intelligently and automatically assign operation and maintenance tasks to the maintenance personnel, thereby improving maintenance efficiency and service quality.
[0033] Through the above scheme, the fault data sent by the terminal is received. The fault data is stored on the chain to ensure the integrity and non-tamperability of the fault data. Based on the fault data stored on the chain, the fault level corresponding to the terminal is determined, and the degree of the terminal fault can be accurately determined. Based on the fault level, the target maintenance personnel corresponding to the terminal are determined, and maintenance information for repairing the terminal is sent to the target maintenance personnel, thereby improving maintenance efficiency and service quality.
[0034] In some embodiments, storing the fault data on-chain includes: using a smart contract to automatically write the fault data into a pre-built blockchain.
[0035] In this embodiment, a secure and reliable blockchain network is constructed through a distributed architecture and consensus algorithm to store and transmit fault data. Smart contracts are written in programming languages (such as Solidity) to achieve automation and intelligence of the operation and maintenance process, where smart contracts can automatically perform operation and maintenance tasks, monitor equipment status, trigger alarms and notifications, and other operations. Smart contracts are used to store fault data on the chain to ensure the integrity and immutability of fault data.
[0036] It should be noted that the fault data is automatically written to the pre-built blockchain using smart contracts, where smart contracts are pre-agreed. First, the code for the smart contract needs to be written using programming languages such as Solidity. The contract contains specific rules and conditions for writing fault data. For example, a contract can be written to automatically record fault data on the blockchain when a specific device is detected to have a fault. Deployment of smart contracts: After writing the contract, it needs to be compiled and deployed on the blockchain platform. This usually requires the use of tools such as Remix, selecting the appropriate compilation environment and deployment options. Set trigger conditions in the smart contract, such as triggering the contract execution when a sensor of a certain device detects a fault. This can be achieved by listening to specific events or conditions, and once these conditions are met, the contract will automatically perform the relevant operations. Once the trigger conditions are met, the smart contract will automatically write the fault data to the blockchain. Due to the distributed nature of the blockchain, this data will be confirmed and recorded by the verification nodes of the entire network to ensure the immutability and security of the data.
[0037] In some embodiments, determining the target maintenance personnel corresponding to the terminal based on the fault level includes: searching for multiple maintenance personnel corresponding to the fault level in a pre-constructed fault-personnel data table; and randomly determining the target maintenance personnel among the multiple maintenance personnel.
[0038] In this embodiment, the correspondence between fault levels and maintenance personnel is stored in a pre-constructed fault-personnel data table. Combined with a machine learning algorithm, a comprehensive evaluation is performed on factors such as the maintenance personnel's professional skills, current workload, and the urgency and required skills of the work order to comprehensively determine the fault level that the maintenance personnel can currently repair. It should be noted that the fault-personnel data table needs to be updated every predetermined time period. In the fault-personnel data table, the maintenance personnel corresponding to the fault level are searched. If multiple maintenance personnel are found, the target maintenance personnel are randomly determined from the multiple maintenance personnel. By automatically determining the target maintenance personnel, the efficiency and accuracy of maintenance task allocation are improved, ensuring that subsequent maintenance tasks can be processed in a timely and efficient manner.
[0039] In some embodiments, after sending maintenance information for repairing the terminal to the target maintenance personnel, the method further includes: obtaining a query code for fault data determined using a smart contract, and sending the query code to the target maintenance personnel.
[0040] In this embodiment, after the fault data is stored on the chain using a smart contract, a query code is generated for the fault data. Only through the query code can the fault data be viewed, ensuring the security of the fault data storage. After sending the maintenance information for repairing the terminal to the target maintenance personnel, the target maintenance personnel has been identified, and the query code of the fault data needs to be sent to the target maintenance personnel so that the target maintenance personnel can view the fault data of the faulty terminal. Obtain the query code of the fault data determined by the smart contract, and send the query code to the target maintenance personnel so that the target maintenance personnel can query the accurate fault data in a timely manner.
[0041] In some embodiments, after sending maintenance information for repairing the terminal to the target maintenance personnel, the method further includes: in response to receiving a query request for the maintenance progress of the terminal, performing authority verification on the initiator of the query request; in response to determining that the authority verification has passed, sending the maintenance progress to the initiator.
[0042] In this embodiment, in order to ensure the data security of the system, only the authorized initiator can access and use the system. It should be noted that the system can handle user registration, login and permission management to ensure that only authorized users can access and use the system. Therefore, upon receiving a query request for the maintenance progress of the terminal, the initiator of the query request is firstly verified for permissions to determine whether the initiator has the authority to query the maintenance progress of the terminal. If it is determined that the permission verification has been passed, the maintenance progress is sent to the initiator, so that the initiator can grasp the maintenance progress of the terminal at any time and improve the initiator's user experience.
[0043] It should be noted that the system provides functions such as creation, editing, query and deletion of maintenance work orders, so that users can grasp the status and progress of maintenance work orders at any time. It can also display the processing progress and status of maintenance work orders in real time based on query permissions, so that users can keep abreast of the progress of operation and maintenance work.
[0044] In some embodiments, after sending the maintenance progress to the initiator in response to determining that the authority verification is passed, the method includes: receiving an evaluation of the maintenance progress sent by the initiator.
[0045] In this embodiment, the initiator can evaluate the maintenance progress, and the system receives the initiator's feedback to provide a reference for continuously improving the operation and maintenance services, thereby ensuring the continuous improvement of the operation and maintenance services.
[0046] In some embodiments, before the fault data is stored on a chain, the method includes: pre-processing the fault data.
[0047] In this embodiment, in order to improve the availability and quality of fault data, it is necessary to preprocess the fault data, wherein the preprocessing includes cleaning and standardization. Cleaning the data can improve the quality and accuracy of the data by supplementing missing parts, correcting errors, deleting duplicate data, etc., and ensure that the data is suitable for further analysis and mining. The main purpose of data standardization is to eliminate the differences in attribute characteristics such as properties, dimensions, and magnitudes between different variables, so that the data is kept in a small range, such as 0 to 1 or -1 to 1, and then converted into dimensionless standardized values, ensuring that the values of each indicator are in the same order of magnitude, which is convenient for comprehensive analysis and comparison between indicators. The collected fault data is cleaned and standardized to eliminate noise and redundancy in the fault data and improve the quality and availability of the fault data.
[0048] In another embodiment provided in the present application, Figure 2The system includes a data layer, a blockchain layer, a service layer and an application layer. The data layer includes a data source module for receiving fault data sent by the terminal; a data preprocessing module for preprocessing the fault data; and a data storage module for transferring and storing the preprocessed fault data. The blockchain layer includes a blockchain network module for building a blockchain; a smart contract module for automatically writing fault data into a pre-built blockchain using a smart contract, and generating a query code corresponding to the fault data; and a data on-chain module for storing fault data. The service layer includes a task allocation module for using machine learning, such as an ML (Machine Learning) algorithm, to determine the fault level corresponding to the terminal based on the fault data stored on the chain; based on the fault level, determine the target maintenance personnel corresponding to the terminal, and send maintenance information for repairing the terminal to the target maintenance personnel. The system can automatically match and assign the most suitable maintenance personnel to handle maintenance orders based on factors such as the professional skills of the maintenance personnel, the current workload, the urgency of the maintenance work order, and the required skills. This not only improves the efficiency of task allocation, but also ensures that maintenance work orders can be processed in a timely and efficient manner, thereby improving the quality of operation and maintenance services and user experience. The service layer also includes a user service module, which is responsible for handling user registration, login and permission management to ensure that only authorized users can access and use the system. The application layer includes a work order management module, which is used to obtain the query code of the fault data determined by the smart contract and send the query code to the target maintenance personnel; in response to receiving a query request for the maintenance progress of the terminal, the authority of the initiator of the query request is verified; in response to determining that the authority verification has been passed, the maintenance progress is sent to the initiator; and the creation, editing, query and deletion of work orders are provided, so that users can grasp the status and progress of the work order at any time. It also includes a progress tracking module, which is used to display the processing progress and status of the maintenance work order in real time, so that users can keep abreast of the progress of the operation and maintenance work. It also includes a result feedback module, which is used to receive the evaluation of the maintenance progress sent by the initiator.
[0049] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0050] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0051] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a terminal failure processing system.
[0052] refer to Figure 3 ,The terminal failure processing system is applied to blockchain, and the system includes: a data layer, a blockchain layer and a service layer;
[0053] The data layer is used to receive fault data sent by the terminal.
[0054] The blockchain layer is used to store the fault data on-chain.
[0055] The service layer is used to determine the fault level corresponding to the terminal based on the fault data stored in the uplink; based on the fault level, determine the target maintenance personnel corresponding to the terminal, and send maintenance information for repairing the terminal to the target maintenance personnel.
[0056] Through the above system, the fault data sent by the terminal is received. The fault data is stored on the chain to ensure the integrity and non-tamperability of the fault data. Based on the fault data stored on the chain, the fault level corresponding to the terminal is determined, and the degree of the terminal fault can be accurately determined. Based on the fault level, the target maintenance personnel corresponding to the terminal are determined, and maintenance information for repairing the terminal is sent to the target maintenance personnel, thereby improving maintenance efficiency and service quality.
[0057] In some embodiments, the blockchain layer is further configured to automatically write the fault data into a pre-built blockchain using a smart contract.
[0058] In some embodiments, the service layer is further used to search for multiple maintenance personnel corresponding to the fault level in a pre-constructed fault-personnel data table; and randomly determine the target maintenance personnel from among the multiple maintenance personnel.
[0059] In some embodiments, the system further includes an application layer, which is used to obtain a query code for fault data determined by a smart contract after sending maintenance information for repairing the terminal to the target maintenance personnel, and send the query code to the target maintenance personnel.
[0060] In some embodiments, the application layer is also used to, after sending maintenance information for repairing the terminal to the target maintenance personnel, in response to receiving a query request for the maintenance progress of the terminal, perform authority verification on the initiator of the query request; in response to determining that the authority verification has passed, send the maintenance progress to the initiator.
[0061] In some embodiments, the application layer is further configured to receive an evaluation of the maintenance progress sent by the initiator after sending the maintenance progress to the initiator in response to determining that the permission verification is passed.
[0062] In some embodiments, the data layer is further used to pre-process the fault data before uploading the fault data to a chain for storage.
[0063] For the convenience of description, the above system is described in terms of functions divided into various layers. Of course, when implementing the present application, the functions of each layer can be implemented in the same or multiple software and / or hardware.
[0064] The system of the above embodiment is used to implement the corresponding terminal failure processing method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0065] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the terminal failure processing method as described in any of the above embodiments is implemented.
[0066] Figure 4 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0067] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0068] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0069] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0070] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0071] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0072] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0073] The electronic device of the above embodiment is used to implement the corresponding terminal failure processing method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0074] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the terminal failure processing method described in any of the above embodiments.
[0075] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape 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.
[0076] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the terminal failure processing method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0077] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the terminal failure processing method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.
[0078] It should be noted that the embodiments of the present application can be further described in the following manner:
[0079] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0080] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0081] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0082] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0083] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0084] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the system can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the following fact, that is, the details of the implementation method of these block diagram systems are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be completely within the scope of understanding of those skilled in the art). In the case of elaborating specific details (for example, circuit) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0085] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0086] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A method for handling terminal failure, characterized in that: Applied to blockchain, the method includes: Receiving fault data sent by the terminal; The fault data is stored on a chain; Determine the fault level corresponding to the terminal based on the fault data stored in the uplink; Based on the fault level, a target maintenance personnel corresponding to the terminal is determined, and maintenance information for maintaining the terminal is sent to the target maintenance personnel.
2. The method according to claim 1, characterized in that The storing the fault data on a chain includes: The fault data is automatically written into a pre-built blockchain using a smart contract.
3. The method according to claim 1, characterized in that: The determining, based on the fault level, a target maintenance personnel corresponding to the terminal includes: Searching for multiple maintenance personnel corresponding to the fault level in a pre-built fault-personnel data table; The target maintenance personnel is randomly determined among the multiple maintenance personnel.
4. The method according to claim 1, characterized in that: After sending maintenance information for maintaining the terminal to the target maintenance personnel, the method further includes: Obtain a query code for the fault data determined using the smart contract, and send the query code to the target maintenance personnel.
5. The method according to claim 1, characterized in that After sending maintenance information for maintaining the terminal to the target maintenance personnel, the method further includes: In response to receiving a query request for the maintenance progress of the terminal, performing authority verification on the initiator of the query request; In response to determining that the authority verification is passed, sending the maintenance progress to the initiator.
6. The method according to claim 5, characterized in that In response to determining that the authority verification is passed, after sending the maintenance progress to the initiator, the method includes: Receive the evaluation of the maintenance progress sent by the initiator.
7. The method according to claim 1, characterized in that Before the fault data is stored on a chain, the method includes: The fault data is preprocessed.
8. A terminal failure processing system, characterized in that: Applied to blockchain, the system includes: a data layer, a blockchain layer, and a service layer; The data layer is used to receive fault data sent by the terminal; The blockchain layer is used to store the fault data on the chain; The service layer is used to determine the fault level corresponding to the terminal based on the fault data stored in the uplink; based on the fault level, determine the target maintenance personnel corresponding to the terminal, and send maintenance information for repairing the terminal to the target maintenance personnel.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.