CN110399459B - Online document searching method, device, terminal, server and storage medium - Google Patents

Online document searching method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN110399459B
CN110399459B CN201910642346.4A CN201910642346A CN110399459B CN 110399459 B CN110399459 B CN 110399459B CN 201910642346 A CN201910642346 A CN 201910642346A CN 110399459 B CN110399459 B CN 110399459B
Authority
CN
China
Prior art keywords
document
online document
online
search
score
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
CN201910642346.4A
Other languages
Chinese (zh)
Other versions
CN110399459A (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910642346.4A priority Critical patent/CN110399459B/en
Publication of CN110399459A publication Critical patent/CN110399459A/en
Application granted granted Critical
Publication of CN110399459B publication Critical patent/CN110399459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • 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
    • 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
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the disclosure provides a method, a device, a terminal, a server and a storage medium for searching online documents; the method comprises the following steps: receiving a search request of an online document carrying search keywords, wherein the search request is triggered by page operation of a search page; determining at least one online document of which document information matches the search keyword based on the search request; acquiring operation information of the at least one online document, wherein the operation information comprises operation times and/or operation time; determining a priority of the at least one online document based on the operation information; and sending the at least one online document based on the priority to display the at least one online document on the search page according to the priority.

Description

Online document searching method, device, terminal, server and storage medium
Technical Field
The embodiment of the disclosure relates to the internet technology, and in particular, to a method, an apparatus, a terminal, a server, and a storage medium for searching an online document.
Background
With the development of internet technology, online documents are more and more favored by users due to the characteristics of multi-user collaboration, cloud storage and the like, however, with the increase of the number of online documents, documents need to be searched through a search function. When a user searches for a document, the document title and the document content of the online document are matched by the search keyword, and the matched online document is returned. In the related technology, the number of online documents contained in the returned search results is large, and the user cannot effectively obtain the most relevant search results.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a method for searching online documents, which comprises the following steps:
receiving a search request of an online document carrying search keywords, wherein the search request is triggered by page operation of a search page;
determining at least one online document of which document information matches the search keyword based on the search request;
acquiring operation information of the at least one online document, wherein the operation information comprises operation times and/or operation time;
determining a priority of the at least one online document based on the operation information;
and sending the at least one online document based on the priority to display the at least one online document on the search page according to the priority.
In the above solution, the determining at least one online document whose document information matches the search keyword based on the search request includes:
respectively matching the document information of each online document with the search keyword in response to the document information comprising at least one of a document title, a document abstract and document content;
and determining that the online document of which the document information contains the search keyword is the online document matched with the search keyword.
In the foregoing solution, the determining the priority of the at least one online document based on the operation information includes:
respectively obtaining the similarity between the document information of each online document and a search keyword;
determining a score for each of the online documents based on the similarity;
respectively adjusting the score of each online document based on the operation information;
determining a priority of the at least one online document according to the adjusted score.
In the foregoing solution, the adjusting the score of each online document based on the operation information includes:
respectively determining the time difference between the last operation time and the current time of each online document based on the operation time in response to the operation information comprising the operation time;
determining the adjustment amplitude of the score of each online document according to the time difference;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
In the foregoing solution, the adjusting the score of each online document based on the operation information includes:
respectively determining the proportion of the operation times of each online document to the sum of the operation times of the at least one online document based on the operation times in response to the operation information comprising the operation times;
determining an adjustment amplitude of the score of each online document according to the determined proportion;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
In the above scheme, the method further comprises:
responding to the search request and also carrying user identification, and acquiring the user identification and owner identification corresponding to each online document;
matching the owner identification corresponding to each online document with the user identification to obtain a matching result;
based on the matching result, the priority of the at least one online document is adjusted.
The embodiment of the disclosure provides a method for searching online documents, which comprises the following steps:
loading a search page of an online document, and receiving a search instruction of the online document through page operation of the search page;
based on the search instruction, sending a search request of online documents carrying search keywords to a server, so that the server determines at least one online document of which the document information is matched with the search keywords based on the search request, acquires operation information of the at least one online document, and determines the priority of the at least one online document based on the operation information;
receiving the at least one online document returned according to the priority;
and displaying the at least one online document on the search page according to the priority.
The embodiment of the present disclosure provides a device for searching online documents, the device comprising:
the device comprises a request receiving unit, a searching unit and a searching unit, wherein the request receiving unit is used for receiving a searching request of an online document carrying a searching keyword, and the searching request is triggered by page operation of a searching page;
a document matching unit for determining at least one online document whose document information matches the search keyword based on the search request;
the information acquisition unit is used for acquiring operation information of the at least one online document, and the operation information comprises operation times and/or operation time;
a determining unit configured to determine a priority of the at least one online document based on the operation information;
and the document sending unit is used for sending the at least one online document based on the priority so as to display the at least one online document on the search page according to the priority.
In the above scheme, the document matching unit is further configured to match the document information of each online document with the search keyword, respectively, in response to that the document information includes at least one of a document title, a document abstract, and document content;
and determining that the online document of which the document information contains the search keyword is the online document matched with the search keyword.
In the above scheme, the determining unit is further configured to obtain similarity between the document information of each online document and a search keyword;
determining a score for each of the online documents based on the similarity;
respectively adjusting the score of each online document based on the operation information;
determining a priority of the at least one online document according to the adjusted score.
In the foregoing solution, the determining unit is further configured to determine, in response to that the operation information includes an operation time, a time difference between a last operation time and a current time of each online document based on the operation time;
determining the adjustment amplitude of the score of each online document according to the time difference;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
In the foregoing solution, the determining unit is further configured to determine, in response to that the operation information includes operation times, a ratio of the operation times of each online document to a total sum of the operation times of the at least one online document based on the operation times, respectively;
determining an adjustment amplitude of the score of each online document according to the determined proportion;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
In the above scheme, the adjusting unit is configured to respond to the search request and also carry a user identifier, and obtain the user identifier and an owner identifier corresponding to each online document;
matching the owner identification corresponding to each online document with the user identification to obtain a matching result;
based on the matching result, the priority of the at least one online document is adjusted.
The embodiment of the present disclosure provides a device for searching online documents, the device comprising:
the page loading unit is used for loading a search page of the online document and receiving a search instruction of the online document through page operation of the search page;
a request sending unit, configured to send, based on the search instruction, a search request for an online document carrying a search keyword to a server, so that the server determines, based on the search request, at least one online document whose document information matches the search keyword, obtains operation information of the at least one online document, and determines, based on the operation information, a priority of the at least one online document;
the document receiving unit is used for receiving the at least one online document returned according to the priority;
and the display unit is used for displaying the at least one online document on the search page according to the priority.
An embodiment of the present disclosure provides a server, including:
a first memory for storing executable instructions;
and the first processor is used for realizing the searching method of the online document provided by the embodiment of the disclosure when executing the executable instructions stored in the first memory.
The embodiment of the present disclosure provides a terminal, which includes:
a second memory for storing executable instructions;
and the second processor is used for realizing the online document searching method provided by the embodiment of the disclosure when executing the executable instructions stored in the second memory.
The embodiment of the disclosure provides a storage medium, which stores executable instructions, and when the executable instructions are executed, the storage medium is used for realizing the searching method of the online document provided by the embodiment of the disclosure.
The embodiment of the disclosure provides a storage medium, which stores executable instructions, and when the executable instructions are executed, the storage medium is used for realizing the searching method of the online document provided by the embodiment of the disclosure.
The embodiment of the disclosure has the following beneficial effects:
by applying the embodiment of the disclosure, the priority of the matched at least one online document is determined based on the operation information by obtaining the operation information corresponding to the matched at least one online document, and then the at least one online document is sent based on the priority, so that the at least one online document is displayed on the search page according to the priority, the user can effectively obtain the most relevant search result, and the search accuracy is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is an architectural diagram of a search system for online documents provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a structure of an online document search apparatus according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a structure of an online document search apparatus according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a structure of an online document search apparatus according to an embodiment of the present disclosure;
FIG. 5 is a flowchart illustrating a method for searching for online documents according to an embodiment of the present disclosure;
FIG. 6 is an interface schematic diagram of a search of online documents provided by an embodiment of the present disclosure;
FIG. 7 is an interface diagram of search results for online documents provided by embodiments of the present disclosure;
fig. 8 is a flowchart illustrating a method for searching an online document according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Before the embodiments of the present disclosure are explained in detail, terms and wordings related to the embodiments of the present disclosure are explained, and the terms and wordings related to the embodiments of the present disclosure are applied to the following explanations.
1) The client, an application program running in the terminal for providing various services, such as an instant messaging application client.
2) The online document is used for users to edit online, collaborate with multiple users and store in a cloud in real time, document display is carried out through a Hyper Text Markup Language (HTML) page, synchronization of user editing contents is realized depending on communication between a client and a server, and the types of the online document can be an online Word document, an online Excel document, an online PPT document and an online drawing document.
3) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
Based on the above explanations of terms and terms involved in the embodiments of the present disclosure, referring next to fig. 1, fig. 1 is a schematic architecture diagram of a search system for online documents provided by the embodiments of the present disclosure, and in order to support an exemplary application, the search system 100 for online documents includes: the terminal 400 (including the terminal 400-1 and the terminal 400-2) and the server 200, the terminal 400 is connected to the server 200 through the network 300, the terminal is provided with a client through which a user can load a search page of an online document, the network 300 can be a wide area network or a local area network, or a combination of the two, and data transmission is realized by using a wireless link.
A terminal 400 (e.g., terminal 400-1) for loading a search page of the online document and receiving a search instruction of the online document through a page operation of the search page; based on the search instruction, sending a search request of the online document carrying the search keyword to the server 200;
a server 200 for determining at least one online document whose document information matches the search keyword based on the search request; acquiring operation information of at least one online document, and determining the priority of the at least one online document based on the operation information; transmitting at least one online document to the terminal 400 based on the priority;
the terminal 400 (e.g., terminal 400-1) is further configured to display at least one online document on the search page according to the priority.
Next, a search apparatus for online documents provided by an embodiment of the present disclosure will be explained. The search device of the online document of the embodiment of the present disclosure may be implemented in various forms, such as: the method is implemented by a terminal such as a smart phone, a tablet computer and a desktop computer, or implemented by a server, or implemented by cooperation of the terminal and the server. The searching apparatus for online documents provided by the embodiments of the present disclosure may be implemented as hardware or a combination of hardware and software, and various exemplary implementations of the searching apparatus for online documents provided by the embodiments of the present disclosure are described below.
The hardware structure of the device for searching online documents according to the embodiment of the present disclosure is explained in detail below, fig. 2 is a schematic diagram of the structure of the device for searching online documents according to the embodiment of the present disclosure, and the device shown in fig. 2 is only an example, and should not bring any limitation to the function and the scope of use of the embodiment of the present disclosure.
As shown in fig. 2, the search device for online documents may include a processing device (e.g., a central processing unit, a graphic processor, etc.) 210, which may perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 220 or a program loaded from a storage device 280 into a Random Access Memory (RAM) 230. In the RAM 230, various programs and data necessary for the operation of the terminal are also stored. The processing device 210, the ROM220, and the RAM 230 are connected to each other through a bus 240. An Input/Output (I/O) interface 250 is also connected to bus 240.
Generally, the following devices may be connected to I/O interface 250: input devices 260 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 270 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; storage devices 280 including, for example, magnetic tape, hard disk, etc.; and a communication device 290. The communication means 290 may allow the terminal to perform wireless or wired communication with other devices to exchange data. While fig. 2 illustrates a terminal having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described by the provided flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program containing program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network through communication device 290, or installed from storage device 280, or installed from ROM 220. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 210.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the disclosed embodiments, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the disclosed embodiments, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the terminal; or may be separate and not assembled into the terminal.
The computer readable medium carries one or more programs, and when the one or more programs are executed by the terminal, the terminal executes the method for searching the online document provided by the embodiment of the disclosure.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) and a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams provided by the embodiments of the present disclosure illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units and/or modules described in the embodiments of the present disclosure may be implemented by software or hardware.
The functions described in the embodiments of the present disclosure may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field-Programmable Gate arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Parts (ASSPs)), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of embodiments of the present disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The following describes a software implementation of the online document search apparatus according to the embodiment of the present disclosure. Fig. 3 is a schematic diagram of a structure of a search apparatus for an online document according to an embodiment of the present disclosure, which is located on a server, and referring to fig. 3, the search apparatus 30 for an online document according to an embodiment of the present disclosure includes:
a request receiving unit 31, configured to receive a search request for an online document carrying a search keyword, where the search request is triggered by a page operation of a search page;
a document matching unit 32 for determining at least one online document whose document information matches the search keyword based on the search request;
an information acquisition unit 33 for acquiring operation information of at least one online document, the operation information including the number of operations and/or the operation time;
a determination unit 34 for determining a priority of at least one online document based on the operation information;
a document transmitting unit 35 for transmitting the at least one online document based on the priority to display the at least one online document on the search page according to the priority.
In some embodiments, the document matching unit 32 is further configured to match the document information of each online document with the search keyword respectively in response to the document information including at least one of a document title, a document abstract, and document content;
and determining that the online documents of which the document information contains the search keywords are the online documents matched with the search keywords.
In some embodiments, the determining unit 34 is further configured to obtain similarity between the document information of each online document and the search keyword;
determining the score of each online document based on the similarity;
respectively adjusting the score of each online document based on the operation information;
determining a priority of the at least one online document according to the adjusted score.
In some embodiments, the determining unit is further configured to, in response to the operation information including the operation time, respectively determine a time difference between the last operation time and the current time of each online document based on the operation time;
determining the adjustment amplitude of the score of each online document according to the time difference;
the score of each online document is adjusted based on the adjusted magnitude of each online document.
In some embodiments, the determining unit 34 is further configured to, in response to the operation information including the operation times, respectively determine, based on the operation times, a ratio of the operation times of each online document to a sum of the operation times of at least one online document;
determining the adjustment amplitude of the score of each online document according to the determined proportion;
the score of each online document is adjusted based on the adjusted magnitude of each online document.
In some embodiments, the online document searching apparatus 30 further includes an adjusting unit, configured to respond to the search request and further carry the user identifier, and obtain the user identifier and the owner identifier corresponding to each online document;
respectively matching the owner identification corresponding to each online document with the user identification to obtain a matching result;
based on the matching result, the priority of at least one online document is adjusted.
It should be noted that the above mentioned classification of units does not constitute a limitation of the server itself, e.g. some units may be split into two or more sub-units, or some units may be combined into a new unit.
It should also be noted that the names of the above units do not in some cases constitute a limitation on the units themselves, and for example, the above request receiving unit 31 may also be described as a unit that receives a search request for an online document carrying a search key.
For the same reason, the units and/or modules in the server, which are not described in detail, do not represent the default of the corresponding units and/or modules, and all the operations performed by the server can be implemented by the corresponding units and/or modules in the server.
The description continues on the software implementation of the search apparatus for online documents provided by the embodiments of the present disclosure. Fig. 4 is a schematic diagram of a structure of an online document search apparatus provided in an embodiment of the present disclosure, which is located at a terminal, and referring to fig. 4, an online document search apparatus 40 provided in an embodiment of the present disclosure includes:
a page loading unit 41 for loading a search page of an online document and receiving a search instruction of the online document through a page operation of the search page;
a request sending unit 42, configured to send a search request for an online document carrying a search keyword to a server based on a search instruction, so that the server determines, based on the search request, at least one online document whose document information matches the search keyword, and obtains operation information of the at least one online document, and determines, based on the operation information, a priority of the at least one online document;
a document receiving unit 43 for receiving at least one online document returned in accordance with the priority;
a display unit 44 for displaying at least one online document on the search page according to the priority.
With continuing reference to fig. 5, fig. 5 is a flowchart illustrating a method for searching for an online document according to an embodiment of the present disclosure, and with reference to fig. 5, the method for searching for an online document according to an embodiment of the present disclosure includes:
step 501: the server receives a search request of an online document carrying a search keyword, wherein the search request is triggered by page operation of a search page.
In some embodiments, the search request received by the server may be sent by a client, where the client may be a social client, such as an IM client, the client integrates functions of online documents, and based on a click operation of a user, the client invokes a browser kernel to load a search page of the online document through an interface provided by a browser, and based on the loaded search page, the user may perform a search of the online document; in other embodiments, a browser kernel is integrated in the client, and a search page of the online document is displayed in the client by calling the browser kernel; in other embodiments, the client is an online document client, and the loading of the search page of the online document is realized by operating the online document client; in other embodiments, an applet corresponding to the functionality of the online document exists, and the client loads the search page of the online document by downloading and running the source code of the online document applet.
Taking a client as an IM client as an example, when a user needs to process a certain online document, a search page of the online document may be opened through the IM client, and the online document to be processed is searched through the search page, fig. 6 is an interface schematic diagram of the online document search provided by the embodiment of the present disclosure, referring to fig. 6, the user inputs a search keyword through a search box in the search page to trigger a search instruction, when a browser kernel is integrated in the IM client, the IM client monitors the search instruction of the user and sends a search request of the online document to a server, and when the browser kernel is not integrated in the IM client, the search request of the online document is sent to the server through the browser client.
Step 502: at least one online document whose document information matches the search keyword is determined based on the search request.
Here, the server parses the search request to obtain a search keyword, and then constructs a search sentence based on the search keyword to determine an online document whose document information matches the search keyword through the search sentence.
In practical implementation, the server may include a search module, receive the search request through the search module, parse the search request to obtain a search keyword, and construct a search statement based on the search keyword. The search engine matches the document information of the online documents with the search keywords according to the search sentences constructed by the search module, and returns the matched online documents to the search module. The search engine stores data of user online documents, and may be a distributed search engine, such as an ElasticSearch.
In some embodiments, the server may determine at least one online document whose document information matches the search keyword based on the search request by:
respectively matching the document information of each online document with the search keywords in response to the fact that the document information comprises at least one of a document title, a document abstract and document contents; and determining that the online documents of which the document information contains the search keywords are the online documents matched with the search keywords.
In practical application, the server judges whether the document information of each online document contains a search keyword, if the document information of the online document contains the search keyword, the online document is the online document matched with the search keyword, otherwise, the online document is not the online document matched with the search keyword.
Illustratively, when the document information includes a document title, it is determined whether the document title of each online document contains a search keyword, and if the document title of the online document contains the search keyword, the online document is an online document matching the search keyword, otherwise, the online document is not a document matching the search keyword.
Illustratively, when the document information comprises a document title, a document abstract and document contents, respectively judging whether the document title, the document abstract and the document contents of each online document contain a search keyword, if at least one of the document title, the document abstract and the document contents contain the search keyword, the online document is an online document matched with the search keyword; otherwise, it is not an online document matching the search keyword.
Step 503: and acquiring operation information of the at least one online document, wherein the operation information comprises operation times and/or operation time.
Here, the server stores the online document and the corresponding operation information, and may find the operation information corresponding to the online document according to the identifier of the online document, where the operation information includes the operation times and/or operation time for the user to operate the online document, such as the times for the user to open the online document and the time for the user to open the online document.
Step 504: determining a priority of the at least one online document based on the operational information.
In some embodiments, the server may determine the priority of the at least one online document by:
respectively obtaining the similarity between the document information of each online document and the search keyword; determining the score of each online document based on the similarity; respectively adjusting the score of each online document based on the operation information; determining a priority of the at least one online document according to the adjusted score.
Here, the higher the similarity between the document information of the online document and the search keyword, the higher the relevance between the online document and the search keyword, and the higher the corresponding score. And determining the priority level corresponding to the online document based on the grade, wherein the higher the grade is, the higher the priority level is.
In practical implementation, the score of each online document may be directly represented by the similarity, and the higher the similarity, the higher the corresponding score, for example, the similarity is 80%, and the score is 80%.
In practical implementation, when the document information includes a plurality of information, the similarity between each information of the online document and the search keyword may be calculated, and different weights may be given to different information, so as to determine the score corresponding to the online document according to the weight and the similarity corresponding to each information of the online document. For example, when the document information includes a document title, a document abstract and document contents, the similarity score between the document title, the document abstract and the document contents of the online document and the search keyword is calculated respectively1、score2And score3Then the online document has a score of k1*score1+k2*score2+k3*score3Wherein k is1、k2And k3Corresponding document title, document abstract and document content and search respectivelyThe weight of the keyword.
In some embodiments, the server may adjust the score for each online document by:
respectively determining the time difference between the last operation time and the current time of each online document based on the operation time in response to the operation information comprising the operation time; determining the adjustment amplitude of the score of each online document according to the time difference; the score of each online document is adjusted based on the adjusted magnitude of each online document.
Here, the longer the time difference between the last operation time of the online document and the current time is, the lower the recent usage frequency is, and the more active online document is required by the user with the precipitation knowledge in most application scenarios of the online document. Therefore, the larger the time difference between the last operation time and the current time of the online document is, the more the score of the online document needs to be adjusted accordingly to reduce the weight of the online document.
In practical implementation, the score may be adjusted in a manner that the score is correspondingly decreased by the preset score value every time the time difference with the current time increases by one week, for example, the score obtained based on the similarity is 80 minutes, the time difference with the current time is one week and is decreased to 75 minutes, and the time difference with the current time is two weeks and is decreased to 70 minutes.
In practical implementation, the score may be determined according to score' ═ score (k)1/time) of the score, wherein score' is the adjusted score, score is the pre-adjusted score, k1To adjust the parameters, the time is the time difference between the last operation time and the current time. For example, if the score before adjustment is 80 points, the adjustment parameter is 1, and the time difference is 2 weeks, the score after adjustment is 40 points.
In some embodiments, the server may adjust the score for each online document by:
respectively determining the proportion of the operation times of each online document to the sum of the operation times of at least one online document based on the operation times in response to the operation information comprising the operation times; determining the adjustment amplitude of the score of each online document according to the determined proportion; the score of each online document is adjusted based on the adjusted magnitude of each online document.
Here, the online document having a higher ratio of the number of operations of the online document to the total number of operations is more likely to be required by the user, and therefore, the score of the online document may be adjusted according to the ratio of the number of operations to the total number of operations, so as to increase the weight of the online document.
For example, the determined operation times corresponding to at least one online document are count (1, 2, …, n), respectively, and the total operation times is totalCount which is the sum of count (1, 2, …, n). For a certain online document, the corresponding operation times are n, and then the ratio countScale of the operation times of the online document to the total operation times is n/totalCount. May be based on score' ═ score (k)2countScale) is adjusted, wherein score' is adjusted score, score is pre-adjusted score, k2For adjusting the parameters, the countScale is the ratio of the operation times to the total operation times.
In some embodiments, the server may adjust the score for each online document by:
respectively determining the time difference between the last operation time and the current time of each online document based on the operation time in response to the fact that the operation information comprises the operation time and the operation times; respectively determining the proportion of the operation times of each online document to the sum of the operation times of at least one online document based on the operation times; determining the adjustment amplitude of the score of each online document according to the time difference and the determined proportion; the score of each online document is adjusted based on the adjusted magnitude of each online document.
For example, one may rely on score' ═ score (k)1*time+k2countScale) is adjusted, wherein score' is the adjusted score, score is the pre-adjusted score, k1、k2For adjusting the parameters, time is the time difference between the last operation time and the current time, and countScale is the ratio of the operation times to the total operation times.
Step 505: at least one online document is transmitted based on the priority to display the at least one online document on the search page according to the priority.
In actual implementation, the online documents sent by the server may carry priority information, the server sends at least one matched online document to the terminal, and the terminal may obtain the online documents and the corresponding priorities thereof and display the received online documents based on the priorities; the server can also send at least one online document to the terminal according to the priority order, and the terminal displays the received at least one online document according to the receiving order.
For example, on the search page of the online document, the online documents whose document titles match the search keyword "work list" are displayed according to priority, fig. 7 is an interface diagram of the search result provided by the embodiment of the disclosure, as shown in fig. 7, there are three online documents matching the search keyword "work list", the priority is represented by the number of stars, the higher the number of stars is, the higher the priority of the online document is, wherein the number of stars of the online document whose last operation time is closest to the current time is the largest, and is 5, that is, the priority of the online document is the highest.
In some embodiments, the server may respond to the search request and also carry the user identifier, and obtain the user identifier and the owner identifier corresponding to each online document; respectively matching the owner identification corresponding to each online document with the user identification to obtain a matching result; based on the matching result, the priority of at least one online document is adjusted.
Here, the online document with the owner more highly associated with the user who sent the search request corresponds to a higher priority, and for example, as shown in fig. 7, the number of stars corresponding to the online document with the owner of "i" is 4 and 3, respectively, and the number of stars corresponding to the online document with the owner of "i" is only 1.
According to the method and the device for searching the online document, the owner identification is matched with the user identification, the priority of at least one online document is adjusted based on the matching result, the online document with higher association degree between the owner of the document and the user is preferentially displayed on the searching page, and the searching accuracy of the online document can be improved.
By applying the embodiment of the disclosure, the priority of the matched at least one online document is determined based on the operation information by obtaining the operation information corresponding to the matched at least one online document, and then the at least one online document is sent based on the priority, so that the at least one online document is displayed on the search page according to the priority, the user can effectively obtain the most relevant search result, and the search accuracy is improved.
Next, a notification method of an online document provided by the embodiment of the present disclosure is described by taking a client as an IM client, which integrates a function of the online document. Fig. 8 is a schematic flowchart of a method for searching for an online document provided in the embodiment of the present disclosure, and referring to fig. 8, the method for searching for an online document provided in the embodiment of the present disclosure includes:
step 801: and responding to an operation instruction of the online document triggered by the user, and calling a browser kernel by the IM client through the interface to load a search page of the online document.
Step 802: and responding to a search instruction of the online document triggered by the user based on the search page, and sending a search request of the online document carrying the search keyword to the server by the browser.
Here, the user inputs a search keyword in a search box based on a search page of an online document displayed by the browser to perform a search of the online document, and the browser transmits a search request carrying the search keyword to the server.
Step 803: the server matches the document information of each online document with the search keyword based on the search request.
Step 804: and determining that the online documents of which the document information contains the search keywords are the online documents matched with the search keywords.
Step 805: and respectively obtaining the similarity between the document information corresponding to each online document matched with the search keyword and the search keyword.
Step 806: based on the level of similarity, a score is determined for each online document.
Step 807: and acquiring the operation times and the operation time of each online document, and adjusting the score of each online document based on the operation times and the operation time.
In actual implementation, respectively determining the time difference between the last operation time and the current time of each online document based on the operation time; respectively determining the proportion of the operation times of each online document to the sum of the operation times of at least one online document based on the operation times; determining the adjustment amplitude of the score of each online document according to the time difference and the determined proportion; the score of each online document is adjusted based on the adjusted magnitude of each online document.
Step 808: and determining the priority of the online documents matched with the search keywords according to the adjusted scores.
Step 809: and sending the online documents matched with the search keywords to the browser according to the determined priority.
Step 810: the browser displays the online documents matched with the search keywords on the search page according to the priority.
According to one or more embodiments of the present disclosure, there is provided an online document search method including:
receiving a search request of an online document carrying search keywords, wherein the search request is triggered by page operation of a search page;
determining at least one online document of which document information matches the search keyword based on the search request;
acquiring operation information of the at least one online document, wherein the operation information comprises operation times and/or operation time;
determining a priority of the at least one online document based on the operation information;
and sending the at least one online document based on the priority to display the at least one online document on the search page according to the priority.
According to one or more embodiments of the present disclosure, there is provided the above online document searching method, wherein the determining at least one online document whose document information matches the search keyword based on the search request includes:
respectively matching the document information of each online document with the search keyword in response to the document information comprising at least one of a document title, a document abstract and document content;
and determining that the online document of which the document information contains the search keyword is the online document matched with the search keyword.
According to one or more embodiments of the present disclosure, there is provided the above online document searching method, wherein the determining the priority of the at least one online document based on the operation information includes:
respectively obtaining the similarity between the document information of each online document and a search keyword;
determining a score for each of the online documents based on the similarity;
respectively adjusting the score of each online document based on the operation information;
determining a priority of the at least one online document according to the adjusted score.
According to one or more embodiments of the present disclosure, the above method for searching for online documents is provided, where the adjusting the score of each online document based on the operation information includes:
respectively determining the time difference between the last operation time and the current time of each online document based on the operation time in response to the operation information comprising the operation time;
determining the adjustment amplitude of the score of each online document according to the time difference;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
According to one or more embodiments of the present disclosure, the above method for searching for online documents is provided, where the adjusting the score of each online document based on the operation information includes:
respectively determining the proportion of the operation times of each online document to the sum of the operation times of the at least one online document based on the operation times in response to the operation information comprising the operation times;
determining an adjustment amplitude of the score of each online document according to the determined proportion;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
According to one or more embodiments of the present disclosure, there is provided the above online document searching method, further including:
responding to the search request and also carrying user identification, and acquiring the user identification and owner identification corresponding to each online document;
matching the owner identification corresponding to each online document with the user identification to obtain a matching result;
based on the matching result, the priority of the at least one online document is adjusted.
According to one or more embodiments of the present disclosure, there is provided a method of searching for an online document, the method including:
loading a search page of an online document, and receiving a search instruction of the online document through page operation of the search page;
based on the search instruction, sending a search request of online documents carrying search keywords to a server, so that the server determines at least one online document of which the document information is matched with the search keywords based on the search request, acquires operation information of the at least one online document, and determines the priority of the at least one online document based on the operation information;
receiving the at least one online document returned according to the priority;
and displaying the at least one online document on the search page according to the priority.
According to one or more embodiments of the present disclosure, there is provided an apparatus for searching for an online document, the apparatus including:
the device comprises a request receiving unit, a searching unit and a searching unit, wherein the request receiving unit is used for receiving a searching request of an online document carrying a searching keyword, and the searching request is triggered by page operation of a searching page;
a document matching unit for determining at least one online document whose document information matches the search keyword based on the search request;
the information acquisition unit is used for acquiring operation information of the at least one online document, and the operation information comprises operation times and/or operation time;
a determining unit configured to determine a priority of the at least one online document based on the operation information;
and the document sending unit is used for sending the at least one online document based on the priority so as to display the at least one online document on the search page according to the priority.
According to one or more embodiments of the present disclosure, the above online document searching apparatus is provided, where the document matching unit is further configured to respectively match the document information of each online document with the search keyword in response to that the document information includes at least one of a document title, a document abstract, and a document content;
and determining that the online document of which the document information contains the search keyword is the online document matched with the search keyword.
According to one or more embodiments of the present disclosure, there is provided the above online document searching apparatus, wherein the determining unit is further configured to respectively obtain similarity between document information of each online document and a search keyword;
determining a score for each of the online documents based on the similarity;
respectively adjusting the score of each online document based on the operation information;
determining a priority of the at least one online document according to the adjusted score.
According to one or more embodiments of the present disclosure, there is provided the above online document searching apparatus, wherein the determining unit is further configured to determine, in response to the operation information including an operation time, a time difference between a last operation time and a current time of each online document, respectively, based on the operation time;
determining the adjustment amplitude of the score of each online document according to the time difference;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
According to one or more embodiments of the present disclosure, there is provided the above online document searching apparatus, wherein the determining unit is further configured to determine, in response to the operation information including the operation times, a ratio of the operation times of each online document to a sum of the operation times of the at least one online document based on the operation times, respectively;
determining an adjustment amplitude of the score of each online document according to the determined proportion;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
According to one or more embodiments of the present disclosure, there is provided the above-mentioned apparatus for searching for an online document, the apparatus further including:
the adjusting unit is used for responding to the search request and also carrying user identification, and acquiring the user identification and owner identification corresponding to each online document;
matching the owner identification corresponding to each online document with the user identification to obtain a matching result;
based on the matching result, the priority of the at least one online document is adjusted.
According to one or more embodiments of the present disclosure, there is provided an apparatus for searching for an online document, the apparatus including:
the page loading unit is used for loading a search page of the online document and receiving a search instruction of the online document through page operation of the search page;
a request sending unit, configured to send, based on the search instruction, a search request for an online document carrying a search keyword to a server, so that the server determines, based on the search request, at least one online document whose document information matches the search keyword, obtains operation information of the at least one online document, and determines, based on the operation information, a priority of the at least one online document;
the document receiving unit is used for receiving the at least one online document returned according to the priority;
and the display unit is used for displaying the at least one online document on the search page according to the priority.
According to one or more embodiments of the present disclosure, there is provided a server including:
a first memory for storing executable instructions;
and the first processor is used for realizing the searching method of the online document provided by the embodiment of the disclosure when executing the executable instructions stored in the first memory.
According to one or more embodiments of the present disclosure, there is provided a terminal including:
a second memory for storing executable instructions;
and the second processor is used for realizing the online document searching method provided by the embodiment of the disclosure when executing the executable instructions stored in the second memory.
According to one or more embodiments of the present disclosure, a storage medium is provided, which stores executable instructions for implementing a method for searching online documents provided by an embodiment of the present disclosure when executed.
According to one or more embodiments of the present disclosure, a storage medium is provided, which stores executable instructions for implementing a method for searching online documents provided by an embodiment of the present disclosure when executed.
The above description is only an example of the present disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (16)

