[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109213797A - A kind of querying method and device of block chain - Google Patents

A kind of querying method and device of block chain Download PDF

Info

Publication number
CN109213797A
CN109213797A CN201811163078.XA CN201811163078A CN109213797A CN 109213797 A CN109213797 A CN 109213797A CN 201811163078 A CN201811163078 A CN 201811163078A CN 109213797 A CN109213797 A CN 109213797A
Authority
CN
China
Prior art keywords
block
mark
unique identifier
checked
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811163078.XA
Other languages
Chinese (zh)
Inventor
史可
贾雪琴
邢宇龙
胡云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811163078.XA priority Critical patent/CN109213797A/en
Publication of CN109213797A publication Critical patent/CN109213797A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention discloses the querying method and device of a kind of block chain, is related to block chain field, can be improved efficiency data query.This method comprises: inquiry request is obtained, wherein the inquiry request includes the unique identifier of verification data;It is tabled look-up according to the unique identifier of the verification data and obtains the mark of block to be checked, wherein the table includes the corresponding relationship for depositing the mark of unique identifier and block of card data;The corresponding block to be checked of mark of the block to be checked is traversed, query result is obtained.

Description

A kind of querying method and device of block chain
Technical field
The embodiment of the present invention is related to block chain field more particularly to a kind of querying method and device of block chain.
Background technique
In recent years, the block chain technology development for possessing multiple technologies advantage is swift and violent, almost becomes the generation for overturning formula innovation , there is application abundant in the features such as noun, block chain technology is difficult to tamper with by it, is traceable in numerous areas and industry.
Block chain technique functions are derived from paper-" the Bitcoin:A Peer- that middle acute hearing (Satoshi Nakamoto) is delivered To-Peer Electronic Cash System ", at first as the Floor layer Technology of bit coin by public of interest.Due to mesh It is preceding not yet to have completely the same definition or concept to the technology in the world, the temporarily reference soft departments of Ministry of Industry and Information's letter in 2016 and Chinese block To block chain in chain technology and " Chinese block chain technology and the application development white paper " of industry development forum publication is defined as: For narrow sense, block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.Broadly, block chain technology Be verified using block linked data structure with storing data, using distributed node know together algorithm come generate and more new data, Guaranteed in the way of cryptography data transmission and access safety, using the intelligent contract being made of automatized script code come One kind of programming and operation data completely new distributed basis framework and calculation paradigm.It can be seen that block chain is a series of skills The technology set that art is composed has decentralization, the distinguishing features such as is difficult to tamper with, can be traced.
Related data storage is carried out using block chain chain structure at present, before the block head of the block in block chain can be directed toward One block becomes block chain so connecting.This result has ensured being difficult to tamper with for data, but chained record knot The structure disadvantage low there is also search efficiency.
Summary of the invention
The embodiment of the present invention provides the querying method and device of a kind of block chain, can be improved efficiency data query.
In a first aspect, a kind of querying method of block chain is provided,
Inquiry request is obtained, wherein the inquiry request includes the unique identifier of verification data;
It is tabled look-up according to the unique identifier of the verification data and obtains the mark of block to be checked, wherein the table includes to deposit Demonstrate,prove the corresponding relationship of the unique identifier of data and the mark of block;
The corresponding block to be checked of mark of the block to be checked is traversed, query result is obtained.
In above scheme, due to can according to obtain inquiry request in investigate data unique identifier table look-up obtain it is to be checked The mark of block, wherein table includes the corresponding relationship for depositing the mark of unique identifier and block of card data;And traverse area to be checked The corresponding block to be checked of the mark of block obtains query result.Without traversing each item number in whole block chain in each block According to so as to improve efficiency data query.
Optionally, further includes: block is generated, wherein including block head and block body, the block body packet in the block Card data are deposited containing at least one;At least one in the block is deposited into the unique identifier that the target in card data deposits card data It is associated with the mark of the block, and be stored in the table.
Optionally, the mark include the number of following either block, the block generate the time, the block when Between stab.
Optionally, the unique identifier of the verification data is any in the unique identifier for depositing card data;Or The value of person, the corresponding unique identifier for depositing card data of the mark of the block to be checked are less than the unique identification of the verification data The value of symbol, and the value of the corresponding unique identifier for depositing card data of mark of the block to be checked is maximized;Alternatively, described The value of the corresponding unique identifier for depositing card data of the mark of block to be checked is greater than the value of the unique identifier of the verification data, And the value of the corresponding unique identifier for depositing card data of the mark of the block to be checked is minimized.
Second aspect provides a kind of inquiry unit of block chain, comprising:
Acquiring unit, for obtaining inquiry request, wherein the inquiry request includes the unique identifier of verification data;
Processing unit, the unique identifier of the verification data for being obtained according to the acquiring unit table look-up acquisition to Look into the mark of block, wherein the table includes the corresponding relationship for depositing the mark of unique identifier and block of card data;
The processing unit is also used to traverse the corresponding block to be checked of mark of the block to be checked, is inquired As a result.
Optionally, the processing unit is also used to generate block, wherein in the block include block head and block body, The block body deposits card data comprising at least one;The processing unit is also used at least one in the block depositing card The unique identifier that target in data deposits card data is associated with the mark of the block, and is stored in the table.
Optionally, the mark include the number of following either block, the block generate the time, the block when Between stab.
Optionally, the unique identifier of the verification data is any in the unique identifier for depositing card data;Or The value of person, the corresponding unique identifier for depositing card data of the mark of the block to be checked are less than the unique identification of the verification data The value of symbol, and the value of the corresponding unique identifier for depositing card data of mark of the block to be checked is maximized;Alternatively, described The value of the corresponding unique identifier for depositing card data of the mark of block to be checked is greater than the value of the unique identifier of the verification data, And the value of the corresponding unique identifier for depositing card data of the mark of the block to be checked is minimized.
The third aspect provides a kind of inquiry unit of block chain, including communication interface, processor, memory, bus;Institute Memory is stated for storing computer executed instructions, the processor is connect with the memory by the bus, when described When the inquiry unit operation of block chain, the processor executes the computer executed instructions of the memory storage, so that described The inquiry unit of block chain executes the querying method such as above-mentioned block chain.
Fourth aspect provides a kind of computer storage medium, including instruction, when described instruction is run on computers, So that the computer executes the querying method such as above-mentioned block chain.
5th aspect, provides a kind of computer program product, the computer program product includes instruction code, the finger Enable code for executing the querying method such as above-mentioned block chain.
It is to be appreciated that inquiry unit, computer storage medium or the computer journey of any block chain of above-mentioned offer Sequence product is used to execute the corresponding method of first aspect presented above, and therefore, the attainable beneficial effect of institute can join It is admitted to the beneficial effect of corresponding scheme in the method and following detailed description of literary first aspect, details are not described herein again.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of storage method schematic diagram for block chain that the embodiment of the present invention provides;
Fig. 2 is a kind of schematic diagram for block chain that the embodiment of the present invention provides;
Fig. 3 is a kind of querying method schematic diagram for block chain that the embodiment of the present invention provides;
Fig. 4 is a kind of structural schematic diagram of the inquiry unit for block chain that the embodiment of the present invention provides;
Fig. 5 is a kind of structural schematic diagram of the inquiry unit for block chain that another embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Block chain technology is a kind of a kind of chain for being sequentially in time combined into data block in such a way that sequence is connected Formula data structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.Using block chain data Structure storage ensures being difficult to tamper with for data, but due to its chain structure, and it is extremely inefficient to cause search efficiency, needs time The pieces of data in whole block chain in each block is gone through, i.e., is started to query from first record, until inquiring expected data Or it finds the last item data and obtains and look into the result without this data.
To solve the above problems, providing a kind of querying method of block chain, wherein first to realize the inquiry to block chain It first needs to store block chain, it is shown referring to Fig.1, specifically comprise the following steps:
101, block is generated, wherein includes block head and block body in block, block body deposits card data comprising at least one.
Specifically the generation of block is described as follows: being illustrated in fig. 2 shown below, data generate and the data are not stored in area when having When in block, system generates a block, which stores two aspect data: it is on the one hand the data of block head, including Therefore the generation time of the block and other key parameters of block, the application are not related to the improvement of the specific structure of block head It repeats no more;It on the other hand is block body, block body storage needs cochain to deposit the data of card.The generation time of block is the area The storage time of the first data stored in block, the generation time of block 1 is 1 storage time of data in Fig. 2, block 2 Generate the storage time that the time is data (n+1).The data bulk stored in block body is big by initial data size and block Small determination, particular capacity are determined by the scene or business model of practical application.N data is housed in block body, every data by The data are stored to the storage time of block, are formed with initial data.The data that certain format is stored in block, then press block Block is connected and generates a block chain gradually increased by the time sequencing of generation.
102, at least one in block is deposited into the target in card data and deposits the unique identifier of card data and the mark of block Sensible association, and be stored in table.
Deposit card data to search cochain in following scheme, need to every it is original deposit card data distribute one it is unique Identifier, such as ID, concept are equivalent to the major key of tables of data in database.The unique identifier is from increasing, i.e. block chain The unique identifier of the data stored in interior each block is continuously increased from small to large according to the sequence of storage time, unique identification Symbol can choose using the field unrelated with its service logic information, such as digital ID of unique integer type;Also it can choose Field with service logic meaning such as indicates the character string type of concrete meaning.But from the angle of memory space and structure For, since integer type is smaller than character string type drain space, and it is more efficient.Storing data is continuously generated simultaneously in block During being connected with next block, at least one in block is deposited into the unique identification that the target in card data deposits card data Symbol is associated with the mark of block, and is stored in table.Specifically, the target deposits the unique identifier of card data and the mark of block Knowing corresponding relationship can store in the following ways: column storage, document storage, figure storage, object storage, xml storage, and store Format can be inquired.Wherein, target, which deposits card data, to be the first data in block, such as the data 1 in block 1, area Data (n+1) in block 2, illustratively, the mark of block can be the number of block, generation time, described of the block Any in the timestamp of block.It is specific: can be by the unique identifier for the first data that each block stores, with block Number as key-value pair (key-value), record all key-value pairs in block chain generating process.Alternatively, by the generation of block The unique identifier of first data of time or timestamp and each block is as key-value pair (key-value);Or it is each The unique identifier of the first data of block storage and the generation time of block or timestamp are as key-value pair (key- value)。
Block chain based on above-mentioned formation, embodiments herein provide a kind of querying method of block chain, referring to Fig. 3 institute Show, specifically comprises the following steps:
201, inquiry request is obtained, wherein inquiry request includes the unique identifier of verification data.
202, it is tabled look-up according to the unique identifier of verification data and obtains the mark of block to be checked, wherein table includes to deposit card number According to unique identifier and block mark corresponding relationship.
203, the corresponding block to be checked of mark of block to be checked is traversed, query result is obtained.
When need to inquire cochain deposit card data when, by inquiry request input verification data unique identifier, find one Group deposits the corresponding relationship of the unique identifier of card data and the mark of block, to obtain the mark of block to be checked.It is specific: to look into The unique identifier of card data is any in the unique identifier for deposit card data;It is deposited alternatively, the mark of block to be checked is corresponding The value for demonstrate,proving the unique identifier of data is less than the value of the unique identifier for investigating data, and the mark of block to be checked is corresponding The value of unique identifier for depositing card data be maximized;Alternatively, the corresponding unique mark for depositing card data of the mark of block to be checked Know symbol value be greater than the verification data unique identifier value, and the mark of the block to be checked corresponding deposits card data The value of unique identifier be minimized.Finally according to block to be checked is traversed, query result is obtained.
For example, when need to inquire cochain deposit card data when, by inquiry request input verification data unique identifier X, In the library of the key-value pair of storage, one group of key-value pair (key-value) is found, key ratio X is small and the difference of key and X is minimum, The value of this group of key-value pair (key-value) is obtained, which is the number for investigating the block of data storage.Only needs time All data in the block are gone through, can be inquired as a result, without all data for each block for traversing whole block chain.
In above scheme, due to can according to obtain inquiry request in investigate data unique identifier table look-up obtain it is to be checked The mark of block, wherein table includes the corresponding relationship for depositing the mark of unique identifier and block of card data;And traverse area to be checked The corresponding block to be checked of the mark of block obtains query result.Without traversing each item number in whole block chain in each block According to so as to improve efficiency data query.
Referring to shown in Fig. 4, a kind of inquiry unit of block chain is provided, comprising:
Acquiring unit 41, for obtaining inquiry request, wherein the inquiry request includes the unique identifier of verification data;
Processing unit 42, the unique identifier of the verification data for being obtained according to the acquiring unit 41, which is tabled look-up, to be obtained Take the mark of block to be checked, wherein the table includes the corresponding relationship for depositing the mark of unique identifier and block of card data;
The processing unit 42 is also used to traverse the corresponding block to be checked of mark of the block to be checked, is looked into Ask result.
Optionally, the processing unit 42, is also used to generate block, wherein including block head and block in the block Body, the block body deposit card data comprising at least one;
The processing unit 42 is also used to deposit at least one in the block target in card data and deposits card data Unique identifier is associated with the mark of the block, and is stored in the table.
Optionally, the mark include the number of following either block, the block generate the time, the block when Between stab.
Optionally, the unique identifier of the verification data is any in the unique identifier for depositing card data;Or The value of person, the corresponding unique identifier for depositing card data of the mark of the block to be checked are less than the unique identification of the verification data The value of symbol, and the value of the corresponding unique identifier for depositing card data of mark of the block to be checked is maximized;Alternatively, described The value of the corresponding unique identifier for depositing card data of the mark of block to be checked is greater than the value of the unique identifier of the verification data, And the value of the corresponding unique identifier for depositing card data of the mark of the block to be checked is minimized.
Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module Function description, effect details are not described herein.
Using integrated module, the inquiry unit of block chain includes: storage unit, processing unit and connects Mouth unit.Processing unit is used to carry out control management to the movement of the inquiry unit of block chain, for example, processing unit is for supporting The inquiry unit of block chain executes the step 201-203 in process 101-102 and Fig. 3 in Fig. 1;Interface unit is for supporting The inquiry unit of block chain and the information exchange of other equipment, such as obtain data from other equipment or sent to other equipment Data.Storage unit, the program code and data of the inquiry unit for memory block chain.
Wherein, using processing unit as processor, storage unit is memory, and interface unit is for communication interface.Wherein, The inquiry unit of block chain referring to fig. 5, lead to by including communication interface 501, processor 502, memory 503 and bus 504 Letter interface 501, processor 502 are connected by bus 504 with memory 503.
Processor 502 can be a general central processor (Central Processing Unit,
CPU), microprocessor, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), or it is one or more for controlling the integrated circuit of application scheme program execution.
Memory 503 can be read-only memory (Read-Only Memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored The other kinds of dynamic memory of breath and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-only Memory, EEPROM), CD-ROM (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this. Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor.
Wherein, memory 503 is used to store the application code for executing application scheme, and is controlled by processor 502 System executes.Communication interface 501 is used to carry out information exchange with other equipment, such as the inquiry unit of block chain is supported to set with other Standby information exchange, such as obtain data from other equipment or send data to other equipment.Processor 502 is deposited for executing The application code stored in reservoir 503, to realize method described in the embodiment of the present application.
In addition, a kind of calculating storage media (or medium) is also provided, including carrying out in above-described embodiment when executed The instruction for the method operation that the inquiry unit of block chain executes.In addition, also providing a kind of computer program product, including above-mentioned meter Calculate storage media (or medium).
Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module Function description, effect details are not described herein.
It should be understood that in various embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to execute suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (full name in English: read-only memory, English letter Claim: ROM), random access memory (full name in English: random access memory, English abbreviation: RAM), magnetic disk or light The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (11)

1. a kind of querying method of block chain, which is characterized in that
Inquiry request is obtained, wherein the inquiry request includes the unique identifier of verification data;
It is tabled look-up according to the unique identifier of the verification data and obtains the mark of block to be checked, wherein the table includes to deposit card number According to unique identifier and block mark corresponding relationship;
The corresponding block to be checked of mark of the block to be checked is traversed, query result is obtained.
2. the querying method of block chain according to claim 1, which is characterized in that further include:
Block is generated, wherein including block head and block body in the block, the block body deposits card data comprising at least one;
At least one in the block is deposited into the target in card data and deposits the unique identifier of card data and the mark of the block Sensible association, and be stored in the table.
3. the querying method of block chain according to claim 1, which is characterized in that the mark includes following either block Number, the block generate the time, the block timestamp.
4. the querying method of block chain according to claim 1, which is characterized in that the unique identifier of the verification data For any in the unique identifier for depositing card data;
Alternatively, the value of the corresponding unique identifier for depositing card data of the mark of the block to be checked is less than the verification data only The value of one identifier, and the value of the corresponding unique identifier for depositing card data of mark of the block to be checked is maximized;
Alternatively, the value of the corresponding unique identifier for depositing card data of the mark of the block to be checked is greater than the verification data only The value of one identifier, and the value of the corresponding unique identifier for depositing card data of mark of the block to be checked is minimized.
5. a kind of inquiry unit of block chain, which is characterized in that
Acquiring unit, for obtaining inquiry request, wherein the inquiry request includes the unique identifier of verification data;
Processing unit, the unique identifier of the verification data for being obtained according to the acquiring unit, which is tabled look-up, obtains area to be checked The mark of block, wherein the table includes the corresponding relationship for depositing the mark of unique identifier and block of card data;
The processing unit is also used to traverse the corresponding block to be checked of mark of the block to be checked, obtains query result.
6. the inquiry unit of block chain according to claim 5, which is characterized in that
The processing unit is also used to generate block, wherein including block head and block body, the block body packet in the block Card data are deposited containing at least one;
The processing unit is also used to deposit at least one in the block unique mark that the target in card data deposits card data It is associated with the mark of the block to know symbol, and is stored in the table.
7. the inquiry unit of block chain according to claim 6, which is characterized in that the mark includes following either block Number, the block generate the time, the block timestamp.
8. the inquiry unit of block chain according to claim 6, which is characterized in that the unique identifier of the verification data For any in the unique identifier for depositing card data;
Alternatively, the value of the corresponding unique identifier for depositing card data of the mark of the block to be checked is less than the verification data only The value of one identifier, and the value of the corresponding unique identifier for depositing card data of mark of the block to be checked is maximized;
Alternatively, the value of the corresponding unique identifier for depositing card data of the mark of the block to be checked is greater than the verification data only The value of one identifier, and the value of the corresponding unique identifier for depositing card data of mark of the block to be checked is minimized.
9. a kind of inquiry unit of block chain, which is characterized in that including communication interface, processor, memory, bus;It is described to deposit Reservoir is for storing computer executed instructions, and the processor is connect with the memory by the bus, when the block When the inquiry unit operation of chain, the processor executes the computer executed instructions of the memory storage, so that the block The inquiry unit of chain executes the querying method of block chain according to any one of claims 1-4.
10. a kind of computer storage medium, including instruction, which is characterized in that when described instruction is run on computers, so that The computer executes the querying method of block chain according to any one of claims 1-4.
11. a kind of computer program product, which is characterized in that the computer program product includes instruction code, described instruction Code is used to execute the querying method of block chain according to any one of claims 1-4.
CN201811163078.XA 2018-09-30 2018-09-30 A kind of querying method and device of block chain Pending CN109213797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811163078.XA CN109213797A (en) 2018-09-30 2018-09-30 A kind of querying method and device of block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811163078.XA CN109213797A (en) 2018-09-30 2018-09-30 A kind of querying method and device of block chain

Publications (1)

Publication Number Publication Date
CN109213797A true CN109213797A (en) 2019-01-15

Family

ID=64982885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811163078.XA Pending CN109213797A (en) 2018-09-30 2018-09-30 A kind of querying method and device of block chain

Country Status (1)

Country Link
CN (1) CN109213797A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390525A (en) * 2019-07-31 2019-10-29 中国工商银行股份有限公司 The direct access method and block chain node of block chain world state
CN111339086A (en) * 2020-02-18 2020-06-26 腾讯科技(深圳)有限公司 Block processing method, and data query method and device based on block chain
US20200213089A1 (en) 2019-04-04 2020-07-02 Alibaba Group Holding Limited Data storage method, apparatus, system and device
WO2020199711A1 (en) * 2019-04-04 2020-10-08 创新先进技术有限公司 Data storage method, system, device and apparatus
WO2020253231A1 (en) * 2019-06-20 2020-12-24 创新先进技术有限公司 Receipt-based data storage method and apparatus, and device
CN112328601A (en) * 2020-11-16 2021-02-05 深圳壹账通智能科技有限公司 Data processing method, device, equipment and storage medium based on block chain
US10944549B2 (en) 2019-06-20 2021-03-09 Advanced New Technologies Co., Ltd. Blockchain-type data storage
CN113312365A (en) * 2021-05-27 2021-08-27 上海万向区块链股份公司 Method, system, medium and equipment for quickly inquiring intelligent contract data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN108304475A (en) * 2017-12-28 2018-07-20 北京比特大陆科技有限公司 Data query method, apparatus and electronic equipment
CN108563788A (en) * 2018-04-27 2018-09-21 腾讯科技(深圳)有限公司 Data query method, apparatus, server and storage medium based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
CN108304475A (en) * 2017-12-28 2018-07-20 北京比特大陆科技有限公司 Data query method, apparatus and electronic equipment
CN108563788A (en) * 2018-04-27 2018-09-21 腾讯科技(深圳)有限公司 Data query method, apparatus, server and storage medium based on block chain

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200213089A1 (en) 2019-04-04 2020-07-02 Alibaba Group Holding Limited Data storage method, apparatus, system and device
WO2020199711A1 (en) * 2019-04-04 2020-10-08 创新先进技术有限公司 Data storage method, system, device and apparatus
US10917231B2 (en) 2019-04-04 2021-02-09 Advanced New Technologies Co., Ltd. Data storage method, apparatus, system and device
US11005648B2 (en) 2019-06-20 2021-05-11 Advanced New Technologies Co., Ltd. Blockchain-type data storage
WO2020253231A1 (en) * 2019-06-20 2020-12-24 创新先进技术有限公司 Receipt-based data storage method and apparatus, and device
US11223471B2 (en) 2019-06-20 2022-01-11 Advanced New Technologies Co., Ltd. Blockchain-type data storage
US10944549B2 (en) 2019-06-20 2021-03-09 Advanced New Technologies Co., Ltd. Blockchain-type data storage
US10999062B2 (en) 2019-06-20 2021-05-04 Advanced New Technologies Co., Ltd. Blockchain-type data storage
CN110390525B (en) * 2019-07-31 2022-05-20 中国工商银行股份有限公司 Direct access method for block chain world state and block chain node
CN110390525A (en) * 2019-07-31 2019-10-29 中国工商银行股份有限公司 The direct access method and block chain node of block chain world state
CN111339086B (en) * 2020-02-18 2021-04-20 腾讯科技(深圳)有限公司 Block processing method, and data query method and device based on block chain
WO2021164321A1 (en) * 2020-02-18 2021-08-26 腾讯科技(深圳)有限公司 Block processing method and apparatus, and data query method and apparatus based on blockchain
CN111339086A (en) * 2020-02-18 2020-06-26 腾讯科技(深圳)有限公司 Block processing method, and data query method and device based on block chain
US20220171776A1 (en) * 2020-02-18 2022-06-02 Tencent Technology (Shenzhen) Company Limited Block processing method and apparatus, and blockchain-based data query method and apparatus
CN112328601A (en) * 2020-11-16 2021-02-05 深圳壹账通智能科技有限公司 Data processing method, device, equipment and storage medium based on block chain
CN113312365A (en) * 2021-05-27 2021-08-27 上海万向区块链股份公司 Method, system, medium and equipment for quickly inquiring intelligent contract data

Similar Documents

Publication Publication Date Title
CN109213797A (en) A kind of querying method and device of block chain
US10853354B2 (en) Method of generating globally verifiable unique identifiers using a scalable interlinked blockchain structure
CN113169877B (en) Computer-implemented system and method for storing, retrieving and communicating data via a peer-to-peer network
WO2020063820A1 (en) Asset transaction method, storage medium and computer device
US8224825B2 (en) Graph-processing techniques for a MapReduce engine
JP2023089207A (en) Consolidated blockchain-based data transfer control method and system
EP3321819B1 (en) Device, method and program for securely reducing an amount of records in a database
CN111201754A (en) Apparatus for providing a collection of cryptographically protected and filtered and sorted transaction data sets of links of a blockchain
CN108563796A (en) Data compressing method, device and the electronic equipment of block chain
CN104346365A (en) Device and method for determining specific service associated logs
CN112261163B (en) State storage method in block chain system, block chain system and node
CN112261160B (en) Method and system for quitting cross-slice transaction in block chain system containing slices
CN110910143A (en) Identity identification generation method, device, related node and medium
CN113221165B (en) User element authentication method and device based on block chain
CN111737726A (en) Relation data query method and device based on business data block chain
CN110704438A (en) Method and device for generating bloom filter in block chain
CN112261162B (en) Method and system for executing cross-slice transaction, main chain node and target slicing node
CN103117864A (en) Subnet combination method and device
CN112261157A (en) Method and system for submitting cross-fragment transaction, main chain node and source fragment node
WO2024198450A1 (en) Method for deploying contract in blockchain, and blockchain node
CN116610676B (en) Method, device, equipment and medium for generating identifier in distributed system
CN108874871A (en) Real-time PNT service data source tracing method and device
CN104932982B (en) A kind of Compilation Method and relevant apparatus of message memory access
CN115422184A (en) Data acquisition method, device, equipment and storage medium
JP6931331B2 (en) Blockchain management system, blockchain management method and blockchain management program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190115