Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Uplink data reading method, cache server and computer readable storage medium

A cache server, data reading technology, applied in the field of data processing, can solve problems such as poor user experience and long waiting time

Active Publication Date: 2020-02-04
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, an embodiment of the present application provides a method for reading uplink data, a cache server, and a computer-readable storage medium to solve the problem that users need to wait for the uplink data to be blocked in the existing uplink data reading mode. The on-chain data can only be read from the blockchain after the chain is recorded, the waiting time is long, and the user experience is poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Uplink data reading method, cache server and computer readable storage medium
  • Uplink data reading method, cache server and computer readable storage medium
  • Uplink data reading method, cache server and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] A method for reading uplink data provided by Embodiment 1 of this application is described below, please refer to the attached figure 2 , the uplink data reading method in Embodiment 1 of the present application includes:

[0040] Step S201, receiving an uplink task, and backing up uplink data in the uplink task;

[0041] When the client needs to record some data in the blockchain, it can submit an uplink task to the cache server. The uplink task includes the uplink data that needs to be uplinked.

[0042] After receiving the uplink task, the cache server backs up the uplink data in the uplink task.

[0043] Step S202, using the backed-up uplink data as the first uplink data, and sending the first uplink data to the blockchain system;

[0044] After backing up the uplink data, the cache server takes the backed up uplink data as the first uplink data, and sends the first uplink data to the blockchain system, and the unbacked uplink data waits for backup.

[0045] Ste...

Embodiment 2

[0083] Embodiment 2 of the present application provides a cache server. For the convenience of description, only the parts related to the present application are shown, such as image 3 As shown, the cache server includes,

[0084] A task backup module 301, configured to receive an uplink task, and back up uplink data in the uplink task;

[0085] The data uplink module 302 is configured to use the backed up uplink data as the first uplink data, and send the first uplink data to the blockchain system;

[0086] The data query module 303 is configured to, when a data query instruction is received, search for the second uplink data corresponding to the data query instruction from the blockchain system or the backup uplink data according to the data query instruction;

[0087] A data feedback module 304, configured to return the second uplink data to the issuer of the data query instruction.

[0088] Further, the task backup module 301 specifically includes:

[0089] The receivi...

Embodiment 3

[0102] Figure 4 It is a schematic diagram of the cache server provided in Embodiment 3 of the present application. Such as Figure 4 As shown, the cache server 4 in this embodiment includes: a processor 40 , a memory 41 , and a computer program 42 stored in the memory 41 and operable on the processor 40 . When the processor 40 executes the computer program 42, it implements the steps in the above embodiment of the uplink data reading method, for example figure 2 Steps S201 to S204 are shown. Alternatively, when the processor 40 executes the computer program 42, it realizes the functions of the modules / units in the above-mentioned device embodiments, for example image 3 The functions of modules 301 to 304 are shown.

[0103] Exemplarily, the computer program 42 can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 41 and executed by the processor 40 to complete this application. The one or more modules / units may be a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the technical field of data processing, and provides an uplink data reading method, a cache server and a computer readable storage medium. The method comprises the following steps: receiving an uplink task, and backing up uplink data in the uplink task; taking the backed-up uplink data as first uplink data, and sending the first uplink data to a block chain system; when a data query instruction is received, searching second uplink data corresponding to the data query instruction from the blockchain system or the backup uplink data according to the data query instruction; and returning the second uplink data to the publisher of the data query instruction. According to the method, the problems that in an existing uplink data reading mode, a user needs to wait for the uplink data to be recorded by the block chain and then can read the uplink data from the block chain, the waiting time is long, and the user experience is poor can be solved.

Description

technical field [0001] The present application belongs to the technical field of data processing, and in particular relates to a method for reading uplink data, a cache server, and a computer-readable storage medium. Background technique [0002] With the development of blockchain technology, blockchain is gradually applied in various fields, such as data storage, smart contracts, etc. [0003] When using the blockchain to store data, the data needs to be stored in blocks, but it takes a certain amount of time for the blockchain system to generate a new block. The current block chain system generally takes 0.5 seconds to 2 seconds to produce a block. Moreover, the amount of data that can be stored in each block is limited. When the data volume of the on-chain data is large, some of the data needs to wait for a long time to be recorded by the blockchain, and the on-chain time is long. [0004] In some application scenarios, after the user submits the on-chain data to the blo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095H04L67/1097H04L67/568Y02D10/00
Inventor 杨小彦
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products