1. A method for searching for an online document, the method comprising:
receiving a search request of an online document carrying search keywords, wherein the search request is triggered by page operation of a search page;
determining at least one online document of which document information matches the search keyword based on the search request;
acquiring operation information of the at least one online document, wherein the operation information comprises operation times and/or operation time;
determining a priority of the at least one online document based on the operation information;
transmitting the at least one online document based on the priority to display the at least one online document on the search page according to the priority;
wherein the determining a priority of the at least one online document based on the operational information comprises:
respectively obtaining the similarity between the document information of each online document and a search keyword, and determining the score of each online document based on the similarity;
and respectively adjusting the score of each online document based on the operation information, and determining the priority of the at least one online document according to the adjusted score.
2. The method of claim 1, wherein determining at least one online document whose document information matches the search keyword based on the search request comprises:
respectively matching the document information of each online document with the search keyword in response to the document information comprising at least one of a document title, a document abstract and document content;
and determining that the online document of which the document information contains the search keyword is the online document matched with the search keyword.
3. The method of claim 1, wherein the adjusting the score of each of the online documents based on the operational information comprises:
respectively determining the time difference between the last operation time and the current time of each online document based on the operation time in response to the operation information comprising the operation time;
determining the adjustment amplitude of the score of each online document according to the time difference;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
4. The method of claim 1, wherein the adjusting the score of each of the online documents based on the operational information comprises:
respectively determining the proportion of the operation times of each online document to the sum of the operation times of the at least one online document based on the operation times in response to the operation information comprising the operation times;
determining an adjustment amplitude of the score of each online document according to the determined proportion;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
5. The method of claim 1, wherein the method further comprises:
responding to the search request and also carrying user identification, and acquiring the user identification and owner identification corresponding to each online document;
matching the owner identification corresponding to each online document with the user identification to obtain a matching result;
based on the matching result, the priority of the at least one online document is adjusted.
6. A method for searching for an online document, the method comprising:
loading a search page of an online document, and receiving a search instruction of the online document through page operation of the search page;
based on the search instruction, sending a search request of online documents carrying search keywords to a server, so that the server determines at least one online document of which the document information is matched with the search keywords based on the search request, acquires operation information of the at least one online document, and determines the priority of the at least one online document based on the operation information;
receiving the at least one online document returned according to the priority;
displaying the at least one online document on the search page according to the priority;
wherein the determining a priority of the at least one online document based on the operational information comprises:
respectively obtaining the similarity between the document information of each online document and a search keyword, and determining the score of each online document based on the similarity;
and respectively adjusting the score of each online document based on the operation information, and determining the priority of the at least one online document according to the adjusted score.
7. An apparatus for searching for an online document, the apparatus comprising:
the device comprises a request receiving unit, a searching unit and a searching unit, wherein the request receiving unit is used for receiving a searching request of an online document carrying a searching keyword, and the searching request is triggered by page operation of a searching page;
a document matching unit for determining at least one online document whose document information matches the search keyword based on the search request;
the information acquisition unit is used for acquiring operation information of the at least one online document, and the operation information comprises operation times and/or operation time;
a determining unit configured to determine a priority of the at least one online document based on the operation information;
a document transmitting unit for transmitting the at least one online document based on the priority to display the at least one online document on the search page according to the priority;
the determining unit is further configured to obtain similarity between the document information of each online document and a search keyword, and determine a score of each online document based on the similarity;
and respectively adjusting the score of each online document based on the operation information, and determining the priority of the at least one online document according to the adjusted score.
8. The apparatus of claim 7,
the document matching unit is further used for respectively matching the document information of each online document with the search keyword in response to the fact that the document information comprises at least one of a document title, a document abstract and document contents;
and determining that the online document of which the document information contains the search keyword is the online document matched with the search keyword.
9. The apparatus of claim 7,
the determining unit is further configured to determine, based on the operation time and in response to the operation information including the operation time, a time difference between the last operation time and the current time of each online document respectively;
determining the adjustment amplitude of the score of each online document according to the time difference;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
10. The apparatus of claim 7,
the determining unit is further configured to determine, in response to the operation information including the operation times, a ratio of the operation times of each online document to a sum of the operation times of the at least one online document based on the operation times, respectively;
determining an adjustment amplitude of the score of each online document according to the determined proportion;
adjusting the score of each of the online documents based on the adjusted magnitude of each of the online documents.
11. The apparatus of claim 7, wherein the apparatus further comprises:
the adjusting unit is used for responding to the search request and also carrying user identification, and acquiring the user identification and owner identification corresponding to each online document;
matching the owner identification corresponding to each online document with the user identification to obtain a matching result;
based on the matching result, the priority of the at least one online document is adjusted.
12. An apparatus for searching for an online document, the apparatus comprising:
the page loading unit is used for loading a search page of the online document and receiving a search instruction of the online document through page operation of the search page;
a request sending unit, configured to send, based on the search instruction, a search request for an online document carrying a search keyword to a server, so that the server determines, based on the search request, at least one online document whose document information matches the search keyword, obtains operation information of the at least one online document, and determines, based on the operation information, a priority of the at least one online document;
wherein the determining a priority of the at least one online document based on the operational information comprises:
respectively obtaining the similarity between the document information of each online document and a search keyword, and determining the score of each online document based on the similarity;
respectively adjusting the score of each online document based on the operation information, and determining the priority of at least one online document according to the adjusted score;
the document receiving unit is used for receiving the at least one online document returned according to the priority;
and the display unit is used for displaying the at least one online document on the search page according to the priority.
13. A server, characterized in that the server comprises:
a first memory for storing executable instructions;
a first processor for implementing a method of searching for online documents as claimed in any one of claims 1 to 5 when executing executable instructions stored in said first memory.
14. A terminal, characterized in that the terminal comprises:
a second memory for storing executable instructions;
a second processor, for implementing the method of searching for online documents as claimed in claim 6 when executing the executable instructions stored in the second memory.
15. A storage medium storing executable instructions for implementing the method of searching for online documents of any one of claims 1 to 5 when executed.
16. A storage medium storing executable instructions for implementing the method of searching for online documents of claim 6 when executed.
CN201910642346.4A 2019-07-16 2019-07-16 Online document searching method, device, terminal, server and storage medium Active CN110399459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910642346.4A CN110399459B (en) 2019-07-16 2019-07-16 Online document searching method, device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910642346.4A CN110399459B (en) 2019-07-16 2019-07-16 Online document searching method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN110399459A CN110399459A (en) 2019-11-01
CN110399459B true CN110399459B (en) 2022-03-18

