CN110334267B - Content searching method and device based on blockchain and electronic equipment - Google Patents

Content searching method and device based on blockchain and electronic equipment Download PDF

Info

Publication number
CN110334267B
CN110334267B CN201910575302.4A CN201910575302A CN110334267B CN 110334267 B CN110334267 B CN 110334267B CN 201910575302 A CN201910575302 A CN 201910575302A CN 110334267 B CN110334267 B CN 110334267B
Authority
CN
China
Prior art keywords
user
content
search
blockchain
target
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.)
Active
Application number
CN201910575302.4A
Other languages
Chinese (zh)
Other versions
CN110334267A (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910575302.4A priority Critical patent/CN110334267B/en
Publication of CN110334267A publication Critical patent/CN110334267A/en
Application granted granted Critical
Publication of CN110334267B publication Critical patent/CN110334267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Abstract

The application discloses a content searching method and device based on a blockchain and electronic equipment, wherein the method comprises the following steps: receiving a search request of a user, wherein the search request carries a search keyword of the user; acquiring a content list matched with the search keywords of the user based on the search keywords of the user; and displaying at least one target content with the highest association degree with the search keyword of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.

Description

Content searching method and device based on blockchain and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a content searching method and apparatus based on a blockchain, and an electronic device.
Background
With the rapid development of internet technology and mobile internet technology, various mobile application programs (APP) or sites can provide information searching function modules for users to search various information. Taking shopping application as an example, when a user wants to search for a certain commodity, the user can directly input the keyword of the commodity in the search box of the shopping application, so that the information of the commodity, such as information of price, seller, commodity details and the like, can be obtained.
However, when a user searches an APP or a site based on a certain keyword, the searched content is often limited to the content in the APP or the site, and if the user wants to obtain more comprehensive content about the keyword, the user needs to search a plurality of APPs or sites based on the keyword. Therefore, how to provide a more comprehensive content searching method for users, and further provide a convenient searching experience for users, still needs further solutions.
Disclosure of Invention
The embodiment of the application provides a content searching method and device based on a blockchain and electronic equipment, so as to solve the problem that the content searched by the searching function module provided by each APP or site for a user is not comprehensive enough.
In order to solve the technical problems, the embodiment of the application is realized as follows:
in a first aspect, a content searching method based on a blockchain is provided, including:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
and displaying at least one target content with the highest association degree with the search keyword of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.
In a second aspect, a target search server is provided, including:
the receiving unit is used for receiving a search request of a user, wherein the search request carries a search keyword of the user;
an acquisition unit that acquires a content list that matches the search keyword of the user based on the search keyword of the user;
and the display unit displays at least one target content with the highest association degree ranking with the search keywords of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.
In a third aspect, an electronic device is presented, the electronic device comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
and displaying at least one target content with the highest association degree with the search keyword of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.
In a fourth aspect, a computer-readable storage medium storing one or more programs that, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
and displaying at least one target content with the highest association degree with the search keyword of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.
The embodiment of the application adopts the technical scheme at least to achieve the following technical effects:
when a user searches for content at a target search server, the user search request can be received, the search request carries a search keyword of the user, a content list matched with the search keyword of the user can be obtained based on the search keyword of the user, and at least one target content with the highest association degree rank with the search keyword of the user in the content list is finally displayed to the user, wherein part or all of the content in the content list is obtained from a blockchain. Because the target search server can acquire the content provided by the blockchain from the blockchain, comprehensive content in the blockchain is synthesized, and at least one target content with the highest association degree with the search keywords of the user is provided for the user. This aspect makes the content acquired by the user based on the search keyword more comprehensive; on the other hand, the accuracy of content searching is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a schematic flow chart of an implementation of a content searching method based on a blockchain according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a content searching method based on blockchain in an embodiment of the present disclosure applied in a real scenario;
fig. 3 is a schematic structural diagram of a target search server according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
In order to solve the problem that the content searched by the existing search function module provided by each APP or site for a user is not comprehensive enough, the embodiment of the specification provides a content searching method based on a block chain. The execution subject of the method provided in the embodiments of the present disclosure may be, but is not limited to, a target search server and the like, and may be configured to execute at least one of the method apparatuses provided in the embodiments of the present disclosure.
For convenience of description, an embodiment of the method will be described below taking an execution body of the method as an example of a target search server capable of executing the method. It will be appreciated that the subject matter of the method is merely an exemplary illustration of a content crawling platform and should not be construed as limiting the method.
Specifically, an implementation flow diagram of a content searching method based on a blockchain provided in one or more embodiments of the present disclosure is shown in fig. 1, and includes:
step 110, receiving a search request of a user, wherein the search request carries a search keyword of the user;
optionally, after obtaining the search keyword of the user, in order to provide the content with a higher matching degree with the search keyword for the user so as to improve the accuracy of the search, and improve the content search experience of the user, before obtaining the content list matched with the search keyword of the user based on the search keyword of the user, the embodiment of the present disclosure further includes:
acquiring a content search record from a blockchain;
the association degree between the search keywords in the content search records and the corresponding content is greater than or equal to a preset threshold value, and the content search records are uploaded to the blockchain by other search servers.
It should be appreciated that in order to make the content search in the target search server more comprehensive and accurate, the target search server may obtain content search records from the blockchain that may be obtained by other search servers based on the user searching within their corresponding APP or site and uploaded to the blockchain by other search servers periodically. In order to update the content search record in the target search server in time, the target search server may acquire the content search record from the blockchain every preset time period. The content search record may include a plurality of search keywords and content matching the plurality of search keywords, and a degree of association between each search keyword and the corresponding content.
The association degree between each search keyword and the corresponding content can be calculated based on the behavior operation record of the user on the content corresponding to each search keyword. The behavioral operation record of the user on the content corresponding to each search keyword may include: clicking behavior, copying behavior, sharing behavior, browsing behavior and browsing duration of the content corresponding to each search keyword by the user. The association degree between each search keyword and the corresponding content is used for ranking the content corresponding to each search keyword, so that the content ranked in the first few positions, namely the content with higher association degree, is displayed to the user, and the search accuracy is improved.
Generally, the format of the content includes one or more of text, image, video and audio, which causes the capacity of different content to be different, the content containing text only tends to be smaller, and if the content includes image, video or audio, the capacity of such content is larger. In order to reduce the amount of storage space occupied by such content uploaded to the blockchain, in the embodiment of the present disclosure, the content in the content search record obtained by the target search server from the blockchain is typically a link corresponding to the content.
Step 120, based on the search keyword of the user, obtaining a content list matched with the search keyword of the user;
it should be understood that a content search library should be maintained in the target search server, where the content search library includes a plurality of search keywords and contents corresponding to the plurality of search keywords, and then, based on the search keywords of the user, a content list matching the search keywords of the user is obtained, and in particular, the content list matching the search keywords of the user may be obtained in the content search library in the target search server. In order to provide a user with a more complete search result, the content search library includes, in addition to the search keywords and corresponding content existing locally at the target search server, the search keywords and corresponding content uploaded by other search servers and downloaded from the blockchain by the target search server.
And 130, displaying at least one target content with the highest association degree with the search keywords of the user in the content list to the user, wherein part or all of the content in the content list is obtained from the blockchain.
The content in the content list may be ranked based on the relevance between the content in the content list and the search keyword of the user, for example, the content in the content list may be ranked in order from high to low, and the top-ranked content in the content list may be displayed to the user, for example, the top-ranked content in the content list may be displayed to the user.
Optionally, in order to provide a more accurate search result for the user, the embodiment of the specification may further obtain a behavior operation record of the user on the search result, and calculate the association degree between the search keyword and the corresponding content based on the behavior operation record by pre-configuring the specified intelligent contract in the blockchain, so that the next time the user inputs the same search keyword, the user may display the content with higher association degree, thereby improving the search experience of the user. Specifically, after at least one target content in the content list, which is ranked in front of the association degree of the search keyword of the user, is presented to the user, the method further comprises:
acquiring a behavior operation record of a user on at least one target content;
uploading a transaction carrying a content search record of a user to a blockchain to trigger a specified intelligent contract in the blockchain to determine the association degree of a search keyword of the user and at least one target content based on a behavior operation record;
the content search records of the user comprise search keywords of the user, links of at least one target content and behavior operation records of the user on a plurality of target contents.
Optionally, the behavior operation record of the user on the at least one target content includes at least one of the following:
a user's copying behavior of at least one target content;
a browsing duration of the user for at least one target content;
a sharing behavior of the user on the at least one target content;
clicking actions of the user on at least one target content.
It should be understood that, because the storage space in the blockchain is limited, in order to facilitate storage of the behavior operation records of the user, in this embodiment of the present disclosure, the identifiers corresponding to different operation behaviors may be preset, for example, the identifier of the copy behavior of the user on at least one target content may be set to be C, the identifier of the browsing duration of the user on at least one target content may be set to be r_time (the time may be a specific duration, the unit may be seconds), the identifier of the sharing behavior of the user on at least one target content may be S, and the identifier of the click behavior of the user on at least one target content may be set to be D.
To facilitate determining the association of a user's search keyword with at least one target content based on behavioral records, embodiments of the present disclosure may pre-configure a specified smart contract in the blockchain that triggers when a user's behavioral records are uploaded into the blockchain, or that triggers when multiple users ' behavioral records of the same search keyword for one content are uploaded into the blockchain. More specifically, the score corresponding to each operation behavior of the user and the corresponding weight may be preset in the specified smart contract, so that the specified smart contract calculates the degree of association between the search keyword and each corresponding content based on the score corresponding to each operation behavior in the behavior operation record of the user and the corresponding weight.
Alternatively, since the collaboration agreement may or may not be reached online between different search servers, embodiments of the present description may set download rights for content search records uploaded into the blockchain for such a case. Specifically, the content search record of the user carries a content sharing identifier list, and the content sharing identifier in the content sharing identifier list is used for indicating that the permission of downloading the content search record of the user is provided. That is, when the target search server downloads content search records uploaded by other search servers from the blockchain, only the content search records carrying the target search server identification can be downloaded.
Optionally, in the case that the download authority is set, the method provided by the embodiment of the present specification further includes:
acquiring a content search record carrying an identifier of a target search server from a blockchain;
the content search record carrying the identification of the target search server is uploaded to the blockchain for other search servers; the content search record carrying the identification of the target search server comprises at least one search keyword, links of the content corresponding to the at least one search keyword and the association degree between the at least one search keyword and the links of the corresponding content.
Optionally, in order to ensure that the association degree between each search keyword in the target search server and the corresponding content is kept at a high level, the embodiments of the present disclosure provide two ways to obtain the content search record carrying the identifier of the target search server from the blockchain: in the first mode, a timer is locally set at a target search server, so that the target search server acquires a content search record carrying an identifier of the target search server from a blockchain every preset time period; in a second way, trigger conditions are configured in the specified intelligent contracts in the blockchain such that the specified intelligent contracts in the blockchain are triggered when other search servers upload content search records to the blockchain that carry the identity of the target search server.
Specifically, obtaining a content search record carrying an identifier of a target search server from a blockchain includes:
acquiring a content search record carrying an identifier of a target search server from a blockchain every preset time period; or alternatively
And acquiring a content search record carrying the identification of the target search server from the blockchain through a specified intelligent contract in the blockchain.
Optionally, the embodiment of the specification may further calculate a relevance between the search keyword of the user and at least one target content through the target search server, and upload the relevance to the blockchain after calculation. After presenting the at least one target content in the content list that is top-ranked with respect to the search keyword to the user, the method further comprises:
acquiring a behavior operation record of a user on at least one target content;
determining the association degree of the search keywords of the user and at least one target content based on the behavior operation record;
uploading a transaction carrying the association degree of the search keyword of the user and at least one target content to the blockchain through a specified intelligent contract in the blockchain;
the content search records of the user comprise search keywords of the user, links of at least one target content and behavior operation records of the user on a plurality of target contents.
The following describes the content searching method based on the blockchain in detail according to the embodiment of the present disclosure with an actual scenario shown in fig. 2, where a server and a server are search servers, and a specific implementation process includes:
s21, the A server uploads a local content search record to the blockchain, wherein the content search record comprises a plurality of search keywords, content links corresponding to the search keywords and behavior operation records of users on the content links corresponding to the search keywords;
the behavior operation record of the user on the content links corresponding to the plurality of search keywords is used for triggering a specified intelligent contract in the blockchain to calculate the association degree between the plurality of search keywords and the corresponding content links.
S22, the B server downloads content search records uploaded by other servers from the blockchain every preset time period, wherein the content search records carry a plurality of search keywords and content links corresponding to the search keywords, and also carry the association degree between the search keywords and the corresponding content links;
s23, the user searches content in the APP or the browser corresponding to the B server, so that the APP or the browser corresponding to the B server sends a search request to the B server, wherein the search request comprises search keywords of the user;
s24, B service searches a content list matched with the search keywords of the user based on the local content search record and the content search record downloaded from the blockchain, and displays the content with higher association degree ranking with the search keywords of the user in the content list to the user through an APP or a browser;
s25, the APP or the browser acquires behavior operation records of the displayed content, such as records of clicking, sharing, copying, browsing duration and the like, and uploads user information, search keywords of the user, content corresponding to the search keywords of the user and behavior operation records of the content corresponding to the search keywords of the user into a blockchain;
s26, triggering specified intelligent contract calculation in the blockchain and updating the association degree between the search keywords of the user and the corresponding content based on the behavior operation records of the content corresponding to the search keywords of the user uploaded to the blockchain;
in order to improve the accuracy of the association degree, when the behavior operation records of the content corresponding to the keyword uploaded to the blockchain reach a preset number, namely, after the behavior operation records of the content corresponding to the same keyword by a preset number of users are uploaded to the blockchain, the association degree between the keyword and the corresponding content can be calculated and updated by triggering the appointed intelligent contract in the blockchain.
And S27, the A server downloads content search records uploaded by other servers from the blockchain, wherein the content search records comprise a plurality of keywords, contents corresponding to the keywords and association degrees between the keywords and the corresponding contents.
When a user searches for content at a target search server, the user search request can be received, the search request carries a search keyword of the user, a content list matched with the search keyword of the user can be obtained based on the search keyword of the user, and at least one target content with the highest association degree rank with the search keyword of the user in the content list is finally displayed to the user, wherein part or all of the content in the content list is obtained from a blockchain. Because the target search server can acquire the content provided by the blockchain from the blockchain, comprehensive content in the blockchain is synthesized, and at least one target content with the highest association degree with the search keywords of the user is provided for the user. This aspect makes the content acquired by the user based on the search keyword more comprehensive; on the other hand, the accuracy of content searching is improved.
Fig. 3 is a schematic structural diagram of a target search server 300 according to an embodiment of the present disclosure. Referring to fig. 3, in a software implementation, a target search server 300 may include a receiving unit 301, an obtaining unit 302, and a displaying unit 303, where:
a receiving unit 301, configured to receive a search request of a user, where the search request carries a search keyword of the user;
an acquisition unit 302 that acquires a content list matching the search keyword of the user based on the search keyword of the user;
and the display unit 303 is used for displaying at least one target content with the highest association degree ranking with the search keywords of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.
Optionally, in one embodiment, after the presenting unit 303 presents at least one target content in the content list, which is ranked top with respect to the search keyword of the user, to the user, the target server further includes:
a first obtaining unit 304, configured to obtain a behavioral operation record of the user on the at least one target content;
an uploading unit 305, configured to upload a transaction carrying a content search record of the user to a blockchain, so as to trigger a specified intelligent contract in the blockchain to determine a degree of association between a search keyword of the user and the at least one target content based on the behavior operation record;
wherein the content search record of the user comprises a search keyword of the user, a link of the at least one target content, and a behavior operation record of the user on the plurality of target contents.
Optionally, in an embodiment, the content search record of the user carries a content sharing identifier list, and a content sharing identifier in the content sharing identifier list is used for indicating that the authority for downloading the content search record of the user is provided.
Optionally, in an implementation manner, the target search server further includes:
a second obtaining unit 306, configured to obtain a content search record carrying an identifier of the target search server from the blockchain;
the content search record carrying the identification of the target search server is uploaded to the blockchain for other search servers; the content search record carrying the identification of the target search server comprises at least one search keyword, links of the content corresponding to the at least one search keyword and the association degree between the at least one search keyword and the links of the corresponding content.
Optionally, in an embodiment, the second obtaining unit 306 is configured to:
acquiring a content search record carrying the identifier of the target search server from the blockchain every preset time period; or alternatively
And acquiring a content search record carrying the identification of the target search server from the blockchain through a specified intelligent contract in the blockchain.
Optionally, in one embodiment, after the presenting unit 303 presents at least one target content in the content list, which is ranked top with respect to the association degree of the search keyword, to the user, the target search server further includes:
a third obtaining unit 307 that obtains a behavior operation record of the user on the at least one target content;
a determining unit 308 that determines a degree of association of the search keyword of the user with the at least one target content based on the behavior operation record;
uploading a transaction carrying the association of the search keyword of the user and the at least one target content into the blockchain through a specified intelligent contract in the blockchain;
wherein the content search record of the user comprises a search keyword of the user, a link of the at least one target content, and a behavior operation record of the user on the plurality of target contents.
Optionally, in one embodiment, before the obtaining unit 301 obtains a content list matched with the search keyword of the user based on the search keyword of the user, the target search server further includes:
a fourth acquisition unit 309 that acquires a content search record from the blockchain;
the association degree between the search keywords in the content search records and the corresponding content is greater than or equal to a preset threshold value, and the content search records are uploaded into the blockchain by other search servers.
Optionally, in one embodiment, the behavioral operation record of the at least one target content by the user includes at least one of:
a copying action of the user to the at least one target content;
a browsing duration of the user for the at least one target content;
the user's sharing behavior of the at least one target content;
and the clicking action of the user on the at least one target content.
The target search server 300 can implement the method of the method embodiments of fig. 1 to 2, and specifically, reference may be made to the content search method based on the blockchain in the embodiment shown in fig. 1 to 2, which is not described herein.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 4, at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, network interface, and memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 4, but not only one bus or type of bus.
And the memory is used for storing programs. In particular, the program may include program code including computer-operating instructions. The memory may include memory and non-volatile storage and provide instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs to form the content searching device based on the block chain on the logic level. The processor is used for executing the programs stored in the memory and is specifically used for executing the following operations:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
and displaying at least one target content with the highest association degree with the search keyword of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.
The blockchain-based content searching method disclosed in the embodiments shown in fig. 1-2 of the present specification can be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in one or more embodiments of the present description may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in a hardware decoding processor or in a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
The electronic device may also execute the blockchain-based content searching method of fig. 1-2, and this description is not repeated here.
Of course, in addition to the software implementation, the electronic device in this specification does not exclude other implementations, such as a logic device or a combination of software and hardware, that is, the execution subject of the following process is not limited to each logic unit, but may also be hardware or a logic device.
The embodiments also provide a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a portable electronic device comprising a plurality of application programs, enable the portable electronic device to perform the method of the embodiments shown in fig. 1-2, and in particular to perform the operations of:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
and displaying at least one target content with the highest association degree with the search keyword of the user in the content list to the user, wherein part or all of the content in the content list is obtained from a blockchain.
In summary, the foregoing description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present disclosure, is intended to be included within the scope of one or more embodiments of the present disclosure.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.

Claims (11)

1. A content search method based on a blockchain, the method being applied to a target search server, comprising:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
sorting the contents in the content list based on the association degree of the contents in the content list and the search keywords of the user, and displaying at least one target content, which is ranked at the top of the association degree of the search keywords of the user, in the content list to the user, wherein part or all of the contents in the content list are obtained from a blockchain;
acquiring a behavior operation record of the user on the at least one target content; and uploading the transaction carrying the content search record of the user to a blockchain to trigger a specified intelligent contract in the blockchain to determine the association degree of the search keyword of the user and the at least one target content based on the behavior operation record.
2. The method of claim 1, wherein the user's content search record includes the user's search keywords, links to the at least one target content, and behavior operation records of the user on the plurality of target content.
3. The method according to claim 2,
the content search record of the user carries a content sharing identifier list, and the content sharing identifier in the content sharing identifier list is used for indicating permission to download the content search record of the user.
4. A method as claimed in claim 3, the method further comprising:
acquiring a content search record carrying the identifier of the target search server from the blockchain;
the content search record carrying the identification of the target search server is uploaded to the blockchain for other search servers; the content search record carrying the identification of the target search server comprises at least one search keyword, links of the content corresponding to the at least one search keyword and the association degree between the at least one search keyword and the links of the corresponding content.
5. The method of claim 4, obtaining a content search record from the blockchain that carries an identification of the target search server, comprising:
acquiring a content search record carrying the identifier of the target search server from the blockchain every preset time period; or alternatively
And acquiring a content search record carrying the identification of the target search server from the blockchain through a specified intelligent contract in the blockchain.
6. The method of claim 1, after presenting at least one target content in the content list that is top-ranked with respect to the search keyword to the user, the method further comprising:
acquiring a behavior operation record of the user on the at least one target content;
determining the association degree of the search keywords of the user and the at least one target content based on the behavior operation record;
uploading a transaction carrying the association of the search keyword of the user and the at least one target content into the blockchain through a specified intelligent contract in the blockchain;
wherein the content search record of the user comprises a search keyword of the user, a link of the at least one target content, and a behavior operation record of the user on the plurality of target contents.
7. The method of claim 2 or 6, further comprising, prior to obtaining a list of content matching the user's search keywords based on the user's search keywords:
acquiring a content search record from the blockchain;
the association degree between the search keywords in the content search records and the corresponding content is greater than or equal to a preset threshold value, and the content search records are uploaded into the blockchain by other search servers.
8. The method of claim 2, wherein the user's behavioral operational record of the at least one target content includes at least one of:
a copying action of the user to the at least one target content;
a browsing duration of the user for the at least one target content;
the user's sharing behavior of the at least one target content;
and the clicking action of the user on the at least one target content.
9. A target search server, comprising:
the receiving unit is used for receiving a search request of a user, wherein the search request carries a search keyword of the user;
an acquisition unit that acquires a content list that matches the search keyword of the user based on the search keyword of the user;
the display unit is used for sorting the contents in the content list based on the association degree of the contents in the content list and the search keywords of the user, and displaying at least one target content, which is ranked at the top of the association degree of the search keywords of the user, in the content list to the user, wherein part or all of the contents in the content list are obtained from a blockchain;
acquiring a behavior operation record of the user on the at least one target content; and uploading the transaction carrying the content search record of the user to a blockchain to trigger a specified intelligent contract in the blockchain to determine the association degree of the search keyword of the user and the at least one target content based on the behavior operation record.
10. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
sorting the contents in the content list based on the association degree of the contents in the content list and the search keywords of the user, and displaying at least one target content, which is ranked at the top of the association degree of the search keywords of the user, in the content list to the user, wherein part or all of the contents in the content list are obtained from a blockchain;
acquiring a behavior operation record of the user on the at least one target content; and uploading the transaction carrying the content search record of the user to a blockchain to trigger a specified intelligent contract in the blockchain to determine the association degree of the search keyword of the user and the at least one target content based on the behavior operation record.
11. A computer-readable storage medium storing one or more programs that, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to:
receiving a search request of a user, wherein the search request carries a search keyword of the user;
acquiring a content list matched with the search keywords of the user based on the search keywords of the user;
sorting the contents in the content list based on the association degree of the contents in the content list and the search keywords of the user, and displaying at least one target content, which is ranked at the top of the association degree of the search keywords of the user, in the content list to the user, wherein part or all of the contents in the content list are obtained from a blockchain;
acquiring a behavior operation record of the user on the at least one target content; and uploading the transaction carrying the content search record of the user to a blockchain to trigger a specified intelligent contract in the blockchain to determine the association degree of the search keyword of the user and the at least one target content based on the behavior operation record.
CN201910575302.4A 2019-06-28 2019-06-28 Content searching method and device based on blockchain and electronic equipment Active CN110334267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910575302.4A CN110334267B (en) 2019-06-28 2019-06-28 Content searching method and device based on blockchain and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910575302.4A CN110334267B (en) 2019-06-28 2019-06-28 Content searching method and device based on blockchain and electronic equipment

Publications (2)

Publication Number Publication Date
CN110334267A CN110334267A (en) 2019-10-15
CN110334267B true CN110334267B (en) 2024-02-02

Family

ID=68143648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910575302.4A Active CN110334267B (en) 2019-06-28 2019-06-28 Content searching method and device based on blockchain and electronic equipment

Country Status (1)

Country Link
CN (1) CN110334267B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732790A (en) * 2021-01-12 2021-04-30 宁波云麟信息科技有限公司 Encryption searching method based on block chain, electronic device and computer storage medium
CN115269986A (en) * 2022-07-29 2022-11-01 蚂蚁区块链科技(上海)有限公司 Data retrieval method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445947A (en) * 2015-08-06 2017-02-22 阿里巴巴集团控股有限公司 Data searching method and system
WO2017088415A1 (en) * 2015-11-25 2017-06-01 乐视控股(北京)有限公司 Method, apparatus and electronic device for video content retrieval
CN108009263A (en) * 2017-12-13 2018-05-08 清华大学 A kind of block chain network searching method and system based on supply and demand information
CN108595642A (en) * 2018-04-26 2018-09-28 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application
CN109063138A (en) * 2018-08-03 2018-12-21 上海点融信息科技有限责任公司 For in block chain, that is, service platform search data method, equipment and storage medium
CN109460515A (en) * 2018-09-26 2019-03-12 百度在线网络技术(北京)有限公司 Search data processing method and device based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016142758A1 (en) * 2015-03-12 2016-09-15 Gupta Rashmit Computer implemented methods and system for trading keyword(s) and managing revenue in a search network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445947A (en) * 2015-08-06 2017-02-22 阿里巴巴集团控股有限公司 Data searching method and system
WO2017088415A1 (en) * 2015-11-25 2017-06-01 乐视控股(北京)有限公司 Method, apparatus and electronic device for video content retrieval
CN108009263A (en) * 2017-12-13 2018-05-08 清华大学 A kind of block chain network searching method and system based on supply and demand information
CN108595642A (en) * 2018-04-26 2018-09-28 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application
CN109063138A (en) * 2018-08-03 2018-12-21 上海点融信息科技有限责任公司 For in block chain, that is, service platform search data method, equipment and storage medium
CN109460515A (en) * 2018-09-26 2019-03-12 百度在线网络技术(北京)有限公司 Search data processing method and device based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能语义搜索引擎的探究;王美霞;《电脑知识与技术》;20090425(第12期);全文 *

Also Published As

Publication number Publication date
CN110334267A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
US10789304B2 (en) Method and system for measuring user engagement with content items
US11474926B2 (en) Method and system for measuring user engagement with content items
US9798531B2 (en) Dependency-aware transformation of multi-function applications for on-demand execution
US20120290584A1 (en) Recommending Applications for Mobile Devices Based on Installation Histories
US20150347585A1 (en) Personalized Search Results
JP6181867B2 (en) Application information search method and apparatus
US20140006399A1 (en) Method and system for recommending websites
KR20170137150A (en) Action-based app recommendation engine
US20200356572A1 (en) Search ranking method and apparatus, electronic device and storage medium
US9032392B2 (en) Similarity engine for facilitating re-creation of an application collection of a source computing device on a destination computing device
US9245028B2 (en) System and method to identify machine-readable codes
US9588760B1 (en) Software application development feature and defect selection
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
CN110334267B (en) Content searching method and device based on blockchain and electronic equipment
CN110599307A (en) Commodity recommendation method and device
CN109255073B (en) Personalized recommendation method and device and electronic equipment
US20220358175A1 (en) Method and system of personalized blending for content recommendation
CN111131419A (en) Information pushing method and server based on book pages
CN116628235B (en) Data recommendation method, device, equipment and medium
CN111767457B (en) Recommendation method and device
CN112507229A (en) Document recommendation method and system and computer equipment
US10817519B2 (en) Automatic conversion stage discovery
CN112785391B (en) Recommendation processing method and device, intelligent equipment and storage medium
CN112905675A (en) Intelligent navigation method, device, equipment and medium for commercial complex
CN111625721A (en) Content recommendation method and device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40016184

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant