Asynchronous data export method and device

The export of asynchronous data through blockchain technology has solved the problems of long export time, poor user experience, and low security of data retention in existing technologies, and achieved efficient and secure data export process.

CN113779152BActive Publication Date: 2025-01-24工银科技有限公司 +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111078732.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-15
Publication Date
2025-01-24
Estimated Expiration
2041-09-15

AI Technical Summary

Technical Problem

The existing synchronous data export technology can easily lead to too long export time when the data volume is large, resulting in failure of export, affecting the user experience, and being unable to keep a safe trace and being unable to trace the exporter, time and conditions.

Method used

Adopt asynchronous data export method and realize data export through blockchain technology. Specific steps include receiving and parsing the data export request message, broadcasting the export key information, sending the export key information to the corresponding blockchain node for data export, receiving and broadcasting the export result, and finally sending the result to the user node.

Benefits of technology

Solving the problem of exporting timeout, poor user experience, and low security of data retention, realized asynchronous export, enhanced the user experience, and ensured the security of the exported data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113779152B_ABST
    Figure CN113779152B_ABST
Patent Text Reader

Abstract

The present invention provides an asynchronous data export method and device, which can be used in the field of blockchain. The method includes: receiving and parsing a data export request message sent by a first blockchain node, obtaining export key information, and broadcasting the export key information; sending the export key information to a second blockchain node corresponding thereto, so that the second blockchain node exports data according to the export key information to obtain a data export result; receiving the data export result sent by the second blockchain node, broadcasting the data export result, and sending the data export result to the first blockchain node; wherein the data export result is used by the user to perform data export operations. The present invention uses blockchain technology to effectively solve the problems of users needing to wait during the export process and the inability to leave traces for the export, which can significantly improve the user experience and the new export operation mode, and ensure the security of the exported data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to an asynchronous data export method and device. Background Art

[0002] The existing mainstream export technology solution is synchronous data export. When the amount of data is large, the export time will be too long and the export will fail, affecting the normal use of the function. In the current synchronous export technology solution, after the user triggers the export function on the application system, he needs to wait for the system to combine the data to generate the export file, and the customer cannot perform other operations during this period. At the same time, the export record cannot be safely left, and it is impossible to trace back the exporter, export time, and export conditions at the time.

[0003] During the export process, users need to wait for the system to execute the export operation. During this process, users cannot perform other operations, which affects the efficiency of system use. The fund transfer system and other sensitive data involving funds and customer information need to be exported and recorded, but the current export implementation solution does not have a secure recording mechanism. Summary of the invention

[0004] In view of the problems existing in the prior art, the main purpose of the embodiments of the present invention is to provide an asynchronous data export method and device, which overcomes the shortcomings of the existing export technology such as export timeout failure, poor user experience, and low data trace security.

[0005] In order to achieve the above object, an embodiment of the present invention provides an asynchronous data export method, the method comprising:

[0006] Receive and parse the data export request message sent by the first blockchain node, obtain export key information, and broadcast the export key information;

[0007] Sending the exported key information to a second blockchain node corresponding thereto, so that the second blockchain node exports data according to the exported key information to obtain a data export result;

[0008] Receive the data export result sent by the second blockchain node, broadcast the data export result, and send the data export result to the first blockchain node; wherein the data export result is used by the user to perform data export operations.

[0009] Optionally, in one embodiment of the present invention, the exported key information includes export parameter conditions and export time.

[0010] Optionally, in one embodiment of the present invention, sending the data export result to the first blockchain node includes:

[0011] According to the export key information, the data export result is sent to a first blockchain node corresponding to the export key information.

[0012] Optionally, in one embodiment of the present invention, the data export result includes export consumption time and a data download link.

[0013] An embodiment of the present invention further provides an asynchronous data export device, the device comprising:

[0014] An export request module, used to receive and parse the data export request message sent by the first blockchain node, obtain export key information, and broadcast the export key information;

[0015] An export result module, used to send the export key information to a second blockchain node corresponding thereto, so that the second blockchain node exports data according to the export key information to obtain a data export result;

