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 PDFInfo
- 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
- client
- data
- blockchain
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004590 computer program Methods 0.000 claims description 9
- 238000013500 data storage Methods 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 10
- 230000003993 interaction Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed 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
Technical Field
The invention relates to the technical field of computers, in particular to a search data sharing method and a search data sharing system for a block chain.
Background
At present, in the internet, each application has a respective centralized database, and data cannot be shared between different fields and different platforms in the same field. For example: a user publishes a piece of data on the platform A, the database of the platform A stores the data, and only other users of the platform A can see the piece of data. At this time, if the user wants to make other users of the B platform view the piece of data, the user must publish the same piece of data on the B platform; the database of the B-platform then stores the data, which other users of the B-platform can view.
However, when the user wants the platform users of the platforms in a certain field to be able to see the piece of data, the user needs to operate on the platforms. For example: the user publishes a commodity data on Taobao, and the user also needs to publish the commodity data on other platforms such as Sunning, Jingdong and the like all once. The operation of the user is complicated, and the user experience is greatly reduced.
In the block chain system, technologies such as an encryption algorithm, a consensus mechanism and distributed storage are adopted, so that the safety and the credibility of data on a chain can be ensured. Therefore, it is very important how to find a block chain to solve the problem of tedious user operation, thereby improving user experience.
The foregoing description is merely for convenience in understanding and is not to be construed as limiting the prior art to the present application.
Disclosure of Invention
Based on the above problems, the embodiment of the application provides a search data sharing method and a search data sharing system relating to a block chain, the method enables a user to operate easily, and after one operation, other users of all relevant platforms can view the search data, so that user experience is improved.
A first aspect of the present application discloses a search data sharing method involving a block chain, the method comprising: at least one search server sends a first search data query request to a block chain node every other preset time period; at least one search server receives first search data sent by the blockchain node; at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
In one possible embodiment, the method further comprises: at least one of the clients sends second search data to the blockchain node, so that the blockchain node uplinks the second search data.
In one possible implementation, the search data includes search keywords, search time, and search content.
In a possible embodiment, the facilitating the user to access the first search data through the client specifically includes:
the client sends the first search data query request to the search server;
and the client receives the first search data sent by the search server.
A second aspect of the application discloses a search data sharing system involving blockchains, the system comprising at least one search server, at least one client, and a blockchain system, the blockchain system comprising a plurality of blockchain nodes; wherein,
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
In one possible embodiment, at least one of the clients sends second search data to the blockchain node, so that the blockchain node uplinks the second search data.
In one possible implementation, the search data includes search keywords, search time, and search content.
In a possible embodiment, the facilitating the user to access the first search data through the client specifically includes:
the client sends the first search data query request to the search server;
and the client receives the first search data sent by the search server.
A third aspect of the application discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following method steps when executing the program:
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
A fourth aspect of the present application discloses a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, realizes the following method steps:
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one or more of the first or second aspects described above.
The method in the application can enable the user to be simple and convenient to operate, after the operation is performed once, other users of all relevant platforms can check the search data, and therefore user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a block chain system architecture of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a method for sharing search data involving blockchains according to the present disclosure;
FIG. 3 is a schematic structural diagram of a search data sharing device relating to a blockchain according to the present disclosure;
fig. 4 is a schematic structural diagram of a search data system relating to a blockchain disclosed in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second" in this application are used for convenience of understanding only, and are not to be construed as sequential or limiting in any way.
For the purpose of facilitating understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
As shown in fig. 1, a plurality of clients perform information interaction with the blockchain system, in this case, the clients are Decentralized clients (DApp), and the clients directly perform information interaction with the blockchain, and the clients have a function of a server and can store data locally; a plurality of search servers also carry out information interaction with the blockchain system; the blockchain system comprises a plurality of blockchain nodes, and any blockchain node can execute uplink operation on data sent by a client or a search server. The uplink operation refers to distributed storage of data on blockchain nodes.
It should be noted that the client may also be a centralized client, and the client may access a centralized server; the centralized server performs information interaction with the block chain system; the uplink operation sent by the centralized client is sent to the blockchain node by the centralized server, and then the uplink operation for searching data is completed by the blockchain node.
As shown in fig. 2, a search data sharing method involving a block chain includes steps S201 to S203.
S201, at least one search server sends a first search data query request to a block chain node every other preset time period.
S202, at least one search server receives first search data sent by the blockchain node.
S203, at least one of the search servers stores the first search data in a local database, so that a user can access the first search data through a client.
In one example, the method further comprises: at least one of the clients sends second search data to the blockchain node, so that the blockchain node uplinks the second search data.
In another example, the ue sends the second search data to the search server, and the search server sends the second search data to the blockchain node, so that the blockchain node links the second search data.
It should be noted that the first search data and the second search data may be the same search data or different search data.
In one example, the search data includes search keywords, search time, and search content.
In an example, the facilitating the user to access the first search data through the client specifically includes: the client sends the first search data query request to the search server; and the client receives the first search data sent by the search server.
The method in the application can enable the user to be simple and convenient to operate, after the operation is performed once, other users of all relevant platforms can check the search data, and therefore user experience is improved.
In the method, a plurality of search servers continuously request the block chain link point, so that all search data of the block chain are stored on the search servers; in other words, the search data on the blockchain can be kept synchronized with the search data on the search server.
At this time, as long as there is a user sending a search data uplink operation through the client, the block link point will be behind the search data uplink. A plurality of different search servers can synchronize the data, and a user does not need to perform multiple operations on different search server platforms, so that the operation of the user is simpler and more convenient, and the user experience is further improved.
As shown in fig. 4, a search data sharing system involving blockchains includes at least one search server, at least one client, and a blockchain system including a plurality of blockchain nodes.
At least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
In one example, at least one of the clients sends second search data to the blockchain node to cause the blockchain node to uplink the second search data.
In one example, the search data includes search keywords, search time, and search content.
In an example, the facilitating the user to access the first search data through the client specifically includes:
the client sends the first search data query request to the search server;
and the client receives the first search data sent by the search server.
The method in the application can enable the user to be simple and convenient to operate, after the operation is performed once, other users of all relevant platforms can check the search data, and therefore user experience is improved.
The embodiment of the present application further discloses a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the following method steps when executing the program:
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
An embodiment of the present application further discloses a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program implements the following method steps:
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
Fig. 3 shows a schematic diagram of a computer device, which may include: a processor 310, a memory 320, an input/output interface 330, a communication interface 340, and a bus 350. Wherein the processor 340, the memory 320, the input/output interface 330, and the communication interface 340 are communicatively coupled to each other within the device via a bus 350.
The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 320 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 320 and called to be executed by the processor 310.
The input/output interface 330 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 340 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 350 includes a path that transfers information between the various components of the device, such as processor 310, memory 320, input/output interface 330, and communication interface 340.
It should be noted that although the above-mentioned device only shows the processor 310, the memory 320, the input/output interface 330, the communication interface 340 and the bus 350, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the scope of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method for sharing search data involving a blockchain, the method comprising:
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
2. The method of claim 1, further comprising:
at least one of the clients sends second search data to the blockchain node, so that the blockchain node uplinks the second search data.
3. The method of claim 1 or 2, wherein the search data comprises search keywords, search time, and search content.
4. The method according to claim 1, wherein the facilitating the user to access the first search data through a client specifically includes:
the client sends the first search data query request to the search server;
and the client receives the first search data sent by the search server.
5. Search data sharing system involving blockchains, the system comprising at least one search server, at least one client, and a blockchain system, the blockchain system comprising a plurality of blockchain nodes; wherein,
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
6. The system of claim 5 wherein at least one of the clients sends second search data to the blockchain node to cause the blockchain node to uplink the second search data.
7. The system of claim 5 or 6, wherein the search data comprises search keywords, search time, and search content.
8. The system of claim 5, wherein the facilitating the user to access the first search data through the client specifically comprises:
the client sends the first search data query request to the search server;
and the client receives the first search data sent by the search server.
9. Computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor realizes the following method steps when executing the program:
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
10. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the method steps of:
at least one search server sends a first search data query request to a block chain node every other preset time period;
at least one search server receives first search data sent by the blockchain node;
at least one of the search servers stores the first search data in a local database to facilitate user access to the first search data through a client.
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)
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 |
-
2019
- 2019-07-26 CN CN201910679582.3A patent/CN110377644A/en active Pending
Cited By (3)
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 |
---|---|---|
CN104572843B (en) | The loading method and device of a kind of page | |
US11032288B2 (en) | Method, apparatus, and computer program product for managing access permissions for a searchable enterprise platform | |
CN105740048A (en) | Image management method, device and system | |
US9712622B2 (en) | Techniques to manage state information for a web service | |
US20170093997A1 (en) | Systems and methods for tracking sharing of web content | |
CN112328301B (en) | Method and device for maintaining consistency of operating environments, storage medium and electronic equipment | |
US8346869B2 (en) | Granular data synchronization for editing multiple data objects | |
CN110377644A (en) | It is related to the search data sharing method and its system of block chain | |
CN110377645A (en) | Be related to block chain thumbs up data sharing method and its system | |
CN110399427A (en) | By means of the ad click data sharing method and its system of block chain | |
CN110377646A (en) | Knowledge payment data sharing method and its system based on block chain | |
CN110413699A (en) | The cochain method and device thereof of user's ballot associated data | |
CN110377838A (en) | Recruitment data recommendation method and its device on block chain | |
CN110427379A (en) | The cochain method and device thereof of user's search associated data | |
CN110392113A (en) | Community data sharing method and its system based on block chain | |
CN110362635A (en) | Based on block chain from media data sharing method and its system | |
CN110427425A (en) | Evaluation data sharing method and its system based on block chain | |
CN110362636A (en) | By means of the polled 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 | |
CN110362634A (en) | It is related to the electric quotient data sharing method and its system of block chain | |
US20130097242A1 (en) | Mechanism for facilitating dynamic and centralized management of content for multiple webpages at social networking sites | |
CN110427403A (en) | By means of the shared economic data sharing method and its system of block chain | |
CN110389987A (en) | By means of the recruitment data sharing method and its system of block chain | |
CN110390007A (en) | It is related to the knowledge question data sharing method and its system of block chain | |
CN110543487A (en) | Evidence storage method and device for lost children on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |