[go: up one dir, main page]

CN113190740B - Search processing method, device, electronic device, storage medium and program product - Google Patents

Search processing method, device, electronic device, storage medium and program product Download PDF

Info

Publication number
CN113190740B
CN113190740B CN202110486353.7A CN202110486353A CN113190740B CN 113190740 B CN113190740 B CN 113190740B CN 202110486353 A CN202110486353 A CN 202110486353A CN 113190740 B CN113190740 B CN 113190740B
Authority
CN
China
Prior art keywords
search
client
user
behavior information
user behavior
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
CN202110486353.7A
Other languages
Chinese (zh)
Other versions
CN113190740A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110486353.7A priority Critical patent/CN113190740B/en
Publication of CN113190740A publication Critical patent/CN113190740A/en
Application granted granted Critical
Publication of CN113190740B publication Critical patent/CN113190740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/9532Query formulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/9535Search customisation based on user profiles and personalisation

Landscapes

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

Abstract

本申请公开了搜索处理方法、装置、电子设备、存储介质及程序产品,涉及数据处理中的智能搜索。具体实现方案为:在客户端启动后,响应用户在客户端触发的本次搜索操作,搜索操作用于对搜索关键词进行搜索;获取预设时间段内用户在客户端进行搜索和/或浏览所产生的用户行为信息;预设时间段是指从客户端启动到本次搜索操作触发之间的时间段;根据用户行为信息和搜索关键词,生成搜索请求;接收并在客户端展示搜索服务器返回的搜索结果。从而能够基于用户在客户端所产生的用户行为信息对搜索关键词进行搜索,解决了用户在对搜索关键词进行搜索时多次进行搜索确认的问题,提升了搜索精度,优化了搜索流程。

The present application discloses a search processing method, device, electronic device, storage medium and program product, which are related to intelligent search in data processing. The specific implementation scheme is: after the client is started, respond to the current search operation triggered by the user on the client, the search operation is used to search for search keywords; obtain user behavior information generated by the user searching and/or browsing on the client within a preset time period; the preset time period refers to the time period from the start of the client to the triggering of this search operation; generate a search request based on the user behavior information and the search keyword; receive and display the search results returned by the search server on the client. In this way, the search keywords can be searched based on the user behavior information generated by the user on the client, which solves the problem of multiple search confirmations when the user searches for the search keywords, improves the search accuracy, and optimizes the search process.

Description

