CN115374336A - Session information searching method and device, computer equipment and storage medium - Google Patents

Session information searching method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115374336A
CN115374336A CN202110552308.7A CN202110552308A CN115374336A CN 115374336 A CN115374336 A CN 115374336A CN 202110552308 A CN202110552308 A CN 202110552308A CN 115374336 A CN115374336 A CN 115374336A
Authority
CN
China
Prior art keywords
related information
session
session related
search
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110552308.7A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110552308.7A priority Critical patent/CN115374336A/en
Publication of CN115374336A publication Critical patent/CN115374336A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/957Browsing optimisation, e.g. caching or content distillation

Landscapes

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

Abstract

The application relates to a session information search method, a session information search device, a computer device and a storage medium. The method relates to machine learning technology of artificial intelligence, and comprises the following steps: receiving a session information search operation through a session application corresponding to the target user identifier; responding to the session information searching operation, searching the session related information corresponding to the target user identification to obtain a session related information set corresponding to the target user identification; acquiring a dynamic search sorting factor set corresponding to the target user identifier, and sorting the session related information in the session related information set based on the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors to obtain a session related information sequence; and displaying the searched session related information in the search result display area corresponding to the session application according to the sequence of the session related information sequence. By adopting the method, the search result searching efficiency can be improved.

Description

Session information searching method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for searching session information, a computer device, and a storage medium.
Background
With the development of computer technology, more and more applications are emerging, such as a conversation application providing a conversation service to a user, a video playing application providing a video viewing service to a user, a shopping application providing a shopping service to a user, and the like.
Due to the complexity of information in applications, users often need to search applications for desired information, such as searching contacts, group sessions, chat logs, etc. in session applications. However, since there are many search results, the user needs to manually search for a desired result from the search results, which is time-consuming and labor-consuming, and results in low search efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a session information search method, apparatus, computer device and storage medium capable of improving search result search efficiency.
A session information search method, the method comprising:
receiving a session information search operation through a session application corresponding to the target user identifier;
responding to the session information searching operation, searching the session related information corresponding to the target user identification to obtain a session related information set corresponding to the target user identification;
acquiring a dynamic search sorting factor set corresponding to the target user identifier, and sorting the session related information in the session related information set based on the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors to obtain a session related information sequence;
and displaying the searched session related information in the search result display area corresponding to the session application according to the sequence of the session related information sequence.
A session information search apparatus, the apparatus comprising:
the receiving module is used for receiving the session information searching operation through the session application corresponding to the target user identification;
the searching module is used for responding to the session information searching operation and searching the session related information corresponding to the target user identification to obtain a session related information set corresponding to the target user identification;
the sequencing module is used for acquiring a dynamic search sequencing factor set corresponding to the target user identifier, and sequencing the session related information in the session related information set based on the search sequencing factor in the dynamic search sequencing factor set and the priority of the search sequencing factor to obtain a session related information sequence;
and the display module is used for displaying the searched session related information in the search result display area corresponding to the session application according to the sequence of the session related information sequence.
In one embodiment, the sorting module is further configured to: generating a search sorting factor sequence according to the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors; and sequencing the session related information in the session related information set according to the sequence of the search sequencing factors in the search sequencing factor sequence to obtain the session related information sequence.
In one embodiment, the sorting module is further configured to: reading the current search ranking factors from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue; acquiring a set to be sorted corresponding to the session related information set, sorting the session related information in the set to be sorted respectively based on a current search sorting factor, and dividing the session related information in the same sort into the same set to be sorted, wherein the session related information set is taken as the set to be sorted when the set is sorted for the first time; and returning to the step of reading the current search ranking factors from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue until the session related information in the session related information set is ranked completely, so as to obtain the session related information sequence.
In one embodiment, the sorting module is further configured to: when the reading of the search ranking factors in the search ranking factor queue is completed and the ranking of the session related information in the session related information set is not completed, determining first session related information which is not ranked and completed in the session related information set; determining first sequencing information corresponding to the first session related information according to the identification sequence of the session information identification corresponding to the first session related information; and obtaining the session related information sequence based on the first ordering information and second ordering information, wherein the second ordering information is obtained by ordering the session related information in the session related information set according to the search ordering factors in the search ordering factor queue.
In one embodiment, the session information search apparatus further includes a sending module, and the receiving module is further configured to: receiving selection operation aiming at the session related information through the session application corresponding to the target user identification; the sending module is used for: and determining the target session related information selected by the selection operation, and sending a search ranking factor updating request to a server, wherein the search ranking factor updating request carries a target information identifier corresponding to the target session related information, so that the server adjusts a dynamic search ranking factor set corresponding to the target user identifier according to a session related information attribute corresponding to the target information identifier.
In one embodiment, the sending module is further configured to: determining target session related information selected by the selection operation; determining a forward correlation operation corresponding to the selection operation; and when the forward correlation operation is used for triggering and displaying the target session related information, sending the search ranking factor updating request to the server.
In one embodiment, the session information search apparatus further includes a sending module, and the sending module is configured to: sending a search ranking factor acquisition request to a server; the receiving module is further configured to: receiving a dynamic search ranking factor set returned by the server in response to the search ranking factor acquisition request; wherein the dynamic search ranking factor set is obtained by the server based on the dynamic configuration policy configuration of the factors.
In one embodiment, the sorting module is further configured to: determining a session information category corresponding to the session related information in the session related information set; respectively extracting dynamic search sorting factor sets corresponding to the conversation information categories from the dynamic search sorting factor sets corresponding to the target user identifications; and sequencing the session related information corresponding to the session information category in the session related information set according to the dynamic search sequencing factor set corresponding to the session information category to obtain a session related information sequence corresponding to the session information category.
A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the session information searching method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned session information search method.
A computer program comprising computer instructions stored in a computer-readable storage medium, the computer instructions being read by a processor of a computer apparatus from the computer-readable storage medium, the computer instructions being executed by the processor to cause the computer apparatus to perform the steps of the above-mentioned session information search method.
According to the session information searching method, the session information searching device, the computer equipment and the storage medium, when the session related information set corresponding to the target user identification is obtained through searching, the dynamic searching ranking factor set corresponding to the target user identification is obtained, the session related information in the session related information set is ranked based on the searching ranking factors in the dynamic searching ranking factor set and the priorities of the searching ranking factors, due to the fact that the dynamic searching ranking factor set is adopted, the searching ranking factor set can be updated timely, the session related information in the session related information set is ranked based on the priorities, the session related information can be displayed according to user requirements, and searching efficiency of searching results is improved.
A session information search method, the method comprising:
receiving a search ranking factor acquisition request which is sent by a terminal and carries a target user identifier;
responding to the search ranking factor acquisition request, and acquiring a dynamic search ranking factor set corresponding to the target user identifier;
sending the dynamic search ranking factor set to the terminal; the dynamic search ranking factor set is used for searching the session related information corresponding to the target user identifier in response to the session information search operation when the session application on the terminal logs in with the target user identifier and receives the session information search operation, so as to obtain the session related information set corresponding to the target user identifier, and ranking the session related information in the session related information set based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors.
A session information search apparatus, the apparatus comprising:
the receiving module is used for receiving a search ranking factor acquisition request which is sent by a terminal and carries a target user identifier;
an obtaining module, configured to respond to the search ranking factor obtaining request, to obtain a dynamic search ranking factor set corresponding to the target user identifier;
a sending module, configured to send the dynamic search ranking factor set to the terminal; the dynamic search ranking factor set is used for searching the session related information corresponding to the target user identifier in response to the session information search operation when the session application on the terminal logs in with the target user identifier and receives the session information search operation, so as to obtain the session related information set corresponding to the target user identifier, and ranking the session related information in the session related information set based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors.
In one embodiment, the obtaining module is further configured to: acquiring sample session related information corresponding to each sample user in a sample user set to form a sample session related information set; acquiring sample session related information attributes corresponding to the sample session related information; acquiring a candidate session related information attribute set, wherein the candidate session related information attribute set comprises a plurality of candidate session related information attributes; determining the information quantity of the sample session related information corresponding to each candidate session related information attribute in the sample information set according to the sample session related information attribute corresponding to each sample session related information in the sample information set; and determining a search ranking factor and the priority of the search ranking factor from the candidate session related information attribute set based on the information quantity to obtain the dynamic search ranking factor set.
In one embodiment, the obtaining module is further configured to: determining the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set according to the information quantity of the sample session related information corresponding to the candidate session related information attribute belonging to the same candidate session related information dimension; screening out candidate session related information dimensions meeting a quantity condition as a search ranking factor based on the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set, wherein the quantity condition comprises that the information quantity is greater than a quantity threshold value or the information quantity ranking is before the ranking threshold value; and determining the priority of the search ranking factors in the dynamic search ranking factor set according to the ranking of the information quantity corresponding to the screened search ranking factors.
A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the session information searching method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned session information search method.
A computer program comprising computer instructions stored in a computer-readable storage medium, the computer instructions being read by a processor of a computer apparatus from the computer-readable storage medium, the computer instructions being executed by the processor to cause the computer apparatus to perform the steps of the above-mentioned session information search method.
According to the session information searching method, the session information searching device, the computer equipment and the storage medium, the dynamic search ranking factor set corresponding to the target user identification is obtained in response to the search ranking factor obtaining request which is sent by the terminal and carries the target user identification, and the dynamic search ranking factor set corresponding to the target user identification is sent to the terminal.
Drawings
FIG. 1 is a diagram of an application environment of a session information search method in one embodiment;
FIG. 2 is a block flow diagram of a method for session information search in one embodiment;
FIG. 3 is a diagram illustrating an interface of a session information search portal of the session application in one embodiment;
FIG. 4 is a schematic diagram of an interface of a session information search entry of a session application in another embodiment;
FIG. 5 is a diagram illustrating a refinement step of ordering a set of session related information in one embodiment;
FIG. 6 is a diagram of a candidate search ranking factor in one embodiment;
FIG. 7 is a schematic illustration of a candidate search ranking factor in another embodiment;
FIG. 8 is a diagram of a sequence of session related information in one embodiment;
FIG. 9 is a flowchart showing a session information search method in still another embodiment;
FIG. 10 is a flow diagram that illustrates the ordering of sets of session-related information, in one embodiment;
FIG. 11 is a block diagram showing the construction of a session information search system in one embodiment;
fig. 12 is a flowchart illustrating a session information search method in another embodiment;
FIG. 13 is a block diagram showing the construction of a session information search apparatus according to an embodiment;
fig. 14 is a block diagram showing the construction of a session information search apparatus in another embodiment;
FIG. 15 is a diagram showing an internal structure of a computer device in one embodiment;
fig. 16 is an internal structural diagram of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The session information search method provided by the embodiment of the application relates to an Artificial Intelligence (AI) technology, wherein the AI technology is a theory, a method, a technology and an application system which simulate, extend and expand human intelligence by using a digital computer or a machine controlled by the digital computer, sense the environment, acquire knowledge and use the knowledge to acquire an optimal result. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the implementation method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making.
The artificial intelligence technology is a comprehensive subject and relates to the field of extensive technology, namely the technology of a hardware level and the technology of a software level. The artificial intelligence base technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The session information search method provided by the embodiment of the application mainly relates to Machine Learning (ML) technology of artificial intelligence. Machine learning is a multi-field cross subject and relates to a plurality of subjects such as probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and the like. The special research on how a computer simulates or realizes the learning behavior of human beings so as to acquire new knowledge or skills and reorganize the existing knowledge structure to continuously improve the performance of the computer. Machine learning is the core of artificial intelligence, is the fundamental approach for computers to have intelligence, and is applied to all fields of artificial intelligence. Machine learning and deep learning generally include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and formal education learning.
For example, in the embodiment of the present application, a computer device obtains sample session related information corresponding to each sample user in a sample user set to form a sample session related information set, obtains sample session related information attributes corresponding to each sample session related information, and obtains a candidate session related information attribute set, where the candidate session related information attribute set includes multiple candidate session related information attributes; the server determines the information quantity of the sample session related information corresponding to each candidate session related information attribute in the sample information set according to the sample session related information attribute corresponding to each sample session related information in the sample information set, and determines the search ranking factor and the priority of the search ranking factor from the candidate session related information attribute set based on the information quantity to obtain a dynamic search ranking factor set.
The session information searching method provided by the embodiment of the application also relates to a block chain technology. The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer. For example, in this embodiment, sample session related information corresponding to each sample user in the sample user set may be stored on the block chain, and the computer device may obtain each sample session related information from a data block of the block chain.
The session information searching method provided by the application can be applied to the application environment shown in fig. 1. The terminal 102 communicates with the server 104 through a network. The terminal 102 may be, but is not limited to, various smart phones, tablet computers, notebook computers, desktop computers, portable wearable devices, and the like. The server 104 may be an independent physical server, or a server cluster or distributed system formed by a plurality of physical servers, or a cloud server providing basic services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
In an embodiment, the terminal 102 sends a search ranking factor acquisition request to the server 104 through a session application logged in with a target user identifier, and the server 104 acquires a dynamic search ranking factor set corresponding to the target user identifier in response to the search ranking factor acquisition request carrying the target user identifier sent by the terminal 102, and returns the dynamic search ranking factor set to the terminal 102. When the session application on the terminal 102 logs in with the target user identifier and receives a session information search operation, the session related information corresponding to the target user identifier is searched in response to the session information search operation to obtain a session related information set corresponding to the target user identifier, and the session related information in the session related information set is sorted based on the search sorting factor in the dynamic search sorting factor set and the priority of the search sorting factor.
In the session information search method provided by the embodiment of the present application, the execution subject may be the session information search apparatus provided by the embodiment of the present application, or a computer device integrated with the session information search apparatus, where the session information search apparatus may be implemented in a hardware or software manner. The computer device may be the terminal 102 or the server 104 shown in fig. 1.
For example, the server 104 generates a dynamic search ranking factor set based on the factor dynamic configuration policy, sends the dynamic search ranking factor set to the terminal 102, and when the session application on the terminal 102 receives a session information search operation corresponding to the target user identifier, ranks the searched session related information based on the search ranking factor in the dynamic search ranking factor set and the priority of the search ranking factor. For another example, the terminal 102 generates a dynamic search ranking factor set based on the factor dynamic configuration policy, and when the session application on the terminal 102 receives the session information search operation corresponding to the target user identifier, ranks the searched session related information based on the search ranking factor in the dynamic search ranking factor set and the priority of the search ranking factor. With regard to the factor dynamic configuration policy, reference is made in particular to the following embodiments.
The session information searching method provided by the embodiment of the application can be applied to a session related information searching scene in session application, and the session related information searching scene is specifically used for searching session related information in the session application.
The conversation application is an application program that provides a conversation interaction function. The conversation application may be a person-based conversation application that a user uses, and may be considered to be conversing on behalf of a natural person. The conversation application may also be an organization-based conversation application, and an organization may specifically be a group including a plurality of natural persons, such as schools, businesses, and the like. A user uses an organization-based conversation application that can be considered to be conversing on behalf of an organization member.
The session related information may be session related information such as a chat log, a group session, a contact, a file in a chat log, a picture or video in a chat log, a link in a chat log, an applet in a chat log, etc. The session related information may also be a service provided by the session application, such as an application running in a running environment provided by the session application, a sub-application, such as an applet, etc.
For example, according to the method provided by the embodiment of the application, the computer device obtains the generalized search ranking factor set through big data analysis, the session application running on the terminal receives the session information search operation, and ranks the searched session related information based on the search ranking factor and the priority of the search ranking factor in the generalized search ranking factor set, so that the search ranking factor set can be updated in time, the session related information in the session related information set can be ranked based on the priority, the session related information can be displayed according to the user requirements, and the search result searching efficiency is improved. For example, according to the method provided by the embodiment of the present application, the computer device obtains, through big data analysis, a set of search ranking factors suitable for different user groups, and when a session application running on the terminal logs in with a user identifier of a specific user group and receives a session information search operation, ranks, based on the search ranking factors and priorities of the search ranking factors in the set of search ranking factors corresponding to the specific user group, the searched session-related information so as to rank, ahead, session-related information of interest to the specific user group.
For example, according to the method provided by the embodiment of the present application, the computer device obtains a search ranking factor set suitable for members of a specific organization by analyzing member data of the specific organization, and when a session application running on a terminal logs in with a user identifier of the specific organization and receives a session information search operation, ranks, based on a search ranking factor and a priority of the search ranking factor in the search ranking factor set, session related information searched for, so as to rank, in advance, session related information that is of interest to the members of the specific organization.
For example, according to the method provided by the embodiment of the present application, the computer device obtains a personalized search ranking factor set suitable for a specific user by analyzing user data of the specific user, and when a session application running on the terminal logs in with a specific user identifier and receives a session information search operation, ranks the searched session related information based on a search ranking factor and a priority of the search ranking factor in the personalized search ranking factor set, so as to rank the session related information that the specific user is interested in ahead.
In an embodiment, as shown in fig. 2, a method for searching session information is provided, and this embodiment is mainly illustrated by applying the method to the terminal 102 in fig. 1, and includes the following steps:
step S202, receiving the session information searching operation through the session application corresponding to the target user identification.
The target user identifier is used for uniquely identifying the user in the session application, such as a session application account, a mobile phone number, a mailbox, and the like. The conversation application is an application program that provides a conversation interaction function. The conversation application may be a person-based conversation application that a user uses, and may be considered to be conversing on behalf of a natural person. The conversation application may also be an organization-based conversation application, and an organization may specifically be a group including a plurality of natural persons, such as a school, a business, and the like. A user using an organization-based conversation application may consider conducting a conversation on behalf of an organization member.
The session information search operation is used for triggering the operation of searching the session related information in the session application, such as inputting the search information. The search information is used to search for session related information, which may be in the form of text, voice, gestures, and the like. The session related information may be session related information such as a chat log, a group session, a contact, a file in a chat log, a picture or video in a chat log, a link in a chat log, an applet in a chat log, etc. The session related information may also be a service provided by the session application, such as an application running in a running environment provided by the session application, a sub-application, such as an applet, etc.
In one embodiment, the terminal logs in the session application with the target user identifier, and receives the session information search operation through the session application corresponding to the target user identifier.
In one embodiment, the terminal displays a session information search entry in a session application page of the session application, and receives a session information search operation through the session information search entry. The session information search entry is an operation entry that initiates a search for session-related information. The session application page is an application page of the session application, and specifically may be a session list page, a contact list page, a service list page, a session setting page, a group session setting page, and the like of the session application. For example, referring to fig. 3, fig. 3 is an interface diagram of a session information search entry of a session application in one embodiment. It can be seen that a session list 302 is included in fig. 3, and a session information search entry 304 is included in the session list page. Referring to fig. 4, fig. 4 is a schematic interface diagram of a session information search entry of a session application in another embodiment. It can be seen that the operation entry 402 in fig. 4, which includes the session setting page, is used for presenting the session setting page in response to the triggering operation of the operation entry 402 in the session setting page, and the session information search entry 404 is included in the session setting page.
Step S204, responding to the conversation information searching operation, searching the conversation related information corresponding to the target user identification to obtain a conversation related information set corresponding to the target user identification.
In one embodiment, the terminal responds to the session information searching operation to acquire the search information, searches the session related information corresponding to the target user identifier according to the search information, and forms the session related information acquired through searching into a session related information set corresponding to the target user identifier.
It can be understood that the terminal acquires the session related information set corresponding to the target user identifier, and in order to rank the session related information that the user is interested in ahead, the session related information in the session related information set needs to be ranked.
Step S206, a dynamic search sorting factor set corresponding to the target user identification is obtained, and the session related information in the session related information set is sorted based on the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors to obtain a session related information sequence.
Wherein the set of dynamic search ranking factors is a set of more than one search ranking factor. The search ranking factor may be a dimension corresponding to the session related information attribute, where the session related information attribute is an attribute of the session related information, such as "group session set message reminder", "group session member is 6 persons", "group session set top", and the like, and the dimension corresponding to the session related information attribute is, for example, "whether group session set message reminder", "whether the number of group session members is greater than a preset number", "whether group session set top", and the like.
In one embodiment, priorities are set among more than one search ranking factor in the dynamic search ranking factor set, and when the session related information in the session related information set is ranked based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors, the terminal reads the search ranking factors from the dynamic search ranking factor set in sequence according to the priorities of the search ranking factors in the dynamic search ranking factor set to rank the session related information in the session related information set.
In one embodiment, the search ranking factor may be divided into more than one search ranking factor attribute with a priority set between the more than one search ranking factor attributes. Taking the search ranking factor "whether the group session sets the message reminder" as an example, the search ranking factor attributes are "the group session sets the message reminder" and "the group session does not set the message reminder", and the priority of "the group session sets the message reminder" is higher than that of "the group session does not set the message reminder".
In one embodiment, the terminal sequentially reads the search ranking factors from the dynamic search ranking factor set according to the priorities of the search ranking factors in the dynamic search ranking factor set, and ranks the session related information in the session related information set according to the priorities of the search ranking factor attributes included in the search ranking factors.
In one embodiment, the dynamic search ranking factor set may be dynamically issued by the server or dynamically generated by the client. The server can receive the input dynamic search ranking factor set, and can also analyze the dynamic search ranking factor set in a machine learning mode to obtain the dynamic search ranking factor set, and the client can analyze the dynamic search ranking factor set in the machine learning mode to obtain the dynamic search ranking factor set.
And step S208, displaying the searched session related information in the search result display area corresponding to the session application according to the sequence of the session related information sequence.
In one embodiment, the terminal displays the session related information sequence in the search result display area corresponding to the session application. In other embodiments, the terminal displays the top-ranked session related information according to the ranking order of the session related information sequence in the search result display area corresponding to the session application, and provides a session related information viewing entry, so that the user triggers the session related information viewing entry to view more session related information.
According to the session information searching method, when the session related information set corresponding to the target user identification is obtained through searching, the dynamic search ranking factor set corresponding to the target user identification is obtained, the session related information in the session related information set is ranked based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors, due to the fact that the dynamic search ranking factor set is adopted, the search ranking factor set can be updated timely, the session related information in the session related information set is ranked based on the priorities, the session related information can be displayed according to user requirements, and searching efficiency of search results is improved.
In one embodiment, the sorting the session related information in the session related information set based on the search ranking factor in the dynamic search ranking factor set and the priority of the search ranking factor to obtain the session related information sequence includes: generating a search sorting factor sequence according to the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors; and sequencing the session related information in the session related information set according to the sequence of the search sequencing factors in the search sequencing factor sequence to obtain a session related information sequence.
The search ranking factor sequence is obtained by ranking the search ranking factors in the dynamic search ranking factor set according to the priority of the search ranking factors in the dynamic search ranking factor set.
In one embodiment, the terminal generates a search ranking factor sequence according to the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors, reads the search ranking factors from the search ranking factor sequence in sequence to rank the session related information in the session related information set, and obtains the session related information sequence after the ranking is completed.
In one embodiment, the terminal may employ the quick sorting principle to sort the session-related information in the session-related information set. The core idea of the quick sorting principle is to divide data to be sorted into two parts of ordered data, and for each part of data, continue dividing into two parts of ordered data until the data to be sorted are all ordered, and then finish sorting.
For example, assuming that the data to be sorted is { A, B, C, D, E, F, G }, the data to be sorted is divided into two parts of data { B, C, F, G } and { A, D, E }, wherein the ordering of { B, C, F, G } precedes { A, D, E }. For B, C, F, G, the data continues to be divided into two parts of data B, F and C, G, where B, F precedes C, G. For B, F, the partitioning into two parts of data B and F continues, where B precedes F. Ext> thusext>,ext> theext> dataext> toext> beext> sortedext> {ext> Aext>,ext> Bext>,ext> Cext>,ext> Dext>,ext> Eext>,ext> Fext>,ext> Gext> }ext> isext> sortedext> intoext> orderext> {ext> Bext> -ext> Fext> -ext> Cext> -ext> Gext> -ext> Aext> -ext> Eext> -ext> Dext> }ext>.ext>
In one embodiment, the sorting the session related information in the session related information set according to the ranking order of the search ranking factors in the search ranking factor sequence to obtain the session related information sequence includes: reading the current search ranking factors from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue; acquiring a set to be sorted corresponding to a session related information set, sorting the session related information in the set to be sorted respectively based on a current search sorting factor, and dividing the session related information in the same sort into the same set to be sorted, wherein the session related information set is taken as the set to be sorted when the set is sorted for the first time; and returning to the step of reading the current search sorting factor from the search sorting factor queue in sequence according to the arrangement sequence of the search sorting factors in the search sorting factor queue until the sorting of the session related information in the session related information set is completed, so as to obtain a session related information sequence.
Specifically, referring to fig. 5, according to the arrangement order of the search ranking factors in the search ranking factor sequence, ranking the session related information in the session related information set to obtain a session related information sequence, including:
step S502, according to the arrangement sequence of the search sorting factors in the search sorting factor queue, reading the current search sorting factors from the search sorting factor queue in sequence.
In one embodiment, the search ranking factor sequence may be a first-in-first-out (FIFO) queue, and the terminal reads the current search ranking factors from the search ranking factor queue in turn according to the ranking order of the search ranking factors in the search ranking factor queue.
Step S504, a to-be-sorted set which is corresponding to the session related information set and is used for sorting at this time is obtained.
In one embodiment, each sort takes the result of the last sort as the set to be sorted. If the sequencing is the first sequencing of the session related information set, the original session related information set is used as the set to be sequenced.
Step S506, if the set to be sorted does not include the session related information with the determined sorting, classifying and sorting the session related information in the set to be sorted according to the current search sorting factor to obtain more than one session related information subsets with the determined sorting, and using the more than one session related information subsets with the determined sorting as the session related information with the determined sorting corresponding to the current sorting.
Specifically, if the current sorting is the first sorting of the session related information sets, or the current sorting is the non-first sorting of the session related information sets, but no session related information with determined sorting is generated in the previous sorting, the original session related information set is used as the set to be sorted corresponding to the current sorting. For example, assuming that the original set of session related information is { A, B, C, D, E, F, G }, if the search ranking factor adopted in the previous ranking is "whether group sessions are set top" and group sessions A, B, C, D, E, F, G are not set top, no session related information with determined ranking is generated in the previous ranking, and { A, B, C, D, E, F, G } is used as the set to be ranked corresponding to the current ranking.
Specifically, if the set to be sorted does not include the session related information with the determined sorting, the session related information in the set to be sorted is classified and sorted according to the current search sorting factor, so that more than one session related information subsets with the determined sorting are obtained. For example, the current search ranking factor is "whether a group session sets a message reminder", and the search ranking factor attribute "group session sets a message reminder" has a higher priority than the search ranking factor attribute "group session does not set a message reminder", the set to be ranked { A, B, C, D, E, F, G } is divided into a session-related information subset { B, C, F, G } in which a message reminder is set and a session-related information subset { A, D, E } in which a message reminder is not set, and the ranking of { B, C, F, G } is before { A, D, E }.
Step S508, if the set to be sorted includes the session related information with the determined sorting, the session related information in the session related information subsets is sorted and sorted according to the current search sorting factor, and the session related information with the determined sorting corresponding to the current sorting is obtained according to the sorting of each session related information subset in the set to be sorted and the sorting of each session related information in the corresponding session related information subset.
In one embodiment, if the current sorting is a non-first sorting of the session related information sets and the previous sorting has generated the session related information with determined sorting, the result of the previous sorting is used as the set to be sorted corresponding to the current sorting. For example, if the last sorting result is { B, C, F, G } - { A, D, E }, then { B, C, F, G } - { A, D, E } is used as the set to be sorted corresponding to the present sorting.
Specifically, if the set to be sorted includes the session related information with the determined sorting, the session related information in the session related information subsets is classified and sorted according to the current search sorting factor, so as to obtain the sorting of each session related information in the corresponding session related information subsets. For example, if the current search ranking factor is "whether the number of group session members is greater than 5 persons", and the priority of the search ranking factor attribute "the number of group session members is greater than 5 persons" is higher than that of the search ranking factor attribute "the number of group session members is less than or equal to 5 persons", the session-related information subset { B, C, F, G } is divided into the session-related information subset { B, F } whose number of group session members is greater than 5 persons, and the session-related information subset { C, G } whose number of group session members is less than or equal to 5 persons, the session-related information subset { A, D, E } is divided into the session-related information subset { A, E } whose number of group session members is greater than 5 persons, and the session-related information subset { D } whose number of group session members is less than or equal to 5 persons, and the result { 5362 zxft 3462 }, which results in this ranking is obtained.
Step S510, returning to the step of reading the current search ranking factor from the search ranking factor queue in sequence according to the ranking order of the search ranking factors in the search ranking factor queue until the session related information in the session related information set is ranked completely, so as to obtain a session related information sequence.
In the embodiment, the session related information in the session related information set is sorted by adopting a quick sorting principle, so that the session related information set is quickly and accurately sorted.
In one embodiment, the step of sequentially reading the current search ranking factor from the search ranking factor queue according to the ranking order of the search ranking factors in the search ranking factor queue is returned until the session related information in the session related information set is ranked completely, so as to obtain a session related information sequence, and the step includes: when the reading of the search ranking factors in the search ranking factor queue is completed and the ranking of the session related information in the session related information set is not completed, determining the first session related information which is not ranked in the session related information set; determining first sequencing information corresponding to the first session related information according to the identification sequence of the session information identification corresponding to the first session related information; and obtaining a session related information sequence based on the first ordering information and the second ordering information, wherein the second ordering information is obtained by ordering the session related information in the session related information set according to the search ordering factors in the search ordering factor queue.
Wherein, the session information identification is used for uniquely identifying the session information.
In an embodiment, the identification order of each session information identifier may be preset, and when the reading of the search ranking factor in the search ranking factor queue is completed and the sequencing of the session related information in the session related information set is not completed, the unordered session related information is sequenced according to the identification order of the session information identifiers of the unordered session related information.
Ext> forext> exampleext>,ext> assumingext> thatext> theext> searchext> rankingext> factorext> readext> inext> theext> searchext> rankingext> factorext> queueext> isext> completedext> withext> theext> rankingext> resultext> ofext> {ext> Bext>,ext> Fext> }ext> -ext> {ext> Cext>,ext> Gext> }ext> -ext> {ext> Aext>,ext> Eext> }ext> -ext> {ext> Dext> }ext>,ext> theext> firstext> sessionext> -ext> relatedext> informationext> inext> theext> sessionext> -ext> relatedext> informationext> setext> thatext> isext> notext> completedext> inext> theext> rankingext> orderext> isext> {ext> Bext>,ext> Fext> }ext>,ext> {ext> Cext>,ext> Gext> }ext> andext> {ext> Aext>,ext> Eext> }ext>,ext> theext> firstext> rankingext> informationext> correspondingext> toext> theext> firstext> sessionext> -ext> relatedext> informationext> isext> determinedext> accordingext> toext> theext> identificationext> sequenceext> ofext> Bext>,ext> Fext>,ext> Cext>,ext> Gext>,ext> Aext> andext> Eext>,ext> thatext> isext>,ext> theext> rankingext> betweenext> Bext> andext> Fext>,ext> theext> rankingext> betweenext> Cext> andext> Gext>,ext> theext> rankingext> betweenext> Aext> andext> Eext>,ext> assumingext> {ext> Bext> -ext> Fext> }ext>,ext> {ext> Cext> -ext> Gext> }ext> andext> {ext> Aext> -ext> Eext> }ext>,ext> andext> theext> secondext> rankingext> informationext> isext> {ext> Bext>,ext> Fext> }ext> -ext> {ext> Cext>,ext> Gext> }ext> -ext> {ext> 3525ext> zext> {ext> 3525ext> zdext> }ext>,ext> theext> columnext> ofext> theext> sessionext> -ext> Cext> -ext> Eext> }ext> isext> {ext> Bext> -ext> Fext> -ext> Eext> }ext>.ext>
In this embodiment, the session related information in the session related information set is sorted by using a fast sorting principle and a preset identification sequence, so that the session related information set is sorted fast and accurately.
In one embodiment, the method further comprises: sending a search ranking factor acquisition request to a server; receiving a dynamic search ranking factor set returned by a server in response to a search ranking factor acquisition request; and the dynamic search ranking factor set is obtained by the server based on the dynamic configuration strategy configuration of the factors.
The search ranking factor acquisition request is used for requesting a dynamic search ranking factor set from a server.
In one embodiment, when a session information search operation is received or a session related information set corresponding to a target user identifier is searched in response to the session information search operation, the terminal sends a search ranking factor acquisition request to the server. In other embodiments, when the running state of the session application satisfies the running state condition, the terminal sends a search ranking factor acquisition request to the server, stores a dynamic search ranking factor set returned by the server in response to the search ranking factor acquisition request in the local, so that after a session related information set corresponding to a target user identifier is searched in response to a session information search operation, the dynamic search ranking factor set corresponding to the target user identifier is extracted from the local, and the session related information in the session related information set is ranked based on the dynamic search ranking factor set. Alternatively, the running state condition may be that the session application is started, or that the session application is switched from the background to the foreground.
For the step of generating the dynamic search ranking factor set by the server based on the factor dynamic configuration policy, reference may be made to the following embodiments, which are not described herein again.
In the embodiment, the dynamic configuration and the timely update of the search sorting factor set can be realized by dynamically issuing the dynamic search sorting factor set through the server.
In one embodiment, the dynamic search ranking factor set corresponding to the target user identification is configured by the session application based on the factor dynamic configuration policy.
In one embodiment, the session application client obtains sample session related information and sample session related information attributes corresponding to the target user identifier in a machine learning manner, and obtains a dynamic search ranking factor set corresponding to the target user identifier according to the sample session related information and the sample session related information attributes corresponding to the target user identifier. Wherein the sample session related information may be session related information selected by the target user identification in search results of the historical search operation. The sample session related information attribute may be an attribute of session related information selected by the target user identifier in the search results of the historical search operation, such as "group session setup message reminder", "group session member is 6 persons", "group session top", and so on.
In the embodiment, the dynamic search ranking factor set is dynamically generated by the session application client, so that the search ranking factor set can be updated in time; and the sample session related information attributes corresponding to the logged-in target user identifier are subjected to targeted analysis through the session application client, and the obtained dynamic search ranking factor set can rank the session related information interested by the user in the front.
In one embodiment, the sorting the session related information in the session related information set based on the search ranking factor in the dynamic search ranking factor set and the priority of the search ranking factor to obtain the session related information sequence includes: determining a session information category corresponding to session related information in a session related information set; respectively extracting dynamic search sorting factor sets corresponding to the session information types from the dynamic search sorting factor sets corresponding to the target user identifications; and sequencing the session related information corresponding to the session information categories in the session related information set according to the dynamic search sequencing factor set corresponding to the session information categories to obtain session related information sequences corresponding to the session information categories.
The session information category is used to describe a category of the searched session related information, such as a chat log, a group session, a contact, a file in the chat log, a picture or a video in the chat log, a link in the chat log, an applet in the chat log, an application running in a running environment provided by the session application, a sub-application running in a running environment provided by the session application, and the like.
In an embodiment, for different session information categories, corresponding dynamic search ranking factor sets may be respectively configured, so as to rank, according to the dynamic search ranking factor set corresponding to the session information category, session related information corresponding to the session information category in the session related information set, and obtain a session related information sequence corresponding to the session information category.
For example, referring to FIG. 6, FIG. 6 is a diagram of a candidate search ranking factor in one embodiment. It can be seen that the candidate search ranking factor corresponding to the group session may be "whether the group session sets a message reminder", "whether the number of group session members is greater than a preset number of people", "whether the group session is set on top", or the like. Referring to FIG. 7, FIG. 7 is a diagram illustrating candidate search ranking factors in another embodiment. It can be seen that the candidate search ranking factor corresponding to the chat record may be "whether the session sets a message reminder", "whether the number of session members is greater than a preset number of people", "whether the session is set at the top", or the like.
For example, referring to fig. 8, fig. 8 is a schematic diagram of a session related information sequence in one embodiment. It can be seen that the session related information in the session related information set is displayed in a classified manner according to "contact", "group chat", "chat record" and "application", and each session information category corresponds to at least one session related information obtained by searching.
In this embodiment, the session related information of the corresponding category in the session related information set is sorted according to the dynamic search sorting factor set corresponding to the category of the session information, so that the session related information sequence corresponding to each category of the session information can sort the session related information that the user is interested in ahead.
In one embodiment, the method further comprises: receiving selection operation aiming at the session related information through the session application corresponding to the target user identification; and determining the target session related information selected by the selection operation, and sending a search ranking factor updating request to the server, wherein the search ranking factor updating request carries a target information identifier corresponding to the target session related information, so that the server adjusts a dynamic search ranking factor set corresponding to the target user identifier according to the session related information attribute corresponding to the target information identifier.
The target information identifier is used for uniquely identifying the target session related information. The session related information attribute is an attribute that the session related information has, such as "group session setup message reminder", "group session member is 6 persons", "group session set top", and the like. The search ranking factor update request is for requesting the server to update the set of dynamic search ranking factors.
In one embodiment, the terminal displays the searched session related information according to the arrangement order of the session related information sequence through the session application corresponding to the target user identifier, receives the selection operation for the session related information, determines the target session related information selected by the selection operation, and sends a search ranking factor update request to the server. Optionally, the terminal determines a target session related information attribute corresponding to the target session related information, and sends the target user identifier and the target session related information attribute to the server, or the terminal sends the target session related information identifier and the target user identifier to the server, and the server determines the target session related information attribute corresponding to the target session related information according to the target session related information identifier. And the server adjusts the dynamic search sorting factor set corresponding to the target user identification according to the target session related information attribute.
In one embodiment, the server adjusts the search ranking factor and/or the priority of the search ranking factor in the dynamic search ranking factor set corresponding to the target user identifier according to the target session related information attribute. For example, the target session related information attributes are: the group conversation sets up message reminding, the group conversation member is 6 persons, the group conversation is not set top, the search ranking factor in the dynamic search ranking factor set to be adjusted and the priority of the search ranking factor are: whether the group session is set top or not, whether the group session is set with a message reminding or not, whether the number of the group session members is greater than 5 persons or not, whether the group session is set top or not can be deleted, or the priority of whether the group session is set top or not is reduced, and the priority of whether the group session is set top or not and whether the number of the group session members is greater than 5 persons or not is increased.
In other embodiments, the server adds the target user identifier and the target session related information attribute to the sample user set, and then analyzes the sample data in the sample user set to obtain a generalized search ranking factor set, a search ranking factor set suitable for different user groups, a search ranking factor set suitable for specific organization members, a personalized search ranking factor set suitable for specific users, and the like.
In the embodiment, the dynamic search ranking factor set corresponding to the target user identifier is adjusted according to the attribute of the session related information selected by the user in the search results of the historical search operation, so that the accuracy of ranking the session related information obtained by searching can be improved.
In one embodiment, determining the target session related information selected by the selecting operation, and sending a search ranking factor update request to a server includes: determining target session related information selected by the selection operation; determining the corresponding sequence of the target session related information in the session related information sequence; and when the sequence corresponding to the target session related information is behind the preset sequence, sending a search sequence factor updating request to the server.
In one embodiment, the terminal ranks the session related information in the session related information set based on the search ranking factor in the dynamic search ranking factor set and the priority of the search ranking factor to obtain a session related information sequence, and when the rank of the target session related information corresponding to the session related information sequence is after a preset rank, sends a search ranking factor update request to the server, so that the server adjusts the dynamic search ranking factor set corresponding to the target user identifier according to the session related information attribute corresponding to the target session related information.
In one embodiment, determining the target session related information selected by the selection operation, and sending a search ranking factor update request to a server includes: determining target session related information selected by the selection operation; determining a forward correlation operation corresponding to the selection operation; and when the forward correlation operation is used for triggering the display of the target session related information, sending a search ranking factor updating request to the server.
Wherein the forward correlation operation is a user operation prior to the selection operation. The forward correlation operation may be a click operation, a selection operation, or the like.
In one embodiment, when the forward correlation operation of the selection operation is used to trigger the display of the target session related information, a search ranking factor update request is sent to the server, so that the server adjusts the dynamic search ranking factor set corresponding to the target user identifier according to the session related information attribute corresponding to the target session related information. For example, with continued reference to fig. 8, it can be seen that a session related information view portal 802 is included in fig. 8, and forward association operations can be received through the session related information view portal 802.
In this embodiment, when it is detected that the session related information sequence obtained by sorting through the dynamic search sorting factor set does not meet the user requirement, the dynamic search sorting factor set is adjusted in time.
In an embodiment, as shown in fig. 9, a method for searching session information is provided, and this embodiment is mainly exemplified by applying the method to the server 104 in fig. 1, and includes the following steps:
step S902, receiving a search ranking factor acquisition request carrying a target user identifier sent by a terminal.
In one embodiment, a server receives a search ranking factor acquisition request carrying a target user identifier sent by a terminal.
For the specific implementation of step S902, reference may be made to the above embodiments, which are not described herein again.
Step S904, in response to the search ranking factor obtaining request, obtains a dynamic search ranking factor set corresponding to the target user identifier.
In one embodiment, the server responds to the search ranking factor acquisition request to acquire a dynamic search ranking factor set corresponding to the target user identification. Optionally, the server locally searches for the dynamic search ranking factor set corresponding to the target user identifier according to the target user identifier. In one embodiment, the server generates a dynamic search ranking factor set based on the factor dynamic configuration policy, which may be a generalized search ranking factor set, a search ranking factor set applicable to different user groups, a search ranking factor set applicable to particular organization members, or a personalized search ranking factor set applicable to particular users, among others. For a specific implementation of the factor dynamic configuration policy, reference may be made to the following embodiments, which are not described herein again.
For the specific implementation of step S904, reference may be made to the above embodiments, which are not described herein again.
Step S906, sending a dynamic search sorting factor set to the terminal; the dynamic search ordering factor set is used for searching the session related information corresponding to the target user identifier in response to the session information search operation when the session application on the terminal logs in with the target user identifier and receives the session information search operation, so as to obtain the session related information set corresponding to the target user identifier, and ordering the session related information in the session related information set based on the search ordering factors in the dynamic search ordering factor set and the priorities of the search ordering factors.
In one embodiment, the server sends the dynamic search ranking factor set corresponding to the target user identification to the terminal.
For the detailed implementation of step S906, reference may be made to the above embodiments, which are not described herein again.
In the session information searching method, the dynamic search ranking factor set corresponding to the target user identification is obtained in response to the search ranking factor obtaining request carrying the target user identification and sent to the terminal, and thus, the dynamic search ranking factor set is dynamically issued by the server, the search ranking factor set can be updated timely, the session related information in the session related information set is ranked based on the priority, the session related information can be displayed according to the user requirements, and the searching efficiency of the search results is improved.
In the embodiment of the present application, a dynamic search ranking factor set is generated based on a factor dynamic configuration policy, and the following describes the generation steps of the dynamic search ranking factor set.
In one embodiment, the server obtains a generalized search ranking factor set through big data analysis by using a machine learning mode. Specifically, the server obtains sample session related information and sample session related information attributes corresponding to each sample user, and obtains a generalized search ranking factor set according to the sample session related information and the sample session related information attributes corresponding to each sample user. The sample session related information may be session related information selected by a user in search results of historical search operations. The sample session related information attribute may be an attribute of session related information selected by the user in the search results of the historical search operation, such as "group session setup message reminder", "group session member is 6 persons", "group session top", and the like.
In one embodiment, the server obtains user portrait data, sample session related information and sample session related information attributes corresponding to each sample user by using a machine learning method, and obtains a search ranking factor set suitable for different user groups according to the user portrait data, the sample session related information and the sample session related information attributes corresponding to each sample user. The user profile data is data describing user attributes, which may be physiological characteristics inherent to the user, such as age, gender, and the like, or characteristics possessed by the user as a social person, such as residence, academic calendar, industry, income, and the like, or characteristics possessed by the user as a conversation application user, such as registration duration, online duration, and the like. For example, different sets of search ranking factors are configured for the user population in Shenzhen and the user population in Shanghai.
In one embodiment, the server obtains sample session related information and sample session related information attributes corresponding to each organization member of the target organization in a machine learning manner, and obtains a search ranking factor set suitable for a specific organization member according to the sample session related information and the sample session related information attributes corresponding to each organization member. For example, the same set of search ranking factors are employed for employees of the same company.
In one embodiment, the server obtains sample session related information and sample session related information attributes corresponding to a target user by using a machine learning manner, and obtains an individualized search ranking factor set suitable for a specific user according to the sample session related information and the sample session related information attributes corresponding to the target user.
It can be understood that a general machine learning manner can meet the requirements of the machine learning manner in the embodiments of the present application, so that the embodiments of the present application can obtain a dynamic search ranking factor set, such as a decision tree algorithm, a trained neural network model, and the like, by using the general machine learning manner.
In other embodiments, the server receives an input set of search ranking factors and collaborates the input set of search ranking factors into a dynamic set of search ranking factors. The input search ranking factor set may be a generalized search ranking factor set, a search ranking factor set suitable for different user groups, a search ranking factor set suitable for specific organization members, or an individualized search ranking factor set suitable for specific users.
In one embodiment, the method further comprises: acquiring sample session related information corresponding to each sample user in a sample user set to form a sample session related information set; acquiring sample session related information attributes corresponding to the sample session related information; acquiring a candidate session related information attribute set, wherein the candidate session related information attribute set comprises a plurality of candidate session related information attributes; determining the information quantity of the sample session related information corresponding to each candidate session related information attribute in the sample information set according to the sample session related information attribute corresponding to each sample session related information in the sample information set; and determining a search ranking factor and the priority of the search ranking factor from the candidate session related information attribute set based on the information quantity to obtain a dynamic search ranking factor set.
Wherein, the sample conversation related information can be the conversation related information selected by the user in the search results of the historical search operation. The sample session related information attribute may be an attribute of session related information selected by the user in the search results of the historical search operation, such as "group session setup message reminder", "group session member is 6 persons", "group session top", and the like. The set of candidate session-related information attributes comprises more than one candidate session-related information attribute, the candidate session-related information attributes being used to determine the search factor and the priority of the search factor.
It will be appreciated that the sample data in the sample user set may be from any user of the conversational application when determining a generalized set of search ranking factors, a set of search ranking factors applicable to different user populations. When determining the set of search ranking factors applicable to a particular organization member, the sample data in the sample user set may be from the particular organization member. When determining the set of search ranking factors applicable to a particular user, the sample data in the set of sample users may be from the particular user.
In one embodiment, the terminal displays the searched session related information through a session application corresponding to the target user identifier, receives a selection operation for the session related information, and determines the target session related information selected by the selection operation. The terminal determines a target session related information attribute corresponding to the target session related information and sends a target user identifier and the target session related information attribute to the server, or the terminal sends the target session related information identifier and the target user identifier to the server, and the server determines the target session related information attribute corresponding to the target session related information according to the target session related information identifier. The server adds the target user identification and the target session related information attribute into the sample user set, and then a dynamic search ranking factor set can be generated based on sample data in the sample user set.
In one embodiment, the server determines the information quantity of the sample session related information meeting the candidate session related information attributes in the sample information set according to the sample session related information attributes corresponding to the sample session related information in the sample information set, and determines the search ranking factor and the priority of the search ranking factor from the candidate session related information attribute set based on the information quantity to obtain the dynamic search ranking factor set.
In one embodiment, determining a search ranking factor and a priority of the search ranking factor from a set of candidate session related information attributes based on an amount of information to obtain a set of dynamic search ranking factors includes: determining the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set according to the information quantity of the sample session related information corresponding to the candidate session related information attribute belonging to the same candidate session related information dimension; screening out candidate session related information dimensions which meet a quantity condition as a search ranking factor based on the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set, wherein the quantity condition comprises that the information quantity is greater than a quantity threshold value or the information quantity ranking is before the ranking threshold value; and determining the priority of the search ranking factors in the dynamic search ranking factor set according to the ranking of the information quantity corresponding to the screened search ranking factors.
The candidate session related information dimension includes more than one candidate session related information attribute, for example, the candidate session related information dimension is "whether a message alert is set for a group session", and the candidate session related information attributes included in the candidate session related information dimension are "a message alert is set for a group session" and "a message alert is not set for a group session".
In one embodiment, the server determines the information quantity of the sample session related information corresponding to each candidate session related information dimension according to the information quantity of the sample session related information corresponding to the candidate session related information attribute belonging to the same candidate session related information dimension, screens out the candidate session related information dimension satisfying the quantity condition as a search ranking factor based on the information quantity corresponding to each candidate session related information dimension, and determines the priority of the search ranking factor according to the ranking of the information quantity corresponding to the screened search ranking factor.
In one embodiment, the quantity condition includes that the quantity of information is greater than a quantity threshold, and the quantity threshold can be set according to actual application. In other embodiments, the information quantities corresponding to the candidate session related information dimensions are sorted, the quantity condition includes that the information quantity sorting is before a sorting threshold, and the sorting threshold may be set according to actual application.
In this embodiment, the candidate session-related information dimension in which the information amount of the sample session-related information corresponding to the sample information set is dominant is used as the search factor, and the priority of the search ranking factor is determined according to the ranking of the information amount corresponding to the screened search ranking factor, so that the generated dynamic ranking factor set can rank the search results that are interested in by the user ahead when ranking the search results.
In one embodiment, sending a dynamic search ranking factor set to a terminal comprises: converting the search sorting factors in the dynamic search sorting factor set corresponding to the target user identification into factor enumeration values; sorting the factor enumeration values according to the priority of searching sorting factors in the dynamic searching sorting factor set to obtain a factor enumeration value sequence; and sending the factor enumeration value sequence to the terminal.
Wherein the factor enumeration value is a number representing the search ranking factor.
For example, "whether the group session sets the message reminder" is configured to be 1, "whether the number of group session members is greater than the preset number of people" is configured to be 2, "whether the group session is set to the top" is configured to be 3, and a factor enumeration value sequence "1 is obtained; 2;3". The dynamic search ranking factor set is issued according to the form, so that the data volume is reduced, and the priority of the search ranking factors is reflected semantically. Moreover, the configuration can be realized by utilizing the traditional configuration module without developing a new configuration module.
In one embodiment, there is provided a session information search method including the steps of:
for the terminal:
in one embodiment, the terminal obtains a set of dynamic search ranking factors from a server.
The terminal sends a search ranking factor acquisition request to the server, and receives a dynamic search ranking factor set returned by the server in response to the search ranking factor acquisition request, wherein the dynamic search ranking factor set is obtained by the server based on the factor dynamic configuration strategy configuration.
In one embodiment, the terminal sorts the searched session related information based on a dynamic search sorting factor set returned by the server.
The terminal receives a session information search operation through a session application corresponding to the target user identification, and responds to the session information search operation to search the session related information corresponding to the target user identification to obtain a session related information set corresponding to the target user identification;
acquiring a dynamic search sorting factor set corresponding to a target user identifier;
generating a search sorting factor sequence according to the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors; reading the current search sorting factors from the search sorting factor queue in sequence according to the arrangement sequence of the search sorting factors in the search sorting factor queue; acquiring a set to be sorted corresponding to a session related information set, sorting the session related information in the set to be sorted respectively based on a current search sorting factor, and dividing the session related information in the same sort into the same set to be sorted, wherein the session related information set is taken as the set to be sorted when the set is sorted for the first time; when the reading of the search sorting factors in the search sorting factor queue is completed and the sorting of the session related information in the session related information set is not completed, determining first session related information which is not sorted in the session related information set; determining first sequencing information corresponding to the first session related information according to the identification sequence of the session information identification corresponding to the first session related information; obtaining a session related information sequence based on the first ordering information and the second ordering information, wherein the second ordering information is obtained by ordering the session related information in the session related information set according to the search ordering factors in the search ordering factor queue;
and displaying the searched session related information in the search result display area corresponding to the session application according to the sequence of the session related information.
Referring to fig. 10, fig. 10 is a schematic flow chart illustrating sorting of a set of session related information according to an embodiment. The terminal generates a search ranking factor sequence according to the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors, reads the current search ranking factors from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue, and ranks the session related information in the session related information set according to the current search ranking factors and in a quick ranking mode. It can be understood that when the reading of the search ranking factor in the search ranking factor queue is completed and the ranking of the session related information in the session related information set is not completed, the session related information which is not completed is ranked according to the identification sequence of the session information identification.
In one embodiment, the terminal requests the server to adjust the set of dynamic search ranking factors.
The terminal receives selection operation aiming at the session related information through the session application corresponding to the target user identification; determining target session related information selected by the selection operation, determining forward association operation corresponding to the selection operation, and sending a search ranking factor updating request to a server when the forward association operation is used for triggering and displaying the target session related information; and the search ranking factor updating request carries a target information identifier corresponding to the target session related information, so that the server adjusts a dynamic search ranking factor set corresponding to the target user identifier according to the session related information attribute corresponding to the target information identifier.
For a server:
in one embodiment, the server returns a set of dynamic search ranking factors to the terminal.
A server receives a search ranking factor acquisition request which is sent by a terminal and carries a target user identifier; responding to a search ranking factor acquisition request, and acquiring a dynamic search ranking factor set corresponding to a target user identifier; and sending the dynamic search sorting factor set to the terminal.
In one embodiment, the server analyzes the dynamic search ranking factor set by using a machine learning mode. The server can analyze and obtain a generalized search ranking factor set, a search ranking factor set suitable for different user groups, a search ranking factor set suitable for specific organization members or an individualized search ranking factor set suitable for specific users and the like by utilizing a machine learning mode.
The server acquires sample session related information corresponding to each sample user in the sample user set to form a sample session related information set; acquiring sample session related information attributes corresponding to the sample session related information; acquiring a candidate session related information attribute set, wherein the candidate session related information attribute set comprises a plurality of candidate session related information attributes; determining the information quantity of the sample session related information corresponding to each candidate session related information attribute in the sample information set according to the sample session related information attribute corresponding to each sample session related information in the sample information set; determining the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set according to the information quantity of the sample session related information corresponding to the candidate session related information attribute belonging to the same candidate session related information dimension; screening out candidate session related information dimensions which meet a quantity condition as a search ranking factor based on the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set, wherein the quantity condition comprises that the information quantity is greater than a quantity threshold value or the information quantity ranking is before the ranking threshold value; and determining the priority of the search ranking factors in the dynamic search ranking factor set according to the ranking of the information quantity corresponding to the screened search ranking factors.
In one embodiment, the server receives an input dynamic search ranking factor set, resulting in a dynamic search ranking factor set. The input dynamic search ranking factor set may be a generalized search ranking factor set, a search ranking factor set suitable for different user groups, a search ranking factor set suitable for specific organization members, or an individualized search ranking factor set suitable for specific users, etc.
Specifically, the staff may configure the search ranking factor, the priority of the search ranking factor, and the search ranking factor attribute included in the search ranking factor based on the configuration terminal, obtain a dynamic search ranking factor set, and issue the dynamic search ranking factor set to the terminal where the session application logged in with the target user identifier is located via the server.
Specifically, referring to fig. 11, fig. 11 is a block diagram illustrating a structure of a session information search system according to an embodiment. The server comprises a manual adjustment module, a machine learning module and a configuration synchronization module, wherein the manual adjustment module and the machine learning module are used for obtaining a dynamic search ranking factor set and transmitting the dynamic search ranking factor set to the configuration synchronization module in a combined manner, and the configuration synchronization module is used for synchronizing the dynamic search ranking factor set to the terminal. The terminal comprises a system configuration module, a session related information database, a session related information searching module, a sorting logic module and an interface display module, wherein the system configuration module is used for dynamically searching and sorting a factor set sent by a synchronous server, the session related information searching module is used for searching session related information, the session related information database is used for storing the session related information, the sorting logic module is used for sorting the searched session related information according to a searching sorting factor in the dynamic searching and sorting factor set and the priority of the searching sorting factor, and the interface display module is used for displaying the searched session related information according to the sorting sequence of the session related information sequence.
Referring to fig. 12, fig. 12 is a schematic flowchart of a session information search method in another embodiment. It can be seen that the system configuration module of the terminal requests the server for the dynamic search ranking factor set, and locally stores the dynamic search ranking factor set returned by the server. And the terminal responds to the session information searching operation and searches the session related information database through the session related information searching module to obtain a session related information set. And the sequencing logic module reads the dynamic search sequencing factor set from the system configuration module, and sequences the session related information in the session related information set based on the search sequencing factors in the dynamic search sequencing factor set and the priorities of the search sequencing factors to obtain a session related information sequence. And the interface display module displays the searched session related information according to the sequence of the session related information sequence. The terminal responds to the selection operation aiming at the session related information, and the interface display module requests the server to adjust the dynamic search ranking factor set. The server analyzes the accuracy of the dynamic search ranking factor set, adjusts the dynamic search ranking factor set through a manual adjustment module or a machine learning module, transmits the adjusted dynamic search ranking factor set to a configuration synchronization module in a combined mode, and the configuration synchronization module synchronizes the adjusted dynamic search ranking factor set to a system configuration module of the terminal.
According to the session information searching method, the server dynamically issues the dynamic searching sorting factor set, dynamic configuration of the searching factors in the searching sorting factor set and the priorities of the searching factors can be achieved, the searching sorting factor set can be updated timely, the session related information in the session related information set is sorted based on the priorities, the session related information can be displayed according to user requirements, and searching efficiency of searching results is improved.
It should be understood that although the steps in the flowcharts of fig. 2, 5, and 9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 5, and 9 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 13, there is provided a session information searching apparatus, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and the apparatus specifically includes: a receiving module 1302, a searching module 1304, an ordering module 1306, and a presentation module 1308, wherein:
a receiving module 1302, configured to receive a session information search operation through a session application corresponding to a target user identifier;
the searching module 1304 is configured to search, in response to the session information searching operation, session related information corresponding to the target user identifier to obtain a session related information set corresponding to the target user identifier;
the sorting module 1306 is configured to obtain a dynamic search sorting factor set corresponding to the target user identifier, and sort the session related information in the session related information set based on the search sorting factor in the dynamic search sorting factor set and the priority of the search sorting factor to obtain a session related information sequence;
a displaying module 1308, configured to display, in a search result displaying area corresponding to the session application, the session related information obtained through the search according to the sequence of the session related information.
In one embodiment, the sorting module 1306 is further configured to: generating a search sorting factor sequence according to the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors; and sequencing the session related information in the session related information set according to the sequence of the search sequencing factors in the search sequencing factor sequence to obtain a session related information sequence.
In one embodiment, the sorting module 1306 is further configured to: reading the current search ranking factors from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue; acquiring a set to be sorted corresponding to a session related information set, sorting the session related information in the set to be sorted respectively based on a current search sorting factor, and dividing the session related information in the same sort into the same set to be sorted, wherein the session related information set is taken as the set to be sorted when the set is sorted for the first time; and returning to the step of reading the current search ranking factor from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue until the session related information in the session related information set is ranked completely, so as to obtain a session related information sequence.
In one embodiment, the sorting module 1306 is further configured to: when the reading of the search ranking factors in the search ranking factor queue is completed and the ranking of the session related information in the session related information set is not completed, determining the first session related information which is not ranked in the session related information set; determining first sequencing information corresponding to the first session related information according to the identification sequence of the session information identification corresponding to the first session related information; and obtaining a session related information sequence based on the first ordering information and the second ordering information, wherein the second ordering information is obtained by ordering the session related information in the session related information set according to the search ordering factors in the search ordering factor queue.
In one embodiment, the session information searching apparatus further includes a sending module, and the receiving module 1302 is further configured to: receiving selection operation aiming at the session related information through the session application corresponding to the target user identification; the sending module is used for: and determining the target session related information selected by the selection operation, and sending a search ranking factor updating request to the server, wherein the search ranking factor updating request carries a target information identifier corresponding to the target session related information, so that the server adjusts a dynamic search ranking factor set corresponding to the target user identifier according to the session related information attribute corresponding to the target information identifier.
In one embodiment, the sending module is further configured to: determining target session related information selected by the selection operation; determining a forward correlation operation corresponding to the selection operation; and when the forward correlation operation is used for triggering the display of the target session related information, sending a search ranking factor updating request to the server.
In one embodiment, the session information search apparatus further comprises a sending module, where the sending module is configured to: sending a search ranking factor acquisition request to a server; the receiving module 1302 is further configured to: receiving a dynamic search ranking factor set returned by a server in response to a search ranking factor acquisition request; and the dynamic search ranking factor set is obtained by the server based on the dynamic configuration strategy configuration of the factors.
In one embodiment, the sorting module 1306 is further configured to: determining a session information category corresponding to session related information in a session related information set; respectively extracting dynamic search sorting factor sets corresponding to the session information types from the dynamic search sorting factor sets corresponding to the target user identifications; and sequencing the session related information corresponding to the session information category in the session related information set according to the dynamic search sequencing factor set corresponding to the session information category to obtain a session related information sequence corresponding to the session information category.
For the specific definition of the session information search device, reference may be made to the above definition of the session information search method, which is not described herein again. The respective modules in the above-mentioned session information search apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In the session information searching device, when the session related information set corresponding to the target user identification is searched, the dynamic search ranking factor set corresponding to the target user identification is obtained, the session related information in the session related information set is ranked based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors, due to the adoption of the dynamic search ranking factor set, the timely updating of the search ranking factor set can be realized, the session related information in the session related information set is ranked based on the priorities, the session related information can be displayed according to the user requirements, and the searching efficiency of the search results is improved.
In one embodiment, as shown in fig. 14, there is provided a session information searching apparatus, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and the apparatus specifically includes: a receiving module 1402, an obtaining module 1404, and a sending module 1406, wherein:
a receiving module 1402, configured to receive a search ranking factor acquisition request carrying a target user identifier sent by a terminal;
an obtaining module 1404, configured to, in response to the search ranking factor obtaining request, obtain a dynamic search ranking factor set corresponding to the target user identifier;
a sending module 1406, configured to send the dynamic search ranking factor set to the terminal; the dynamic search ordering factor set is used for searching the session related information corresponding to the target user identifier in response to the session information search operation when the session application on the terminal logs in with the target user identifier and receives the session information search operation, so as to obtain the session related information set corresponding to the target user identifier, and ordering the session related information in the session related information set based on the search ordering factors in the dynamic search ordering factor set and the priorities of the search ordering factors.
In one embodiment, the obtaining module 1404 is further configured to: acquiring sample session related information corresponding to each sample user in a sample user set to form a sample session related information set; acquiring sample session related information attributes corresponding to the sample session related information; acquiring a candidate session related information attribute set, wherein the candidate session related information attribute set comprises a plurality of candidate session related information attributes; determining the information quantity of the sample session related information corresponding to each candidate session related information attribute in the sample information set according to the sample session related information attribute corresponding to each sample session related information in the sample information set; and determining a search ranking factor and the priority of the search ranking factor from the candidate session related information attribute set based on the information quantity to obtain a dynamic search ranking factor set.
In one embodiment, the obtaining module 1404 is further configured to: determining the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set according to the information quantity of the sample session related information corresponding to the candidate session related information attribute belonging to the same candidate session related information dimension; screening out candidate session related information dimensions which meet a quantity condition as a search ranking factor based on the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set, wherein the quantity condition comprises that the information quantity is greater than a quantity threshold value or the information quantity ranking is before the ranking threshold value; and determining the priority of the search ranking factors in the dynamic search ranking factor set according to the ranking of the information quantity corresponding to the screened search ranking factors.
For the specific definition of the session information search device, reference may be made to the above definition of the session information search method, which is not described herein again. The respective modules in the above-mentioned session information search apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In the session information searching device, the dynamic search ranking factor set corresponding to the target user identifier is obtained in response to the search ranking factor obtaining request carrying the target user identifier sent by the terminal, and the dynamic search ranking factor set corresponding to the target user identifier is sent to the terminal.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 15. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is for storing session information search data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a session information search method.
In one embodiment, a computer device is provided, which may be a terminal or a face acquisition device, and its internal structure diagram may be as shown in fig. 16. The computer equipment comprises a processor, a memory, a communication interface and an image acquisition device which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a session information search method.
It will be appreciated by those skilled in the art that the configurations shown in fig. 14 and 16 are block diagrams of only some of the configurations relevant to the present disclosure, and do not constitute a limitation on the computing devices to which the present disclosure may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A method for searching session information, the method comprising:
receiving a session information search operation through a session application corresponding to the target user identifier;
responding to the session information searching operation, searching the session related information corresponding to the target user identification to obtain a session related information set corresponding to the target user identification;
acquiring a dynamic search ranking factor set corresponding to the target user identifier, and ranking the session related information in the session related information set based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors to obtain a session related information sequence;
and displaying the searched session related information in the search result display area corresponding to the session application according to the arrangement sequence of the session related information sequence.
2. The method according to claim 1, wherein said sorting the session-related information in the set of session-related information based on the search ranking factor in the set of dynamic search ranking factors and the priority of the search ranking factor to obtain a sequence of session-related information comprises:
generating a search sorting factor sequence according to the search sorting factors in the dynamic search sorting factor set and the priorities of the search sorting factors;
and sequencing the session related information in the session related information set according to the sequence of the search sequencing factors in the search sequencing factor sequence to obtain the session related information sequence.
3. The method according to claim 2, wherein said sorting the session related information in the session related information set according to the ranking order of the search ranking factors in the search ranking factor sequence to obtain the session related information sequence comprises:
reading the current search ranking factors from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue;
acquiring a set to be sorted corresponding to the session related information set, sorting the session related information in the set to be sorted respectively based on a current search sorting factor, and dividing the session related information in the same sort into the same set to be sorted, wherein the session related information set is taken as the set to be sorted when the set is sorted for the first time;
and returning to the step of reading the current search ranking factors from the search ranking factor queue in sequence according to the ranking sequence of the search ranking factors in the search ranking factor queue until the session related information in the session related information set is ranked completely, so as to obtain the session related information sequence.
4. The method according to claim 3, wherein the step of returning to read the current search ranking factor from the search ranking factor queue in sequence according to the ranking order of the search ranking factors in the search ranking factor queue until the session related information in the session related information set is ranked completely to obtain the session related information sequence comprises:
when the reading of the search ranking factors in the search ranking factor queue is completed and the ranking of the session related information in the session related information set is not completed, determining first session related information which is not ranked and completed in the session related information set;
determining first ordering information corresponding to the first session related information according to the identification sequence of the session information identification corresponding to the first session related information;
and obtaining the session related information sequence based on the first ordering information and second ordering information, wherein the second ordering information is obtained by ordering the session related information in the session related information set according to the search ordering factors in the search ordering factor queue.
5. The method of claim 1, further comprising:
receiving selection operation aiming at the session related information through the session application corresponding to the target user identification;
and determining the target session related information selected by the selection operation, and sending a search ranking factor updating request to a server, wherein the search ranking factor updating request carries a target information identifier corresponding to the target session related information, so that the server adjusts a dynamic search ranking factor set corresponding to the target user identifier according to a session related information attribute corresponding to the target information identifier.
6. The method according to claim 5, wherein the determining the target session related information selected by the selecting operation, and sending a search ranking factor update request to a server, comprises:
determining target session related information selected by the selection operation;
determining a forward correlation operation corresponding to the selection operation;
and when the forward correlation operation is used for triggering and displaying the target session related information, sending the search ranking factor updating request to the server.
7. The method of claim 1, further comprising:
sending a search ranking factor acquisition request to a server;
receiving a dynamic search ranking factor set returned by the server in response to the search ranking factor acquisition request; wherein the dynamic search ranking factor set is obtained by the server based on the dynamic configuration policy configuration of the factors.
8. The method of claim 1, wherein the sorting the session related information in the set of session related information based on the search ranking factor in the set of dynamic search ranking factors and the priority of the search ranking factor to obtain a sequence of session related information comprises:
determining the session information category corresponding to the session related information in the session related information set;
respectively extracting dynamic search sorting factor sets corresponding to the session information categories from the dynamic search sorting factor sets corresponding to the target user identifications;
and sequencing the session related information corresponding to the session information category in the session related information set according to the dynamic search sequencing factor set corresponding to the session information category to obtain a session related information sequence corresponding to the session information category.
9. A method for searching session information, the method comprising:
receiving a search ranking factor acquisition request which is sent by a terminal and carries a target user identifier;
responding to the search ranking factor acquisition request, and acquiring a dynamic search ranking factor set corresponding to the target user identifier;
sending the dynamic search ranking factor set to the terminal; the dynamic search ranking factor set is used for searching the session related information corresponding to the target user identifier in response to the session information search operation when the session application on the terminal logs in with the target user identifier and receives the session information search operation, so as to obtain the session related information set corresponding to the target user identifier, and ranking the session related information in the session related information set based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors.
10. The method of claim 9, further comprising:
acquiring sample session related information corresponding to each sample user in a sample user set to form a sample session related information set;
acquiring sample session related information attributes corresponding to the sample session related information;
acquiring a candidate session related information attribute set, wherein the candidate session related information attribute set comprises a plurality of candidate session related information attributes;
determining the information quantity of the sample session related information corresponding to each candidate session related information attribute in the sample information set according to the sample session related information attribute corresponding to each sample session related information in the sample information set;
and determining a search ranking factor and the priority of the search ranking factor from the candidate session related information attribute set based on the information quantity to obtain the dynamic search ranking factor set.
11. The method of claim 10, wherein determining a search ranking factor and a priority of a search ranking factor from the set of candidate session-related information attributes based on the amount of information, resulting in the set of dynamic search ranking factors, comprises:
determining the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set according to the information quantity of the sample session related information corresponding to the candidate session related information attribute belonging to the same candidate session related information dimension;
screening out candidate session related information dimensions meeting a quantity condition as a search ranking factor based on the information quantity of the sample session related information corresponding to each candidate session related information dimension in the sample information set, wherein the quantity condition comprises that the information quantity is greater than a quantity threshold value or the information quantity ranking is before the ranking threshold value;
and determining the priority of the search ranking factors in the dynamic search ranking factor set according to the ranking of the information quantity corresponding to the screened search ranking factors.
12. A session information search apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving the session information searching operation through the session application corresponding to the target user identification;
the searching module is used for responding to the session information searching operation and searching the session related information corresponding to the target user identification to obtain a session related information set corresponding to the target user identification;
the sequencing module is used for acquiring a dynamic search sequencing factor set corresponding to the target user identifier, and sequencing the session related information in the session related information set based on the search sequencing factors in the dynamic search sequencing factor set and the priorities of the search sequencing factors to obtain a session related information sequence;
and the display module is used for displaying the searched session related information in the search result display area corresponding to the session application according to the sequence of the session related information sequence.
13. A session information search apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a search ranking factor acquisition request which is sent by a terminal and carries a target user identifier;
an obtaining module, configured to respond to the search ranking factor obtaining request, to obtain a dynamic search ranking factor set corresponding to the target user identifier;
a sending module, configured to send the dynamic search ranking factor set to the terminal; the dynamic search ranking factor set is used for searching the session related information corresponding to the target user identifier in response to the session information search operation when the session application on the terminal logs in with the target user identifier and receives the session information search operation, so as to obtain the session related information set corresponding to the target user identifier, and ranking the session related information in the session related information set based on the search ranking factors in the dynamic search ranking factor set and the priorities of the search ranking factors.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 11 when executing the computer program.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11.
CN202110552308.7A 2021-05-20 2021-05-20 Session information searching method and device, computer equipment and storage medium Pending CN115374336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110552308.7A CN115374336A (en) 2021-05-20 2021-05-20 Session information searching method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110552308.7A CN115374336A (en) 2021-05-20 2021-05-20 Session information searching method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115374336A true CN115374336A (en) 2022-11-22

Family

ID=84058244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110552308.7A Pending CN115374336A (en) 2021-05-20 2021-05-20 Session information searching method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115374336A (en)

Similar Documents

Publication Publication Date Title
US11303590B2 (en) Suggested responses based on message stickers
EP3244312B1 (en) A personal digital assistant
US20220156227A1 (en) Context-based file selection
CN110235154B (en) Associating meetings with items using feature keywords
CN109086439B (en) Information recommendation method and device
CN108763502B (en) Information recommendation method and system
US11100438B2 (en) Project entity extraction with efficient search and processing of projects
JP2021108183A (en) Method, apparatus, device and storage medium for intention recommendation
CN107918618B (en) Data processing method and device
US11232522B2 (en) Methods, systems and techniques for blending online content from multiple disparate content sources including a personal content source or a semi-personal content source
CN106354856B (en) Artificial intelligence-based deep neural network enhanced search method and device
US11886556B2 (en) Systems and methods for providing user validation
US20240273153A1 (en) Systems and methods for managing media feed timelines
US11048387B1 (en) Systems and methods for managing media feed timelines
CN113641835A (en) Multimedia resource recommendation method and device, electronic equipment and medium
CN115329131A (en) Material label recommendation method and device, electronic equipment and storage medium
US11206236B2 (en) Systems and methods to prioritize chat rooms using machine learning
CN113886674A (en) Resource recommendation method and device, electronic equipment and storage medium
CN114491093B (en) Multimedia resource recommendation and object representation network generation method and device
CN116580120A (en) Image generation processing system and method based on user interest analysis
CN115878874A (en) Multimodal retrieval method, device and storage medium
CN111399731B (en) Picture operation intention processing method, recommendation method and device, electronic equipment and storage medium
CN115374336A (en) Session information searching method and device, computer equipment and storage medium
CN114925108A (en) Determination method, device and equipment of sequencing model and storage medium
CN117933237A (en) Conference analysis method, conference analysis device and storage medium

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