[0016] A result sending module is used to receive the data export result sent by the second blockchain node, broadcast the data export result, and send the data export result to the first blockchain node; wherein the data export result is used by the user to perform data export operations.

[0017] Optionally, in one embodiment of the present invention, the exported key information includes export parameter conditions and export time.

[0018] Optionally, in one embodiment of the present invention, the result sending module is also used to send the data export result to a first blockchain node corresponding to the export key information based on the export key information.

[0019] Optionally, in one embodiment of the present invention, the data export result includes export consumption time and a data download link.

[0020] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the program.

[0021] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above method.

[0022] The present invention utilizes blockchain technology to effectively solve the problems of users having to wait during the export process and the inability to leave traces of the export, etc., which can significantly improve the user experience and the new export operation mode, and ensure the security of the exported data. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 This is a flow chart of an asynchronous data export method according to an embodiment of the present invention;

[0025] Figure 2 This is a schematic diagram of multi-terminal interaction for asynchronous data export in an embodiment of the present invention;

[0026] Figure 3 This is a schematic diagram of the structure of an asynchronous data export device according to an embodiment of the present invention;

[0027] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The embodiments of the present invention provide an asynchronous data export method and device, which can be used in the financial field and other fields. It should be noted that the asynchronous data export method and device of the present invention can be used in the financial field, and can also be used in any field other than the financial field. The application field of the asynchronous data export method and device of the present invention is not limited.

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] like Figure 1 The flowchart of an asynchronous data export method according to an embodiment of the present invention is shown. The execution subject of the asynchronous data export method provided by the embodiment of the present invention includes but is not limited to a blockchain technology platform. The method shown in the figure includes:

[0031] Step S1, receiving and parsing a data export request message sent by a first blockchain node, obtaining export key information, and broadcasting the export key information.

[0032] The blockchain technology platform receives a data export request message from a user node (i.e., the first blockchain node). The blockchain technology platform parses the data export request message to obtain export key information. The blockchain technology platform broadcasts the export key information to achieve traceability of the export key information.

[0033] In this embodiment, the exported key information includes export parameter conditions and export time. The parameter conditions mainly include the export business type, the start and end time of the exported data, the export callback address, the call-out screening conditions, etc. Specifically, the export parameter conditions represent the parameters and conditions required for the current data export operation. According to the export parameter conditions, the blockchain node that executes the data export can be known, that is, the second blockchain node.

[0034] Step S2: Send the exported key information to the second blockchain node corresponding to it, so that the second blockchain node exports data according to the exported key information to obtain a data export result.

[0035] The key export information obtained by parsing is sent to the second blockchain node that performs the export operation, that is, the export execution node. The export execution node performs the data export operation according to the key export information to obtain the data export result.

[0036] In this embodiment, the data export result includes the export time and the data download link. In addition, the data export result may further include the export data according to specific needs. The export execution node sends the obtained data export result to the blockchain technology platform.

[0037] Step S3, receiving the data export result sent by the second blockchain node, broadcasting the data export result, and sending the data export result to the first blockchain node; wherein the data export result is used by the user to perform data export operations.

[0038] Among them, the blockchain technology platform receives the data export results and broadcasts the data export results to achieve data export result traceability. The blockchain technology platform determines the user node corresponding to the data export result based on the export key information obtained by parsing the data export request message, and sends the data export result to the corresponding user node.

[0039] Furthermore, after receiving the data export result, the user node downloads the data according to the data download link in the data export result, thereby completing the data export process.

[0040] As an embodiment of the present invention, sending the data export result to the first blockchain node includes: according to the export key information, sending the data export result to the first blockchain node corresponding to the export key information.

[0041] Among them, the blockchain technology platform determines the user node corresponding to the data export result based on the export key information obtained by parsing the data export request message, and sends the data export result to the corresponding user node.

[0042] In this embodiment, the user's export request is pushed to the blockchain to leave a trace, and then the blockchain notifies the application system to execute the export operation. After the application system completes the data export, it notifies the blockchain of the export results and other information. The blockchain then notifies the user to download the exported folder to the corresponding path, thereby solving the decoupling of the export function and user operations. After the user executes the export operation, the blockchain will schedule the instructions and notify the results. The user can perform other operations asynchronously during this period, and the export behavior is traced on the blockchain.

[0043] In a specific embodiment of the present invention, Figure 2 The figure shows a schematic diagram of multi-terminal interaction for implementing the asynchronous data export method of the present invention. The interaction process in the figure specifically includes an export application phase, an export request scheduling phase, an export result notification phase, and a user export file download phase.

[0044] Among them, in the export application stage: the node where the export application user is located and the export execution application are included in the blockchain network environment as nodes, and the relevant information is uploaded to the blockchain technology platform through the data transmission channel. The user sends the export application message to the blockchain technology platform through the export application. After the blockchain node parses the message, it broadcasts the key information using the immutability of the blockchain and prepares to schedule the call-out behavior.

[0045] Further, in the export request scheduling stage: after the blockchain technology platform parses the export request message, it schedules the export parameter conditions, export time and other information to the blockchain application node according to the parsed message, and schedules the application node to perform the export behavior according to the message parameters through the network request, and waits for the export result. The export result includes information such as the export time, export data (if necessary), and the export file download link. The export result is broadcasted and left on each node of the blockchain, and the export result is prepared to be notified to the user node.

[0046] Furthermore, the export result refers to the result message, because the exported data may be very large, such as thousands of data, and there are too many data stored in the blockchain, so what is returned to the user may not contain the specific data of the export data, but some export information. Regardless of whether the exported data is included, the user downloads it according to the export link in the result.

[0047] Furthermore, in the export result notification stage: after the blockchain technology platform obtains the export result, it will notify the user node of the export result-related information through network communication based on the message parsing result of this export application, and the user node will perform subsequent operations after obtaining the export result message.

[0048] Furthermore, user export file download: after the user obtains the export result message, the user can view the export result, export related information and choose to download the export file according to the download link of the export file.

[0049] The present invention utilizes blockchain technology to effectively solve the problems of users having to wait during the export process and the inability to leave traces of the export, etc., which can significantly improve the user experience and the new export operation mode, and ensure the security of the exported data.

[0050] like Figure 3 FIG. 1 is a schematic diagram of the structure of an asynchronous data export device according to an embodiment of the present invention. The device shown in the figure includes:

[0051] The export request module 10 is used to receive and parse the data export request message sent by the first blockchain node, obtain the export key information, and broadcast the export key information.

[0052] The blockchain technology platform receives a data export request message from a user node, i.e., a first blockchain node. The blockchain technology platform parses the data export request message to obtain export key information. The blockchain technology platform broadcasts the export key information to leave traces of the export key information.

[0053] The export result module 20 is used to send the export key information to the second blockchain node corresponding to it, so that the second blockchain node exports data according to the export key information to obtain a data export result.

[0054] The key export information obtained by parsing is sent to the second blockchain node that performs the export operation, that is, the export execution node. The export execution node performs the data export operation according to the key export information to obtain the data export result.

[0055] The result sending module 30 is used to receive the data export result sent by the second blockchain node, broadcast the data export result, and send the data export result to the first blockchain node; wherein the data export result is used by the user to perform data export operations.

[0056] Among them, the blockchain technology platform receives the data export results and broadcasts the data export results to achieve data export result traceability. The blockchain technology platform determines the user node corresponding to the data export result based on the export key information obtained by parsing the data export request message, and sends the data export result to the corresponding user node.

[0057] Furthermore, after receiving the data export result, the user node downloads the data according to the data download link in the data export result, thereby completing the data export process.

[0058] As an embodiment of the present invention, exporting key information includes exporting parameter conditions and exporting time.

[0059] As an embodiment of the present invention, the result sending module is also used to send the data export result to the first blockchain node corresponding to the export key information based on the export key information.

[0060] As an embodiment of the present invention, the data export result includes the export consumption time and the data download link.

[0061] Based on the same application concept as the above-mentioned asynchronous data export method, the present invention also provides the above-mentioned asynchronous data export device. Since the principle of solving the problem by the asynchronous data export device is similar to that of the asynchronous data export method, the implementation of the asynchronous data export device can refer to the implementation of the asynchronous data export method, and the repeated parts will not be repeated.

[0062] The present invention utilizes blockchain technology to effectively solve the problems of users having to wait during the export process and the inability to leave traces of the export, etc., which can significantly improve the user experience and the new export operation mode, and ensure the security of the exported data.

[0063] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the program.

[0064] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above method.

[0065] like Figure 4 As shown, the electronic device 600 may further include: a communication module 110, an input unit 120, an audio processing unit 130, a display 160, and a power supply 170. It is worth noting that the electronic device 600 does not necessarily have to include Figure 4 In addition, the electronic device 600 may also include Figure 4 For components not shown, reference may be made to the prior art.

[0066] like Figure 4 As shown, the central processor 100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The central processor 100 receives inputs and controls the operations of various components of the electronic device 600.

[0067] The memory 140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 100 may execute the program stored in the memory 140 to implement information storage or processing.

[0068] The input unit 120 provides input to the CPU 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display display objects such as images and text. The display may be, for example, an LCD display, but is not limited thereto.

[0069] The memory 140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 140 may also be some other type of device. The memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application / function storage unit 142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 600 through the central processor 100.

[0070] The memory 140 may also include a data storage unit 143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 144 of the memory 140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0071] The communication module 110 is a transmitter / receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter / receiver) 110 is coupled to the central processor 100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0072] Based on different communication technologies, multiple communication modules 110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module. The communication module (transmitter / receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide an audio output via the speaker 131 and receive an audio input from the microphone 132, thereby realizing a common telecommunication function. The audio processor 130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 130 is also coupled to the central processor 100, so that the sound can be recorded on the local machine through the microphone 132, and the sound stored on the local machine can be played through the speaker 131.

[0073] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0074] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0075] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0076] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0077] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An asynchronous data export method, characterized in that: The method comprises: Receive and parse the data export request message sent by the first blockchain node, obtain export key information, and broadcast the export key information; Sending the exported key information to a second blockchain node corresponding thereto, so that the second blockchain node exports data according to the exported key information to obtain a data export result; Receive the data export result sent by the second blockchain node, broadcast the data export result, and send the data export result to the first blockchain node; wherein the data export result is used by the user to perform a data export operation, specifically: The export request of the first blockchain node is pushed to the blockchain to leave a trace, and then the application system is notified through the blockchain to execute the export operation. After the application system completes the data export, it notifies the blockchain of the export result and other information. The blockchain then notifies the second blockchain node to download the exported folder to the corresponding path.

2. The method according to claim 1, characterized in that The export key information includes export parameter conditions and export time.

3. The method according to claim 1, characterized in that The sending the data export result to the first blockchain node includes: According to the export key information, the data export result is sent to a first blockchain node corresponding to the export key information.

4. The method according to claim 1, characterized in that The data export result includes the export consumption time and the data download link.

5. An asynchronous data export device, characterized in that: The device comprises: An export request module, used to receive and parse the data export request message sent by the first blockchain node, obtain export key information, and broadcast the export key information; An export result module, used to send the export key information to a second blockchain node corresponding thereto, so that the second blockchain node exports data according to the export key information to obtain a data export result; A result sending module is used to receive the data export result sent by the second blockchain node, broadcast the data export result, and send the data export result to the first blockchain node; wherein the data export result is used by the user to perform data export operations, specifically: The export request of the first blockchain node is pushed to the blockchain to leave a trace, and then the application system is notified through the blockchain to execute the export operation. After the application system completes the data export, it notifies the blockchain of the export result and other information. The blockchain then notifies the second blockchain node to download the exported folder to the corresponding path.

6. The device according to claim 5, characterized in that The export key information includes export parameter conditions and export time.

7. The device according to claim 5, characterized in that The result sending module is also used to send the data export result to a first blockchain node corresponding to the export key information based on the export key information.

8. The device according to claim 5, characterized in that The data export result includes the export consumption time and the data download link.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Data transmission method and device based on block chain and electronic equipment

    CN110933072A