CN110377644A - It is related to the search data sharing method and its system of block chain - Google Patents

It is related to the search data sharing method and its system of block chain Download PDF

Info

Publication number
CN110377644A
CN110377644A CN201910679582.3A CN201910679582A CN110377644A CN 110377644 A CN110377644 A CN 110377644A CN 201910679582 A CN201910679582 A CN 201910679582A CN 110377644 A CN110377644 A CN 110377644A
Authority
CN
China
Prior art keywords
search
search data
block chain
data
client
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
CN201910679582.3A
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.)
Beijing Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Ai Morui Strategic Technology 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 Beijing Ai Morui Strategic Technology Co Ltd filed Critical Beijing Ai Morui Strategic Technology Co Ltd
Priority to CN201910679582.3A priority Critical patent/CN110377644A/en
Publication of CN110377644A publication Critical patent/CN110377644A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses be related to the search data sharing method and its system of block chain, which comprises at least one search server every preset time period sends the first search data inquiry request and gives block chain node;At least one described search server receives the first search data that the block chain node is sent;The first search data storage in the local database, is searched for data in order to which user accesses described first by client by least one described search server.Method in the application enables to user's operation easy, and after operation is primary, the other users of each related platform can view the search data, and then the user experience is improved.

Description

It is related to the search data sharing method and its system of block chain
Technical field
The present invention relates to field of computer technology more particularly to the search data sharing methods and its system of block chain.
Background technique
Currently, every kind of application is owned by respective centralization database, the difference in each field and same area in internet Between platform, data can not be shared.For example: user has issued a data on A platform, and the database of A platform can be deposited The data are stored up, the only other users of A platform can just see the data.At this point, if the user wants to allow the other users of B platform The data is viewed, which has to issue same data on B platform;Then, the database purchase of B platform number According to the other users of B platform can check the data.
However, when the user wishes that the platform users of multiple platforms in some field can see the data, it should User needs to operate in multiple platforms.Such as: user has issued a commodity data in Taobao, which need to also revive Rather, all publication is primary for the other platforms in Jingdone district etc..Lead to that user's is cumbersome, greatly reduces the experience of user.
In block catenary system, using Encryption Algorithm, the common recognition technologies such as mechanism and distributed storage, it can guarantee on chain Data safety and credible.Therefore, how to find and solve the problems, such as that above-mentioned user's operation is cumbersome on block chain, and then promote user Experience, it appears particularly important.
Above description understands just to facilitate, and should not be limited to the prior art of the application.
Summary of the invention
Based on the above issues, the embodiment of the present application, which provides, is related to the search data sharing method and its system of block chain, This method enables to user's operation easy, and after operation is primary, the other users of each related platform can view this and search Rope data, and then the user experience is improved.
The application first aspect, which discloses, is related to the search data sharing method of block chain, which comprises at least one A search server every preset time period sends the first search data inquiry request and gives block chain node;Described at least one Search server receives the first search data that the block chain node is sent;At least one described search server is by described One search data storage searches for data in the local database, in order to which user accesses described first by client.
In a possible embodiment, the method also includes: at least one described client sends the second search Data give the block chain node, so that the block chain node searches for data cochain for described second.
In a possible embodiment, described search data include in search key, search time and search Hold.
It is in a possible embodiment, described in order to which user accesses the first search data by client, It specifically includes:
The client sends the first search data inquiry request to described search server;
The client receives the first search data that described search server is sent.
The application second aspect, which discloses, is related to the search data-sharing systems of block chain, and the system comprises at least one Search server, at least one client and block catenary system, the block catenary system include multiple block chain nodes;Its In,
At least one search server every preset time period sends the first search data inquiry request and gives block chain link Point;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to user The first search data are accessed by client.
In a possible embodiment, at least one described client sends the second search data to the block chain Node, so that the block chain node searches for data cochain for described second.
In a possible embodiment, described search data include in search key, search time and search Hold.
It is in a possible embodiment, described in order to which user accesses the first search data by client, It specifically includes:
The client sends the first search data inquiry request to described search server;
The client receives the first search data that described search server is sent.
The application third aspect discloses a kind of computer equipment, including memory, processor and storage are on a memory And the computer program that can be run on a processor, the processor realize following methods step when executing described program:
At least one search server every preset time period sends the first search data inquiry request and gives block chain link Point;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to user The first search data are accessed by client.
The application fourth aspect discloses a kind of computer readable storage medium, stores on the computer readable storage medium There is computer program, following methods step realized when the computer program is executed by processor:
At least one search server every preset time period sends the first search data inquiry request and gives block chain link Point;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to user The first search data are accessed by client.
5th aspect, provides a kind of computer program product comprising instruction, when described instruction is run on computers When, so that computer executes in above-mentioned first aspect or second aspect method described in either side or various aspects.
Method in the application enables to user's operation easy, after operation is primary, the other users of each related platform The search data can be viewed, and then the user experience is improved.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only invent some embodiments, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of block catenary system configuration diagram disclosed in the present application;
Fig. 2 is a kind of search data sharing method flow diagram for being related to block chain disclosed in the present application;
Fig. 3 is a kind of search data sharing device structural schematic diagram for being related to block chain disclosed in the present application;
Fig. 4 is a kind of search data storage system architectures schematic diagram for being related to block chain disclosed in the present application.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
" first " " second " in the application is only to be easy to understand, and is distinguished to technology word, and is not understood to successively, or As restrictive understanding.
In order to facilitate understanding of embodiments of the present invention, it is further explained below in conjunction with attached drawing with specific embodiment Bright, embodiment does not constitute the restriction to the embodiment of the present invention.
As shown in Figure 1, multiple client and block catenary system carry out information exchange, at this point, client is decentralization Client (Decentralized Application, DApp), client directly carry out the interaction of information, the visitor with block chain Family end has the function of server, and data can be locally stored;Multiple search servers also carry out information with block catenary system Interaction;Block catenary system includes multiple block chain nodes, and either block chain node can send out client or search server The data sent execute uplink operation.Uplink operation, which refers to, is stored in data distribution formula on block chain node.
It should be pointed out that above-mentioned client is also possible to the client of centralization, the accessible centralization of client Server;The server and block catenary system of centralization carry out the interaction of information;The cochain behaviour that the client of centralization is sent Make, block chain node is sent to by the server of centralization, the uplink operation of search data is then completed by block chain node.
As shown in Fig. 2, being related to the search data sharing method of block chain, the method includes the steps S201-S203.
S201, at least one search server every preset time period send the first search data inquiry request to block Chain node.
S202, at least one described search server receive the first search data that the block chain node is sent.
S203, at least one described search server search for data storage in the local database for described first, so as to The first search data are accessed by client in user.
In one example, the method also includes: at least one described client sends second search data to described Block chain node, so that the block chain node searches for data cochain for described second.
In another example, above-mentioned client sends the second search data, the search server to search server The second search data are sent to the block chain node, so that the block chain node searches for data cochain for described second.
It should be pointed out that the first search data can be identical search data with the second search data, it is also possible to Different search data.
In one example, described search data include search key, search time and search content.
In one example, described in order to which user accesses the first search data by client, it specifically includes: institute It states client and sends the first search data inquiry request to described search server;The client receives described search clothes The first search data that business device is sent.
Method in the application enables to user's operation easy, after operation is primary, the other users of each related platform The search data can be viewed, and then the user experience is improved.
In the above method, multiple continual request block chain nodes of search server, therefore protected on search server There are whole search data of block chain;In other words, the search data on block chain can be with the search on search server Data keep synchronizing.
As long as at this point, there is user to send primary search data uplink operation by client, block chain node is by the search After data cochain.Multiple and different search servers can be synchronized to the data, and there is no need in different search clothes by user Multi-pass operation is carried out on business device platform, so that the operation is more convenient by user, and then the user experience is improved.
As shown in figure 4, being related to the search data-sharing systems of block chain, the system comprises at least one search services Device, at least one client and block catenary system, the block catenary system include multiple block chain nodes.
At least one search server every preset time period sends the first search data inquiry request and gives block chain link Point;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to user The first search data are accessed by client.
In one example, at least one described client sends the second search data to the block chain node, so that The block chain node searches for data cochain for described second.
In one example, described search data include search key, search time and search content.
In one example, described in order to which user accesses the first search data by client, it specifically includes:
The client sends the first search data inquiry request to described search server;
The client receives the first search data that described search server is sent.
Method in the application enables to user's operation easy, after operation is primary, the other users of each related platform The search data can be viewed, and then the user experience is improved.
The embodiment of the present application is also disclosed a kind of computer equipment, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor realize following methods step when executing described program:
At least one search server every preset time period sends the first search data inquiry request and gives block chain link Point;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to user The first search data are accessed by client.
The embodiment of the present application also discloses a kind of computer readable storage medium, stores on the computer readable storage medium There is computer program, following methods step realized when the computer program is executed by processor:
At least one search server every preset time period sends the first search data inquiry request and gives block chain link Point;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to user The first search data are accessed by client.
Fig. 3 shows a kind of computer equipment structural schematic diagram, which may include: processor 310, storage Device 320, input/output interface 330, communication interface 340 and bus 350.Wherein processor 340, memory 320, input/output Interface 330 and communication interface 340 pass through the communication connection between the realization of bus 350 inside equipment.
Processor 310 can use general CPU (Central Processing Unit, central processing unit), micro process Device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one or The modes such as multiple integrated circuits are realized, for executing relative program, to realize technical solution provided by this specification embodiment.
Memory 320 can use ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 320 can store Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware When, relevant program code is stored in memory 320, and execution is called by processor 310.
Input/output interface 330 is for connecting input/output module, to realize information input and output.Input and output/ Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display, Loudspeaker, vibrator, indicator light etc..
Communication interface 340 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly (such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 350 includes an access, in various components (such as the processor 310, memory 320, input/output of equipment Interface 330 and communication interface 340) between transmit information.
It should be noted that although above equipment illustrates only processor 310, memory 320, input/output interface 330, communication interface 340 and bus 350, but in the specific implementation process, which can also include realizing to operate normally Necessary other assemblies.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising realizing in above equipment Component necessary to this specification example scheme, without including all components shown in figure.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description. These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution. Professional technician can use different methods to achieve the described function each specific application, but this realization It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all any modification, equivalent substitution, improvement and etc. within the scope of the present invention, done should be included in this hair Within bright protection scope.

Claims (10)

1. being related to the search data sharing method of block chain, which is characterized in that the described method includes:
At least one search server every preset time period sends the first search data inquiry request and gives block chain node;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to which user passes through Client access the first search data.
2. the method according to claim 1, wherein the method also includes:
At least one described client sends second search data to the block chain node, so that the block chain node is by institute State the second search data cochain.
3. method according to claim 1 or 2, which is characterized in that when described search data include search key, search Between and search content.
4. the method according to claim 1, wherein described in order to which user accesses described first by client Data are searched for, are specifically included:
The client sends the first search data inquiry request to described search server;
The client receives the first search data that described search server is sent.
5. being related to the search data-sharing systems of block chain, which is characterized in that the system comprises at least one search server, At least one client and block catenary system, the block catenary system include multiple block chain nodes;Wherein,
At least one search server every preset time period sends the first search data inquiry request and gives block chain node;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to which user passes through Client access the first search data.
6. system according to claim 5, which is characterized in that at least one described client send second search data to The block chain node, so that the block chain node searches for data cochain for described second.
7. system according to claim 5 or 6, which is characterized in that when described search data include search key, search Between and search content.
8. system according to claim 5, which is characterized in that described in order to which user accesses described first by client Data are searched for, are specifically included:
The client sends the first search data inquiry request to described search server;
The client receives the first search data that described search server is sent.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes following methods step when executing described program:
At least one search server every preset time period sends the first search data inquiry request and gives block chain node;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to which user passes through Client access the first search data.
10. a kind of computer readable storage medium, it is stored with computer program on the computer readable storage medium, feature exists In realization following methods step when the computer program is executed by processor:
At least one search server every preset time period sends the first search data inquiry request and gives block chain node;
At least one described search server receives the first search data that the block chain node is sent;
At least one described search server stores the first search data in the local database, in order to which user passes through Client access the first search data.
CN201910679582.3A 2019-07-26 2019-07-26 It is related to the search data sharing method and its system of block chain Pending CN110377644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910679582.3A CN110377644A (en) 2019-07-26 2019-07-26 It is related to the search data sharing method and its system of block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910679582.3A CN110377644A (en) 2019-07-26 2019-07-26 It is related to the search data sharing method and its system of block chain

Publications (1)

Publication Number Publication Date
CN110377644A true CN110377644A (en) 2019-10-25

Family

ID=68256205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910679582.3A Pending CN110377644A (en) 2019-07-26 2019-07-26 It is related to the search data sharing method and its system of block chain

Country Status (1)

Country Link
CN (1) CN110377644A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417047A (en) * 2020-11-23 2021-02-26 湖南智慧政务区块链科技有限公司 Data sharing platform based on block chain
CN113254767A (en) * 2021-05-24 2021-08-13 深圳和锐网络科技有限公司 Big data searching method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417047A (en) * 2020-11-23 2021-02-26 湖南智慧政务区块链科技有限公司 Data sharing platform based on block chain
CN112417047B (en) * 2020-11-23 2023-08-08 湖南智慧政务区块链科技有限公司 Data sharing platform based on block chain
CN113254767A (en) * 2021-05-24 2021-08-13 深圳和锐网络科技有限公司 Big data searching method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10606896B2 (en) Accessibility detection and resolution
CN109086409A (en) Micro services data processing method, device, electronic equipment and computer-readable medium
CN114503512B (en) Allowing nested tenants with a hierarchical structure of multiple levels
CN110740057B (en) Service deployment method and block chain platform
CN103297493A (en) Partition aware quality of service feature
CN110324363A (en) The cochain method and device thereof of internet electric business associated data
US20190372880A1 (en) Deserialization service
CN110377644A (en) It is related to the search data sharing method and its system of block chain
CN110380870A (en) The allograph method and device thereof of the block chain private key of electric business platform user
CN110377645A (en) Be related to block chain thumbs up data sharing method and its system
CN108293047A (en) It is connected based on context and fetches security token
US20150234651A1 (en) Managing deployment of application pattern based applications on runtime platforms
CN109918445A (en) Digging mine device and method based on block chain
JP2007249295A (en) Session management program, session management method, and session management apparatus
CN110377646A (en) Knowledge payment data sharing method and its system based on block chain
CN110399427A (en) By means of the ad click data sharing method and its system of block chain
CN110413699A (en) The cochain method and device thereof of user's ballot associated data
US9824113B2 (en) Selective content storage with device synchronization
EP3872630A2 (en) Request processing method and apparatus, electronic device, and computer storage medium
CN110389987A (en) By means of the recruitment data sharing method and its system of block chain
CN110427425A (en) Evaluation data sharing method and its system based on block chain
CN110392113A (en) Community data sharing method and its system based on block chain
CN110362634A (en) It is related to the electric quotient data sharing method and its system of block chain
CN110389972A (en) By means of the investigational data sharing method and its system of block chain
CN110362636A (en) By means of the polled data sharing method and its system of block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication