Index creating method, device and equipment

An index and index table technology, applied in the information field, can solve problems such as not paying attention to the sequence of data records

Active Publication Date: 2019-06-18
ADVANCED NEW TECH CO LTD
View PDF4 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]Aiming at the problem that the existing block chain ledger does not pay attention to the order of data records, in order to realize centralized data storage and improve user experience, the embodiment of th

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
  • Index creating method, device and equipment
  • Index creating method, device and equipment
  • Index creating method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0041] In this embodiment, although several time effective digits are sacrificed, the hash value of the data record can be directly read, and the block height of the data block can be identified by a designated serial number (ie, 000 in Table 2).

[0042] The above index can be created immediately when the block is created, or it can be created asynchronously. The index itself can be used for some search or statistical operations, for example, to count the number of data records in a certain period of time, to avoid traversal counting from within the data block, which is more convenient.

[0043] By traversing all data blocks and writing the corresponding data records in all data blocks into the index table, the completed index table corresponding to all user data can be obtained. In the above index table, each data record has the block time of being written into the block (the block time of each data record in the same block is the same), and the order in which it is accepted by t...

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 discloses an index creation method, device and equipment. In a scene that a server centrally stores data records in a data block chain manner, each data block comprises a hash value of adata block itself determined by a hash value of a previous data block and the data records contained in the data block itself, and a provider of the data service cannot easily change the stored data.At the moment, the index table about the acceptance time sequence of the data records in the data block is created, so that the data records can be conveniently queried and traced, and the user experience is improved.

Description

technical field [0001] The embodiments of this specification relate to the field of information technology, and in particular, to an index creation method, device, and equipment. Background technique [0002] When using a block-chain ledger to store data, a data block often contains multiple data records, and it is difficult to see the order in which each data record is accepted in a general block-chain ledger. And when the data records are stored in the server in a centralized manner, the server often has some relationship with the order in which the data records are accepted. For example, the user's consumption record, or, based on the user's instruction, the service provider's operation record on a certain data or account, etc., the difference in the order of acceptance often leads to different results. [0003] Based on this, an index that can reflect the time sequence of data records accepted by the centralized service provider is needed. Contents of the invention ...

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
IPC IPC(8): G06F16/22
Inventor 杨新颖
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products