Search processing method, device, electronic equipment, storage medium and program product
Technical Field
The present application relates to intelligent searching in data processing, and in particular, to a search processing method, apparatus, electronic device, storage medium, and program product.
Background
With the development of internet technology, more and more users will know information of specific targets through search engines.
The user inputs the keywords to be searched, so that the search server performs search processing on the keywords by using a search engine, and the search result is displayed to the user through the client.
But there are ambiguous words in language expressions, i.e. there are different language meanings for the same word in different contexts or different fields. However, the existing search processing method performs a special search processing for this phenomenon.
Disclosure of Invention
The application provides a search processing method, a device, electronic equipment, a storage medium and a program product for improving search precision and optimizing search flow.
According to a first aspect of the present application, there is provided a search processing method including:
After the client is started, responding to the search operation triggered by the user at the client, wherein the search operation is used for searching the search keywords;
acquiring user behavior information generated by searching and/or browsing of a user at a client in a preset time period, wherein the preset time period is a time period from the starting of the client to the triggering of the searching operation;
Generating a search request according to the user behavior information and the search keyword, wherein the search request is used for searching the search keyword based on the user behavior information;
and receiving and displaying the search results returned by the search server at the client.
According to a second aspect of the present application, there is provided a search processing apparatus comprising:
The interactive display unit is used for responding to the search operation triggered by the user at the client after the client is started, and the search operation is used for searching the search keywords;
The system comprises a user behavior information acquisition unit, a search unit and a search unit, wherein the user behavior information acquisition unit is used for acquiring user behavior information generated by searching and/or browsing of a user at a client in a preset time period, and the preset time period is a time period from the start of the client to the triggering of the search operation;
The request generation unit is used for generating a search request according to the user behavior information and the search keyword, wherein the search request is used for searching the search keyword based on the user behavior information;
And the interactive display unit is also used for receiving and displaying the search result returned by the search server at the client.
According to a third aspect of the present application, there is provided an electronic device comprising:
at least one processor, and
A memory communicatively coupled to the at least one processor, wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
According to a fourth aspect of the present application there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of the first aspect.
According to a fifth aspect of the present application there is provided a computer program product comprising a computer program stored in a readable storage medium, the computer program being readable from the readable storage medium by at least one processor of an electronic device, the at least one processor executing the computer program causing the electronic device to perform the method of the first aspect.
The technology solves the technical problem that accurate search results cannot be provided for users in the existing process of searching keywords with a plurality of semantics.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
FIG. 1 is a schematic diagram of a system architecture on which the present application is based;
FIG. 2 is a schematic flow chart of a search processing method provided by the application;
FIG. 3 is a first interface schematic diagram of a search processing method provided by the present application;
FIG. 4 is a second interface schematic diagram of a search processing method provided by the present application;
FIG. 5 is a schematic diagram of a search processing apparatus according to the present application;
fig. 6 is a schematic structural diagram of an electronic device provided by the present application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Aiming at the problems of complicated search flow and low search precision caused by incapability of accurately searching keywords with various meanings in the conventional search processing process, the application discloses a search processing method, a device, electronic equipment, a storage medium and a program product, and relates to intelligent search in data processing.
In the prior art, the search process generally includes first obtaining a keyword to be searched, which is input by a user through a client, then the client carries the keyword in a search request and sends the keyword to a search server, the search server performs search processing on the keyword by using a search engine and returns an obtained search result to the client, and at this time, the search result is displayed on the client for the user to view.
But for some keywords having multiple semantics, the search results that the existing search process can return to the user are often not what the user wants.
For example:
For the keyword to be searched, when a user inputs "cloud" as a keyword to a client to search, the result presented by the client is generally "cloud, a natural phenomenon.
It is known that in the computer field, the "cloud" is also called cloud technology, and refers to a hosting technology that unifies serial resources such as hardware, software, and networks in a wide area network or a local area network, so as to implement calculation, storage, processing, and sharing of data. That is, when a user wishes to search for information related to "cloud (cloud technology)", the search result thereof often reflects information related to "cloud (natural phenomenon)".
In the face of this situation, users typically choose to reenter the search terms, such as reenter "cloud, computer technology" or "cloud technology, computer" etc., to re-search until their desired search results are obtained;
In some other prior art, the client may also initiate prompt information for confirming the search request to the user if the user continuously inputs similar keywords, such as "please ask you if you search is cloud technology in the computer domain.
In either of the above search processing methods, there is a problem that the search accuracy is poor and the search flow is complicated:
for the user, the user can not acquire the needed information through one search operation;
For the search server, the search server needs to perform multiple search processes for the search appeal of the same user, and the effective utilization rate of the search resources is not high.
In view of the above-mentioned technical problems in the prior art, the present inventors have found through research that, before a user searches a specific keyword by using a client, a user often has a behavior of browsing or searching certain information, and through analysis of these user behaviors, the search intention of the user in the current search can be predicted to a certain extent, and the search result obtained based on the search performed by this prediction is a search result conforming to the search intention of the user, that is, by searching the search keyword based on the user behavior information generated by the user in the client, the present application avoids the situation that the search server searches for the search keyword based on keyword ambiguity, and also solves the problem that the user performs search confirmation multiple times when searching the search keyword, thereby improving the search precision and optimizing the search flow.
Fig. 1 is a schematic diagram of a system architecture based on the present application, and as shown in fig. 1, the system architecture based on the present application at least includes a terminal device 1 and a search server 2;
The terminal device 1 may specifically be a hardware device having a user interaction function and a network communication function, which includes, but is not limited to, a smart phone, a tablet computer, a desktop computer, and the like. The terminal device 1 may be provided with a client, and the client may be a different type of client, such as a web browser, an APP, and the like. In the client of the terminal device 1, a search processing device according to the present application is carried, which may be written in languages such as C/c++, java, shell or Python.
The search server 2 may be a hardware server, or a hardware carrier carrying a cloud server. Of course, due to different product forms of the search processing device on the terminal device 1, the search server 2 may be a hardware server integrated in other function servers or a hardware carrier carrying a cloud server, or may be a hardware server or a hardware carrier carrying a cloud server that exists independently.
The terminal device 1 may take a communication link with the search server 2 via a network link and send a search request triggered by the user to the search server 2. The search server 2 will invoke a search engine or search processing logic carried therein to process the search request. After obtaining the search results, the search server 2 returns the search results to the terminal device 1 through the network link for viewing by the user.
It should be noted that the present application provides a search processing method, apparatus, electronic device, storage medium, and program product, which can be applied in various search scenarios:
The application can be applied to a webpage searching scene of a mobile phone or a computer, wherein a client in the processing method can be a webpage browser of a terminal device, and the searching processing device provided by the application can be integrated in the webpage browser, and the keyword input by a user in a searching frame of the webpage browser is searched and processed based on the searching processing method provided by the application.
The application can also be applied to an application APP with a search function, wherein the client in the processing method can be the application APP installed on the terminal equipment, and the search processing device provided by the application can be integrated in the application APP:
In the application APP-based scenario, the application APP may be a search service class APP with the search function as the primary function of the application APP, or may be another service class APP with the search function as the secondary function of the application APP.
When the application APP is the search service class APP, the search processing device provided by the application executes the search processing method when the search service class APP is started and starts to provide the search service for the user.
When the application APP is other service APP, the application APP can be specifically an online shopping platform APP, a video playing APP, a novel reading APP and the like. The search processing device provided by the application starts and starts to execute the search processing method when other service classes APP call the search function and provide search service for users, for example, when users search a certain product on the online shopping platform APP, the search processing device provides search processing service for users based on the search processing method provided by the application.
For convenience in description, in the present application, a client is taken as a search service APP as an example, and for other scenarios, the processing method is similar, and the embodiment of the present application is not repeated.
Embodiments of the present application will be described in detail below with reference to the attached drawings:
Example 1
Fig. 2 is a flow chart of a search processing method provided by the present application, and as shown in fig. 2, the search processing method provided by the present embodiment includes the following steps:
step 201, after the client is started, responding to the search operation triggered by the user at the client, wherein the search operation is used for searching the search keywords.
The execution subject of the embodiment of the present application is a search processing device, which is to be carried in the aforementioned terminal device.
Firstly, a user can start a client of the search service class APP by triggering an application identifier of the search service class APP on the terminal equipment. When the client is started, the client provides a search interface of the search service application for the user to operate and use.
Then, the user can trigger the search operation on the search keyword at the search interface of the client, and the search processing device monitors the current search operation triggered by the user at the client and executes the subsequent flow.
In this embodiment, the search operation may be specifically formed by combining a plurality of operations, and fig. 3 is a first interface schematic diagram of a search processing method provided by the present application, as shown in fig. 3, a search box 301 is provided on the application main interface 300, so that a user may trigger the search box 301 to edit a search keyword. At this time, the user may input a search keyword in the search keyword box 301 and trigger the execution operation of the search 302 after the input is completed, and thus, through the triggering of the search box 301, the editing of the search keyword and the triggering of the search 302, a search operation for the search keyword is constituted.
Of course, in other embodiments, other operation combinations may be used in the search operation, and the present application does not limit the specific operation form and operation structure of the search operation.
Step 202, obtaining user behavior information generated by searching and/or browsing of a user at a client in a preset time period, wherein the preset time period is a time period from the start of the client to the triggering of the search operation.
After the search processing device monitors that the user triggers the search operation at the client, the user behavior information is obtained by reading the relevant records of the client. In the embodiment of the application, the user behavior information specifically refers to information generated when a user performs user behaviors by using a client, wherein the user behaviors specifically can be browsing, searching and the like.
In the present application, considering that searching is a very time-efficient behavior, before a user triggers a search operation, the user generally has a behavior of browsing information or searching other information, so, in this embodiment, in order to improve the search accuracy and ensure the search timeliness, the user behavior information in this embodiment is specifically generated in a preset time period by the user, that is, in a specific time period from the client to the triggering of the current search operation.
By limiting the generation time of the user behavior, the obtained search result is a result related to the user behavior information generated by the user in a preset time period in the subsequent search processing, and the result is more matched with the current search intention of the user.
And 203, generating a search request according to the user behavior information and the search keyword, wherein the search request is used for searching the search keyword based on the user behavior information.
After the user behavior information is obtained, in order to realize searching, a search request corresponding to the current search operation is generated based on the user behavior information and the search keywords in the current search operation. The search request is sent to the search server over a communication link between the client and the search server for the search server to invoke a search engine or search processing logic to process the search request.
It is known that the request composition of the search request is negotiated in advance by the search server and the client, i.e. the request composition of the search request will be able to be accurately read and processed by the search server. The negotiation process can adopt the prior art, and the application is not repeated.
And 204, receiving and displaying the search result returned by the search server at the client.
And finally, after the search server processes according to the search request and returns the processed search result to the client, the client displays the corresponding search result. The search result at this time is a result obtained by searching the search keyword based on the user behavior information, and accords with the search intention when the user triggers the search operation, namely, the search result of disambiguating the search keyword.
And after the search server determines a search range according to the user behavior information, searching the search keywords in the search range to obtain a search result displayed by the client.
Specifically, after the search server receives the search request, the search server may determine the search range based on the user behavior information in the search request, if the user behavior information indicates that the user browses a lot of computer domain knowledge before the current search, then the search server may determine the search range of the current search as "computer domain", where the search server searches the search keyword based on the search range of "computer domain", that is, the current search result will show related information of the search keyword in the "computer domain".
The method can ensure that the search results displayed by the client are generated after the search server disambiguates the search keywords by using the user behavior information, and also effectively avoid the waste of search resources caused by invalid search by the search server based on ambiguity of the search keywords, thereby improving the accuracy degree of the search results and the user search experience.
For further explanation, fig. 4 is a schematic diagram of a second interface of a search processing method according to the present application, as shown in fig. 4, a search box 401, a search trigger 402, and a corresponding search result display area 403 are provided on the application main interface 400.
The search result display area 403 displays search results obtained by the search server performing a search process based on a search request composed of the search keywords and the user behavior information in the search box 401, where the search results include, but are not limited to, web page information, picture information, and the like. Unlike the prior art, the search results are not only highly relevant to the search keywords, but also have some relevance to the user behavior information.
In connection with what is shown on the left side of fig. 4, after the user enters the "cloud" in the search box 401 on the application main interface 400 and clicks on the search trigger 402 to start the search, the search processing means will generate a corresponding search request to the search server, since the user browses a large number of web pages about computer technology before triggering the search.
The search processing means will then receive search results, and as shown on the right side of fig. 4, on the basis of the search box 401 and the search trigger 402 displayed on the application main interface 400, search results 403 will also be displayed. In fig. 4, the search result 403 includes "cloud technology-encyclopedia", "cloud technology-picture", "cloud technology-technology case" and "related searches such as cloud computing, cloud security, meaning of cloud technology, etc. It can be known that, due to the adoption of the search processing method provided by the application, the search result is the search result related to the cloud in the computer technology, but not the search result related to the cloud in the natural phenomenon.
Obviously, the search result provided by the search processing method provided by the application can better meet the search intention of the user, the problem that the user cannot obtain the search result meeting the intention of the user to search by inputting keywords for multiple times is avoided, the utilization rate of search resources and the search accuracy are improved, and the search flow is simplified.
According to the search processing method provided by the embodiment of the application, the characteristics that the user behavior information of browsing or searching the certain information is always generated before the user searches the specific keywords at the client are utilized, so that the corresponding search request is generated based on the user behavior information and the search keywords, and further, the search result meeting the search intention of the user in the current search is obtained.
On the basis of the first embodiment, in order to further improve the accuracy of the search result, the user behavior information includes at least one behavior content and a corresponding behavior time. Correspondingly, the step 203 specifically includes:
Step 2031, arranging the at least one behavior content based on the behavior time to obtain a behavior content sequence and a corresponding behavior time sequence;
step 2032, obtaining request header data of the search request according to the behavior content sequence, the corresponding behavior time sequence, and the search keyword;
step 2033, generating a search request according to the request header data.
In this embodiment, the user behavior information includes at least one behavior content and a corresponding behavior time. Specifically, in a preset time period, different behaviors are triggered by the user at the client at different behavior times, and each behavior generates a behavior content. That is, when the processing apparatus is acquiring the user behavior information, the user behavior information is composed of at least one behavior content and a corresponding behavior time.
For example, the user browses page A at time A, and the behavior content of the user is page A and time A, and for example, the user searches keyword B at time B, and the behavior information of the user is searched keyword B and time B.
In particular, after at least one behavior content and a corresponding behavior time are acquired, the behavior content needs to be ordered based on the behavior implementation, and the ordering manner may specifically be flashback based on the behavior time, so as to obtain a behavior content sequence and a behavior time sequence. As still a previous example, if time B is earlier than time A, then the behavior content sequence is [ page A; search keyword B ], and the behavior time sequence is [ time A; time B ].
In addition, the two sequences are put into the request header data of the search request, namely the header, so that the search server can search the search keywords and simultaneously needs to perform corresponding search based on the two sequences in the header.
Further, in this embodiment, the user behavior that is approximately close to the current trigger time of the search operation is considered especially when the user triggers the search operation on a certain search keyword, so that the search intention of the user can be reflected. That is, when the user first performs the search for the keyword B before triggering the search operation of this time, then browses the page a, and then, triggers the search operation of this time for the keyword C. At this time, it is known that the user's search intention for the keyword C may be related to both the page a and the keyword B, and the degree of correlation with the page a is much higher than that with the keyword B.
Based on the consideration, the user behavior information is carried into the request header of the search request in a sequential manner by adopting a reverse order sorting manner based on time, so that corresponding search requests are generated based on the request header, the search results are correspondingly matched with the page A and the keyword B when the search server executes search processing, the correlation degree of the search results and the page A is far higher than that of the keyword B, and the precision degree of the search results is further improved and is more consistent with the real search intention of the user.
Based on the above embodiments, the user behavior information may be crawled from a variety of records or information generated by the client, and in alternative embodiments, the user behavior information may be obtained from a search record of the client.
Specifically, when the user behavior is acquired, the processing device may acquire a search record generated when the user searches at the client in a preset period of time, and then obtain the user behavior information according to the search record.
The search record refers to a record of search keywords input by a user in a search box, and the search record includes search time and corresponding search keywords. For example, "20210203-153005-keyword D", i.e., the user entered keyword D at 15 th of 2 nd month 3 rd of 2021 for 30 minutes 05 seconds. By extracting the corresponding information in the search record, the search device can obtain the user behavior information in a preset time period to form a behavior content sequence and a behavior time sequence.
In another optional implementation manner, the user behavior information may be obtained based on a browsing page generated by the client, that is, when the processing device obtains the user behavior information generated by the user at the client in a preset period of time, firstly, a browsing page generated by the user browsing the page at the client in the preset period of time is obtained, and then, semantic extraction is performed on the page content on the browsing page to obtain the user behavior information.
For example, the user generates a browsing page related to "cloud storage encyclopedia" within a preset period of time, and through semantic extraction of the browsing page, a plurality of semantic information such as "cloud, server, computer technology, distributed storage" and the like can be obtained, and the semantic information and the browsing time of the browsing page form user behavior information to form a corresponding behavior content sequence and behavior time sequence later.
In the embodiment, a mode of acquiring search records and/or browsing pages from the client is adopted to obtain user behavior information, so that the basis in prediction can be enriched, and the accuracy degree in predicting the user search intention is improved.
On the basis of the above embodiments, as described above, in the embodiment of the present application, the user behavior information refers to information generated in a period from the start of the client to the triggering of the current search operation, and it is possible that the user does not generate any user behavior between the start of the client and the triggering of the current search operation, that is, the user directly performs the current search operation after the start of the client.
In this case, in order to avoid performing erroneous prediction on the search intention of the user, in this embodiment, the client receives and displays, at the client, a recognition search result returned by the search server, where the recognition search result is a result obtained by directly performing, by the search server, search processing on the search keyword.
Still taking the foregoing "cloud" as an example, when the user does not perform any browsing behavior or/and user behavior such as searching behavior after the client is started, the search request is directly generated according to the search keyword "cloud", and at this time, the search server returns the search result related to "cloud (natural phenomenon)" for the user to view.
By the implementation mode, the incorrect prediction of the search intention of the user can be effectively avoided, and the search result is ensured to have higher accuracy under different conditions.
Based on the above embodiments, considering that the basic information of different clients may be associated with the search intention of the user to some extent, in this embodiment, after the client is started, the processing device may further acquire the basic information of the client start. The underlying information may then be carried in the search request when the search request is generated.
Specifically, the base information of the client includes at least one of location parameters, network parameters, device parameters, and client parameters.
The location parameter refers to location related information of the terminal device on which the client is based, such as GPS coordinates, latitude and longitude coordinates, map POI information, and the like. When the user inputs similar content related to network parameters, such as 'cultural center entrance position', the basic information of the position parameters, such as 'street in certain district in certain city', can be carried into the request field of the search request for the search server to perform search processing based on the content of the field, so that related search results, such as 'cultural center entrance position near street in certain district in certain city', are obtained.
The network parameters refer to which network signals the client connects to the internet, such as 4G signals, local area networks, 5G signals, etc. When the keyword search is performed, when the user inputs similar content related to network parameters, such as "network signal is bad", the basic information of "5G signal" currently used by the user client side in the search request can be carried to the request content field of the search request, so that the search server can perform search processing based on the content of the field, and thus, related search results, such as "how to solve the problem of 5G signal is bad" or "operation and maintenance telephone information of a 5G signal operator", are obtained.
Similarly, the device parameter refers to information such as a device type, a device brand, a device production time and the like of the terminal device on which the client is based, when a user inputs that "mobile phone maintenance" is equal to a keyword related to the device itself or the depreciation parameter in actual searching, the processing device carries the related parameter of the device to a request content field of a search request, so that a search server performs search processing based on the content of the field, and returns related search results such as "a certain brand official maintenance phone".
The client parameter refers to parameter information of the client itself, such as a client version, a client installation time, a client type, and the like. In actual searching, when a user inputs keywords such as 'client-side blocking', and the like related to the client-side, the processing device carries related parameters of the equipment to a request content field of a search request so as to enable a search server to perform search processing based on the field content, and returns related search results such as 'client-side update patch download address', and the like.
In the embodiment, the basic information started by the client is carried into the search request, so that the search intention of the user can be further predicted effectively, the occurrence of invalid search based on ambiguity of the search keyword is avoided, and the accuracy of the search result is improved effectively.
Based on the above embodiments, in order to avoid that the search processing apparatus occupies excessive computing resources and storage resources of the terminal device, in the embodiment of the present application, for the user behavior information generated by the user at the client in the preset time period acquired each time, the client only stores the user behavior information in the cache for processing.
Specifically, after each search request corresponding to the current search request is generated, the user behavior information corresponding to the current search operation is no longer valid, i.e. the timeliness of the user behavior information is lost. Therefore, after the processing device determines that the search request corresponding to the current search operation has obtained the corresponding search result, the user behavior information cached in the cache region is released, so that the operation and storage resources of the terminal equipment are released, and the subsequent use is facilitated.
According to the search processing method provided by the embodiment of the application, the characteristic that the user behavior information of browsing or searching certain information is always generated before the user searches the specific keywords at the client is utilized, so that the corresponding search request is generated based on the user behavior information and the search keywords, and further, the search result meeting the search intention of the user in the current search is obtained.
Example two
Fig. 5 is a schematic structural diagram of a search processing device provided by the present application. As shown in fig. 5, the search processing apparatus 500 includes an interactive display unit 510, a user behavior information acquisition unit 520, and a request generation unit 530;
the interactive display unit 510 is configured to respond to a current search operation triggered by a user at the client after the client is started, where the search operation is used to search for a search keyword;
The user behavior information obtaining unit 520 is configured to obtain user behavior information generated by searching and/or browsing by a user at a client in a preset time period, where the preset time period is a time period from the start of the client to the triggering of the search operation;
a request generating unit 530, configured to generate a search request according to the user behavior information and the search keyword, where the search request is used to perform a search on the search keyword based on the user behavior information;
the interactive display unit 510 is further configured to receive and display, at the client, a search result returned by the search server.
In an alternative embodiment, the user behavior information includes at least one behavior content and a corresponding behavior time;
the request generating unit 530 includes:
The ordering module is used for ordering the at least one behavior content based on the behavior time to obtain a behavior content sequence and a corresponding behavior time sequence;
The first generation module is used for obtaining request header data of the search request according to the behavior content sequence, the corresponding behavior time sequence and the search keyword;
and the second generation module is used for generating a search request according to the request header data.
In an alternative embodiment, the user behavior information acquisition unit 520 includes:
the search record acquisition module is used for acquiring search records generated when a user performs search operation on the client in a preset time period;
And the third generation module is used for obtaining the user behavior information according to the search record.
In an alternative embodiment, the user behavior information obtaining unit 520 further includes:
The browsing page acquisition module is used for acquiring a browsing page generated by browsing the page by a user at the client in a preset time period;
And the fourth generation module is used for carrying out semantic extraction on the page content on the browsing page to obtain user behavior information.
In an alternative embodiment, if the user does not generate the user behavior information at the client within the preset time period, the interactive display unit 510 is further configured to receive and display, at the client, a recognition search result returned by the search server, where the recognition search result is a result obtained by directly performing search processing on the search keyword by the search server.
In an alternative embodiment, the device further comprises a basic information acquisition unit;
the basic information acquisition unit is used for acquiring basic information started by the client after the client is started;
The generating a search request further includes:
and a fifth generation module, configured to carry the basic information in the search request.
In an alternative embodiment, the base information includes at least one of location parameters, network parameters, device parameters, client parameters.
In an alternative embodiment, the user behavior information obtaining unit 520 is further configured to empty the user behavior information within the preset period after the interactive display unit 510 displays the search result returned by the search server.
In an optional embodiment, after the search result displayed by the client side is a result obtained by searching the search keyword in the search range after the search server determines the search range according to the user behavior information.
According to the search processing device provided by the embodiment of the application, the characteristics that the user behavior information of browsing or searching certain information is always generated before the user searches the specific keywords at the client are utilized, so that the corresponding search request is generated based on the user behavior information and the search keywords, and further, the search result meeting the search intention of the user in the current search is obtained.
Example III
According to an embodiment of the application, the application further provides an electronic device and a readable storage medium.
According to an embodiment of the present application, there is also provided a computer program product, including a computer program stored in a readable storage medium, from which at least one processor of an electronic device can read the computer program, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any of the embodiments described above.
Fig. 6 is a schematic diagram of the architecture of an electronic device provided by the present application, which is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 6, the electronic device 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including an input unit 606, e.g., keyboard, mouse, etc., an output unit 607, e.g., various types of displays, speakers, etc., a storage unit 608, e.g., magnetic disk, optical disk, etc., and a communication unit 609, e.g., network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, such as a search processing method. For example, in some embodiments, the search processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the search processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the search processing method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be a special or general purpose programmable processor, operable to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, 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. The 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user, for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual PRIVATE SERVER" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (11)

1. A search processing method, the method being applied to other service class APPs whose search function is a secondary function of an application APP, comprising:
After the client is started, responding to the search operation triggered by the user at the client, wherein the search operation is used for searching the search keywords, and the other service APP is an online shopping platform APP, a video playing APP or a novel reading APP;
Acquiring user behavior information generated by searching and browsing a client in a preset time period, wherein the preset time period is a time period from the starting of the client to the triggering of the search operation, the user behavior information is stored in a cache, and after a search request corresponding to the search operation is determined to obtain a corresponding search result, the user behavior information cached in a cache region is released;
Generating a search request according to the user behavior information and the search keyword, wherein the search request is used for searching the search keyword based on the user behavior information;
Receiving and displaying search results returned by the search server at the client;
the user behavior information comprises at least one behavior content and corresponding behavior time;
The generating a search request according to the user behavior information and the search keyword comprises the following steps:
Arranging the at least one behavior content based on the reverse order of the behavior time to obtain a behavior content sequence and a corresponding behavior time sequence, wherein the behavior content comprises pages browsed by the user and keywords searched by the user;
Obtaining request header data of the search request according to the behavior content sequence, the corresponding behavior time sequence and the search keyword;
generating a search request according to the request header data;
If the user does not generate the user behavior information at the client within the preset time period, the method further comprises the following steps:
Receiving and displaying the identification search result returned by the search server at the client;
Wherein the recognition search result is obtained by directly carrying out search processing on the search keywords by the search server;
Wherein, after the client is started, the method further comprises:
Acquiring basic information started by a client, wherein the basic information comprises position parameters, network parameters, equipment parameters and client parameters;
correspondingly, the generating the search request further includes:
and carrying the basic information in the search request.
2. The method of claim 1, wherein the obtaining the user behavior information generated by the user at the client during the preset period of time includes:
acquiring a search record generated when a user searches at the client in a preset time period;
And obtaining user behavior information according to the search record.
3. The method of claim 1, wherein the obtaining the user behavior information generated by the user at the client during the preset period of time further comprises:
Acquiring a browsing page generated by browsing the page by a user at the client in a preset time period;
And carrying out semantic extraction on the page content on the browsed page to obtain user behavior information.
4. A method according to any one of claims 1 to 3, wherein the search result displayed by the client is a result obtained by searching the search keyword within a search range after the search server determines the search range according to the user behavior information.
5. A search processing device is applied to other service classes APP with a search function being a secondary function of an application APP, and comprises:
The interactive display unit is used for responding to the search operation triggered by the user at the client after the client is started, wherein the search operation is used for searching the search keywords, and the other service APP is an online shopping platform APP, a video playing APP or a novel reading APP;
the system comprises a user behavior information acquisition unit, a search unit and a search unit, wherein the user behavior information acquisition unit is used for acquiring user behavior information generated by searching and browsing a client in a preset time period, the preset time period is a time period from the start of the client to the triggering of the search operation, the user behavior information is stored in a cache, and after a search request corresponding to the search operation is determined to obtain a corresponding search result, the user behavior information cached in a cache area is released;
The request generation unit is used for generating a search request according to the user behavior information and the search keyword, wherein the search request is used for searching the search keyword based on the user behavior information;
the interactive display unit is also used for receiving and displaying search results returned by the search server at the client;
Wherein the user behavior information comprises at least one behavior content and corresponding behavior time;
The request generation unit includes:
The ordering module is used for ordering the at least one behavior content based on the reverse order of the behavior time to obtain a behavior content sequence and a corresponding behavior time sequence, wherein the behavior content comprises pages browsed by the user and keywords searched by the user;
The first generation module is used for obtaining request header data of the search request according to the behavior content sequence, the corresponding behavior time sequence and the search keyword;
The second generation module is used for generating a search request according to the request header data;
if the user does not generate user behavior information at the client in a preset time period, the interactive display unit is also used for receiving and displaying a general search result returned by the search server at the client, wherein the general search result is obtained by directly carrying out search processing on the search keyword by the search server;
the system also comprises a basic information acquisition unit;
The basic information acquisition unit is used for acquiring basic information started by the client after the client is started, wherein the basic information comprises a position parameter, a network parameter, a device parameter and a client parameter;
The generating a search request further includes:
and a fifth generation module, configured to carry the basic information in the search request.
6. The apparatus of claim 5, wherein the user behavior information acquisition unit comprises:
The search record acquisition module is used for acquiring search records generated when a user searches at the client in a preset time period;
And the third generation module is used for obtaining the user behavior information according to the search record.
7. The apparatus of claim 5, wherein the user behavior information acquisition unit further comprises:
The browsing page acquisition module is used for acquiring a browsing page generated by browsing the page by a user at the client in a preset time period;
And the fourth generation module is used for carrying out semantic extraction on the page content on the browsing page to obtain user behavior information.
8. The apparatus according to any one of claims 5-7, wherein the search result displayed by the client is a result obtained by searching the search keyword within a search range after the search server determines the search range according to the user behavior information.
9. An electronic device, comprising:
at least one processor, and
A memory communicatively coupled to the at least one processor, wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-4.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-4.
CN202110486353.7A 2021-04-30 2021-04-30 Search processing method, device, electronic device, storage medium and program product Active CN113190740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110486353.7A CN113190740B (en) 2021-04-30 2021-04-30 Search processing method, device, electronic device, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110486353.7A CN113190740B (en) 2021-04-30 2021-04-30 Search processing method, device, electronic device, storage medium and program product

