Remote response method based on block chain
By registering nodes on the user side and terminal devices, compressing and encoding user request data, and using blockchain technology to maintain the continuity of service request processes, solving the problem of repeated service processing caused by terminal device failure or network interruption, and improving response efficiency and server resource utilization.
Patent Information
- Application Number
- CN202510490149.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2025-07-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, service interruption caused by terminal equipment failure or network problems, users need to re-process business, which wastes time and has a high server resource occupancy, which affects response efficiency.
By establishing a service response chain, the user and terminal equipment register nodes, the terminal equipment compresses and encodes user request data, the server stores processes in real time, and uses blockchain technology to maintain the continuity of the request process, and restores the request process in case of a terminal equipment failure.
It realizes the continuity of the user request process when the terminal device fails or the response chain is interrupted, saves user time, reduces server resource usage, and improves response efficiency.
Smart Images

Figure CN120358280A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and particularly to a remote response method based on blockchain. Background Art
[0002] With the continuous improvement of China's scientific and technological level, the degree of intelligence of terminal devices is getting higher and higher. When users handle business, they can often handle business independently through intelligent terminal devices. However, there are defects in the existing technology when responding to business. When the service is interrupted due to its own failure or network problems of the terminal device, the user needs to use another terminal device to re-handle the business. For some very cumbersome business processes, the user needs to waste a lot of time to re-handle it, and the service processes that have been handled will also be re-responded, which leads to the occupation of server response resources and greatly reduces the server response efficiency. Therefore, it is very necessary to design a remote response system based on blockchain that saves user time and reduces the occupancy rate of server response resources and improves the processing efficiency. Summary of the Invention
[0003] The purpose of the present invention is to provide a remote response method based on blockchain to solve the problems raised in the above background art.
[0004] To solve the above technical problems, the present invention provides the following technical solutions: A remote response method based on blockchain, including the following steps: Step 1: Establish a service response chain. The administrator registers nodes for the response service module, user terminal, terminal device, and user service request respectively; Step 2: The user sends a service request to the terminal device and stores the user's historical operation records in the user terminal node; Step 3: The terminal device receives the user service request and sends a service node registration instruction to the server; Step 4: The server stores the access request process in real time, establishes a new response chain and sends a reconnection request to the server; Step 5: Obtain the data of the user service request stored by the server and the service process data of the server node, and make a response to the user service request.
[0005] According to the above technical solution, the step in which the user sends a service request to the terminal device and stores the user's historical operation records in the user terminal node includes: The user accesses the terminal device through the user terminal, registers and logs in through the registration and login module to enter the service request page, selects the service type on the service request page to send a service request, and the historical operation record module stores the user operation records and service request progress.
[0006] According to the above technical solution, the steps of recording the user service request operation include: The historical operation record module collects the real-time behavior operations of the user, binds the operation records with the user login account, and the system will mark the time on each user operation when recording each user operation. The records are stored at the user end node, and the service request process and service node data are retrieved on the terminal device according to the operation records.
[0007] According to the above technical solution, the steps of the terminal device receiving the user service request and sending a service node registration instruction to the server include: The terminal device receives the service request sent by the user through the request receiving module; The processing of the user service request by the request processing module includes compressing the user service request data size and encoding the user service request; specifically, the method for compressing the user service request data size is: obtaining the user service request data, splitting the data, the data is split into n×m data blocks, and the data blocks are stacked and stored in the service node in sequence, reducing the resource occupation of the data in the service node, so that the system has higher processing efficiency; the specific method for encoding the user service request is: obtaining the user service request data block, encoding the user service request according to the data blocks split according to the service request steps, and obtaining the service request data encoding set M n ={M1, M2, M3,......M n}.
[0008] According to the above technical solution, the steps of the server storing the access request process in real time, establishing a new response chain and sending a reconnection request to the server include: Obtain the user service request, and the service process storage module scans the user request data to identify the encoding set M carried on the user request n ={M1, M2, M3,......M n}, and judge the progress of the user service request according to the encoding M n Specifically, M1 represents the first step of the user service request progress, M2 represents the second step of the user service request progress, the process storage module records the progress of the user service request, and storing the user service request process can keep the progress of the user service request in the response service module from being terminated when the terminal device fails or the response chain is disconnected. When the user uses a new terminal device to make a service request again, the service process acquisition module of the terminal device retrieves the process data in the response service module and continues to make a service request.
[0009] According to the above technical solution, the steps of obtaining the data stored by the server in the user service request and the service process data of the server node and making a response to the user service request include: The node data acquisition module acquires the user request data stored in the service node; The service process acquisition module acquires the user request process data of the service process node and obtains the user service request code M n , according to the process code M n Find the corresponding service process and send the obtained service process to the terminal device; The terminal device retrieves the historical operation records stored in the user-side node through the historical operation record module; Compare the data stored in the service node and the data of the service process node with the historical operation records. When the comparison results are exactly the same, the response service module makes a remote response to the user service request.
[0010] According to the above technical solution, the system includes: A response service module for storing user request data and remotely responding to user requests; A user side for the user to send service requests; A terminal device module for receiving and processing user service requests, acquiring service request nodes and data of service process nodes.
[0011] According to the above technical solution, the response service module includes: A service process storage module for storing service request processes; A service node registration module for registering service nodes and storing service requests in the service nodes; A server reconnection module for the terminal device to reconnect to the server; A service request response module for remotely responding to user service requests.
[0012] According to the above technical solution, the user side includes: A registration and login module for the user to log in to the service page; A historical operation record module for recording user historical operations; A service request sending module for sending service requests to the terminal device.
[0013] According to the above technical solution, the terminal device module includes: A request receiving module for receiving user service requests; A request processing module for processing user service requests; A node data acquisition module for acquiring the request data stored in the service node; A service process acquisition module for acquiring the request process data of the service process node.
[0014] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: In the present invention, by providing a service node registration module and a service process storage module, the service node registration module saves the user service request data, and the service process storage module stores the process of the user service request, ensuring that the user service request process will not be lost due to the interruption of the response chain, resulting in the service process still running and occupying the process resources of the response service module, improving the processing response speed of the response service module to the user service request, and preventing the user from having to re-initiate a service request due to equipment failure or response chain interruption. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention, and do not constitute a limitation to the present invention. In the drawings: Figure 1 FIG. is a flowchart of steps of a blockchain-based remote response method provided in Embodiment 1 of the present invention; Figure 2 FIG. is a schematic diagram of the module composition of a blockchain-based remote response system provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0016] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0017] Embodiment 1: Figure 1 FIG. is a flowchart of a blockchain-based remote response system provided in Embodiment 1 of the present invention. This embodiment can be applied to the scenario of service request response. This method can be executed by a blockchain-based remote response system provided in this embodiment, as Figure 1 shown. The method specifically includes the following steps: Step 1: Establish a service response chain. The administrator registers nodes for the response service module, the user side, the terminal device, and the user service request respectively; Step 2: The user sends a service request to the terminal device and stores the user's historical operation records in the user side node; In the embodiment of the present invention, the user accesses the terminal device through the user side, registers and logs in through the registration and login module to enter the service request page, selects the service type on the service request page to initiate a service request, and the historical operation record module stores the user's operation records and the progress of the service request; Exemplarily, the specific method for sending a service request to the terminal device is as follows: The user enters the domain name in the browser, registers and logs in to enter the service page. The user performs a click operation on the page, and the request carrier filled with service request data is sent to the terminal device through the service request sending module according to the user's click operation; The specific method for recording the user's service request operation is as follows: The historical operation record module collects the user's real-time behavior operations, binds the operation records to the user's login account, and the system will mark the time on each user operation. The records are recorded and stored at the user-side node. According to the operation records, the service request process and service node data are retrieved on the terminal device, which is convenient for the user to find the operation records of the previous service request when making a new service request again, saving the time of the user's repeated operations.
[0018] Step 3: The terminal device receives the user's service request and sends a service node registration instruction to the server; In the embodiment of the present invention, during the process of the user handling the service business, when the terminal device receives the user's service request, it processes the user's service request and sends a service node registration instruction to the server. The service node registration module performs service node registration to store the user's service request data transmitted by the terminal device, which is convenient for the user to query the data filled in when making a previous service request on a new terminal device, avoiding losses caused to the user because the operation error data filled in on the old device cannot be modified on the new device; When the terminal device does not receive data, the response chain detection module detects whether the response chain connection between the user side and the terminal device is interrupted, ensuring that the response chain can operate normally and avoiding the situation where the user's operations are not recorded due to the unconnected response chain; Exemplarily, the terminal device receives the service request sent by the user through the request receiving module; the processing of the user's service request by the request processing module includes compressing the size of the user's service request data and encoding the user's service request; among them, the specific method for compressing the size of the user's service request data is as follows: Obtain the user's service request data, divide the data, the data is divided into n×m data blocks, and the data blocks are stacked and stored in the service node in order, reducing the resource occupation of the data in the service node and enabling the system to have higher processing efficiency; the specific method for encoding the user's service request is as follows: Obtain the user's service request data block, encode the user's service request according to the data blocks divided according to the service request steps, and obtain the service request data encoding set M n ={M1, M2, M3,......M n}, which is convenient for recording the process of the user's service request steps and ensuring the real-time storage of the request process; The terminal device sends a node registration instruction carrying the user service request encoding to the service node registration module. The service node registration module receives the service node registration instruction. The node registration instruction carries the user request encoding. The service node registration module performs service node registration and stores the encoding in the service node to prevent the user from having to re-fill in the service request when the device fails or the response chain is disconnected, reducing the resource occupancy of the response service module by the user service request and improving the response efficiency of the response service module to the user request.
[0019] Step 4: The server stores the access request process in real time, establishes a new response chain and sends a reconnection request to the server. In the embodiment of the present invention, during the process of the user making a service request, the terminal device sends the user's service request operation to the response service module and sends a process node registration instruction to the response service module. The service process storage module receives the process node registration instruction and registers a user service request process storage node according to the process node registration instruction to store the operation process of the user service request, obtains the user service request, and the service process storage module scans the user request data to identify the encoding set M n ={M1, M2, M3,......M n}, and judges the progress of the user service request according to the encoding M n . Specifically, M1 represents the first step of the progress of the user service request, and M2 represents the second step of the progress of the user service request. The process storage module records the progress of the user service request. Storing the user service request process can keep the process of the user service request in the response service module from being ended when the terminal device fails or the response chain is disconnected. When the user uses a new terminal device to make a service request again, the service process acquisition module of the terminal device retrieves the process data in the response service module and continues to make the service request, avoiding the situation where the user makes a new service request to start a new process while the previous service request process has not ended and has been occupying the response resources of the response service module, slowing down the system response speed, and improving the response efficiency of the response service module. The user accesses a new terminal device, logs in, searches and calls the historical operation record module through the account information, obtains the record of the response service module in the historical operation record, and the new terminal device calls the response chain establishment module to establish a response chain connection between the terminal device and the server. Exemplarily, the response chain establishment module obtains the domain name address of the response service module, accesses the response service module through the domain name address, establishes a communication link with the response service module, deploys the response chain through the communication link, deploys the response chain on the service request node that was not completed last time, and establishes a new response chain between the new terminal device and the response service module, so as to obtain the process and service data of the previous service request, reducing the time for the user to fill in the service request.
[0020] Step Five: Obtain the data stored by the server for the user service request and the service process data of the server node, and respond to the user service request.
[0021] In the embodiment of the present invention, when a failure occurs in the terminal device for the user to make a service request or the network is abnormal, resulting in the interruption of the user service request, the user replaces the terminal device with a new one for access. After the response chain establishment module completes the establishment of the response chain, it obtains the service request node data and service process data through the terminal device. The user continues to make a service request according to the service process. When the service request is completed, the response service module remotely responds to the request of the user at the client side; Exemplarily, the node data acquisition module acquires the user request data stored in the service node; The service process acquisition module acquires the user request process data of the service process node, and acquires the user service request code M n , according to the process code M n find the corresponding service process, and send the acquired service process to the terminal device; The terminal device retrieves the historical operation record stored in the user - side node through the historical operation record module; Compare the data stored in the service node and the data of the service process node with the historical operation record. When the comparison results are exactly the same, the response service module remotely responds to the user service request, and the user operation is recorded at the user side. Even if a failure occurs in the terminal device or the response chain connection is interrupted, it will not affect the recording of the user operation at the user side. Compare the service request process and service node data obtained by the terminal device with the user - side historical operation record to prevent data transmission errors during device failures, resulting in the inability to respond to the user service request, so that the user needs to end the service request process and make a service request again, avoiding the waste of time for the user to fill in the service request and improving the response efficiency of the system.
[0022] Embodiment Two: Embodiment Two of the present invention provides a remote response system based on blockchain, Figure 2 which is a schematic diagram of the module composition of a remote response system based on blockchain provided in Embodiment Two of the present invention. As Figure 2 shown, the system includes: A response service module, used for storing user request data and remotely responding to user requests; A user side, used for the user to send a service request; A terminal device module, used for receiving and processing user service requests, and acquiring data of service request nodes and service process nodes.
[0023] In some embodiments of the present invention, the response service module includes: A service process storage module for storing service request processes; A service node registration module for registering service nodes and storing service requests in the service nodes; A server reconnection module for the terminal device to reconnect to the server; A service request response module for remotely responding to user service requests.
[0024] In some embodiments of the present invention, the client includes: A registration and login module for the user to log in to the service page; A historical operation record module for recording the user's historical operations; A service request sending module for sending service requests to the terminal device.
[0025] In some embodiments of the present invention, the terminal device module includes: A request receiving module for receiving user service requests; A request processing module for processing user service requests; A node data acquisition module for acquiring the request data stored in the service nodes; A service process acquisition module for acquiring the request process data of the service process nodes.
[0026] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device.
[0027] Finally, it should be noted that the above are only the preferred embodiments of the present invention and are not used to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A remote response method based on blockchain, characterized in that: The method includes the following steps: Step 1: Establish a service response chain. The administrator registers nodes for the response service module, the client, the terminal device, and the user service request respectively; Step 2: The user sends a service request to the terminal device and stores the user's historical operation records in the client node; Step 3: The terminal device receives the user service request and sends a service node registration instruction to the server; Step 4: The server stores the access request process in real time, establishes a new response chain and sends a reconnection request to the server; Step 5: Obtain the data of the user service request stored in the server and the service process data of the server node, and respond to the user service request; The step where the terminal device receives the user service request and sends a service node registration instruction to the server includes: The terminal device receives the service request sent by the user through the request receiving module; The processing of the user service request by the request processing module includes compressing the data size of the user service request and encoding the user service request; the specific method for compressing the data size of the user service request is as follows: obtain the user service request data, split the data, the data is split into n×m data blocks, and stack and store the data blocks in the service nodes sequentially one by one, reducing the resource occupation of the data in the service nodes and enabling the system to have higher processing efficiency; the specific method for encoding the user service request is as follows: obtain the user service request data blocks, and encode the user service request according to the data blocks split according to the service request steps to obtain the service request data encoding set M n ={M1, M2, M3,......M n}; The step where the server stores the access request process in real time, establishes a new response chain and sends a reconnection request to the server includes: Obtain the user service request. The service process storage module scans the user request data and identifies the encoding set M carried on the user request. n ={M1, M2, M3,......M n}}, and judge the progress of the user service request according to the encoding M n . Specifically, M1 represents the first step of the progress of the user service request, and M2 represents the second step of the progress of the user service request. The process storage module records the process of the user service request. Storing the user service request process can keep the process of the user service request in the response service module from ending when the terminal device fails or the response chain is disconnected. When the user uses a new terminal device to make a service request again, the service process acquisition module of the terminal device retrieves the process data in the response service module and continues the service request.