CN110020101B - Method, device and system for restoring real-time search scene - Google Patents

Method, device and system for restoring real-time search scene Download PDF

Info

Publication number
CN110020101B
CN110020101B CN201710747385.1A CN201710747385A CN110020101B CN 110020101 B CN110020101 B CN 110020101B CN 201710747385 A CN201710747385 A CN 201710747385A CN 110020101 B CN110020101 B CN 110020101B
Authority
CN
China
Prior art keywords
search
personalized
scene
string
real
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
CN201710747385.1A
Other languages
Chinese (zh)
Other versions
CN110020101A (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.)
Taobao China Software Co Ltd
Original Assignee
Taobao China Software 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 Taobao China Software Co Ltd filed Critical Taobao China Software Co Ltd
Priority to CN201710747385.1A priority Critical patent/CN110020101B/en
Publication of CN110020101A publication Critical patent/CN110020101A/en
Application granted granted Critical
Publication of CN110020101B publication Critical patent/CN110020101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a method for restoring a real-time search scene, which comprises the following steps: determining a search scene to be reproduced, and combining an original search word string corresponding to the search scene with personalized adjustment parameters to form a reproducible search word string; and searching according to the reproducible search word strings, and returning to the reproduced search scene. The application also provides a device for restoring the real-time searching scene. By adopting the method provided by the application, in the process of real-time personalized search, the change factors influencing the search screening and sorting process are recorded, so that accurate reproduction of personalized search results is possible. Because relevant records are carried out in the personalized searching process, the method can realize real-time reproduction of massive searching behaviors of the users of the whole network through relevant technical means under the condition of massive data.

Description

Method, device and system for restoring real-time search scene
Technical Field
The application relates to the field of real-time searching, in particular to a method for restoring a real-time searching scene. The application also relates to a device for restoring the real-time searching scene, a system for restoring the real-time searching scene, an electronic device for restoring the real-time searching scene and a storage device.
Background
Existing web search technologies have achieved real-time personalization. For example, the currently common real-time personalized search technology is based on real-time personalization of search corporation and iggraph. Under the technology, one-time operation (such as clicking and collecting) of a user on an object (such as a commodity) is abstracted into an event by taking the user as a key, the latest event of the whole network user is captured in real time and synchronized to an iggraph, meanwhile, all user dimension algorithm modules are driven and executed by combining the historical events acquired before the system, real-time personalized data of a user dimension are produced, and the personalized search result of the user is influenced by updating the personalized data of the user dimension stored on line (such as the iggraph) in real time.
In many cases, the actual situation of a certain search needs to be restored; however, due to the influence of the real-time personalized search technology, after the user feeds back the self search result and has a problem, it is no longer feasible to reproduce the problem scene of the user through the original user request URL.
For example, when a search result ordering unreasonable needs to be resolved, the original search result cannot be obtained using only the user request URL. Such as: after various store commodities fed back by the seller user cannot be found or ranked in the search, various commodities fed back by the buyer generate unexpected commodities (unlabeled marking or price unlabeled, incorrect postal charge and the like) in the search; if the impact of the real-time personalized search is not considered, the questions reflected by the user cannot be known correctly.
Likewise, the need for different users to pass search results between each other under the influence of the real-time personalized search described above would be difficult to achieve. For example, buyer A searches for a commodity on the Taobao website and wishes to share the search results to buyer B, thus providing the user search request URL to B; the share he provides should enable the B-customer to see what he is searching for in view of the a-buyer. However, since the search is a real-time personalized search, the search results have been adjusted according to the situation of B, resulting in B failing to obtain the same result as a using the user request URL provided by a; therefore, the real-time personalized search prevents the search results from being shared among different search users, and for electronic commerce, the sharing pleasure of buyers is reduced, and the user experience is reduced.
The prior art solves this type of problem by:
reproducing the searched commodity result of the user at the display layer through the commodity id in the offline log, and restoring the commodity snapshot of the search result;
reproducing the search scene of the user in the data layer part by means of secondary query of the request URL in the offline log, and restoring the commodity score and the commodity label;
and restoring each search result by storing and analyzing the necessary search logs and reconstructing the complete search scene of the user on the full link.
None of the above prior art is able to accurately and rapidly restore personalized search results; under the condition of massive data, real-time reproduction of massive search behaviors of the users of the whole network is difficult to meet; the sharing of search results among different search users cannot be conveniently realized.
Disclosure of Invention
The application provides a reproduction method of a search scene in a real-time system, which aims to solve the problem of the conventional real-time personalized search reproduction. The application further provides a reproduction device of the search scene in the real-time system and a reproduction system of the search scene in the real-time system.
The application provides a method for restoring a real-time search scene, which comprises the following steps:
determining a search scene to be reproduced, and combining an original search word string corresponding to the search scene with personalized adjustment parameters to form a reproducible search word string;
and searching according to the reproducible search word strings, and returning to the reproduced search scene.
Preferably, in order to implement the method, in the process of performing the search, the following preparation work is performed:
in the process of executing the search and obtaining personalized search results, the original search word strings and personalized adjustment parameters provided for providing personalized search for the search scene are recorded.
Preferably, before the step of recording the original search string and the personalized adjustment parameters provided for providing personalized searches for the search scene, the following steps are performed:
generating a search request identifier uniquely corresponding to each search request; the search request identification is associated with each data in the overall duration of the search request.
Preferably, in the process of performing a search to obtain personalized search results, recording an original search string and personalized adjustment parameters provided for providing personalized search to a search subject, including:
obtaining search requests, and generating a search request identifier uniquely corresponding to each search request;
extracting the original search word string according to the search request, and recording the original search word string;
obtaining an initial search result set according to the original search word string, and recording the initial search result set;
according to the obtained personalized adjustment parameters, personalized search adjustment is carried out on the initial search result set, and personalized search results displayed to a search subject are obtained;
and in the process of executing the steps, monitoring is carried out, and the personalized condition of the inquiring process is recorded.
Preferably, in the process of performing a search to obtain personalized search results, recording an original search string and a personalized adjustment parameter provided for providing personalized search to a search subject, wherein the recording is based on a log system, and includes:
the front-end service writes the original search word string into a first log in the step of extracting the original search word string and recording the original search word string according to the search request;
the front-end service writes the returned search result identification list into a first log in the step of obtaining an initial search result set according to the original search word string and recording the initial search result set;
and in the step of monitoring and recording the personalized condition of the query process, the search service writes personalized search parameters into a second log, and writes random algorithm parameters in the personalized search process into the second log.
Preferably, in the process of executing the search to obtain the personalized search result, the search result is recorded at the same time; the search results include a list of search result identifications returned by the search engine when the search was performed.
Preferably, the original search string includes: search commands and search content.
Preferably, the personalized adjustment parameters include: personalized search parameters and random algorithm parameters.
Preferably, the personalized search parameter includes: filtering the search parameters and/or sorting the search parameters.
Preferably, the step of determining the search scene to be reproduced, combining the original search word string corresponding to the search scene with the personalized adjustment parameter to form a reproducible search word string includes:
and merging and adding the personalized adjustment parameters into the original search word string to form the reproducible search word string.
Preferably, the step of combining the personalized adjustment parameters into the original search string to form the reproducible search string includes: a search result identification list is added to the reproducible search string.
Preferably, the step of determining the search scene to be reproduced, combining the original search string corresponding to the search scene with the personalized adjustment parameter to form a reproducible search string, and forming the reproducible search string by searching the log system data includes:
acquiring a search scene needing to be reproduced, and acquiring corresponding data in the first log and the second log through the search request identifier;
And reorganizing the data acquired in the first log and the second log according to a preset format to obtain a reproduction search string.
Preferably, the step of executing the search according to the reproducible search string and returning to the reproduced search scene comprises: and analyzing the reproducible search word strings according to a preset format.
Preferably, the parsing the reproducible search string according to a preset format, and the parsing result includes: an original search string, a personalized tuning parameter provided to provide personalized searches to the search subject, a search object identification list.
Preferably, the searching is performed according to the reproducible search string, and the returning to the reproduced search scene includes:
and presenting the reproduced search scene in the form of a snapshot.
Preferably, the user shares the search scenario by:
and sending the re-searchable word strings corresponding to the search scene to the sharees.
Preferably, the user shares the search scenario by: and sending the search request identification of the search scene to be shared to the shared person.
The application also provides a device for restoring the real-time searching scene, which comprises:
the device comprises a recombined word string unit, a search unit and a search unit, wherein the recombined word string unit is used for determining a search scene needing to be reproduced, combining an original search word string corresponding to the search scene with personalized tuning parameters to form a reproducible search word string;
And the return scene unit is used for executing search according to the reproducible search word strings and returning to the reproduced search scene.
Preferably, the method comprises the steps of:
and the recording unit is used for recording the original search word strings and the personalized adjustment parameters for providing personalized searches for the search subjects in the process of executing the searches and obtaining the personalized search results.
Preferably, the method comprises the steps of generating a search request identification unit, for generating a search request identification uniquely corresponding to each search request; the search request identification is associated with each data in the overall duration of the search request.
Preferably, the recording unit includes:
a search request identification generating unit, configured to obtain search requests, and generate, for each search request, a search request identification that uniquely corresponds to the search request;
an original search string extracting unit, configured to extract the original search string according to the search request, and record the original search string;
the acquisition result unit is used for acquiring an initial search result set according to the original search word string and recording the initial search result set;
the personalized search display unit is used for performing personalized search adjustment on the initial search result set according to the obtained personalized adjustment factors to obtain personalized search results displayed to a search subject;
And the monitoring unit is used for monitoring in the process of executing the steps and recording the personalized condition of the inquiring process.
The application also provides a restoring system of the real-time searching scene, which comprises a server, a client and a database which are communicated with each other through a network;
the server records the original search word strings and personalized adjustment parameters provided for providing personalized search for a search main body to a database in the process of executing search and obtaining personalized search results;
when receiving a client instruction and reproducing the search scene, the server combines the original search word strings corresponding to the search scene in the database with the personalized adjustment parameters to form reproducible search word strings;
and searching is executed according to the reproducible search word strings, and the reproduced search scene is returned to the client.
Preferably, the server records an original search string and a personalized adjustment parameter provided for providing a personalized search to a search subject to a database in the process of performing the search and obtaining the personalized search result, wherein the recording is based on a log system, and the method comprises the following steps:
the method comprises the steps that a client initiates a search request, a server acquires the search request, and a search request identifier uniquely corresponding to the search request is generated for each search request;
Extracting the original search word string according to the search request, recording the original search word string, and writing the original value search word string into a first log by the front-end service;
obtaining an initial search result set according to the original search word string, recording the initial search result set, and writing a returned search object identification list into a first log by the front-end service;
according to the obtained personalized adjustment parameters, personalized search adjustment is carried out on the initial search result set, and personalized search results displayed to a search subject are obtained;
during the execution of the steps, monitoring is carried out, the personalized condition of the query process is recorded, the search service writes the personalized search parameters into the second log, and the random algorithm parameters in the personalized search process are written into the second log.
Preferably, the server records the search result simultaneously in the process of executing the search and obtaining the personalized search result; the search results include a list of search result identifications returned by the search engine when the search was performed.
Preferably, when receiving a client instruction and reproducing the search scene, the server merges the original search string corresponding to the search scene in the database with the personalized adjustment parameter to form a reproducible search string, including:
The server acquires reproduction information, and acquires corresponding data in the first log and the second log through the search request identifier;
and reorganizing the acquired data in the first log and the second log according to a preset format to obtain the reproducible search word string.
Preferably, the server performs a search according to the reproducible search string, and before the step of returning to the reproduced search scene, the method includes: and analyzing the reproducible search word strings according to a preset format.
Preferably, the searching is performed according to the reproducible search string, and the returning of the reproduced search scene to the client side includes:
and presenting the reproduced search scene in the form of a snapshot.
The application provides an electronic device for restoring a real-time search scene, which comprises:
a display;
a processor;
the memory is used for determining a search scene needing to be reproduced, combining an original search word string corresponding to the search scene with a personalized adjustment parameter to form a reproducible search word string, wherein the personalized adjustment parameter is a parameter provided for providing personalized search for a search subject;
and searching according to the reproducible search word strings, and returning to the reproduced search scene.
The present application also provides a storage device for real-time search scene restoration, the storage device storing instructions that can be loaded by a processor and perform the steps of:
determining a search scene to be reproduced, combining an original search word string corresponding to the search scene with personalized adjustment parameters to form a reproducible search word string, wherein the personalized adjustment parameters are parameters provided for providing personalized search for a search subject;
and searching according to the reproducible search word strings, and returning to the reproduced search scene.
Compared with the prior art, the method for re-searching the scene in the real-time system records the original search word string and the personalized adjustment factors for providing personalized search for the searching main body in the process of executing the search and obtaining the personalized search result; combining the original search word strings corresponding to the search scene with the personalized adjustment parameters to form reproducible search word strings when the search scene is reproduced; and executing search according to the reproducible search word string, and reproducing the search scene.
The method has the following advantages:
firstly, in the process of real-time personalized search, the change factors influencing the search screening and sorting process are recorded, so that accurate reproduction of personalized search results is possible.
Secondly, because relevant records are carried out in the personalized searching process, the method can realize real-time reproduction of massive searching behaviors of the users of the whole network through relevant technical means under the condition of massive data.
And after the technical scheme is adopted, the search scene can be shared among different users in a mode of transmitting reproducible search strings, so that the search experience of the users is effectively improved.
Drawings
Fig. 1 is a flowchart of a reproduction method of a search scene in a real-time system according to a first embodiment of the present application;
FIG. 2 is a flow chart of a method of logging provided by the present application;
fig. 3 is a schematic view of a reproduction apparatus for searching for a scene in a real-time system according to a second embodiment of the present application;
fig. 4 is a schematic diagram of a reproduction system of a search scene in a real-time system according to a third embodiment of the present application;
fig. 5 is a schematic view of an electronic device for reproducing a search scene in a real-time system according to a fourth embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. The present application may be embodied in many other forms than those herein described, and those skilled in the art will readily appreciate that the present application may be similarly embodied without departing from the spirit or essential characteristics thereof, and therefore the present application is not limited to the specific embodiments disclosed below.
The user personalized information and search results can be adjusted in real time by using a large website of a real-time online graph storage and query system (for example, the iGraph service); however, when user complaints or problems (such as problems of unserviceable specific commodities in websites, post-ordering, incorrect price, inaccurate marking, inaccurate results, etc.) or on-line faults occur in the development process, problems of difficult reproduction and investigation are generated due to the search real-time personalized technology. In addition, in many cases, different users desire to share the search results through the user search request URL, but the actual shared results are not consistent due to the search real-time personalized technology, so that the user experience is affected.
The application provides a reproduction method of a search scene in a real-time system; referring to fig. 1, a flowchart of a reproduction method of a search scene in a real-time system according to a first embodiment of the present application is shown; the method is described in detail below in conjunction with fig. 1, and examples used in the description are provided to aid in understanding the application and are not limited to a particular application environment.
Step S101: and determining a search scene to be reproduced, and combining the original search word strings corresponding to the search scene with the personalized adjustment parameters to form reproducible search word strings.
The search scenario is a generic term for the entire process of conducting personalized search processing based on a user search request and returning search results. Under the current network search technology, the search request of a user is subjected to real-time personalized processing, so that a real-time personalized search result of the search request of a certain user is generated. The personalized search results may include different presentation contents of search results for different users, different ordering of presentation contents, and the like for the same search string. The real-time personalized processing refers to that the search service can adjust the personalized search results in real time according to the personalized factors of different search users and the user feedback collected at any time.
For example, aiming at the same search character string of 'one-piece dress', the search server displays different series of search results on the page according to different consumption conditions of different search users; and for the same searching user, according to the click browsing condition of the searching result of the first page by the user, personalized adjustment (namely, real-time personalized adjustment) is carried out on the display content and the display sequence of the searching result on the second page. Each search results page obtained by each search user may be considered a search context.
When a user initiates a search request according to requirements, a server calculates a search result by adopting personalized service, and finally obtains the personalized search result; in the process of calculating the search result by adopting the personalized service, besides using the original search word string provided by the user initiated search request, adjusting factors providing the personalized result for the search scene are also used at the same time, wherein the adjusting factors are personalized adjusting parameters; by the method, individuation aiming at the search scene can be obtained. Correspondingly, if the original search word string and the personalized adjustment parameter of a personalized search result are obtained, the search result of the personalized search can be reproduced, so that the search scene of the personalized search can be reproduced.
As can be seen from the above, in order to implement the method of reproducing a search scene, the following two aspects of information are first obtained: determining which search scene needs to be reproduced; and obtaining an original search word string and a personalized adjustment parameter corresponding to the search scene. After the above information is obtained, it is possible to obtain all information that can be used to reproduce a search scene when reproduction of the search scene is required.
In order to obtain the above information step, it is obviously necessary to make a corresponding preparation when performing the search; specifically, in the process that a user sends out a search request and a server provides personalized search results, an original search word string and personalized adjustment parameters provided for providing real-time personalized search for a search scene are recorded.
The above two aspects, namely, preparation work performed when searching is performed and related information is obtained when searching scenes are reproduced, are combined, and finally the following steps can be realized: and determining a search scene to be reproduced, combining the original search word strings corresponding to the search scene with the personalized adjustment parameters to form reproducible search word strings, thereby re-searching the scene.
The following description will be made about the above aspects respectively
As described above, in order to implement the reproduction method of a search scene in the real-time system provided in this embodiment, it is first necessary to perform corresponding preparation when performing a search, that is, to record an original search string and to provide a personalized adjustment parameter for providing a personalized search to a search subject in the process of obtaining a personalized search result. The above steps, though being preparation steps, are a precondition for realizing reproduction of the search scene, and therefore, the steps will be described in detail first.
As described above, in performing a search, it is necessary to specifically record an original search string of a certain personalized search result and a corresponding personalized adjustment parameter, and this is necessarily required to be accurately identified, for which purpose, it is necessary to first generate a search request identifier uniquely corresponding to the search request for each search request, and it is obvious that the search request identifier needs to be obtained before the step of recording the original search string and the personalized adjustment parameter provided for providing a personalized search for a search scene, and thereafter, the search request identifier is associated with each data in the whole duration of the search request. Specifically, by generating a unique search request identification RN (Request Number) as a unique identification for each search access and as a unique parameter identifying that search access, and associating the search request identification with each piece of data throughout the life of the search request. After the search request identifier is provided, the original search word string and the personalized adjustment parameter of the personalized search can be correspondingly recorded.
To further understand the process of recording the original search string and the personalization adjustment parameters of the personalized search, a specific implementation of the personalized search is described below.
The real-time personalized search result is obtained through real-time personalized search, specifically, the clicking behavior of a user on each page is converted into user characteristics of each dimension and is input into a search system, and the user personalized information and the search result are adjusted in real time; for example: and correcting the search result displayed to the user by the second page in real time according to the click browsing preference of the user on the first page of the search result, and enhancing the personalized display of the second page. Of course, when a user makes a search request for the first time, personalized search processing has been performed according to search subject-related parameters obtained from the user's history data.
The prior art provides tools to implement real-time personalized searches, such as the iGraph service for recording user features. The iGraph is a system for providing real-time on-line graph storage and query, and has the following characteristics: efficient graph indexing and querying mechanisms; support the online index of the oversized graph (billions of nodes, billions of relations); flexible query language support; supporting business logic customization through various plug-ins; providing millisecond-level query responses, on the order of 10W qps throughput; supporting online real-time graph data updating; a user self-service access system. For a search service, during the search service, the user's click line on each page may be translated into user feature entries iGraph of various dimensions (these user features are specifically reflected in the real-time personalization parameters at the time of the search). When the user enters the next page, further personalized search service can be obtained by adjusting the personalized adjustment parameters in real time. When the iGraph service is adopted to realize personalized search, the real-time personalized adjustment parameters which are necessary to be extracted by the searching scene are reproduced, and the method can be realized by adopting a log file for acquiring the iGraph service; the specific scheme for acquiring the personalized adjustment parameters when the user characteristics are recorded by using the iGraph service will be described in detail later.
As described above, in performing a search to obtain personalized search results, it is necessary to record an original search string and a personalization adjustment parameter used to provide a real-time personalized search to a search subject. The following describes the method of recording the original search string and the personalized adjustment parameters, respectively.
The original search string includes: search commands and search content.
The search command is a transaction completed by clicking a search button; the search content is a definition of a search keyword, and can be a specific keyword or a keyword with a limiting condition; for example: inputting 'one-piece dress' in a search box; or a "long-sleeve dress"; the search content may also be obtained through category options, such as: the "skirt" is selected among the category of types, and the "dress" is selected.
The personalized adjustment parameter refers to a parameter provided for providing personalized search for a search subject; comprising the following steps: personalized search parameters and random algorithm parameters; the former is an adjustment parameter set according to the individuation factors of the search subject, and the latter is a parameter used for scattering and sorting the search results with relatively close sorting scores in order to avoid the user seeing the same search result every time.
The personalized search parameters include: filtering the search parameters and/or sorting the search parameters.
The filtering search parameter is a detail limit on the selected search content; for example: price intervals, brands, materials, features, etc.; the sorting search parameter is a limit on the display mode of the search content; for example: price, sales, evaluation, etc.
In the process of implementing the real-time personalized search, the whole link process of the personalized search process needs to be recorded for reproducing the personalized search scene. In the process of executing the search and obtaining the personalized search result, on one hand, the search related to the search scene is completed according to the original search word string and the personalized adjustment parameters provided for the search subject; on the other hand, in order to realize reproduction of the search scene, recording of the original search string and the real-time personalized adjustment parameters of the search is also required. From this point of view, the search procedure described above can be summarized as follows:
obtaining search requests, and generating a search request identifier (RN) uniquely corresponding to each search request;
extracting the original search word string according to the search request, and recording the original search word string;
Obtaining an initial search result set according to the original search word string, and recording the initial search result set;
according to the obtained personalized adjustment parameters, personalized search adjustment is carried out on the initial search result set, and personalized search results displayed to a search subject are obtained;
and in the process of executing the steps, monitoring is carried out, and the personalized condition of the inquiring process is recorded.
In combination with the above process, the present embodiment provides a scheme for recording this search process based on a log system; fig. 2 is a flowchart of a method for performing a real-time personalized search and recording by using a log system according to the present application. In the following steps, a method for monitoring, recording and inquiring personalized conditions is simultaneously described in combination with each step.
Step S201: search requests are acquired, and a search request identifier RN uniquely corresponding to each search request is generated for the search request.
The method is used for reproducing the real-time personalized search by depending on the log system, storing the influence factors of the personalized search into the log system, and inquiring the log system to reproduce the search process, but it is noted that related data in one search may be respectively stored in different logs according to different parameter properties; the log system stores the search data using a distributed non-relational database (e.g., an HBase database); the unique search request identifies all relevant data for associating one search, and multiple pieces of log data can be associated according to an 'external key' RN of a log hierarchy.
Specifically, the user initiates a search request, such as searching for "one-piece dress"; the front-end service generates a search request identifier RN uniquely corresponding to the search request for the current search; the parameter is used for connecting in series a unique identifier (for an electronic commerce, a commodity can be searched to a final success) from the sending of a search request to the completion of a final search process, and the unique identifier is transmitted in the whole search link and is used as a basis for reproducing a search scene; in this example, it is assumed that the RN is specifically a searchID.
Step S202: extracting the original search word string according to the search request, and recording the original search word string; since the present embodiment uses a log system for logging, in this step, the front-end service writes the original search string to the first log.
After receiving the search command, the search service provider calculates and acquires a search result according to the keyword content contained in the original character string and the related data of the search main body; meanwhile, the original search string is parsed and stored in a log system in a preset format.
For example, the server receives a search access request s.m. taobao.com/search key = dress & id = xxx & search id=% c1% ac% d2% c2% c8% B9; analyzing the character string to obtain a keyword key and a search subject id; calculating and obtaining a search result through the feature data corresponding to the stored search subject id, and simultaneously storing the value of the keyword key corresponding to the search subject id into a database, wherein the value of the search id is stored into the database according to the id; the searchId is a unique search request identifier RN, and is obtained by encoding by the browser according to the Session data, the Cookie data and the current time and is fed back to the server (only one implementation possibility is listed here); each search under the same search subject id is distinguished according to the value of the searchId, and the same search is associated according to the value of the searchId.
Step S203: and obtaining an initial search result set according to the original search word string, and recording the initial search result set. In this step, the front-end service writes the returned search result identification list into the first log.
The search service obtains search results through calculation; in order to meet the correctness of the reproduction result, a search result identification list of the obtained result is recorded to a log system.
For example, the server receives a search access request s.m. taobao.com/search key = dress & id = xxx & search id=% c1% ac% d2% c2% c8% B9; the result id of the top n products with the highest score is calculated, for example, the top 500 products; storing the value of the search result identification resultand into a database, and associating the value with other data searched at the time according to the searchId; and returning a search result list composed of the search result identification resuldId.
The first log stores a list of search results (consisting of resultId), search engine sources, and eliminates problems caused by non-search engine sources (e.g., results of the advertised good are not processed in the search log system). Wherein the search result list serves as an initial search result set.
Step S204: and performing personalized search adjustment on the initial search result set according to the obtained personalized adjustment parameters to obtain personalized search results displayed to a search subject.
According to the operations (browsing, collecting and the like) on the search results, the operations are recorded through a browser cookie, real-time adjustment parameters are obtained according to the operations, and the real-time adjustment parameters are fed back to a server when searching or page turning is triggered; the server calculates personalized search results of the current display page according to the real-time adjustment parameters when providing the search results, and typically, the personalized search results are selected from the initial search result set.
The clicking action of the user on each page is written into the real-time system and real-time adjustment parameters are generated according to the clicking action. For example, assuming that the current page is the second page, the user characteristics stored in the log system for the corresponding second page are only accurate characteristic information when written in the query. The reason why the real-time adjustment parameters of the first page and the third page cannot be adopted is as follows: after the clicking action of the first page is updated to the iggraph database, a new real-time adjustment parameter is generated according to the clicking action of the first page before the searching result of the second page is provided, and the searching result of the second page is obtained according to the new real-time adjustment parameter, so that if the real-time adjustment parameter of the first page is directly adopted, the data is caused to deviate forwards; similarly, the adoption of the timely adjustment parameters of the third page can cause the backward shift of the data because the clicking action of the second page is updated to iggraph.
Step S205: and in the process of executing the steps, monitoring is carried out, and the personalized condition of the inquiring process is recorded.
Specifically, the search service writes the real-time personalized adjustment parameters into the second log, and also writes the random algorithm parameters in the personalized search process into the second log at the same time.
In the whole personalized searching process, according to the information fed back by personalized searching, the searching result is adjusted, and personalized adjustment parameters (including personalized searching parameters and random algorithm parameters) are recorded in real time.
For example, the user selects one of the search results (e.g., clicks on a picture link), and the browser page Cookie records the commodity id; turning pages to check a second page commodity (one-piece dress) list, and repeating the step S201 by the server, wherein the search string is added into the checked commodity id; the server analyzes and calculates the characteristics (price, style, material and the like) corresponding to the checked commodity, adjusts the personalized search parameters in real time, and obtains the personalized search result of the second page after combining the personalized search parameters with the random algorithm parameters; when recording the result, the personalized search parameter and the random algorithm parameter are recorded at the same time.
In the specific process of the log recording method, a user initiates a search request, such as searching for a 'one-piece dress', and the front-end service wsearch generates a unique identifier RN parameter for the current search; this parameter is used to concatenate the unique identification from the sending of the search request to the final completion of the search (for searches in shopping sites, completion of the search may be a customer's order placement instruction), which is passed through the whole link; the search request of the user passes through the front-end service and the search service provider, and the front-end service records the search request URL of the user and writes the search request URL into a first log; meanwhile, the front-end service records a search result list returned by the current page and writes the search result list into a first log; the search service provider queries online data in the whole query operation process, acquires real-time personalized information of the user, and writes personalized search parameters into a second log; at the same time, the search service provider will record the random algorithm parameters of the algorithm during execution of the algorithm plug-in and record in the second log.
Repeating the steps to realize once complete searching of the link and storing the link into a log system. When the searching structure needs to be reappeared, the method can be realized by searching all relevant data of the searching in the log system.
Through the description of the step, the design of the log system needs to realize data storage and data searching efficiently and rapidly; commodity data in actual design can be stored in the front-end log; the personalization data is stored in a log system of the search service provider.
From the above, it can be seen that the recurring search scenario is based on a log system. Under the prior art, the log result set is produced off-line every day in the early morning, and such response time is too long for the user's feedback. The query can be performed in the log file at present, so that the efficiency is low (corresponding log records are found from 2 log files and then are manually spliced). In the technical scheme provided by the embodiment, the logs are subscribed through the TT, the logs can be obtained at any time as long as the logs are generated, and each log is recombined through the real-time computing service Galaxy and analyzed into a request string which can be used for reappearance of the query. In the practical implementation, the overall delay is about 1 minute, and the time consumption is mainly in waiting for the generation of the log. The TT refers to a TT log center, is a log management system integrating collection, transmission, storage and monitoring of logs, and can enable a user to conveniently store log data to a cloud in real time through the log center.
Combining the original search string corresponding to the search scene with the personalized adjustment parameters to form a reproducible search string, wherein the personalized adjustment parameters generally comprise: an adjustment name field and a corresponding adjustment value list.
When the search scene is reproduced, combining the original search word strings corresponding to the search scene with the personalized adjustment parameters to form reproducible search word strings, wherein the step of combining the original search word strings corresponding to the search scene with the personalized adjustment parameters comprises the following steps of:
and merging and adding the personalized adjustment parameters into the original search word string to form the reproducible search word string.
Specifically, restoring a message of a system subscription log center, pushing a log to a subscriber through a TT, and acquiring the first log and the second log; the system carries out join connection on 2 logs through the RN, and then a complete reproducible request string is recombined, and the request string format is restored: taobao.com/search.jsonq=dress & mock=algorithm factor: xxx; nid:1,2,3,4,5,6,7; acquiring personalized information: xxx & page=1. The page=1 indicates that the reproducible search string corresponds to the first page of the current search.
The step of combining the personalized adjustment parameters into the original search string to form the reproducible search string comprises the following steps: a search object identification list (nid: 1,2,3,4,5,6, 7) is added to the reproducible search string.
Step S102: and searching according to the reproducible search word strings, and returning to the reproduced search scene.
Finally, according to the search result details returned by the search service sp, the search scene of the user at the time can be reproduced for the diagnosis and the investigation of the on-line problems.
And executing searching according to the reproducible searching word string, and before the step of returning to the reproduced searching scene, comprising the following steps: and analyzing the reproducible search word strings according to a preset format.
For example, the search substring s.m. taobao.com/search.jsonq=dress & mock=algorithm factor: xxx; nid:1,2,3,4,5,6,7; personalized information: xxx & page=1; transmitting real-time personalized search conditions through the Json character strings; the search request q is "one-piece dress".
The fields requiring the mock are parsed by taking the parameter of the mock as an identifier, and when the search service provider acquires the mock field, the content in the fields is parsed.
If the algorithm factor is resolved, the search service provider does not access the model of the algorithm factor any more, but directly uses the value provided by the mock field for calculation; the principle of personalizing information is the same. mock is one way to create virtual interfaces or services to simulate their functions for some interfaces or services that cannot be used directly.
And before the step of executing the search according to the reproducible search string and returning to the reproduced search scene, analyzing the reproducible search string according to a preset format, wherein the method comprises the following steps of:
querying a turned-page search result identification list in the reproducible search string, and removing the search result corresponding to the turned-page search result identification list from a current page presented to a search subject. And the turned-page search result identification list records the results of turned-page display before the search needing to be reproduced, and the results cannot appear in the search result page needing to be reproduced. After the search service provider acquires the turned-page search result identification list, filtering the search result of the current page, removing the displayed search result and ensuring that the displayed search result is not repeated. In a search scenario requiring retrieval, these search object identifications are listed in a turned-page search result list of the re-search string, representing search results requiring deduplication.
The searching is executed according to the reproducible search word string, and the reproduced search scene is returned, which comprises the following steps:
and saving the reproduced search scene in the form of a snapshot.
Through the description of the reproduction method of the search scene in the real-time system, the problem of real-time personalized search reproduction is solved; with respect to the present method, some implementation details need to be noted.
The performance gist of the real-time service is that the reproduction service provides real-time search behavior reproduction of the users of the whole network, and the delay is less than the second level, so that some measures can be taken in the specific implementation. For example, HBASE table storage is adopted on storage, and a hash distribution is adopted by the roekey; the fields can be compressed and stored, the log data must be compressed and stored as much as possible, and a unicode character is used for dividing the fields to remove unnecessary characters; the data of the volume interval volunteers associated with the RN are stored on different columns of the same row of the HBASE table, so that the data are prevented from being stored in two tables to perform join operation, and the influence of concurrent reading and writing on performance is reduced.
After the above method for restoring the real-time search scene is adopted, the following manner can be adopted to realize sharing of a specific implementation search scene:
the first way is to send the re-searchable string corresponding to the search scene to the sharee; because the reproducible search word string is obtained by combining the original search word string and the personalized adjustment parameters, all information of the search scene can be obtained through the reproducible search word string, and the recovery of the search scene is realized;
The second way is to send the search request identification of the search scene to be shared to the shared person; by means of the search request identification, in combination with the logging of the logging system, the search scenario associated with the search request identification can likewise be reproduced.
According to a method for restoring a real-time search scene, the present application provides a device for restoring a real-time search scene, please refer to fig. 3, which is a schematic diagram of a device for restoring a real-time search scene according to a second embodiment of the present application. For a simpler description of the device, please refer to the method embodiment for details.
A restoration apparatus for searching for a scene in real time, comprising:
and the recombination word string unit 302 is configured to determine a search scene that needs to be reproduced, and combine the original search word string corresponding to the search scene with the personalized adjustment parameter to form a reproducible search word string.
And the return scene unit 303 is configured to perform a search according to the reproducible search string, and return to the reproduced search scene.
Optionally, a recording unit 301 is included for recording the original search string and the personalization tuning parameters provided for providing the personalized search to the search subject in performing the search, obtaining the personalized search result.
Optionally, the method includes generating a search request identification unit for generating a search request identification uniquely corresponding to each search request; the search request identification is associated with each data in the overall duration of the search request.
Optionally, the recording unit 301 includes:
a search request identification generating unit, configured to obtain search requests, and generate, for each search request, a search request identification that uniquely corresponds to the search request; the search request identification unit may be generated as a separate unit, as described above, or may be a subunit of the recording unit 301, both embodiments being possible;
an original search string extracting unit, configured to extract the original search string according to the search request, and record the original search string;
the acquisition result unit is used for acquiring an initial search result set according to the original search word string and recording the initial search result set;
the personalized search display unit is used for performing personalized search adjustment on the initial search result set according to the obtained personalized adjustment factors to obtain personalized search results displayed to a search subject;
And the monitoring unit is used for monitoring in the process of executing the steps and recording the personalized condition of the inquiring process.
Optionally, the recording unit 301 is configured to record, in performing a search to obtain a personalized search result, an original search string and a personalized adjustment parameter provided for providing a personalized search to a search subject; simultaneously, the search result is recorded; the search results include a list of search result identifications returned by the search engine when the search was performed.
Optionally, the original search string includes: search commands and search content.
Optionally, the personalized adjustment parameters include: personalized search parameters and random algorithm parameters.
Optionally, the personalized search parameter includes: filtering the search parameters and/or sorting the search parameters.
Optionally, the reformulation string unit 302 is configured to combine the personalized adjustment parameters into the original search string to form the reproducible search string.
Optionally, the reformulation string unit 302 adds a search result identification list to the reproducible search string.
Optionally, when determining that the search scene needs to be reproduced, the re-combination word string unit 302 combines the original search word string corresponding to the search scene with the personalized adjustment parameter to form a reproducible search word string, and forms the reproducible search word string by searching the log system data, where the method includes:
The retrieval information unit is used for acquiring a search scene to be retrieved, and corresponding data in the first log and the second log are acquired through the search request identification;
and the word string forming unit is used for reorganizing the data acquired in the first log and the second log according to a preset format to obtain a reproduction search word string.
Optionally, the method comprises the following steps: and the analysis word string unit is used for analyzing the reproducible search word string according to a preset format before the step of searching according to the reproducible search word string and returning to the reproduced search scene.
Optionally, the parsing the reproducible search string according to a preset format, where the parsing result includes: an original search string, personalized tuning parameters provided to provide personalized searches to the search subject, a list of search result identifications.
Optionally, when the return scene unit 303 returns the reproduced search scene, the reproduced search scene is presented in the form of a snapshot.
Fig. 4 is a schematic diagram of a restoration system for a real-time search scene according to a third embodiment of the present application. The system embodiment is similar to the method embodiment, so the description of the system embodiment is simpler, and reference is made to the method embodiment.
A reproduction system of a search scene in a real-time system comprises a server 402, a client and a database which are communicated with each other through a network:
the server 402 records an original search string and a personalized adjustment parameter provided for providing a personalized search to a search subject to the database 403 in the process of performing a search to obtain a personalized search result;
when receiving the instruction of the client 401 and reproducing the search scene, the server 402 combines the original search string corresponding to the search scene in the database 403 with the adjustment factor to form a reproducible search string;
and searching is performed according to the reproducible search word string, and a reproduced search scene is returned to the client 401.
Optionally, the server 402 records the original search string and the personalized adjustment parameters provided for providing the personalized search to the search subject to the database 403 in the process of performing the search and obtaining the personalized search result, wherein the recording is based on a log system, and includes:
the client initiates a search request, the server 402 acquires the search requests, and generates a search request identifier uniquely corresponding to each search request;
Extracting the original search word string according to the search request, recording the original search word string, and writing the original value search word string into a first log by the front-end service;
obtaining an initial search result set according to the original search word string, recording the initial search result set, and writing a returned search object identification list into a first log by the front-end service;
according to the obtained personalized adjustment parameters, personalized search adjustment is carried out on the initial search result set, and personalized search results displayed to a search subject are obtained;
during the execution of the steps, monitoring is carried out, the personalized condition of the query process is recorded, the search service writes the personalized search parameters into the second log, and the random algorithm parameters in the personalized search process are written into the second log.
Optionally, the server 402 records the search result simultaneously during the process of performing the search and obtaining the personalized search result; the search results include a list of search result identifications returned by the search engine when the search was performed.
Optionally, when receiving the instruction of the client 401 to reproduce the search scene, the server 402 combines the original search string corresponding to the search scene in the database 403 with the adjustment factor to form a reproducible search string, and combines the adjustment parameter with the original search string to form the reproducible search string.
Optionally, when receiving the instruction of the client 401 to reproduce the search scene, the server 402 combines the original search string corresponding to the search scene in the database 403 with the personalized adjustment parameter to form a reproducible search string, including:
the server 402 obtains reproduction information, and obtains corresponding data in the first log and the second log through the search request identifier;
and reorganizing the acquired data in the first log and the second log according to a preset format to obtain a reproduction search string.
Optionally, before the step of returning the reproduced search scenario by the server 402 performing a search according to the reproducible search string, the method includes: and analyzing the reproducible search word strings according to a preset format.
Optionally, the performing searching according to the reproducible search string, returning the reproduced search scene to the client, includes:
and presenting the reproduced search scene in the form of a snapshot.
Fig. 5 is a schematic diagram of an electronic device for restoring a real-time search scene according to a fourth embodiment of the present application. The electronic device embodiment is similar to the method embodiment, so the description of the electronic device embodiment is simpler, and reference is made specifically to the method embodiment.
An electronic device for searching for scene rendition in a real-time system, the electronic device comprising:
a display 501;
a processor 502;
a memory 503, configured to determine a search scene that needs to be reproduced, and combine an original search string corresponding to the search scene with a personalized adjustment parameter to form a reproducible search string, where the personalized adjustment parameter is a parameter provided for providing personalized search for a search subject;
and searching according to the reproducible search word strings, and returning to the reproduced search scene.
A fifth embodiment of the present application provides a storage device for real-time search scene restoration, the storage device storing instructions that can be loaded by a processor and perform the steps of:
determining a search scene to be reproduced, combining an original search word string corresponding to the search scene with personalized adjustment parameters to form a reproducible search word string, wherein the personalized adjustment parameters are parameters provided for providing personalized search for a search subject;
and searching according to the reproducible search word strings, and returning to the reproduced search scene.
While the application has been described in terms of preferred embodiments, it is not intended to be limiting, but rather, it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the spirit and scope of the application as defined by the appended claims.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
1. Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
2. It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Claims (29)

1. A method for restoring a real-time search scene, comprising:
determining a search scene to be reproduced, and combining an original search word string corresponding to the search scene with personalized adjustment parameters to form a reproducible search word string;
searching is carried out according to the reproducible search word strings, and a reproduced search scene is returned;
wherein, the personalized adjustment parameter refers to a parameter provided for providing personalized search for a search subject.
2. The method for restoring a real-time search scene according to claim 1, wherein in order to implement the method, the following preparation work is performed in the course of performing the search:
In the process of executing the search and obtaining personalized search results, the original search word strings and personalized adjustment parameters provided for providing personalized search for the search scene are recorded.
3. The method for restoring a real-time search scene according to claim 2, wherein before the step of recording an original search string and a personalized adjustment parameter provided for providing a personalized search for a search scene, the steps of:
generating a search request identifier uniquely corresponding to each search request; the search request identification is associated with each data in the overall duration of the search request.
4. The method for restoring a real-time search scenario according to claim 2, wherein the recording of the original search string and the personalized adjustment parameters provided for providing the personalized search to the search subject in the process of performing the search to obtain the personalized search result comprises:
obtaining search requests, and generating a search request identifier uniquely corresponding to each search request;
extracting the original search word string according to the search request, and recording the original search word string;
obtaining an initial search result set according to the original search word string, and recording the initial search result set;
According to the obtained personalized adjustment parameters, personalized search adjustment is carried out on the initial search result set, and personalized search results displayed to a search subject are obtained;
and in the process of executing the steps, monitoring is carried out, and the personalized condition of the searching process is recorded.
5. The method for restoring a real-time search scenario according to claim 4, wherein the recording of the original search string and the personalized adjustment parameters provided for providing the personalized search to the search subject in the process of performing the search to obtain the personalized search result is based on a log system, comprising:
the front-end service writes the original search word string into a first log in the step of extracting the original search word string and recording the original search word string according to the search request;
the front-end service writes the returned search result identification list into a first log in the step of obtaining an initial search result set according to the original search word string and recording the initial search result set;
and in the step of monitoring and recording the personalized condition of the searching process, the searching service writes personalized searching parameters into a second log, and writes random algorithm parameters in the personalized searching process into the second log.
6. The method for restoring a real-time search scene according to claim 2, wherein the search results are recorded simultaneously in the process of performing a search to obtain personalized search results; the search results include a list of search result identifications returned by the search engine when the search was performed.
7. The method for restoring a real-time search scene as set forth in claim 4, wherein the original search string comprises: search commands and search content.
8. The method for restoring a real-time search scene according to claim 1, wherein the personalized adjustment parameters include: personalized search parameters and random algorithm parameters.
9. The method for restoring a real-time search scene according to claim 8, wherein the personalized search parameters include: filtering the search parameters and/or sorting the search parameters.
10. The method for restoring a real-time search scene according to claim 1, wherein the step of determining a search scene to be reproduced, combining an original search string corresponding to the search scene with a personalized adjustment parameter to form a reproducible search string, comprises:
and merging and adding the personalized adjustment parameters into the original search word string to form the reproducible search word string.
11. The method of claim 10, wherein the step of incorporating the personalization parameters into the original search string to form the reproducible search string comprises incorporating a search result identification list into the reproducible search string.
12. The method for restoring a real-time search scene according to claim 5, wherein said determining a search scene to be restored, combining an original search string corresponding to said search scene with a personalized adjustment parameter to form a reproducible search string, and forming said reproducible search string by searching said log system data, comprises:
acquiring a search scene needing to be reproduced, and acquiring corresponding data in the first log and the second log through the search request identifier;
and reorganizing the data acquired in the first log and the second log according to a preset format to obtain a reproduction search string.
13. The method of restoring a real-time search scene according to claim 1, wherein before the step of returning the reproduced search scene by performing a search based on the reproducible search string, comprising: and analyzing the reproducible search word strings according to a preset format.
14. The method for restoring a real-time search scene according to claim 13, wherein said parsing the reproducible search string in a predetermined format, the parsing result comprising: an original search string, a personalized tuning parameter provided to provide personalized searches to the search subject, a search object identification list.
15. The method for restoring a real-time search scene as set forth in claim 1, wherein said performing a search based on said reproducible search string, returning to a recurring search scene, comprises:
and presenting the reproduced search scene in the form of a snapshot.
16. The method for restoring a real-time search scenario according to claim 1, wherein the user shares the search scenario by:
and sending the re-searchable word strings corresponding to the search scene to the sharees.
17. The method for restoring a real-time search scenario according to claim 3, wherein the user shares the search scenario by: and sending the search request identification of the search scene to be shared to the shared person.
18. A restoration apparatus for searching for a scene in real time, comprising:
the device comprises a recombined word string unit, a search module and a search module, wherein the recombined word string unit is used for determining a search scene needing to be reproduced, combining an original search word string corresponding to the search scene with personalized adjustment parameters to form a reproducible search word string;
The return scene unit is used for executing search according to the reproducible search word strings and returning to the reproduced search scene;
wherein, the personalized adjustment parameter refers to a parameter provided for providing personalized search for a search subject.
19. The apparatus for restoring a real-time search scene according to claim 18, comprising:
and the recording unit is used for recording the original search word strings and the personalized adjustment parameters for providing personalized searches for the search subjects in the process of executing the searches and obtaining the personalized search results.
20. The apparatus according to claim 18, comprising a search request identification unit configured to generate, for each search request, a search request identification uniquely corresponding to the search request; the search request identification is associated with each data in the overall duration of the search request.
21. The apparatus for restoring a real-time search scene according to claim 19, wherein said recording unit comprises:
a search request identification generating unit, configured to obtain search requests, and generate, for each search request, a search request identification that uniquely corresponds to the search request;
An original search string extracting unit, configured to extract the original search string according to the search request, and record the original search string;
the acquisition result unit is used for acquiring an initial search result set according to the original search word string and recording the initial search result set;
the personalized search display unit is used for performing personalized search adjustment on the initial search result set according to the obtained personalized adjustment factors to obtain personalized search results displayed to a search subject;
and the monitoring unit is used for monitoring in the process of executing the steps and recording the personalized condition of the searching process.
22. The restoring system of the real-time searching scene is characterized by comprising a server, a client and a database which are communicated with each other through a network;
the server records the original search word strings and personalized adjustment parameters provided for providing personalized search for a search main body to a database in the process of executing search and obtaining personalized search results;
when receiving a client instruction and reproducing the search scene, the server combines the original search word strings corresponding to the search scene in the database with the personalized adjustment parameters to form reproducible search word strings;
Searching is executed according to the reproducible search word strings, and a reproduced search scene is returned to the client;
wherein, the personalized adjustment parameter refers to a parameter provided for providing personalized search for a search subject.
23. The system for restoring a real-time search scenario of claim 22, wherein the server records an original search string and a personalized adjustment parameter provided for providing a personalized search to a search subject in performing the search to obtain a personalized search result, wherein the recording is based on a log system, comprising:
the method comprises the steps that a client initiates a search request, a server acquires the search request, and a search request identifier uniquely corresponding to the search request is generated for each search request;
extracting the original search word string according to the search request, recording the original search word string, and writing the original search word string into a first log by the front-end service;
obtaining an initial search result set according to the original search word string, recording the initial search result set, and writing a returned search object identification list into a first log by the front-end service;
according to the obtained personalized adjustment parameters, personalized search adjustment is carried out on the initial search result set, and personalized search results displayed to a search subject are obtained;
During the execution of the steps, monitoring is carried out, the personalized condition of the searching process is recorded, the searching service writes the personalized searching parameters into the second log, and the random algorithm parameters in the personalized searching process are written into the second log.
24. The system for restoring a real-time search scenario of claim 22, wherein the server records the search results simultaneously during the process of performing the search to obtain personalized search results; the search results include a list of search result identifications returned by the search engine when the search was performed.
25. The system for restoring a real-time search scenario according to claim 23, wherein when receiving a client instruction to reproduce the search scenario, the server combines the original search string corresponding to the search scenario in a database with the personalized adjustment parameter to form a reproducible search string, comprising:
the server acquires reproduction information, and acquires corresponding data in the first log and the second log through the search request identifier;
and reorganizing the acquired data in the first log and the second log according to a preset format to obtain the reproducible search word string.
26. The system for restoring a real-time search scenario of claim 22, wherein the server performs a search based on the reproducible search string, and before the step of returning to the reproduced search scenario, comprises: and analyzing the reproducible search word strings according to a preset format.
27. The system for restoring real-time search scenes according to claim 22, wherein said performing a search based on said reproducible search string, returning the reproduced search scenes to the client, comprises:
and presenting the reproduced search scene in the form of a snapshot.
28. An electronic device for real-time search scene restoration, the electronic device comprising:
a display;
a processor;
the memory is used for determining a search scene needing to be reproduced, combining an original search word string corresponding to the search scene with a personalized adjustment parameter to form a reproducible search word string, wherein the personalized adjustment parameter is a parameter provided for providing personalized search for a search subject;
searching is carried out according to the reproducible search word strings, and a reproduced search scene is returned;
wherein, the personalized adjustment parameter refers to a parameter provided for providing personalized search for a search subject.
29. A storage device for real-time search scene restoration, characterized in that instructions are stored, which instructions are capable of being loaded by a processor and performing the steps of:
determining a search scene to be reproduced, combining an original search word string corresponding to the search scene with personalized adjustment parameters to form a reproducible search word string, wherein the personalized adjustment parameters are parameters provided for providing personalized search for a search subject;
searching is carried out according to the reproducible search word strings, and a reproduced search scene is returned;
wherein, the personalized adjustment parameter refers to a parameter provided for providing personalized search for a search subject.
CN201710747385.1A 2017-08-25 2017-08-25 Method, device and system for restoring real-time search scene Active CN110020101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710747385.1A CN110020101B (en) 2017-08-25 2017-08-25 Method, device and system for restoring real-time search scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710747385.1A CN110020101B (en) 2017-08-25 2017-08-25 Method, device and system for restoring real-time search scene

Publications (2)

Publication Number Publication Date
CN110020101A CN110020101A (en) 2019-07-16
CN110020101B true CN110020101B (en) 2023-09-12

Family

ID=67186150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710747385.1A Active CN110020101B (en) 2017-08-25 2017-08-25 Method, device and system for restoring real-time search scene

Country Status (1)

Country Link
CN (1) CN110020101B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267053A (en) * 2004-03-17 2005-09-29 Nec Corp Speech search device, speech search server, speech search method, and speech search program
CN102521251A (en) * 2011-11-16 2012-06-27 北京搜狗科技发展有限公司 Method for directly realizing personalized search, device for realizing method, and search server
CN104699725A (en) * 2013-12-10 2015-06-10 阿里巴巴集团控股有限公司 Data searching processing method and system
CN105808605A (en) * 2014-12-31 2016-07-27 北京奇虎科技有限公司 Search log combination method and system
CN106446132A (en) * 2016-09-19 2017-02-22 百度在线网络技术(北京)有限公司 Search processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060218146A1 (en) * 2005-03-28 2006-09-28 Elan Bitan Interactive user-controlled relevance ranking of retrieved information in an information search system
JP5866728B2 (en) * 2011-10-14 2016-02-17 サイバーアイ・エンタテインメント株式会社 Knowledge information processing server system with image recognition system
US9600542B2 (en) * 2014-06-27 2017-03-21 Sap Se Fuzzy substring search

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267053A (en) * 2004-03-17 2005-09-29 Nec Corp Speech search device, speech search server, speech search method, and speech search program
CN102521251A (en) * 2011-11-16 2012-06-27 北京搜狗科技发展有限公司 Method for directly realizing personalized search, device for realizing method, and search server
CN104699725A (en) * 2013-12-10 2015-06-10 阿里巴巴集团控股有限公司 Data searching processing method and system
CN105808605A (en) * 2014-12-31 2016-07-27 北京奇虎科技有限公司 Search log combination method and system
CN106446132A (en) * 2016-09-19 2017-02-22 百度在线网络技术(北京)有限公司 Search processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于用户兴趣模型构建与个性化搜索算法研究;张晓飞;余建桥;;电脑知识与技术(18);全文 *

Also Published As

Publication number Publication date
CN110020101A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN105446972B (en) Searching method, device and system based on and fused with user relationship data
US20220300464A1 (en) Log data extraction from data chunks of an isolated execution environment
US11226964B1 (en) Automated generation of metrics from log data
US8689136B2 (en) System and method for backend advertisement conversion
CN105765573B (en) Improvements in website traffic optimization
US9177341B2 (en) Determining search relevance from user feedback
US7809752B1 (en) Representing user behavior information
US20120215765A1 (en) Systems and Methods for Generating Statistics from Search Engine Query Logs
TWI752303B (en) Method and device for establishing marketing information delivery platform
WO2010110869A1 (en) System and method for assessing marketing data
KR20110009198A (en) Search results with most clicked next objects
US20130185429A1 (en) Processing Store Visiting Data
US20190332972A1 (en) Dynamic query response with metadata
US20150310529A1 (en) Web-behavior-augmented recommendations
US20190205963A1 (en) Data refining engine for high performance analysis system and method
KR100987058B1 (en) Method and system for providing advertising service using the keywords of internet contents and program recording medium
CN107404508A (en) Access method, client and the electronic equipment of customer terminal webpage
JP5492047B2 (en) Purchasing behavior analysis apparatus, purchasing behavior analysis method, purchasing behavior analysis program, purchasing behavior analysis system, and control method
US8903817B1 (en) Determining search relevance from user feedback
JP5249415B2 (en) Method and apparatus for providing data statistics
CN105450460B (en) Network operation recording method and system
US20110022563A1 (en) Document display system, related document display method, and program
CN110020101B (en) Method, device and system for restoring real-time search scene
CN110674404A (en) Link information generation method, device, system, storage medium and electronic equipment
CN108345600B (en) Management of search application, data search method and device thereof

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
TA01 Transfer of patent application right

Effective date of registration: 20230630

Address after: Room 554, floor 5, building 3, No. 969, Wenyi West Road, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province

Applicant after: TAOBAO (CHINA) SOFTWARE CO.,LTD.

Address before: Box 847, four, Grand Cayman capital, Cayman Islands, UK

Applicant before: ALIBABA GROUP HOLDING Ltd.

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