Publications (2)

Publication Number Publication Date
CN113190740A CN113190740A (en) 2021-07-30
CN113190740B true CN113190740B (en) 2025-04-22

Family

ID=76983443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110486353.7A Active CN113190740B (en) 2021-04-30 2021-04-30 Search processing method, device, electronic device, storage medium and program product

Country Status (1)

Country Link
CN (1) CN113190740B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106663104A (en) * 2014-06-17 2017-05-10 微软技术许可有限责任公司 Learning and using contextual content retrieval rules for query disambiguation
CN107622097A (en) * 2010-11-18 2018-01-23 微软技术许可有限责任公司 Produce the contextual information for search sessions

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050222982A1 (en) * 2004-03-31 2005-10-06 Paczkowski Remigiusz K System and method for responding to search requests in a computer network
US8635203B2 (en) * 2006-11-16 2014-01-21 Yahoo! Inc. Systems and methods using query patterns to disambiguate query intent
US20090234814A1 (en) * 2006-12-12 2009-09-17 Marco Boerries Configuring a search engine results page with environment-specific information
US9361387B2 (en) * 2010-04-22 2016-06-07 Microsoft Technology Licensing, Llc Context-based services
US20130031076A1 (en) * 2011-07-28 2013-01-31 Kikin, Inc. Systems and methods for contextual searching of semantic entities
US8972318B2 (en) * 2012-05-31 2015-03-03 Qualcomm Incorporated Predicting user behavior using feedback on previously run predictive searches
CN107977452A (en) * 2017-12-15 2018-05-01 金陵科技学院 A kind of information retrieval system and method based on big data
US10706450B1 (en) * 2018-02-14 2020-07-07 Amazon Technologies, Inc. Artificial intelligence system for generating intent-aware recommendations
CN111177523A (en) * 2018-11-09 2020-05-19 阿里巴巴集团控股有限公司 Webpage recommendation method and device, electronic equipment and computer readable medium
US10983996B2 (en) * 2019-01-09 2021-04-20 Ebay Inc. Asynchronous predictive caching of content listed in search results

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622097A (en) * 2010-11-18 2018-01-23 微软技术许可有限责任公司 Produce the contextual information for search sessions
CN106663104A (en) * 2014-06-17 2017-05-10 微软技术许可有限责任公司 Learning and using contextual content retrieval rules for query disambiguation