Family

ID=68325638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910642346.4A Active CN110399459B (en) 2019-07-16 2019-07-16 Online document searching method, device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN110399459B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073307B (en) 2020-09-10 2023-11-14 北京字跳网络技术有限公司 Mail processing method, mail processing device, electronic equipment and computer readable medium
CN112597274A (en) * 2020-12-18 2021-04-02 深圳市彬讯科技有限公司 Document determination method, device, equipment and storage medium based on BM25 algorithm
CN113342941B (en) * 2021-06-28 2022-08-26 平安信托有限责任公司 Text search method and device, electronic equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187942A (en) * 2006-11-20 2008-05-28 佳能株式会社 Retrieval system and method of displaying retrieved results in the system
CN107133290A (en) * 2017-04-19 2017-09-05 中国人民解放军国防科学技术大学 A kind of Personalized search and device
CN107391535A (en) * 2017-04-20 2017-11-24 阿里巴巴集团控股有限公司 The method and device of document is searched in document application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8965904B2 (en) * 2011-11-15 2015-02-24 Long Van Dinh Apparatus and method for information access, search, rank and retrieval

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101187942A (en) * 2006-11-20 2008-05-28 佳能株式会社 Retrieval system and method of displaying retrieved results in the system
CN107133290A (en) * 2017-04-19 2017-09-05 中国人民解放军国防科学技术大学 A kind of Personalized search and device
CN107391535A (en) * 2017-04-20 2017-11-24 阿里巴巴集团控股有限公司 The method and device of document is searched in document application

Also Published As

Publication number Publication date
CN110399459A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN111414498B (en) Multimedia information recommendation method and device and electronic equipment
CN111368185B (en) Data display method and device, storage medium and electronic equipment
CN110399459B (en) Online document searching method, device, terminal, server and storage medium
CN110516159B (en) Information recommendation method and device, electronic equipment and storage medium
CN111061956A (en) Method and apparatus for generating information
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN110471709A (en) A kind of method, apparatus, medium and electronic equipment accelerating webpage opening speed
CN110059172B (en) Method and device for recommending answers based on natural language understanding
CN113868538B (en) Information processing method, device, equipment and medium
CN114357325A (en) Content search method, device, equipment and medium
CN111813685B (en) Automatic test method and device
CN110765357A (en) Method, device and equipment for searching online document and storage medium
CN110689285A (en) Test method, test device, electronic equipment and computer readable storage medium
CN112084441A (en) Information retrieval method and device and electronic equipment
CN107256244B (en) Data processing method and system
CN111694932A (en) Conversation method and device
CN111737571B (en) Searching method and device and electronic equipment
CN109857838B (en) Method and apparatus for generating information
CN113779461A (en) Data loading method and device and electronic equipment
CN113449886A (en) Data processing method, processing device, equipment and storage medium
CN112380476A (en) Information display method and device and electronic equipment
CN113421565A (en) Search method, search device, electronic equipment and storage medium
CN115017437A (en) Information display method, device, terminal and storage medium
CN111597441A (en) Information processing method and device and electronic equipment
CN113312053A (en) Data processing 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder