Data processing method and device, equipment and storage medium
By analyzing user intentions and automatically matching target objects, the problem of low information search efficiency in the database is solved, and efficient information search in human resources management is realized.
Patent Information
- Application Number
- CN202311559419.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-21
- Publication Date
- 2024-09-17
AI Technical Summary
Existing databases have low information search efficiency in human resources management and mainly rely on keyword searches, resulting in low search efficiency.
By obtaining the user's object search information, generating intent analysis information and sending it to the model, it parses the user's intent, determines the target object, and generates object display information based on the intent information to improve search efficiency.
It achieves automated matching of user intentions, improves information search efficiency, eliminates the need for users to manually search for information that matches their intentions, and simplifies the human resources management process.
Smart Images

Figure CN118656404A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computers, and in particular to a data processing method, device, equipment and storage medium. Background Art
[0002] With the development of computer technology, more and more enterprises or units choose to manage human resources through databases. Specifically, a human information database can be established and the relevant information of employees can be stored in the human information database so as to manage the relevant information of employees through database tools.
[0003] However, the above method mainly relies on keyword search in the process of searching for information, and has the problem of low search efficiency. Summary of the invention
[0004] In order to solve the problems of the prior art, the present disclosure provides a data processing method, apparatus, device and storage medium.
[0005] Based on this, the technical solutions provided by the present disclosure are as follows:
[0006] In a first aspect, the present disclosure provides a data processing method, comprising:
[0007] Get object object search information;
[0008] Sending intent resolution information to the first model, wherein the intent resolution information is generated based on the object search information;
[0009] receiving intent information sent by the first model, wherein the intent information is determined according to the object search information;
[0010] Object display information is generated, where the object display information is determined based on information of at least one target object, where the target object is determined based on the intent information, and where the target object matches the object search information.
[0011] In some possible implementations, after receiving the intent information and before sending the object display information, the method further includes:
[0012] determining condition information according to the intention information;
[0013] At least one of the target objects is determined according to the condition information, and information of the target object matches the condition information.
[0014] In some possible implementations, the intent information includes at least one first-category intent information, the condition information includes first-category condition information, and the first-category intent information is used to describe the first-category condition information;
[0015] Determining at least one target object from the object information database comprises:
[0016] Determine a first candidate object set from the original object set according to the first type of condition information, wherein information of objects in the first candidate object set matches the first type of condition information;
[0017] The at least one target object is determined from the first candidate object set.
[0018] In some possible implementations, the intent information further includes at least one second-category intent information, the condition information further includes second-category condition information, and the second-category condition information is obtained by vectorizing the at least one second-category intent information;
[0019] Determining the at least one target object from the first candidate object set includes:
[0020] Screening the first candidate object set to determine a second candidate object set, wherein vectors of information of objects in the second candidate set match the second type of condition information;
[0021] The at least one target object is determined from the second candidate set.
[0022] In some possible implementations, the intent information further includes at least one third type of intent information, and the condition information further includes third type of condition information;
[0023] The determining of condition information according to the intention information includes:
[0024] Performing intent diffusion on the at least one third-category intent information to obtain the third-category condition information;
[0025] Determining the at least one target object from the second candidate object set comprises:
[0026] Screening the second candidate object set to determine a third candidate object set, wherein the vectors of information of objects in the third candidate set match the third type of condition information;
[0027] The at least one target object is determined from the third candidate object set.
[0028] In some possible implementations, the performing intent diffusion on the at least one third-category intent information to obtain the third-category condition information includes:
[0029] Sending intention diffusion information to the second model, where the intention diffusion information is obtained based on the third type of intention information and instruction information, where the instruction information is used to indicate a rule for intention diffusion;
[0030] receiving diffusion condition information sent by the second model, where the diffusion condition information is used to indicate conditions of objects satisfying the third type of intent information;
[0031] The third type of condition information is determined according to the diffusion condition information.
[0032] In some possible implementations, the third candidate object set includes third candidate objects, and screening the second candidate object set to determine the third candidate object set includes:
[0033] Determining whether the information of the third candidate object satisfies the object search information;
[0034] In response to the information of the third candidate object satisfying the object search information, the third candidate object is determined as the target object.
[0035] In some possible implementations, the third candidate object set includes candidate objects, and determining whether information of the third candidate object satisfies the object search information includes:
[0036] Obtaining information of the candidate object;
[0037] Sending object judgment information to a third model, wherein the object judgment information is obtained according to the object search information and the information of the candidate object;
[0038] The object judgment result information sent by the third model is received, where the object judgment result information indicates whether the information of the candidate object satisfies the object search information.
[0039] In some possible implementations, the object display information includes summary information of the at least one target object, and before sending the object display information, the method further includes:
[0040] Acquiring information of the at least one target object;
[0041] The information of each of the target objects is summarized to determine the summary information of each of the target objects.
[0042] In some possible implementations, the at least one target object includes a first target object, and determining summary information of each target object includes:
[0043] determining first-category display information and second-category display information according to the information of the first target object, wherein the length of the second-category display information is greater than the length of the first-category display information;
[0044] Summarizing the second type of display information;
[0045] Determine summary information of the first target object according to the first category of display information and the summarized second category of display information.
[0046] In some possible implementations, summarizing the second type of display information includes:
[0047] Sending original display information to a fourth model, where the original display information is determined according to the second type of display information;
[0048] The display summary information sent by the fourth model is received, where the display summary information includes the summarized second-category display information.
[0049] In a second aspect, the present disclosure provides a data processing method, comprising:
[0050] receiving a target message in a target session, the target message including object lookup information;
[0051] Determining at least one target object according to the object search information, the target object matching the object search information;
[0052] A reply message is displayed in the target conversation, wherein the reply message includes object display information, and the object display information is determined according to information of the at least one target object.
[0053] In some possible implementations, the reply message includes text reply content and an object information list, and the object information list is used to display information of the at least one target object.
[0054] In some possible implementations, the object information list includes at least one information card, and the information card is used to display information of one of the target objects.
[0055] In some possible implementations, the at least one target object includes N target objects, where N is a positive integer greater than 1; the object information list is used to display information of the M target objects, and the reply message further includes an object expansion control; and the method further includes:
[0056] In response to a first operation triggered by an expansion control for the object, information of K target objects is displayed in the target session, where K is a positive integer, and a sum of M and K is not greater than N.
[0057] In some possible implementations, displaying information of K target objects in the target session includes:
[0058] In response to a first operation triggered by the object expansion control, information of the K target objects is displayed in the reply message; or, expansion information is displayed in the target session, the expansion information being used to display information of the K target objects. On the third side, the present disclosure provides a data processing device, comprising:
[0059] An acquisition unit, used for acquiring object search information;
[0060] A first sending unit, configured to send intent resolution information to a first model, wherein the intent resolution information is generated based on the object search information;
[0061] A second receiving unit, configured to receive intent information sent by the first model, wherein the intent information is determined according to the object search information;
[0062] A generating unit is used to generate object display information, wherein the object display information is determined according to information of at least one target object, the target object is determined according to the intention information, and the target object matches the object search information.
[0063] In some possible implementations, the device further includes a determination unit, which is configured to determine condition information based on the intention information; and determine at least one of the target objects based on the condition information, wherein information of the target object matches the condition information.
[0064] In some possible implementations, the intent information includes at least one first-category intent information, and the condition information includes first-category condition information, wherein the first-category intent information is used to describe the first-category condition information; the determination unit is specifically used to determine a first candidate object set from an original object set based on the first-category condition information, wherein information of objects in the first candidate object set matches the first-category condition information; and determine the at least one target object from the first candidate object set.
[0065] In some possible implementations, the intent information also includes at least one second-category intent information, and the condition information also includes second-category condition information, wherein the second-category condition information is obtained by vectorizing the at least one second-category intent information; the determination unit is specifically used to screen the first candidate object set, determine the second candidate object set, and the vector of the information of the objects in the second candidate set matches the second-category condition information; and determine the at least one target object from the second candidate set.
[0066] In some possible implementations, the intent information also includes at least one third category of intent information, and the condition information also includes third category of condition information; the determination unit is specifically used to perform intent diffusion on the at least one third category of intent information to obtain the third category of condition information; screen the second candidate object set to determine a third candidate object set, and the vector of information of the objects in the third candidate set matches the third category of condition information; and determine the at least one target object from the third candidate object set.
[0067] In some possible implementations, the first sending unit is also used to send intention diffusion information to the second model, the intention diffusion information is obtained based on the third category of intention information and instruction information, and the instruction information is used to indicate the rules of intention diffusion; the second receiving unit is also used to receive diffusion condition information sent by the second model, and the diffusion condition information is used to indicate the conditions of the objects that meet the third category of intention information; the determination unit is also used to determine the third category of condition information based on the diffusion condition information.
[0068] In some possible implementations, the third candidate object set includes a third candidate object, and the determination unit is further used to determine whether the information of the third candidate object satisfies the object search information; in response to the information of the third candidate object satisfying the object search information, the third candidate object is determined as the target object.
[0069] In some possible implementations, the third candidate object set includes candidate objects, and the first sending unit is further used to obtain information about the candidate objects; send object judgment information to the third model, and the object judgment information is obtained based on the object search information and information about the candidate objects; the second receiving unit is further used to receive object judgment result information sent by the third model, and the object judgment result information indicates whether the information of the candidate object satisfies the object search information.
[0070] In some possible implementations, the object display information includes summary information of the at least one target object, and the device also includes a processing unit, which is used to obtain information of the at least one target object; summarize the information of each of the target objects, and determine the summary information of each of the target objects.
[0071] In some possible implementations, the at least one target object includes a first target object, and the processing unit is specifically used to determine a first category of display information and a second category of display information based on information of the first target object, the length of the second category of display information being greater than the length of the first category of display information; summarizing the second category of display information; and determining summary information of the first target object based on the first category of display information and the summarized second category of display information.
[0072] In some possible implementations, the first sending unit is further used to send original display information to the fourth model, where the original display information is determined based on the second category of display information; the second receiving unit is further used to receive display summary information sent by the fourth model, where the display summary information includes the summarized second category of display information.
[0073] In a fourth aspect, the present disclosure provides a data processing device, comprising:
[0074] A receiving unit, configured to receive a target message in a target session, wherein the target message includes object search information;
[0075] a determining unit, configured to determine at least one target object according to the object search information, the target object matching the object search information;
[0076] A display unit is used to display a reply message in the target conversation, wherein the reply message includes object display information, and the object display information is determined according to information of the at least one target object.
[0077] In some possible implementations, the reply message includes text reply content and an object information list, and the object information list is used to display information of the at least one target object.
[0078] In some possible implementations, the object information list includes at least one information card, and the information card is used to display information of one of the target objects.
[0079] In some possible implementations, the at least one target object includes N target objects, where N is a positive integer greater than 1; the object information list is used to display information of M target objects, and the reply message also includes an object expansion control; the display unit is also used to display information of K target objects in the target session in response to a first operation triggered for the object expansion control, where K is a positive integer, and the sum of M and K is not greater than N.
[0080] In some possible implementations, the display unit is specifically used to display the information of the K target objects in the reply message in response to a first operation triggered by an expansion control of the object; or to display expansion information in the target session, wherein the expansion information is used to display the information of the K target objects.
[0081] In a fifth aspect, the present disclosure provides an electronic device, including:
[0082] one or more processors;
[0083] a storage device having one or more programs stored thereon,
[0084] When the one or more programs are executed by the one or more processors, the one or more processors implement any method described in the first aspect, or implement any method described in the second aspect.
[0085] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the program implements any of the methods described in the first aspect, or implements any of the methods described in the second aspect.
[0086] In a fifth aspect, the present disclosure provides a computer program product. When the computer program product runs on a device, the device executes the method described in the first aspect, or implements any method described in the second aspect.
[0087] It can be seen that the present disclosure has the following beneficial effects:
[0088] The present disclosure provides a data processing method, apparatus, device and storage medium. Specifically, if a user needs to find an object, the user can send object search information to the server through the client, and the object search information can be the user's description information of the object to be found. Then, the server can generate intent resolution information based on the object search information and send it to the first model. The first model can parse the user's intent based on the intent resolution information, obtain the intent information and send the intent information to the server. According to the intent information, the server can determine the object display information and send it to the client. The object display information is determined based on the information of at least one target object, and the target object matches the object search information. In other words, the server can determine the intention of the user who sends the object search information through the first model, thereby determining the target object according to the user's intention, and sending the object display information determined according to the information of the target object to the client. In this way, for the user, only need to enter their own intention on the client and send it to the server, the server can determine the user's intention through the first model and send the object display information that meets the user's intention. In this way, the automatic search of the object is realized by parsing the user's intention, and the user does not need to manually find the user who meets his own intention, thereby improving the search efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0090] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;
[0091] Figure 2 A flowchart of a data processing method provided by an embodiment of the present disclosure;
[0092] Figure 3 A flowchart of a method for determining a target object provided by an embodiment of the present disclosure;
[0093] Figure 4 A flowchart of another data processing method provided by the embodiment of the present disclosure
[0094] Figure 5 A schematic diagram of a data processing device provided in an embodiment of the present disclosure;
[0095] Figure 6 A schematic diagram of another data processing device provided by an embodiment of the present disclosure;
[0096] Figure 7 A schematic diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0097] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0098] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0099] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0100] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different objects, devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0101] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0102] In some scenarios, users may need to view objects with certain conditions from multiple objects. For example, when managing human resources, users may need to select some employees from multiple employees. Currently, users responsible for managing human resources can browse the human resources database and select employees that meet the requirements.
[0103] For example, if a new position is vacant, the user responsible for managing human resources may need to select an employee for the position, or select multiple candidates who can fill the position. In this process, the user can browse the human resources database and select the appropriate employee based on the fields such as position, length of service, education and work experience in the human resources database.
[0104] For another example, if N employees need to be rewarded based on their work performance (N is a positive integer), then the user who load manages human resources may need to browse the human resources database to view the work performance of candidate employees and select N employees for reward.
[0105] For another example, if it is necessary to increase the labor compensation of employees with more than M years of service (M is a positive integer), then the user who load manages human resources may need to browse the human resources database to view the employees' service years and select employees with more than M years of service.
[0106] Currently, users personally view relevant information in a human resources database. When the human resources database includes information about a large number of employees, and / or the information about each employee includes a large number of fields, browsing the human resources database requires a lot of time and effort, resulting in low efficiency. In particular, for units with a large number of employees, such as large enterprises, the human resources database may include multiple sub-databases, and users may need to switch between sub-databases, further reducing efficiency.
[0107] In order to solve the problems of the prior art, the present disclosure provides a data processing method, which is described in detail below in conjunction with the drawings in the specification.
[0108] First, an exemplary application scenario of the embodiment of the present disclosure is introduced. Figure 1 , which is a schematic diagram of the framework of an exemplary application scenario provided by an embodiment of the present disclosure. Figure 1 The implementation shown includes a client 110, a server 120, a first model 130, and a database 140. The client 110 and the server 120 may be connected via a network, the server 120 and the first model 130 may also be connected via a network, and the server 120 and the database 140 may be connected via a network.
[0109] The client 110 may be run on a terminal device used by a user, such as a mobile phone, a computer, or other terminal device. The server 120 may be run on a server or a server cluster to provide services for the client 110. Data may be exchanged between the client 110 and the server 120.
[0110] The first model 130 can run on a server or a server cluster. Optionally, the server (or server cluster) used to implement the first model 130 and the server (or server cluster) used to implement the server 120 can be the same or different. The first model 130 is used to provide the service of the first model to the outside. The server 120 can send the data to be processed to the first model 130 to call the first model 130 to process the data to be processed, and send the processed data to the server 120. Optionally, the above-mentioned first model can be a model with natural language processing (NLP) function, for example, it can be a language model (LM).
[0111] The database 140 may also be run on a server or server cluster to store information related to the object. Optionally, the database 140 may include a human resources database. Furthermore, the server or server cluster running the database 140 may be the same as or different from the server or server cluster running the server 120.
[0112] In some possible implementations provided by the embodiments of the present disclosure, the server may call multiple models to determine object display information. Figure 1 In the implementation shown, a second model 150, a third model 160 and a fourth model 170 may also be included. The second model 150, the third model 160 and the fourth model 170 may be connected to the server 120 via a network. Since the second model 150, the third model 160 and the fourth model 170 are optional, Figure 1 Indicated by dotted lines.
[0113] The above introduces an exemplary application scenario of the embodiment of the present disclosure. The following is an exemplary introduction to the data processing method provided by the embodiment of the present disclosure.
[0114] See also Figure 2 , Figure 2 The present disclosure provides a flow chart of a data processing method, which is applicable to application scenarios where objects are found through a client. The data processing method can be executed by a data processing device, and the data processing determination device can be implemented by software.
[0115] Optionally, the data processing device can be integrated into the server of the software. The server of the software can run on a server or a server cluster to provide corresponding services to the client of the software. Optionally, the software can be an instant messaging (IM) software with human resource management capabilities. Accordingly, the client can be the client of the IM software, and the server can be the server of the IM software. Users can send messages to the server of the IM software through the client of the IM software. Optionally, in Figure 1 In the application scenario shown, the data processing device can be integrated into the server 120. Figure 2 As shown, the method specifically comprises the following steps:
[0116] S201: Obtain object search information.
[0117] In the disclosed embodiment, if a user wants to find a specific object, the user can send a message to the server through the client, so that the client can obtain object search information. The object search information is used to describe the conditions that the object to be found needs to meet, indicating the need to find the object.
[0118] In the embodiment of the present disclosure, the object search information can be described based on an unstructured language, that is, the object search information can be unstructured information. Since the object search information is unstructured information, the server may not be able to directly process the object search information. To this end, the server can call the first model to process the object search information.
[0119] Optionally, the object search information can be implemented based on natural language. That is, when it is necessary to search for objects that meet certain conditions, the user can describe the above "certain conditions" in natural language, and send the natural language description to the server through the client. Alternatively, the object search information can also include card information.
[0120] In the embodiment of the present application, the object search information may be sent by the client through a target message. The introduction of the target message may be referred to below. No further details will be given here.
[0121] S202: Send intent resolution information to the first model.
[0122] After acquiring the object search information, the server may generate intent resolution information according to the object search information, and send the intent resolution information to the first model.
[0123] In some possible implementations, the first model may be a language model, and the intent resolution information may be prompt information. The server may generate prompt information according to the object search information, and send the prompt information to the first model.
[0124] In the embodiment of the present disclosure, the first model can be used to parse the object search information to determine the user's intention. Accordingly, the intention analysis information can also include instruction information, which is used to instruct the first model to parse the user's intention according to the object search information.
[0125] S203: Receive the intent information sent by the first model.
[0126] After the first model receives the intent resolution information, the first model can resolve the object search information according to the intent resolution information to obtain the corresponding intent information. The intent information can be used to describe the intent of the user who sent the object search information. In other words, the first model can understand the object search information sent by the user to determine which objects the user wants to find.
[0127] Optionally, the first model can be a language model, the object search information can be information described in an unstructured language, and the intent information can be information described in a structured language. That is, the intent information can be structured information. Optionally, the intent information can be implemented in the form of a key-value pair. The first model can perform semantic analysis on the unstructured object search information to determine the structured intent information. Since the intent information is structured information, the server can process the intent information.
[0128] After determining the intent information, the first model may send the intent information to the server, so that the server determines the object display information according to the intent information sent by the first model and sends it to the client.
[0129] S204: Generate object display information.
[0130] After acquiring the intent information sent by the first model, the server can generate object display information according to the intent information and send the object display information to the client. After receiving the object display information, the client can display it to the user using the client through the display device.
[0131] Optionally, the server can determine the target object based on the intent information. Then, the server can obtain relevant information of the target object from the database based on the target object, and then generate object display information based on the relevant information of the target object. In other words, the target object is determined based on the intent of the user who sends the object search information as parsed by the first model. Therefore, the object display information determined based on the information of the target object can meet the needs of the user who sends the object search information. For an introduction to the server determining the target object based on the intent information, please refer to the following, which will not be repeated here.
[0132] That is to say, the server can determine the intention of the user who sends the object search information through the first model, thereby determining the target object according to the user's intention, and sending the object display information determined according to the information of the target object to the client. In this way, for the user, only need to enter their own intention on the client and send it to the server, the server can determine the user's intention through the first model and send the object display information that meets the user's intention. In this way, automatic object search is achieved by analyzing the user's intention, and the user does not need to manually find users who meet their own intentions, which improves the search efficiency.
[0133] In some possible implementations, the object display information may include information of at least one target object. Before sending the object display information to the client, the server may first obtain information of at least one target object, for example, the server may obtain the information of the target object from a database.
[0134] Optionally, the target object information may include multiple pieces of information about the target object. For example, the target object's employee number, the target object's company length of service, the target object's work experience, and the target object's professional skills certificate information may be included. The database may include a human resources database, or may include other databases for storing human resources information.
[0135] Optionally, in order to avoid information leakage, before obtaining the information of the target object from the database, the server may first determine whether it has the authority to obtain the information of the target object. For example, the server may determine whether the user using the client (or the account logged in to the client) has the authority to obtain a certain information of the target object. Optionally, if the client does not have the relevant authority, the server may send a prompt message indicating that no results were found. Alternatively, if the user does not have the authority to obtain one (or more) of the multiple pieces of information, the server may refuse to query the information for which the user does not have the authority, and query the information for which the user has the authority.
[0136] In some other possible implementations, the object display information may include summary information of at least one target object. Before sending the object display information to the client, the server may first obtain information of at least one target object, and then determine summary information of each target object based on the information of the target object. In this way, summarizing the information of the target object can compress the amount of information sent to the client, thereby displaying the information required by the user.
[0137] Optionally, taking the target object of the search as an employee as an example, when summarizing the information of employee A, the information of employee A can be classified. For example, the information of employee A can be divided into the first category of display information and the second category of display information. Among them, the first category of display information is information that is convenient to be displayed directly on the client, and the second category of display information is information that is not convenient to be displayed directly on the client. For example, the first category of display information can be short information such as name, length of service and personnel relationship. The second category of display information can be long information such as work experience and salary information. Generally, the length of the second category of display information can be greater than the length of the first category of display information.
[0138] After determining the first type of display information and the second type of display information, the second type of display information can be summarized, and the summary information of employee A can be determined based on the summarized second type of display information and the first type of display information. In this way, when the client displays the information of employee A, the first type of display information of employee A and the summarized second type of display information of employee A can be displayed to the user. Since the first type of display information is not compressed, it is easy for the user to understand clearly, and since the second type of display information is summarized, the display area required for displaying the summary information of employee A can be saved.
[0139] Optionally, the server may call the model to summarize the second category of display information. Specifically, when summarizing the second category of display information of employee A, the server may generate original display information based on the second category of display information of employee A, and send the original display information to the fourth model. After obtaining the original display information, the fourth model may summarize the second category of display information, generate display summary information based on the summarized second category of display information, and send it to the server. The server may determine the summarized second category of display information based on the display summary information sent by the fourth model. Optionally, the fourth model and the first model may be the same model or different models.
[0140] Optionally, the original display information may include prompt information. The original display information may include the second type of display information. The original display information may also include instruction information, and the instruction information is used to indicate the rules for the fourth model to summarize the second type of display information. For example, the instruction information may include a word count threshold and example information. The word count threshold is used to limit the upper limit of the length of the summarized second type of display information, and the example information is used to demonstrate how to summarize the second type of display information.
[0141] Optionally, the original display information may also include object search information. According to the object search information, the fourth model may summarize the content in the second type of display information that has a low correlation with the object search information.
[0142] The above describes the implementation method of the server parsing the user's intention through the first model to realize the automatic search of the object. In the above embodiment, the role of the first model is to determine the user's intention based on the object search information. It can be understood that after determining the user's intention, it is also necessary to select an object that meets the user's intention. That is, after the server obtains the intention information, the server also needs to determine at least one target object that meets the intention information based on the intention information.
[0143] Specifically, the server can determine the condition information according to the intention information, and then determine the target object that meets the condition information according to the condition information. The condition information is used to indicate the conditions that the target object needs to meet. That is, the condition information is used to describe the user's intention and can indicate what conditions the object that the user needs to find must meet. Optionally, the server can obtain the information of the object from the database, and then determine the object whose information matches the condition information as the target object.
[0144] The following describes in detail how the server determines at least one target object.
[0145] In a first possible implementation, the server may determine the target object through field matching.
[0146] If the server determines the target object through field matching, the condition information may include field condition information. Field condition information can also be called the first type of condition information, which is used to indicate the conditions satisfied by the values of one or more fields of the target object. Specifically, the relevant information of the object can be determined as multiple fields in advance according to the type of information, and each field can correspond to a relevant information of the object. For example, the age of the object can correspond to the age field, the gender of the object can correspond to the gender field, and the length of service of the object can correspond to the length of service field. The value of the field represents the actual situation of the object. For example, the value of the field "Length of service" of employee A represents the time employee A has worked in the company.
[0147] In a first possible implementation, after the intent information is determined by the first model, the server can determine the first type of condition information based on the intent information. Then, the server can determine the field corresponding to the first type of condition information from the database, and then select the object whose field value matches the value of the first type of condition information as the target object. Optionally, if the first type of condition information is used to indicate the values of multiple fields, the value of each field of the target object satisfies the first type of condition information.
[0148] For example, suppose the object search information input by the user includes "Help me find people who have worked in my company for more than 5 years". Then, by parsing the object search information through the first model, it can be determined that the user's intention is to find employees who meet the condition of "age>5". It should be noted that the intention information can be structured information, which describes the user's intention through structured language.
[0149] Next, the server may determine the first type of condition information according to the intention information sent by the first model. The first type of condition information requires that the value of the "age in the company" field of the target employee is "(5, +∞)".
[0150] After determining the first type of condition information, the server can determine the target employee from the database according to the first type of condition information. Specifically, the server can traverse the database, determine the employee whose "age in the company" field has a value of "(5, +∞)" from the database, and determine the employee as the target object.
[0151] In a second possible implementation, the server may determine the target object through vector matching.
[0152] In actual scenarios, the values of some fields may be difficult to match accurately. For example, information such as employee work experience information and employee professional skills certificate information may vary greatly between different employees. In addition, the relationship between field values and actual user needs may be complex.
[0153] For example, suppose that company B1 includes employees A1 and A2, employee A1's work experience includes work experience in company B2, employee A2's work experience includes company experience in company B2, and company B1 is located in country C1, company B2 is located in country C1, and company B3 is located in country C2. In this way, if the object search information includes "find someone with foreign work experience", then by parsing the object search information through the first model, it can be determined that the user's intention is to find someone whose work experience includes a company in a country other than C1.
[0154] Thus, even if the value of the "work experience" field of employee A1 is different from the value of the "work experience" field of employee A2, both employee A1 and employee A2 meet the requirement of object search information. Thus, if the field values are matched precisely, it may be difficult to find the employee who meets the requirement, and / or the employee who meets the requirement may be missed.
[0155] To this end, in a second possible implementation, the value of the field may be vectorized, so that the target object is determined by the vector. The method of determining the target object by the vector may be called vector matching. If the server determines the target object by vector matching, the condition information may include vector condition information. The vector condition information may also be called the second type of condition information, which is used to indicate the conditions satisfied by the vector corresponding to the value of one or more fields of the target object.
[0156] For example, if the second type of condition information is used to indicate the vector corresponding to field A, then the similarity between the vector corresponding to the value of field A of the target object and the vector corresponding to field A indicated by the second type of condition information may be greater than a threshold value. The threshold value may be a preset threshold value or a threshold value in the second type of condition information.
[0157] Specifically, the values of one or more fields of the object may be vectorized in advance according to the type of information. For example, the values of fields such as "work experience" and "salary information" of the object may be vectorized.
[0158] It is understandable that if the value of a field can be accurately matched, for example, the value of a field can be converted into a specific number, or the value of a field can only be selected within a limited range, then the value of such field may not be vectorized. For example, fields such as "age of the company" may not be vectorized. In the embodiments of the present disclosure, fields whose values are vectorized may be referred to as vectorized fields, and fields whose values are not vectorized may be referred to as precise fields or non-vectorized fields.
[0159] In actual scenarios, the value of a field may include multiple value segments. When vectorizing, each value segment can be vectorized separately. For example, an employee may have changed his salary multiple times, so each work experience can be vectorized separately.
[0160] After determining the intent information, the server can determine the second type of condition information based on the intent information. Then, the server can select from the database an object whose vector corresponding to the field value satisfies the second type of condition information, and use the selected object as the target object. Optionally, if the second type of condition information is used to indicate vectors corresponding to multiple fields, the vector corresponding to the value of each field of the target object satisfies the second type of condition information.
[0161] After determining the second type of condition information, the server can determine the target object from the database according to the second type of condition information. Specifically, the server can traverse the database to determine the target object from the database.
[0162] In a third possible implementation, the server may determine the target object through intent diffusion matching.
[0163] In actual scenarios, the requirements put forward by users may be relatively general. In this way, the degree of generalization of the intent information determined based on the object search information may be relatively high, resulting in the server being unable to map the intent information to the specific value of a field or the vector corresponding to the value of the field. In this way, if only the first type of condition information and / or the second type of condition information are used, the user's requirements for the target object may not be described.
[0164] For example, assuming that the object search information includes "who speaks better English", then the object search information is parsed, and the intent information may indicate that the user's intention is to find employees with a high level of English proficiency. However, "English proficiency" may be difficult to map to the value of a single field or a vector corresponding to the value. For example, employees with a professional skill certificate in English can be considered as employees with a high level of English proficiency, employees whose nationality is an English-speaking country can also be considered as employees with a high level of English proficiency, employees with work experience in English-speaking countries can also be considered as employees with a high level of English proficiency, and employees whose work experience includes working with employees in English-speaking countries can also be considered as employees with a high level of English proficiency. It can be seen that since the user's intent is relatively general, different values in different fields may satisfy the user's intent.
[0165] To this end, in a third possible implementation, the intent diffusion may be performed on the value of the field, so that the value of the field or the vector corresponding to the value may satisfy the user's intention. The method of determining the target object through intent diffusion may be called intent diffusion matching. If the server determines the target object through intent diffusion matching, the conditional information may include intent diffusion conditional information. The intent diffusion conditional information may also be referred to as the third type of conditional information, which is used to indicate the conditions satisfied by the value of one or more fields of the target object or the vector corresponding to the value.
[0166] Specifically, after the intent information is determined by the first model, the intent information can be diffused to obtain the third type of conditional information. During the intent diffusion, it can be determined which fields can be used to describe the user's intent, and the values of these fields or the vectors of the values can be matched with the user when the conditions are met.
[0167] In the disclosed embodiment, the server can perform intent diffusion through preset rules. The preset rules are pre-set rules for intent diffusion, indicating the association between the intent information before diffusion and the condition information after diffusion. Alternatively, the server can also call a model to perform intent diffusion, for example, the server can call a second model to perform intent diffusion. For an introduction to this part, please refer to Figure 3 , I will not go into details here.
[0168] For example, assuming that the user's intention is to find employees with a high level of English proficiency, the user's intention can be expanded to at least three fields, such as "nationality", "professional skill certificate" and "work experience". In addition, it can be determined that the value of the "nationality" field can include values corresponding to English-speaking countries; the value of the "professional skill certificate" field can include professional skill certificates related to English; and the vector corresponding to the value of the "work experience" field can be related to companies in English-speaking countries and / or related to positions that require the use of English.
[0169] Optionally, the third type of condition information may be used to indicate values of multiple fields or vectors corresponding to values of multiple fields. The logical relationship between the values of the multiple fields may be "and" or "or".
[0170] After determining the third type of condition information, the server can determine the target object according to the third type of condition information. Specifically, if the third type of condition information can indicate the conditions that N fields of the target object need to meet, the server can determine whether there is a condition object that meets each field in the database one by one.
[0171] Specifically, the third category of condition information may include multiple sub-condition information. The logical relationship between the multiple sub-condition information may be "or". That is, if the object satisfies any one of the multiple sub-condition information, it can be determined that the object satisfies the third category of condition information. Accordingly, when determining the target object, it can be determined whether the object satisfies each sub-condition information. If the object satisfies any one of the sub-condition information, it can be determined that the object satisfies the third category of condition information.
[0172] For example, in the above example, the third category of condition information may include sub-condition information 1: the values of the "nationality" field include values corresponding to English-speaking countries, sub-condition information 2: the values of the "professional skills certificate" field include professional skills certificates related to English, sub-condition information 3: the vector corresponding to the value of the "work experience" field is related to companies in English-speaking countries, and sub-condition information 4: the vector corresponding to the value of the "work experience" field is related to positions that require the use of English.
[0173] In the embodiment of the present disclosure, the sub-condition information may be used to indicate a single field or multiple fields.
[0174] In the first implementation, the sub-condition information can be used to indicate a single field. If a field of an object meets the requirements of the sub-condition information, it can be determined that the object meets the sub-condition information. For example, the sub-condition information can be used for the value of a field, and accordingly, the value of the field of the object that meets the sub-condition information matches the value required by the sub-condition information. For another example, the sub-condition information can be used for the vector corresponding to the value of a field, and accordingly, the vector corresponding to the value of the field of the object that meets the sub-condition information matches the vector required by the sub-condition information.
[0175] In a second implementation, the sub-condition information is used to indicate multiple fields. If multiple fields of an object meet the requirements of the sub-condition information, the object can meet the sub-condition information. For example, the first sub-condition information can be used to indicate the values of multiple fields, or the first sub-condition information can be used to indicate the vectors corresponding to the values of multiple fields, or the first sub-condition information can be used to indicate the value of at least one field and the vector corresponding to at least one field.
[0176] It should be noted that the above two implementations can exist at the same time. For example, among the multiple sub-condition information included in the third type of condition information, some sub-condition information can indicate a single field, and some sub-condition information can be used to indicate multiple fields.
[0177] It should be noted that the above three implementation methods are only examples. In actual scenarios, other implementation methods can be used to determine the target object, or the above three implementation methods can be combined to determine the target object. For example, if the user's intention is more complex, including intentions that can be described by the first type of conditional information, intentions that can be described by the second type of conditional information, and intentions that can be described by the third type of conditional information. Then the server can combine the above three types of conditional information to determine the target object. For details, please refer to the following text Figure 3 The corresponding implementation method is introduced here.
[0178] In actual scenarios, the target object determined based on the conditional information may not meet the requirements of object search information. For example, if the client diffuses the intent information, the conditional information diffused by the intent may not meet the requirements of object search information. To this end, the server can determine at least one possible target object based on the conditional information, and then determine whether the at least one possible target object meets the requirements of object search information. For example, the server can call the third model to determine whether the possible target object meets the requirements of object search information. For an introduction to this part, please refer to Figure 3 , I will not go into details here.
[0179] The above introduces a variety of ways to determine the target object. Figure 3 Provide a detailed introduction.
[0180] See also Figure 3 , which is a schematic diagram of an implementation method for determining a target object provided by an embodiment of the present disclosure. Figure 3 In a corresponding implementation, the server may determine the target object by combining the first type of condition information, the second type of condition information, and the third type of condition information.
[0181] like Figure 3 As shown, the method specifically comprises the following steps:
[0182] S301: The server determines first-category intent information, second-category intent information, and third-category intent information according to the intent information.
[0183] In the disclosed embodiment, the server may call the first model to parse the object search information to determine the intent information. After determining the intent information, the server may further determine the first type of intent information, the second type of intent information, and the third type of intent information based on the intent information. Among them, the first type of intent information corresponds to the first type of condition information, the second type of intent information corresponds to the second type of condition information, and the third type of intent information corresponds to the third type of condition.
[0184] Specifically, intent information parsing rules may be pre-set. Intent information parsing rules are used to parse intent information. After acquiring the intent information, the server may divide the intent information into multiple intent sub-information. Then, the server may make judgments based on the intent information parsing rules to determine whether the intent sub-information is the first type of intent information, the second type of intent information, or the third type of intent information.
[0185] For example, the intent parsing information may include first-category keywords and second-category keywords. If the intent sub-information matches the first-category keywords, the intent sub-information may be determined as first-category intent information. If the intent sub-information matches the second-category keywords, the intent sub-information may be determined as second-category intent information. If the intent sub-information does not match either the first-category keywords or the second-category keywords, the intent sub-information may be determined as third-category intent information. Among them, the above-mentioned first-category keywords may be predetermined keywords that may exist in the first-category intent information, and the above-mentioned second-category key keywords may be predetermined keywords that may exist in the second-category intent information.
[0186] In actual scenarios, the intent information may include only one or two of the first, second, and third categories of intent information, or may include the first, second, and third categories of intent information at the same time. For ease of introduction, the following takes the example of intent information including the first, second, and third categories of intent information as an example.
[0187] S302: The server determines the first type of condition information according to the first type of intent information.
[0188] After determining the first type of intent information, the server may determine the first type of condition information based on the first type of intent information.
[0189] S303: The server determines a first candidate object set according to the first type of condition information.
[0190] After determining the first type of condition information, the server may screen the objects according to the first type of condition information to determine a first candidate object set. The first candidate object set may include at least one first candidate object. The first candidate object satisfies the first type of condition information.
[0191] S304: The server determines the second type of condition information according to the second type of intent information.
[0192] After determining the second type of intent information, the server may also determine the second type of condition information based on the second type of intent information.
[0193] Optionally, step S304 may be executed before step S303, or after step S303, or simultaneously with step S303, which is not limited in the embodiment of the present disclosure.
[0194] S305: The server screens the first candidate object set according to the second type of condition information to determine the second candidate object set.
[0195] After determining the second type of condition information and the first candidate object set, the server may screen the first candidate object set according to the second type of condition information, determine at least one second candidate object from the first candidate object set, and obtain the second candidate object set.
[0196] Specifically, the second candidate object satisfies both the first type of condition information and the second type of condition information.
[0197] S306: The server sends the intention diffusion information to the second model.
[0198] exist Figure 3In the corresponding implementation, the server can call the second model to determine the third type of conditional information. Specifically, the server can generate intent diffusion information based on the third type of intent information, and send the intent diffusion information to the second model. Among them, the second model is used to diffuse the third type of intent information. Optionally, the second model can be a model with NLP capabilities, and the intent diffusion information can be prompt information. In some possible implementations, the second model can be the same model as the aforementioned first model and fourth model, or it can be a different model.
[0199] Specifically, the intention diffusion information may include the third type of intention information. The intention diffusion information may also include indication information and / or example information. The indication information is used to instruct the second model to perform intention diffusion according to the third type of intention information. The example information may be used as an example to guide the second model to perform intention diffusion. For example, the example information may include intention information before diffusion and intention information after diffusion.
[0200] According to the intent diffusion information, the second model can perform intent diffusion on the third type of intent information to determine the conditions satisfied by the value of one or more fields or the vector corresponding to the value used to indicate the target object. After the intent is diffused, the second model can send diffusion condition information to the server. The diffusion condition information is used to indicate the conditions of the objects that satisfy the third type of intent information. Optionally, the diffusion condition information may include the third type of condition information.
[0201] S307: The server receives the diffusion condition information sent by the second model, and determines the third type of condition information according to the diffusion condition information.
[0202] The second model can send diffusion condition information to the server, and the server can receive the diffusion condition information sent by the second model and determine the third type of condition information according to the diffusion condition information. Optionally, step S306 and step S307 can be performed before step S303, or after step S303, or simultaneously with step S303, which is not limited in the embodiment of the present disclosure.
[0203] S308: The server screens the second candidate object set according to the third type of condition information to determine a third candidate object set.
[0204] After determining the third type of condition information and the second candidate object set, the server may further screen the second candidate object set according to the third type of condition information, determine at least one third candidate object from the first candidate object set, and obtain the third candidate object set.
[0205] The third candidate object satisfies the first type of condition information, the second type of condition information and the third type of condition information at the same time.
[0206] S309: The server sends object judgment information to the third model.
[0207] After determining the third candidate object set, the server can generate object judgment information and send the object judgment information to the third model. The object judgment information includes relevant information of at least one third candidate object and object search information. The third model can determine whether each third candidate object meets the requirements of the object search information.
[0208] Specifically, if the third candidate object meets the requirements of the object search information, it means that the third candidate object can meet the needs of the user and can be determined as the target object for display to the user. If the third candidate object does not meet the requirements of the object search information, it means that the third candidate object cannot meet the needs of the user and cannot be determined as the target object for display to the user. In this way, by making judgments through the third model, problems such as AI hallucination can be avoided.
[0209] Optionally, the third model may be a model with NLP capabilities, and the object judgment information may be prompt information. Optionally, the third model and the first module, the second model and the fourth model may be the same model or different models.
[0210] S310: The server receives the object judgment result information sent by the third model.
[0211] After making a judgment according to the object judgment information, the third model may generate object judgment result information. The object judgment result information is used to indicate that the third candidate object can be determined as the target object. The third model may send the object judgment result information to the server. The server may obtain the object judgment result information from the third model.
[0212] S311: The server determines at least one target object according to the object determination result information.
[0213] According to the object judgment result information sent by the third model, the server can determine whether the third candidate object in the third candidate object set meets the object search information. The server can determine the third candidate object that can meet the object search information as the target object to complete the determination of the target object.
[0214] exist Figure 3 In the corresponding implementation, the server can determine the target object by filtering multiple times, so as to improve the accuracy of the target object so that the determined target object better meets the needs of the user. In addition, by calling the model multiple times, the matching degree between the target object and the user's needs can be further improved.
[0215] The above describes some implementation methods of the server searching for the target object based on the object search information sent by the client. The following describes the data processing method performed by the client in this process.
[0216] See also Figure 4 , which is a schematic diagram of an implementation method for determining a target object provided by an embodiment of the present disclosure. Figure 4 In a corresponding implementation, the client can call the client to find the target object and display the information of the target object to the user.
[0217] like Figure 4 As shown, the method specifically comprises the following steps:
[0218] S401: receiving a target message in a target session.
[0219] If the user wants to search for a target object through the client, the user can send a target message through the client in the coding session, wherein the target message includes object search information, indicating the conditions satisfied by the target object that the user wants to search for.
[0220] Optionally, if the client is a client of IM software and the server is a server of IM software, then the target message may be an IM message. The target session may be an IM session.
[0221] In the disclosed embodiment, the target session may be an IM single chat session or an IM group chat session. That is, the user may send the target message in the IM single chat session or the IM group chat session. The following will introduce each of them.
[0222] In a first implementation manner, the target session is an IM single chat session.
[0223] Optionally, the user can send the target message through the IM single chat session corresponding to the intelligent assistant. The intelligent assistant can be a pre-set interface of the service associated with the first model, for example, the intelligent assistant can be a pre-set IM dialogue robot. The IM message sent by the user to the intelligent assistant can be forwarded to the first model by the server.
[0224] Alternatively, the user can send the target message in other IM single chat sessions and invoke the intelligent assistant to parse the target message. Accordingly, after obtaining the user-triggered operation of invoking the intelligent assistant to parse the target message, the client can send the target message to the server so that the server calls the first model to parse the object search information. For the introduction of this part, please refer to the above, which will not be repeated here.
[0225] In the second implementation manner, the target message is sent by a user in an IM group chat session.
[0226] Optionally, the user can send a target message in an IM group chat session and invoke the intelligent assistant to parse the target message. Accordingly, after obtaining the user-triggered operation of invoking the intelligent assistant to parse the target message, the client can send object search information to the server so that the server calls the first model to parse the object search information.
[0227] Specifically, the user can send a target message via an IM message in an IM group chat session. Then, the user can trigger the operation of the intelligent assistant to parse the IM message. For example, the user can first trigger a right-click operation on the IM message to evoke the client to display an operation control menu. Then, the user can trigger an operation on the control corresponding to the intelligent assistant in the operation control menu to trigger the intelligent assistant to parse the object search information in the IM message.
[0228] S402: Determine at least one target object according to the object search information.
[0229] After receiving the target message, the client can call the server to determine at least one target object according to the object search information. For an introduction to this part, please refer to the above text and will not be repeated here.
[0230] S403: Display the reply message in the target conversation.
[0231] After the target object is determined by the server, the client can generate a reply message based on the target object's information and display it in the target session so that the user can understand the target object's information by viewing the reply message.
[0232] Optionally, the reply message may include text reply content and an object information list, wherein the text reply content is used to indicate that the reply message is a reply content for the target message, and the object information list is used to display the information of the target object.
[0233] Optionally, the object information list may include one or more information cards, each of which may be used to display information of a target object. Optionally, if there are multiple target objects, the client may display multiple message cards, each of which may be used to display relevant information of a target object. Alternatively, the message card displayed by the client may also include multiple sub-cards, each of which may be used to display relevant information of a target object.
[0234] Optionally, if the object search information is sent by the user in an IM chat session corresponding to the smart assistant, the client can display the message card in the current IM session. Alternatively, if the object search information is sent by the user in an IM chat session corresponding to a non-intelligent assistant, the client can display the message card in the current IM session, or can jump to the IM chat session corresponding to the smart assistant and display the message card in the IM chat session corresponding to the smart assistant.
[0235] In actual scenarios, the number of target objects may be large. Thus, displaying the information of all target objects at once may not be convenient for users to view. Moreover, the server may need more network resources to send the relevant information of all target objects to the client at once. Therefore, in some possible implementations, the object display information that the server can send to the client can be generated based on the information of some target objects, and the client can display the relevant information of some target objects to the user.
[0236] For example, assuming that the server determines N target objects (N is a positive integer) based on the intent information, the server can first select M target objects (M is a positive integer less than N) from the N target objects, and then generate object display information based on the information of the selected M target objects and send it to the client. In this way, the client can only display the information of the M target objects, without having to display the information of the N target objects at one time.
[0237] In the above example, the server can determine the target object whose relevant information is displayed based on the relevance between the target object and the object search information. For example, the M target objects selected above can be the M target objects with the highest relevance to the object search information among the N target objects. Optionally, the relevance between the target object and the object search information can be determined based on a model, for example, the relevance between the target object and the object information can be determined by the third model (or other models) described below. For an introduction to this part, please refer to the following and will not be repeated here.
[0238] If the client displays relevant information of some target objects to the user, in some scenarios, the target objects displayed by the client to the user may not meet the user's needs. For this reason, the user may want to view other target objects. For this reason, when displaying relevant information of some target objects, the client may also display an object expansion control. After the user triggers the object expansion control, the client may send a data acquisition request to the server. The server may generate new object display information according to the data acquisition request sent by the client and send the new object display information to the client. The new object display information may be determined according to the relevant information of all target objects.
[0239] Using the above example, assume that the server determines N target objects and the client displays M target objects. After the user triggers the expansion operation, the client can display information of K target objects in the target session. The sum of M and K is not greater than N.
[0240] Optionally, the server may display the information of the K target objects based on the reply message, or may display a new message in the target session and display the information of the K target objects through the new message. The new message may be referred to as expanded information.
[0241] In the implementation described above, the server may first send a portion of the target object's related information to the client, and then send another portion of the target object's related information to the client according to the operation triggered by the user. In some other possible implementations, the server may also send all the target object's related information to the client, and the client may only display the related information of a portion of the target object at a time. After the user triggers the operation, the client may display the other portion of the target object's related information.
[0242] In some implementations, there may be a lot of relevant information about the target object. A larger display area may be required to fully display the relevant information about the target object. This may affect the user experience of the user using the client. To this end, in some implementations, the relevant information about the target object may also be displayed in thumbnails. Moreover, after obtaining the information expansion display operation triggered by the user, the complete relevant information of the target object may be displayed to the user.
[0243] For example, a word count threshold and / or a line count threshold may be preset. If the word count of a certain relevant information of the target object reaches the word count threshold, and / or the line count reaches the line count threshold, the client may display the relevant information in thumbnails. For example, relevant information within the word count threshold may be displayed, and / or relevant information within the line count threshold may be displayed. Optionally, the client may also display an information expansion control, and the user may trigger the information expansion operation through the information expansion control.
[0244] After obtaining the information expansion operation triggered by the user for a certain relevant information of the target object, the client can display the complete relevant information. For example, the client can expand the display area used to display the relevant information in the current page to display the complete relevant information through a larger display area. Alternatively, the client can also jump to other pages or pop-up sub-pages to display the complete relevant information through the jump or pop-up page.
[0245] Based on the data processing method provided by the above method embodiment, the embodiment of the present disclosure also provides a data processing device, which can be run on the server. The data processing device will be described below in conjunction with the accompanying drawings.
[0246] See also Figure 5 As shown in FIG. 1 , this figure is a schematic diagram of the structure of a data processing device provided by an embodiment of the present disclosure. Figure 5 As shown, the data processing device includes:
[0247] An acquisition unit 510 is used to receive object search information sent by a client;
[0248] A first sending unit 520, configured to send intent resolution information to a first model, wherein the intent resolution information is generated based on the object search information;
[0249] A second receiving unit 530 is used to receive the intention information sent by the first model, where the intention information is determined according to the object search information;
[0250] The generating unit 540 is used to send object display information to the client, where the object display information is determined according to information of at least one target object, the target object is determined according to the intent information, and the target object matches the object search information.
[0251] In some possible implementations, the device further includes a determination unit, which is configured to determine condition information based on the intention information; and determine at least one of the target objects based on the condition information, wherein information of the target object matches the condition information.
[0252] In some possible implementations, the intent information includes at least one first-category intent information, and the condition information includes first-category condition information, wherein the first-category intent information is used to describe the first-category condition information; the determination unit is specifically used to determine a first candidate object set from an original object set based on the first-category condition information, wherein information of objects in the first candidate object set matches the first-category condition information; and determine the at least one target object from the first candidate object set.
[0253] In some possible implementations, the intent information also includes at least one second-category intent information, and the condition information also includes second-category condition information, wherein the second-category condition information is obtained by vectorizing the at least one second-category intent information; the determination unit is specifically used to screen the first candidate object set, determine the second candidate object set, and the vector of the information of the objects in the second candidate set matches the second-category condition information; and determine the at least one target object from the second candidate set.
[0254] In some possible implementations, the intent information also includes at least one third category of intent information, and the condition information also includes third category of condition information; the determination unit is specifically used to perform intent diffusion on the at least one third category of intent information to obtain the third category of condition information; screen the second candidate object set to determine a third candidate object set, and the vector of information of the objects in the third candidate set matches the third category of condition information; and determine the at least one target object from the third candidate object set.
[0255] In some possible implementations, the first sending unit 520 is also used to send intention diffusion information to the second model, the intention diffusion information is obtained based on the third category of intention information and instruction information, and the instruction information is used to indicate the rules of intention diffusion; the second receiving unit 530 is also used to receive diffusion condition information sent by the second model, and the diffusion condition information is used to indicate the conditions of the objects that meet the third category of intention information; the determination unit is also used to determine the third category of condition information based on the diffusion condition information.
[0256] In some possible implementations, the third candidate object set includes a third candidate object, and the determination unit is further used to determine whether the information of the third candidate object satisfies the object search information; in response to the information of the third candidate object satisfying the object search information, the third candidate object is determined as the target object.
[0257] In some possible implementations, the third candidate object set includes candidate objects, and the first sending unit 520 is further used to obtain information about the candidate objects; send object judgment information to the third model, and the object judgment information is obtained based on the object search information and the information of the candidate objects; the second receiving unit 530 is further used to receive object judgment result information sent by the third model, and the object judgment result information indicates whether the information of the candidate object satisfies the object search information.
[0258] In some possible implementations, the object display information includes summary information of the at least one target object, and the device also includes a processing unit, which is used to obtain information of the at least one target object; summarize the information of each of the target objects, and determine the summary information of each of the target objects.
[0259] In some possible implementations, the at least one target object includes a first target object, and the processing unit is specifically used to determine a first category of display information and a second category of display information based on information of the first target object, the length of the second category of display information being greater than the length of the first category of display information; summarizing the second category of display information; and determining summary information of the first target object based on the first category of display information and the summarized second category of display information.
[0260] In some possible implementations, the first sending unit 520 is further used to send original display information to the fourth model, where the original display information is determined based on the second category of display information; the second receiving unit 530 is further used to receive display summary information sent by the fourth model, where the display summary information includes the summarized second category of display information.
[0261] Based on the data processing method provided by the above method embodiment, the present disclosure embodiment also provides a data processing device, which can be run on a client. The data processing device will be described below in conjunction with the accompanying drawings.
[0262] See also Figure 6 As shown in FIG. 1 , this figure is a schematic diagram of the structure of a data processing device provided by an embodiment of the present disclosure. Figure 6 As shown, the data processing device includes:
[0263] The receiving unit 610 is configured to receive a target message in a target session, wherein the target message includes object search information;
[0264] A determination unit 620, configured to determine at least one target object according to the object search information, the target object matching the object search information;
[0265] The display unit 630 is used to display a reply message in the target conversation, where the reply message includes object display information, and the object display information is determined according to the information of the at least one target object.
[0266] In some possible implementations, the reply message includes text reply content and an object information list, and the object information list is used to display information of the at least one target object.
[0267] In some possible implementations, the object information list includes at least one information card, and the information card is used to display information of one of the target objects.
[0268] In some possible implementations, the at least one target object includes N target objects, where N is a positive integer greater than 1; the object information list is used to display information of M target objects, and the reply message also includes an object expansion control; the display unit 630 is also used to display information of K target objects in the target session in response to a first operation triggered by the object expansion control, where K is a positive integer, and the sum of M and K is not greater than N.
[0269] In some possible implementations, the display unit 630 is specifically used to display the information of the K target objects in the reply message in response to a first operation triggered by an expansion control of the object; or to display expansion information in the target session, wherein the expansion information is used to display the information of the K target objects.
[0270] Based on the data processing method provided by the above method embodiments, the present disclosure also provides an electronic device, including: one or more processors; a storage device, on which one or more programs are stored, when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method as described in any of the above embodiments.
[0271] Reference below Figure 7 , which shows a schematic diagram of the structure of an electronic device 700 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (portable android devices), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs (televisions), desktop computers, etc. The electronic device shown in the figure is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.
[0272] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0273] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0274] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable storage medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0275] The electronic device provided in the embodiment of the present disclosure and the data processing method and file sending method provided in the above-mentioned embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above-mentioned embodiment, and this embodiment has the same beneficial effects as the above-mentioned embodiment.
[0276] Based on the method provided in the above method embodiments, an embodiment of the present disclosure provides a computer storage medium on which a computer program is stored, wherein when the program is executed by a processor, the data processing method as described in any of the above embodiments is implemented.
[0277] It should be noted that the computer-readable storage medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable storage medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0278] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0279] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0280] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the data processing method.
[0281] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0282] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0283] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit / module does not limit the unit itself in some cases. For example, a voice data acquisition module may also be described as a "data acquisition module".
[0284] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0285] In the context of the present disclosure, a machine-readable storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0286] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0287] It should be understood that in the present disclosure, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0288] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0289] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data processing method, characterized in that: include: Get object lookup information; Sending intent resolution information to the first model, wherein the intent resolution information is generated based on the object search information; receiving intent information sent by the first model, wherein the intent information is determined according to the object search information; Object display information is generated, where the object display information is determined based on information of at least one target object, where the target object is determined based on the intent information, and where the target object matches the object search information.
2. The method according to claim 1, characterized in that After receiving the intention information and before sending the object display information, the method further includes: determining condition information according to the intention information; At least one of the target objects is determined according to the condition information, and information of the target object matches the condition information.
3. The method according to claim 2, characterized in that The intention information includes at least one first-category intention information, the condition information includes first-category condition information, and the first-category intention information is used to describe the first-category condition information; Determining at least one target object from the object information database comprises: Determine a first candidate object set from the original object set according to the first type of condition information, wherein information of objects in the first candidate object set matches the first type of condition information; The at least one target object is determined from the first candidate object set.
4. The method according to claim 3, characterized in that The intent information further includes at least one second-category intent information, and the condition information further includes second-category condition information, where the second-category condition information is obtained by vectorizing the at least one second-category intent information; Determining the at least one target object from the first candidate object set includes: Screening the first candidate object set to determine a second candidate object set, wherein vectors of information of objects in the second candidate set match the second type of condition information; The at least one target object is determined from the second candidate set.
5. The method according to claim 4, characterized in that The intention information further includes at least one third type of intention information, and the condition information further includes third type of condition information; The determining of condition information according to the intention information includes: Performing intent diffusion on the at least one third-category intent information to obtain the third-category condition information; Determining the at least one target object from the second candidate object set comprises: Screening the second candidate object set to determine a third candidate object set, wherein the vectors of information of objects in the third candidate set match the third type of condition information; The at least one target object is determined from the third candidate object set.
6. The method according to claim 5, characterized in that The performing intent diffusion on the at least one third-category intent information to obtain the third-category condition information includes: Sending intention diffusion information to the second model, where the intention diffusion information is obtained based on the third type of intention information and instruction information, where the instruction information is used to indicate a rule for intention diffusion; receiving diffusion condition information sent by the second model, where the diffusion condition information is used to indicate conditions of objects satisfying the third type of intent information; The third type of condition information is determined according to the diffusion condition information.
7. The method according to claim 5, characterized in that The third candidate object set includes third candidate objects, and screening the second candidate object set to determine the third candidate object set includes: Determining whether the information of the third candidate object satisfies the object search information; In response to the information of the third candidate object satisfying the object search information, the third candidate object is determined as the target object.
8. The method according to claim 7, characterized in that The third candidate object set includes candidate objects, and the determining whether information of the third candidate object satisfies the object search information includes: Obtaining information of the candidate object; Sending object judgment information to a third model, where the object judgment information is obtained according to the object search information and the information of the candidate object; The object judgment result information sent by the third model is received, where the object judgment result information indicates whether the information of the candidate object satisfies the object search information.
9. The method according to any one of claims 1 to 8, characterized in that: The object display information includes summary information of the at least one target object. Before sending the object display information, the method further includes: Acquiring information of the at least one target object; The information of each of the target objects is summarized to determine the summary information of each of the target objects.
10. The method according to claim 9, characterized in that The at least one target object includes a first target object, and the determining summary information of each target object includes: determining first-category display information and second-category display information according to the information of the first target object, wherein the length of the second-category display information is greater than the length of the first-category display information; Summarizing the second type of display information; Determine summary information of the first target object according to the first category of display information and the summarized second category of display information.
11. The method according to claim 10, characterized in that The summarizing the second type of display information includes: Sending original display information to a fourth model, where the original display information is determined according to the second type of display information; The display summary information sent by the fourth model is received, where the display summary information includes the summarized second-category display information.
12. A data processing method, characterized in that: include: receiving a target message in a target session, the target message including object lookup information; Determining at least one target object according to the object search information, the target object matching the object search information; A reply message is displayed in the target conversation, wherein the reply message includes object display information, and the object display information is determined according to information of at least one target object.
13. The method according to claim 12, characterized in that The reply message includes text reply content and an object information list, and the object information list is used to display information of the at least one target object.
14. The method according to claim 13, characterized in that The object information list includes at least one information card, and the information card is used to display information of one of the target objects.
15. The method according to claim 13, characterized in that The at least one target object includes N target objects, where N is a positive integer greater than 1; the object information list is used to display information of the M target objects, and the reply message also includes an object expansion control; the method further includes: In response to a first operation triggered by an expansion control for the object, information of K target objects is displayed in the target session, where K is a positive integer, and a sum of M and K is not greater than N.
16. The method according to claim 15, characterized in that The information of K target objects displayed in the target session includes: In response to a first operation triggered by an expansion control of the object, information of the K target objects is displayed in the reply message; or, expansion information is displayed in the target session, wherein the expansion information is used to display the information of the K target objects.
17. A data processing device, characterized in that: include: An acquiring unit, configured to acquire object search information, wherein the object search information is information described based on an unstructured language; A first sending unit, configured to send intent resolution information to a first model, wherein the intent resolution information is generated based on the object search information; A second receiving unit is used to receive the intention information sent by the first model, the intention information is determined according to the object search information, and the intention information is information based on a structured language description; A generating unit is used to generate object display information, wherein the object display information is determined according to information of at least one target object, the target object is determined according to the intention information, and the target object matches the object search information.
18. A data processing device, characterized in that: include: A receiving unit, configured to receive a target message in a target session, wherein the target message includes object search information; a determining unit, configured to determine at least one target object according to the object search information, the target object matching the object search information; A display unit is used to display a reply message in the target conversation, wherein the reply message includes object display information, and the object display information is determined according to information of the at least one target object.
19. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 16.
20. A computer-readable storage medium, characterized in that: A computer program is stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 16 is implemented.
Citation Information
Patent Citations
Data processing method and device
CN112800084A
Automatic resume searching method, automatic recruitment system and computer storage medium
CN113434687A
Intention understanding method and device, equipment and storage medium
CN113901837A