Also Published As

Publication number Publication date
CN113190740A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN107609152B (en) Method and apparatus for expanding query expressions
CN111782977B (en) Point-of-interest processing method, device, equipment and computer readable storage medium
US20130173655A1 (en) Selective fetching of search results
CN111522927A (en) Entity query method and device based on knowledge graph
CN112541123B (en) Map area recommendation method, device, equipment and storage medium
CN114035865B (en) Method, device and equipment for starting small program and storage medium
CN112631682B (en) Mini-program processing method, device, equipment and storage medium
JP2024507902A (en) Information retrieval methods, devices, electronic devices and storage media
CN114706894B (en) Information processing method, device, equipment, storage medium and program product
CN114756753B (en) Product recommendation method, device, electronic device and storage medium
CN109791545A (en) The contextual information of resource for the display including image
CN118278361B (en) Document generation method, device, electronic equipment and medium
CN114186147A (en) Data processing method and device, electronic equipment and storage medium
CN113190740B (en) Search processing method, device, electronic device, storage medium and program product
CN116992057B (en) Method, device and equipment for processing multimedia files in storage equipment
CN114881557B (en) Method, device and equipment for pushing material information based on region
CN117743688A (en) Service provision methods, devices, electronic equipment and media for large model scenes
CN111026438B (en) Method, device, equipment and medium for extracting small program package and page key information
CN113421565A (en) Search method, search device, electronic equipment and storage medium
CN118535793B (en) Information processing method, information processing device, electronic equipment and storage medium
CN111880773A (en) A data processing method, device, electronic device and storage medium
CN115203599B (en) Information recommendation method, device, equipment and storage medium
CN119311181B (en) Split-screen display method, device, equipment, storage medium, and program product
CN119179811B (en) Search method, device, electronic device and storage medium based on large model
CN118642781B (en) A method, device, equipment and storage medium for quickly starting an application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant