Data processing method and device, equipment and storage medium
By using data processing methods in human resources management and using keywords and intent diffusion technology to automatically match and present employee information, the problem of low information search efficiency is solved and the efficiency of human resources management is improved.
Patent Information
- Application Number
- CN202311560020.X
- 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
The existing technology has low information search efficiency in human resources management, especially in large enterprises or databases. Users need to manually search for employee information, resulting in a waste of time and energy.
Provide a data processing method to obtain target object information by receiving target messages containing keywords, and present reply messages in the target conversation, including charts, tables and information cards, using intent diffusion and intent parsing technology to automatically match and filter information and improve the efficiency of information search.
It realizes automatic search and matching of information, improves search efficiency, reduces users' time and energy for manual search in the human resources database, and is suitable for information management of large enterprises.
Smart Images

Figure CN118657499A
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] Receiving a target message for a target object in a target session, the target message including a keyword set;
[0008] According to the keyword set, target information of the target object is acquired, wherein the target information matches keywords in the keyword set;
[0009] A reply message including the target information is presented in the target session.
[0010] In some possible implementations, the keyword set includes profile keywords and / or indicator keywords.
[0011] In some possible implementations, acquiring target information of the target object according to the keyword set includes:
[0012] Obtaining summary information of the target object according to the profile keywords, wherein the summary information includes at least one of the following: basic work information, work content, work ability, and work performance; or
[0013] The indicator information of the target object is obtained according to the indicator keyword, and the indicator information includes at least one of the following: personnel information, performance information, recruitment information, OKR information, and salary information.
[0014] In some possible implementations, presenting the reply message including the target information in the target session includes:
[0015] The reply message may include a chart, a table and / or an information card, wherein the chart, the table and / or the information card are generated based on the overview information or the indicator information.
[0016] In some possible implementations, acquiring target information of the target object according to the keyword set includes:
[0017] Sending intention diffusion information to the first model, where the intention diffusion information is obtained according to the first keyword in the keyword set;
[0018] receiving intention diffusion result information sent by the first model, wherein the intention diffusion result information includes at least one diffusion keyword, and the diffusion keyword is obtained by performing intention diffusion on the first keyword;
[0019] A query is performed according to the at least one diffusion keyword to obtain diffusion information of the target object, where the target information includes the diffusion information.
[0020] In some possible implementations, querying according to the at least one diffusion keyword to obtain the diffusion information of the target object includes:
[0021] The diffusion information of the target object is acquired from an information source corresponding to the diffusion keyword.
[0022] In some possible implementations, the reply message also includes a reference area; the reference area is used to display the diffusion information of the target object.
[0023] In some possible implementations, the reference area includes at least one of the following diffusion information: personnel information, performance information, recruitment information, OKR information, and salary information.
[0024] Some possible implementations also include:
[0025] In response to a first triggering operation on the diffusion information of the reference area, displaying the content of the diffusion information in the target session; or,
[0026] In response to a second trigger operation on the diffusion information of the reference area, an information page of an information source of the diffusion information is called up, and content of the diffusion information is displayed in the information page.
[0027] In some possible implementations, the keyword set further includes a second keyword, and acquiring target information of the target object according to the target keyword includes:
[0028] A query is performed according to the second keyword to obtain accurate information of the target object, where the target information also includes the accurate information.
[0029] In some possible implementations, the target information includes identification information of the target object.
[0030] In some possible implementations, the method further includes:
[0031] Determine at least one candidate object according to the identification information;
[0032] Sending object confirmation request information to the client, wherein the object confirmation information is obtained according to information of the at least one candidate object;
[0033] Obtaining object confirmation response information sent by the client, wherein the object confirmation response information indicates the target object;
[0034] The target object is determined according to the object confirmation response information.
[0035] In some possible implementations, the target information includes object requirement information;
[0036] The method further comprises:
[0037] Sending intent resolution information to a second model, wherein the intent resolution information is generated based on the object search information;
[0038] receiving intent information sent by the second model, wherein the intent information is determined according to the object search information;
[0039] The target object is determined according to the intention information, and the information of the target object matches the intention information.
[0040] In some possible implementations, after acquiring the target information of the target object and before displaying the reply message, the method further includes:
[0041] Sending object summary information to a third model, wherein the object summary information is obtained according to the target information of the target object;
[0042] receiving object summary response information sent by the third model, wherein the object summary response information includes summarized target information of the target object;
[0043] The reply message is generated according to the summarized target information of the target object.
[0044] In a second aspect, the present disclosure provides a data processing device, comprising:
[0045] A receiving unit, configured to receive a target message for a target object in a target session, wherein the target message includes a keyword set;
[0046] an acquisition unit, configured to acquire target information of the target object according to the keyword set, wherein the target information matches keywords in the keyword set;
[0047] A presentation unit is used to present a reply message containing the target information in the target session.
[0048] In some possible implementations, the keyword set includes profile keywords and / or indicator keywords.
[0049] In some possible implementations, the acquisition unit is specifically used to acquire overview information of the target object based on the profile keywords, and the overview information includes at least one of the following: basic work information, work content, work ability, and work performance; or, to acquire indicator information of the target object based on the indicator keywords, and the indicator information includes at least one of the following: personnel information, performance information, recruitment information, OKR information, and salary information.
[0050] In some possible implementations, the display unit is specifically used to present charts, tables and / or information cards in the reply message, and the charts, tables and / or information cards are generated based on the overview information or the indicator information.
[0051] In some possible implementations, the acquisition unit is specifically used to send intention diffusion information to the first model, and the intention diffusion information is obtained based on the first keyword in the keyword set; receive intention diffusion result information sent by the first model, and the intention diffusion result information includes at least one diffusion keyword, and the diffusion keyword is obtained by performing intention diffusion on the first keyword; query according to the at least one diffusion keyword to obtain diffusion information of the target object, and the target information includes the diffusion information.
[0052] In some possible implementations, the acquisition unit is specifically configured to acquire the diffusion information of the target object from an information source corresponding to the diffusion keyword.
[0053] In some possible implementations, the reply message also includes a reference area; the reference area is used to display the diffusion information of the target object.
[0054] In some possible implementations, the reference area includes at least one of the following diffusion information: personnel information, performance information, recruitment information, OKR information, and salary information.
[0055] In some possible implementations, the display unit is also used to display the content of the diffusion information in the target session in response to a first trigger operation on the diffusion information of the reference area; or, in response to a second trigger operation on the diffusion information of the reference area, call up an information page of the information source of the diffusion information and display the content of the diffusion information in the information page.
[0056] In some possible implementations, the keyword set further includes a second keyword, and the acquisition unit is specifically configured to perform a query based on the second keyword to obtain precise information of the target object, and the target information further includes the precise information.
[0057] In some possible implementations, the target information includes identification information of the target object.
[0058] In some possible implementations, the acquisition unit is further used to determine at least one candidate object based on the identification information; send object confirmation request information to the client, the object confirmation information is obtained based on the information of the at least one candidate object; obtain object confirmation response information sent by the client, the object confirmation response information indicates the target object; and determine the target object based on the object confirmation response information.
[0059] In some possible implementations, the target information includes object requirement information; the acquisition unit is also used to send intent resolution information to the second model, and the intent resolution information is generated based on the object search information; receive the intent information sent by the second model, and the intent information is determined based on the object search information; determine the target object based on the intent information, and the information of the target object matches the intent information.
[0060] In some possible implementations, the acquisition unit is also used to send object summary information to a third model, where the object summary information is obtained based on the target information of the target object; receive object summary response information sent by the third model, where the object summary response information includes the summarized target information of the target object; and generate the reply message based on the summarized target information of the target object.
[0061] In a third aspect, the present disclosure provides an electronic device, including:
[0062] one or more processors;
[0063] a storage device having one or more programs stored thereon,
[0064] 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.
[0065] 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, any method described in the first aspect is implemented.
[0066] In a fifth aspect, the present disclosure provides a computer program product. When the computer program product is executed on a device, the device executes the method according to the first aspect.
[0067] It can be seen that the present disclosure has the following beneficial effects:
[0068] The present disclosure provides a data processing method, apparatus, device and storage medium. Specifically, if a user wants to view a certain aspect (or information of multiple aspects) of a certain object, the user can send a target message in a target session. The target message is a message sent to the target object, which is used to request to view the information of the target object, and the target message also includes a keyword set, and the information requested to be viewed by the target message corresponds to the keyword information. After obtaining the target message, the target information of the target object can be obtained according to the keyword set. The target information of the target object matches the keywords in the keyword set. Then, a reply message including the target information can be presented in the target session so that the user can view the target information in the reply message through the target session. That is to say, if the user wants to view certain information of a certain (or multiple) object, the user can send his own needs in the target session in the form of a target message, and see the target information to be viewed in the target session. In this way, it can be determined what information needs to be displayed to the user according to the user's needs, without the user manually searching for the information to be viewed. In this way, automatic information search is achieved by parsing the user's intention, which improves the search efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] 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.
[0070] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;
[0071] Figure 2 A flowchart of a data processing method provided by an embodiment of the present disclosure;
[0072] Figure 3 A flowchart of a method for displaying target information of a target object provided by an embodiment of the present disclosure;
[0073] Figure 4 A schematic diagram of a data processing device provided in an embodiment of the present disclosure;
[0074] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0075] 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.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] 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".
[0080] When performing human resource management, users may need to view certain information of employees. For example, users may need to view specific information of one or more specific employees. For another example, users may need to view information of employees with certain attributes. Currently, users responsible for managing human resources can browse the human resource database and select employees that meet the requirements.
[0081] For example, if the position of employee A needs to be changed, the user responsible for managing human resources may need to view the information of employee A. If employee A needs to be transferred to a management position, the user responsible for managing human resources may need to view information that can reflect the management ability of employee A. If employee A needs to be transferred to a technical position related to front-end development, the user responsible for managing human resources may need to view information that can reflect the technical ability of employee A, specifically information that reflects employee A's technical ability in front-end development.
[0082] For another example, if there is a vacancy in position B, the user responsible for managing human resources may need to view the information of candidates for position B. If position B is a management position, the user responsible for managing human resources may need to view the information of employees with strong management capabilities. If position B is a technical expert position, the user responsible for managing human resources may view the information of employees with strong technical capabilities.
[0083] Currently, users need to search for employee information in person from 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.
[0084] In other scenarios, there is also a need to obtain certain information about an object, and the above-mentioned low efficiency problem also exists.
[0085] 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.
[0086] 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.
[0087] 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 of the user. 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. The user may use the client 110 to send messages. Messages sent by the user on the client 110 may be forwarded to the server by the client 110.
[0088] 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 world. 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 return 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).
[0089] The database 140 may also be run on a server or server cluster to store object-related data. 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.
[0090] 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 and a third model 160 may also be included. The second model 150 and the third model 160 may be connected to the server 120 via a network. Since the second model 150 and the third model 160 are optional, Figure 1 Indicated by dotted lines.
[0091] 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.
[0092] 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 a user views information of an object through a server. The data processing method can be executed by a data processing device, and the data processing determination device can be implemented by software.
[0093] Optionally, the data processing device can be integrated into the client or server of the software. The client of the software can run on a terminal device, and the server of the software can run on a server or a server cluster to provide corresponding services for 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 client 110 or the server 120. The following description is based on the data processing device being integrated into the client 110. Figure 2 As shown, the method specifically comprises the following steps:
[0094] S201: receiving a target message for a target object in a target session.
[0095] In the embodiment of the present disclosure, if a user wants to view information of a specific object, or view information of an object that meets certain conditions, the user can input a target message through a target session on the client. The target message is triggered for a target object and includes a keyword set. The target object indicates the object whose information the user wants to view. The keyword set may include one or more keywords. The keywords in the keyword set are used to indicate the information the user wants to view.
[0096] In the embodiment of the present disclosure, the target object may be an employee who meets the user's needs, or may be other objects.
[0097] In the embodiment of the present disclosure, the target message is a message for the target object. Based on the target message, the server can determine the object (i.e., the target object) that the user wants to view information about. In order to enable the server to determine the target object based on the target message, the target message may include relevant information about the target object. In the embodiment of the present disclosure, the relevant information about the target object may include the identification of the target object or object search information. That is, the target information may include the identification information of the target object, and may also include object search information. The following will introduce
[0098] In a first implementation manner, the target message includes identification information of the target object.
[0099] The identification information of the target object is used to identify the target object. The server can determine the target object according to the identification information of the target object.
[0100] Optionally, the identification information of the target object can be used to uniquely identify the target object. For example, the identification information of the target object can include any one or more of the target object's work number, the target object's object number, and the like. Accordingly, after acquiring the target message, the server can uniquely determine the target object according to the identification information of the target object.
[0101] Alternatively, although the identification information of the target object can identify the target object, the server may not be able to uniquely determine the target object according to the identification information of the target object. To this end, the server may interact with the client once or multiple times.
[0102] Specifically, the server may first determine at least one candidate object based on the identification information of the target object and obtain the information of the candidate object. Then, the server may determine the object confirmation request information based on the information of the at least one candidate object and send the object confirmation request information to the client. The client may display the object confirmation display content to the user based on the object confirmation request information. The object confirmation display content is used to display the information of at least one candidate object, and may include, for example, a business card corresponding to each candidate object. The user may browse the object confirmation display content and select a target object from at least one candidate object. Based on the target object selected by the user, the client may generate object confirmation response information indicating the target object and send the object confirmation response information to the server. In this way, the server may determine the target object from multiple candidate objects based on the indication of the object confirmation response information.
[0103] If the server interacts with the client multiple times, the messages sent by the client to the server in the multiple interactions can be collectively referred to as target messages.
[0104] In a second implementation, the target message includes object requirement information.
[0105] Among them, the object search information is used to describe the conditions that the object to be searched needs to meet, indicating the need to find the object. 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 second model to process the object search information.
[0106] 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.
[0107] If the target message includes object requirement information, then after obtaining the target message, the server can parse the target message to determine the object requirement information. Then, the server can determine the intent resolution information based on the object requirement information, and send the intent resolution information to the second model. The second model can parse the user's intent based on the object search information in the intent resolution information, generate intent information corresponding to the object search information, and send it to the server. The server can receive the intent information returned by the second model and determine the target object based on the intent information. Among them, the second model can be a model with NLP capabilities. For the method of the server calling the third model to determine the target object, please refer to the following, which will not be repeated here.
[0108] In the embodiments of the present disclosure, the keyword set can be described based on an unstructured language, that is, the keywords in the keyword set can be unstructured information. For example, the keyword set can be implemented based on natural language. That is, when it is necessary to display certain information of the target object, the user can describe the above "certain information" in natural language, and send the natural language description to the server through the client. For an introduction to keywords, please refer to the following, which will not be repeated here.
[0109] The target session is introduced below.
[0110] According to the previous introduction, the client can be the client of the IM software, and the server can be the server of the IM software. Then the above-mentioned target message can be an IM message sent by the client. The IM message can include a keyword set and can also include relevant information and / or a keyword set of the target object.
[0111] Optionally, the user can send the target message in an IM single chat session or an IM group chat session. The target session can be an IM single chat session or an IM group chat session. The following will introduce them respectively.
[0112] In a first implementation manner, the target message is sent by a user in an IM single chat session.
[0113] 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 service interface, and the user can call the corresponding service through the intelligent assistant. Optionally, the above service can include a service for finding the target information of the target object. In some possible implementations, the model can be called to determine the target information of the target object, and the above intelligent assistant can be a service interface corresponding to the service that calls the 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 sent from the client to the server, processed by the server, and then forwarded to the model.
[0114] 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 target message. For an introduction to this part, please refer to the following, which will not be repeated here.
[0115] In some embodiments of the present disclosure, the target object's information can be carried in the target message through a combination of a preset identifier and an object name. When a message containing a preset identifier and an object name is received in the target session, the preset identifier and the object name are displayed in a non-reminder style, that is, no message reminder is sent to the target object.
[0116] In the second implementation manner, the target message is sent by a user in an IM group chat session.
[0117] 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 the target message to the server so that the server invokes the first model to parse the target message.
[0118] Specifically, the user can send a target message in an IM group chat session. Then, the user can trigger the operation of the target message to evoke the intelligent assistant to parse it. For example, the user can first trigger a right-click operation on the target 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 target message in the target message.
[0119] S202: Acquire target information of the target object according to the keyword set.
[0120] After the target message is obtained, the target message can be parsed to determine the target object and the keyword set. Then, the target information of the target object can be obtained according to the keyword set.
[0121] First, the target information is introduced.
[0122] In the disclosed embodiment, the keyword set may include profile keywords and / or indicator keywords. The profile keywords correspond to the profile of the target object, and the indicator keywords correspond to the specific indicators of the target object. When acquiring target information, the server may acquire the overview information of the target object according to the profile keywords, and acquire the indicator information of the target object according to the indicator keywords.
[0123] The overview information may include basic work information, work content, work ability and work performance information, etc. The indicator information may include personnel information, performance information, recruitment information, Objectives and Key Results (OKR) information, salary information, etc.
[0124] After the client receives the target message, it can forward the target message to the server. The server can obtain the target information of the target object according to the target message, and return the target information of the target object to the client through the information viewing response. The following introduces the specific implementation method of the server obtaining the target information of the target object according to the keyword set.
[0125] Specifically, the server can obtain target information of the target object according to the requirements of the keyword set. In this way, information acquisition is performed according to the needs of the user, and information that meets the needs can be displayed to the user.
[0126] Optionally, the target information of the target object may be determined by keyword matching.
[0127] Specifically, the information of the object can be determined as multiple fields in advance according to the type of information, and each field can correspond to an information of the object. For example, assuming that the time an employee has worked in the company can correspond to the field "age in the company", and the employee's work experience can correspond to the field "work experience". The value of the field represents the actual situation of the employee. For example, the value of the field "age in the company" of employee A represents the time employee A has worked in the company. The value of the field "educational experience" of employee A can include employee A's educational experience in multiple periods.
[0128] The server can pre-establish an association between keywords and fields. After receiving the information viewing request, the keywords in the keyword set can be matched one by one to determine the fields corresponding to the keywords. After determining the fields corresponding to the keywords, the values corresponding to the target objects in the fields can be obtained to obtain the information corresponding to the target objects and the keywords.
[0129] For example, if a user wants to query employee A's company length of service and work experience, the user can send an IM message to the smart assistant on the IM client, "Help me check employee A's company length of service and work experience." The server can determine the target object "employee A" and the keyword set based on the IM message sent by the user. The keyword set includes the keywords "company length of service" and "work experience."
[0130] According to the keyword "age in the company", the server can obtain the value of employee A in the "age in the company" field. According to the keyword "work experience", the server can obtain the value of employee A in the "work experience" field. In this way, the server can obtain employee A's age and work experience information according to user needs.
[0131] In actual scenarios, the user's intention may be more complex and difficult to associate with specific fields through pre-set rules. In other words, through keyword matching, the server may not be able to determine which fields the user needs information on.
[0132] For example, if a user wants to know the English level of employee A, the user can send an IM message "Help me check the English level of employee A" to the smart assistant on the IM client. The server can determine the target object "employee A" and the keyword set based on the IM message sent by the user. The keyword set includes the keyword "English level".
[0133] However, it is difficult to express an employee's English proficiency through a specific field. For example, if employee A has a professional skill certificate in English, then employee A can be considered as an object with a high English proficiency; if employee A has work experience in an English-speaking country, then employee A can also be considered as an object with a high application level; if employee A's nationality is an English-speaking country, then employee A can also be considered as an object with a high English proficiency; if employee A's work experience includes work experience with objects in English-speaking countries, then employee A can also be considered as an object with a high English proficiency.
[0134] In the above example, the keyword "English proficiency" may correspond to the fields "nationality", "work experience" and "professional skills certificate". In addition, some values in the fields may be related to the keywords, while some values may not be related to the keywords. For example, in the field "work experience", the values related to English-speaking countries are related to the keyword "English proficiency", while other values are not related to the keyword "English proficiency".
[0135] It can be seen that since the user's intention is relatively general, a keyword may correspond to multiple fields and also to specific values in the fields. In this way, it is difficult to define the association between keywords and fields through preset rules, resulting in the server being unable to determine the target information through keyword matching.
[0136] To this end, in the embodiments of the present disclosure, the keywords may be diffused in an intention manner, diffused to specific values of specific fields, and then the target information may be determined according to the specific values of the specific fields.
[0137] Specifically, after determining the keyword set, the server can first determine whether each keyword in the keyword set can be matched. If a keyword can be matched, the server can determine the target information corresponding to the keyword through keyword matching. If a keyword cannot be matched, for example, the keyword is not included in the pre-set matching rules, the server can perform intent diffusion on the keyword to determine the target information corresponding to the keyword.
[0138] Optionally, the server may call a model to perform intent diffusion. The model called by the server may be a model with NLP capabilities, such as a language model. Optionally, the model may be referred to as a first model. The first model and the aforementioned second model may be the same model or different models.
[0139] Specifically, the server may first determine multiple keywords that need to be diffused, and diffuse the intent of each keyword separately. Optionally, the server may generate a prompt message based on multiple keywords and send it to the first model, so that the first model uniformly diffuses the intent of multiple keywords. Alternatively, the server may generate multiple prompt messages based on each keyword that needs to be diffused, and send multiple prompt messages to the first model, so that the first model diffuses the intent of each keyword separately.
[0140] The following takes the intention diffusion of the first keyword in the keyword set as an example for introduction.
[0141] After determining that the first keyword needs to be diffused, the server can obtain the intention diffusion information according to the first keyword. The intention diffusion information can be prompt information. The intention diffusion information includes the first keyword, indicating that the server calls the second model to diffuse the intention of the first keyword. Optionally, the intention diffusion information can also include indication information and / or example information. Among them, the indication information is used to instruct the first model to diffuse the intent according to the first keyword. The example information can be used as an example to guide the first model to diffuse the intent. For example, the example information may include keywords before diffusion, and keywords after diffusion.
[0142] According to the intention diffusion information, the first model can diffuse the intention of the first keyword to determine which fields can be used to reflect the characteristics of the object on the first keyword. Specifically, the first model can determine at least one diffusion keyword based on the first keyword. The diffusion keyword is obtained by diffusing the intention of the first keyword. The characteristics of the object on the first keyword can be obtained through the diffusion keyword. In other words, if an object meets the conditions of the diffusion keyword, it can be considered that the object has the characteristics required by the first keyword.
[0143] Optionally, each diffusion keyword may include multiple sub-keywords. For example, the diffusion keyword may include a sub-keyword for indicating a field and at least one sub-keyword for indicating a value of the field. The keyword for indicating a field indicates the segment corresponding to the first keyword, and the sub-keyword for indicating a value of the field indicates the specific part of the value in the field when the condition required by the first keyword is met. For an introduction to this part of the content, please refer to the following, which will not be repeated here.
[0144] After the intent diffusion is performed according to the first keyword, the first model can send the intent diffusion result information to the server. The intent diffusion result information can be generated according to the diffusion keywords obtained by the above-mentioned intent diffusion, for example, it can include at least one diffusion keyword obtained by diffusion of the first keyword. In this way, the server can map the keyword (such as the first keyword) that cannot be mapped to a certain (or multiple) keywords to one or more specific fields, that is, the fields indicated by the diffusion keywords, according to the intent diffusion result information.
[0145] After the keyword is diffused, the server can obtain information about the target object according to the keyword after the intention diffusion. In the embodiment of the present disclosure, the information obtained according to the diffused keyword can be referred to as diffused information. Optionally, if the server obtains multiple diffused keywords, the server can obtain the diffused information corresponding to each diffused keyword respectively.
[0146] That is to say, the server may first perform intention diffusion on the keywords to obtain diffusion keywords, and then the server may obtain diffusion information based on the diffusion keywords to obtain target information of the target object.
[0147] In the disclosed embodiment, the server can obtain the diffusion information corresponding to the diffusion keyword from the database. That is, the server can obtain the diffusion information from the field indicated by the diffusion keyword. Optionally, if the field indicated by the diffusion keyword includes more information, the server can filter out the field related to the diffusion keyword from the information corresponding to the field.
[0148] For example, assuming that the first keyword includes "English proficiency", then by performing intention diffusion on the first keyword, at least diffused keyword A and diffused keyword B can be obtained.
[0149] Among them, the diffusion keyword A may include a sub-keyword for indicating the field "nationality" and at least one sub-keyword for indicating the English nationality. In this way, when obtaining diffusion information according to the diffusion keyword A, the server can obtain the information corresponding to the target object field "nationality" according to the sub-keyword for indicating the resource "nationality", that is, the nationality information of the target object. Since the nationality information is less complex, the server may not filter the nationality information of the target object.
[0150] Diffusion keyword B may include a sub-keyword for indicating the field "educational experience" and at least one sub-keyword for indicating studying abroad in an English-speaking country. The sub-keyword for indicating studying abroad in an English-speaking country may include, for example, information such as the country name, region name, and school name of an English-speaking country. In this way, when obtaining diffusion information based on diffusion keyword B, the server can obtain information corresponding to the target object field "educational experience" based on the sub-keyword for indicating the resource "educational experience", that is, the educational experience information of the target object.
[0151] In actual scenarios, employees' educational experience is often more complicated. If all educational experiences of the target object are displayed, it will be too redundant. To this end, the server can filter the educational experience information of the target object according to the diffusion keywords to determine the part of the target object's educational experience that can reflect the "English proficiency". Specifically, the server can further filter the educational experience of the target object according to the above-mentioned "at least one sub-keyword used to indicate studying abroad in an English-speaking country" to determine the part related to "English proficiency". In other words, if the target object has multiple educational experiences, the server can filter out the parts related to the country name, region name, and school name of English-speaking countries from the multiple educational experiences of the target object to obtain the corresponding diffusion information.
[0152] In some possible implementations, the diffusion information may come from different information sources. Specifically, in actual scenarios, object-related information may be stored in different databases. Accordingly, the server may obtain target information of the target object from multiple data sources.
[0153] For example, the basic information of the object, such as the employee's name, work number, nationality, education background and work experience, etc., can be stored in a human resources database. Accordingly, if the diffusion information includes any one of the above information, the information source of the diffusion information can include the human resources database.
[0154] Other information about the object may come from other databases. For example, employee performance information, employee salary information, and employee OKR information may not be stored in a unified human resources database, but in a separate database. If the diffusion information includes the above information, then the information source of the diffusion information may also include information sources other than the human resources database.
[0155] After obtaining the target information of the target object, the server can generate an information viewing response according to the target information of the target object and send the information viewing response to the client. The client can display the information of the target object to the user according to the information viewing response so that the target object can view the information of the target object.
[0156] That is to say, if a user wants to view certain information of a certain object (or multiple objects), the user can send his or her needs to the server through the client, and the server can determine the appropriate target information and return it to the client so that the client can display it. In this way, the server can determine what information needs to be displayed to the user based on the user's needs, without the user having to manually search for the information they need to view. In this way, automatic information search is achieved by analyzing the user's intention, which improves the search efficiency.
[0157] In the disclosed embodiment, the information viewing response may include the target information of the target object, and may also include the target information of the target object after summary. If the information viewing response includes the target object information after summary, the server may first summarize the target information of the target object. The following is a detailed introduction.
[0158] In actual scenarios, the display area of the client is limited. If the target information of the target object is too long, it may be convenient to display it on the client. In this way, the user may need to adjust the content displayed on the client through the sliding control to see the complete target information, which is a cumbersome operation. In addition, the amount of information displayed is too large, and it is not easy for users to find the key information from it. To this end, the server can summarize the target information of the target object to extract valuable information of the target.
[0159] Optionally, the server may summarize the target information through a model. In the disclosed embodiment, the model used to summarize the target information may be referred to as a third model. The third model may be a model with NLP capabilities, such as a language model. Optionally, the third model and the aforementioned first model and second model may be the same model or different models.
[0160] Specifically, when summarizing through the third model, the server may first generate object summary information according to the information of the target object. Then, the server may send the object summary information to the third model. The object summary information may be prompt information. According to the object summary information, the third model may summarize the target information of the target object to obtain the summarized target information of the target object. Then, the third model may generate object summary response information according to the summarized target information of the target object, and send the object summary response information to the server. According to the object summary response information, the server may generate an information viewing response.
[0161] Optionally, if the target information of the target object comes from multiple information sources, the information viewing response may also include link indication information and a link to the information source. The link to the information source may be used to access the information source, for example, may include a Uniform Resource Locator (URL) of the information source. The link indication information is used to instruct the client to display the link to the information source.
[0162] That is, the server can instruct the client not only to display information from the information source, but also to display the link corresponding to the information source. In this way, the user can access the information source through the link corresponding to the information source, and thus view the information of the target object in the information source. In particular, if the client displays the summarized target information to the target model, the user can view the model information of the target object before the summary through the link corresponding to the information source.
[0163] In the disclosed embodiment, if the user triggers the operation of accessing the information source, the client can display the information corresponding to the information source in the target session, or jump to the information page corresponding to the information source and display the information corresponding to the information source in the information page. That is, the client can display the content of the diffusion information in the target session in response to the first trigger operation on the diffusion information of the referenced area. Alternatively, the client can also call up the information page of the information source of the diffusion information in response to the second trigger operation on the diffusion information of the referenced area, and display the content of the diffusion information in the information page.
[0164] S203: Presenting a reply message containing target information in the target conversation.
[0165] After obtaining the target information of the target object, the client can present a reply message containing the target information in the target session, so that the user can learn the target information of the target object by viewing the reply message.
[0166] Specifically, if the client is a client of IM software, the client can display display content to the user in the IM session. The display content is generated according to the target information of the target object. For example, the display content can be generated according to the aforementioned overview information and indicator information. Optionally, the display content can be generated by the client according to the target information sent by the server, or can be generated by the server according to the target information and sent to the client.
[0167] In the disclosed embodiment, the client can display the above display content in the form of icons, tables or information cards. The following is an introduction using information cards as an example.
[0168] For example, the client can generate an information card according to the information viewing response, and display the information card to the user in the IM session. The information card can be used to display the target information of the target object to the user.
[0169] Optionally, if the object search information is sent by the user in an IM chat session corresponding to the intelligent assistant, the client can display the information 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 information card in the current IM session, or can jump to the IM chat session corresponding to the intelligent assistant and display the information card in the IM chat session corresponding to the intelligent assistant.
[0170] Optionally, if there are multiple target objects, the client may display multiple information cards, each of which is used to display relevant information of a target object. Alternatively, the information card displayed by the client may also include multiple sub-cards, each of which is used to display target information of a target object.
[0171] In some implementations, the target information of the target object may be relatively large. A relatively large display area may be required to fully display the target information of the target object. This may affect the user experience of the user using the client. For this reason, in some implementations, the target information of the target object may also be displayed in thumbnails. Furthermore, after obtaining the information expansion display operation triggered by the user, the complete target information of the target object may be displayed to the user.
[0172] For example, a word count threshold and / or a line count threshold may be preset. If the word count of a certain target 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 target information in thumbnails. For example, the target information within the word count threshold may be displayed, and / or the target 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.
[0173] After obtaining the information expansion operation triggered by the user for a certain target information of the target object, the client can display the complete target information. For example, the client can expand the display area used to display this target information in the current page to display the complete target information through a larger display area. Alternatively, the client can also jump to other pages or pop-up sub-pages to display the complete target information through the jump or pop-up page.
[0174] In some implementations, the user may not be sure what they need to view. Accordingly, the server may determine multiple target objects and obtain target information of the multiple target objects according to the user's needs. Accordingly, the information viewing response sent by the server to the client may include target information of the multiple target objects. The client may display the target information of the multiple target objects according to the information viewing response.
[0175] In actual scenarios, the number of target objects may be large. Thus, displaying the target 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 target information of all target objects to the client at once. Therefore, in some possible implementations, the object display information that the server may send to the client may be generated based on the information of some target objects, and the client may display the relevant information of some target objects to the user.
[0176] For example, assuming that the server has determined N target objects (N is a positive integer), the server can first select M target objects (M is a positive integer less than N) from the N target objects, and then generate an information search response based on the target information of the selected M target objects and send it to the client. In this way, the client can only display the target information of the M target objects, without having to display the target information of the N target objects at one time.
[0177] In the above example, the server can determine the target object for which the relevant information is displayed based on the relevance between the target object and the object search information. The object search information is the relevant information used by the server to search for the target object. The introduction of the object search information can be found below and will not be repeated here.
[0178] For example, the M target objects selected above may 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 may be determined based on a model, for example, the relevance between the target object and the object search information may be determined by a model. For an introduction to this part, please refer to the following, which will not be repeated here.
[0179] If the client displays the target 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 the target information of some target objects, the client can also display an object expansion control. After the user triggers the object expansion control, the client can send a data acquisition request to the server. The server can generate a new information search response based on the data acquisition request sent by the client and send the new information search response to the client. The above new information search response can be determined based on the target information of all target objects.
[0180] Optionally, the object expansion control may be a control in an information card for displaying target information of the target object, or may be an independent information card.
[0181] In the implementation described above, the server may first send the target information of a part of the target objects to the client, and then send the target information of another part of the target objects to the client according to the operation triggered by the user. In some other possible implementations, the server may also send the target information of all the target objects to the client, and the client only displays the target information of a part of the target objects at a time. After the user triggers the operation, the client may display the target information of another part of the target objects.
[0182] The above describes how to determine the target information of the target object. Figure 3 Provide a detailed introduction.
[0183] See also Figure 3 , which is a schematic diagram of an implementation method for determining target information of a target object provided by an embodiment of the present disclosure. Figure 3 In a corresponding implementation, the client may send object requirement information and a keyword set to the server, and the server may call the second model to determine the target object, and call the first model to determine the target information of the target object.
[0184] like Figure 3 As shown, the method specifically comprises the following steps:
[0185] S301: The client sends a target message to the server.
[0186] If the user wants to view the target information of the target object on the client, the user can send a target message to the server through the client. The target message includes object requirement information and a keyword set. The object requirement information is used to describe the target object, and the keyword set is used to describe the target information.
[0187] S302: The server sends intent resolution information to the second model.
[0188] After receiving the target message sent by the client, the server can parse the target message, first determine the target object, and then obtain the target information of the target object. Figure 3 In the implementation shown, the target object is not explicitly indicated in the target message, but the conditions of the target object are described through the object requirement information, resulting in the server being unable to directly determine the target object based on the target message. To this end, the server can call the second model to parse the object requirement information to determine the target object that meets the requirements of the object requirement information.
[0189] Specifically, the server may generate intent resolution information according to the object requirement information, and then send the intent resolution information to the second model. The second model may resolve the object requirement information according to the intent resolution information to determine the user's intent.
[0190] S303: The second model sends intent information to the server.
[0191] After obtaining the intent resolution information, the second model can parse the object requirements in the intent resolution information to determine the intent information and send it to the server. The intent information is used to indicate the intention of the user who sends the object requirement information, indicating that the user wants to obtain information about those objects.
[0192] S304: The server determines the target object according to the intent information.
[0193] After obtaining the intent information, the server can determine the target object based on the intent information. The target object is the object that satisfies the user's intent.
[0194] Specifically, the server can determine the condition information according to the intent information, and then filter out the objects that meet the condition information from the objects as the target objects.
[0195] In actual scenarios, users may have multiple requirements for target objects. Moreover, the complexity of the user's requirements for one part of the target object is relatively high, while the complexity of the user's requirements for another part of the target object is relatively low. Therefore, in some possible implementations, the condition information may be classified and processed in different ways.
[0196] Optionally, some of the user's intentions may be relatively clear and can correspond to specific values of specific fields. For example, the user's requirements for the values of fields such as "age in the company" and "nationality" are often relatively precise. Accordingly, the conditional information can be matched with the values of the fields. In the embodiments of the present disclosure, this type of relatively precise intention can be referred to as a first-class intention, and the conditional information corresponding to the first-class intention can be referred to as a first-class conditional information.
[0197] If the server determines the first type of condition information according to the intent information, the server may first screen according to the first 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.
[0198] Optionally, some of the user's intentions may be vague and cannot be mapped to specific values, but the user's intentions can be mapped to specific fields. For example, for fields such as "educational experience" and "work experience", the values are relatively flexible, and it is difficult for the user's requirements to be accurately mapped to the specific values of the fields. For this reason, in the embodiments of the present disclosure, the user's requirements for these types of fields can be referred to as the second type of intention information, and the conditional information corresponding to the second type of intention information can be referred to as the second type of conditional information.
[0199] If the server determines the second type of condition information according to the intent information, the server may screen the first candidate object set according to the second type of condition information to determine the second candidate object set. The second candidate object set may include at least one second candidate object. The second candidate object satisfies the first type of condition information and the second type of condition information.
[0200] Specifically, the server can vectorize the value of the field and determine the second candidate object by vector matching. That is, for the field indicated by the second type of condition information, the vector of the value of the second candidate object in the field matches the vector required by the second type of condition information.
[0201] Optionally, the user's intent may not be mapped to a specific field. For example, if the user's intent includes "find employees with high English proficiency", the intent cannot be mapped to a specific field, nor can it be mapped to a specific value of the field. In the disclosed embodiment, the user's requirements for unmapped fields can be referred to as the third type of intent information, and the conditional love you information corresponding to the third type of intent information can be referred to as the third type of conditional information.
[0202] Optionally, the server can call the model to determine the third type of conditional information. Specifically, the server can call the model to perform intent diffusion on the third type of intent information to determine the third type of conditional information in order to satisfy the intent represented by the third type of intent information. Optionally, the server can call the first model for intent diffusion, or call other models for intent diffusion.
[0203] If the server determines the third type of condition information according to the intent information, the server may screen the second candidate object set according to the third type of condition information to determine the third candidate object set. The third candidate object set may include at least one third candidate object. The third candidate object satisfies the first type of condition information, the second type of condition information, and the third type of condition information.
[0204] After determining the third candidate object set, the server may determine the third candidate object as the target object. Alternatively, the server may also verify the third candidate object according to the object requirement information. In this way, by further verifying the third candidate object that may be determined as the target object in combination with the object requirement information, it can be further ensured that the target object meets the user's needs. Optionally, the server may call the model to verify the third candidate object.
[0205] S305: The server obtains an information search request for the target object.
[0206] After determining the target object, the server may obtain an information search request for the target object. For example, the server may generate an information search request based on the target object and a keyword set.
[0207] S306: The server sends the intention diffusion information to the first model.
[0208] According to the information search request, the server can generate intention diffusion information and send it to the first model. The intention diffusion information includes keywords that need to be diffused.
[0209] S307: The first model sends the intention diffusion result information to the server.
[0210] After receiving the intention diffusion information, the first model can perform intention diffusion on the keyword to obtain at least one diffusion keyword, and return the intention diffusion result information to the server. The intention diffusion result information may include the at least one diffusion keyword.
[0211] S308: The server obtains target information of the target object according to the intention diffusion result information.
[0212] After obtaining the intention diffusion result information, the server can determine the diffusion keywords based on the intention diffusion result information, thereby searching for information matching the diffusion keywords from the information source to obtain the diffusion information of the target object. In addition, for keywords that do not require intention diffusion, the server can obtain the target information of the target object from the information source based on the keywords.
[0213] S309: The server sends the object summary information to the third model.
[0214] After acquiring the target information of the target object according to the keyword and / or the diffused keyword, the server can summarize the target information of the target object through the third model. Specifically, the server can generate object summary information according to the target information of the target object and send the object summary information to the third model.
[0215] S310: The third model sends object summary response information to the server
[0216] After obtaining the object summary information, the third model can summarize the target information of the target object to generate object summary response information and send it to the server. The object summary response information may include the summarized target information of the target object. The target information of the target object after the summary has a higher degree of association with the keyword than the target information of the target object before the summary.
[0217] S311: The server generates an information viewing response based on the object summary response information.
[0218] After receiving the object summary response information returned by the third model, the server can generate an information viewing response according to the object summary response information. The information viewing response is used to instruct the server to display the summarized target information of the target object.
[0219] Optionally, if the target information of the target object comes from multiple information sources, the information viewing response may further include links corresponding to the information sources and link indication information to instruct the client to display the links corresponding to the information sources.
[0220] S312: The server sends a message to the client to check the response.
[0221] After generating the information viewing response, the server may send the information viewing response to the client to instruct the client to display the information of the target object to the user.
[0222] S313: The client displays information of at least one target object in the target session according to the information viewing response.
[0223] After obtaining the information viewing response, the client can display the information of at least one target object to the user according to the information viewing response. In this way, if the user using the client needs to view part of the information of part of the object, he only needs to send his own needs to the server through the client to see the required information on the client, without having to search for the corresponding information in the database himself. In this way, the efficiency of information viewing is improved.
[0224] 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.
[0225] See also Figure 4 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 4 As shown, the data processing device includes:
[0226] The receiving unit 410 is configured to receive a target message for a target object in a target session, wherein the target message includes a keyword set;
[0227] An acquisition unit 420 is configured to acquire target information of the target object according to the keyword set, wherein the target information matches keywords in the keyword set;
[0228] The display unit 430 is configured to present a reply message including the target information in the target session.
[0229] In some possible implementations, the keyword set includes profile keywords and / or indicator keywords.
[0230] In some possible implementations, the acquisition unit 420 is specifically used to acquire overview information of the target object based on the profile keywords, and the overview information includes at least one of the following: basic work information, work content, work ability, and work performance; or, to acquire indicator information of the target object based on the indicator keywords, and the indicator information includes at least one of the following: personnel information, performance information, recruitment information, OKR information, and salary information.
[0231] In some possible implementations, the display unit 430 is specifically used to present charts, tables and / or information cards in the reply message, and the charts, tables and / or information cards are generated based on the overview information or the indicator information.
[0232] In some possible implementations, the acquisition unit 420 is specifically used to send intention diffusion information to the first model, and the intention diffusion information is obtained based on the first keyword in the keyword set; receive intention diffusion result information sent by the first model, and the intention diffusion result information includes at least one diffusion keyword, and the diffusion keyword is obtained by performing intention diffusion on the first keyword; query according to the at least one diffusion keyword to obtain diffusion information of the target object, and the target information includes the diffusion information.
[0233] In some possible implementations, the acquisition unit 420 is specifically configured to acquire the diffusion information of the target object from an information source corresponding to the diffusion keyword.
[0234] In some possible implementations, the reply message also includes a reference area; the reference area is used to display the diffusion information of the target object.
[0235] In some possible implementations, the reference area includes at least one of the following diffusion information: personnel information, performance information, recruitment information, OKR information, and salary information.
[0236] In some possible implementations, the display unit 430 is further used to display the content of the diffusion information in the target session in response to a first trigger operation on the diffusion information of the reference area; or, in response to a second trigger operation on the diffusion information of the reference area, call up an information page of the information source of the diffusion information and display the content of the diffusion information in the information page.
[0237] In some possible implementations, the keyword set further includes a second keyword, and the acquisition unit 420 is specifically configured to perform a query according to the second keyword to obtain precise information of the target object, and the target information further includes the precise information.
[0238] In some possible implementations, the target information includes identification information of the target object.
[0239] In some possible implementations, the acquisition unit 420 is further used to determine at least one candidate object based on the identification information; send object confirmation request information to the client, the object confirmation information is obtained based on the information of the at least one candidate object; obtain object confirmation response information sent by the client, the object confirmation response information indicates the target object; and determine the target object based on the object confirmation response information.
[0240] In some possible implementations, the target information includes object requirement information; the acquisition unit 420 is also used to send intent resolution information to the second model, and the intent resolution information is generated based on the object search information; receive the intent information sent by the second model, and the intent information is determined based on the object search information; determine the target object based on the intent information, and the information of the target object matches the intent information.
[0241] In some possible implementations, the acquisition unit 420 is also used to send object summary information to the third model, where the object summary information is obtained based on the target information of the target object; receive object summary response information sent by the third model, where the object summary response information includes the summarized target information of the target object; and generate the reply message based on the summarized target information of the target object.
[0242] 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.
[0243] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device 500 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.
[0244] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0245] Typically, the following devices may be connected to the I / O interface 505: input devices 505 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 508 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 509. The communication devices 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 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.
[0246] 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 509, or installed from the storage device 508, or installed from the ROM502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0247] 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.
[0248] 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.
[0249] 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.
[0250] 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.
[0251] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0252] 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.
[0253] 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).
[0254] 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.
[0255] 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".
[0256] 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.
[0257] 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.
[0258] 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.
[0259] 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.
[0260] 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.
[0261] 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: Receiving a target message for a target object in a target session, the target message including a keyword set; According to the keyword set, target information of the target object is acquired, wherein the target information matches keywords in the keyword set; A reply message including the target information is presented in the target session.
2. The method according to claim 1, characterized in that The keyword set includes profile keywords and / or indicator keywords.
3. The method according to claim 2, characterized in that The acquiring target information of the target object according to the keyword set includes: Obtaining summary information of the target object according to the profile keywords, wherein the summary information includes at least one of the following: basic work information, work content, work ability, and work performance; or The indicator information of the target object is obtained according to the indicator keyword, and the indicator information includes at least one of the following: personnel information, performance information, recruitment information, OKR information, and salary information.
4. The method according to claim 3, characterized in that The presenting the reply message containing the target information in the target session includes: The reply message may include a chart, a table and / or an information card, wherein the chart, the table and / or the information card are generated based on the overview information or the indicator information.
5. The method according to any one of claims 1 to 4, characterized in that: The acquiring target information of the target object according to the keyword set includes: Sending intention diffusion information to the first model, where the intention diffusion information is obtained according to the first keyword in the keyword set; receiving intention diffusion result information sent by the first model, wherein the intention diffusion result information includes at least one diffusion keyword, and the diffusion keyword is obtained by performing intention diffusion on the first keyword; A query is performed according to the at least one diffusion keyword to obtain diffusion information of the target object, where the target information includes the diffusion information.
6. The method according to claim 5, characterized in that The querying according to the at least one diffusion keyword to obtain the diffusion information of the target object includes: The diffusion information of the target object is acquired from an information source corresponding to the diffusion keyword.
7. The method according to claim 6, characterized in that The reply message also includes a reference area; the reference area is used to display the diffusion information of the target object.
8. The method according to claim 7, characterized in that The reference area includes at least one of the following diffusion information: personnel information, performance information, recruitment information, OKR information, and salary information.
9. The method according to claim 7 or 8, characterized in that: Also includes: In response to a first triggering operation on the diffusion information of the reference area, displaying the content of the diffusion information in the target session; or, In response to a second trigger operation on the diffusion information of the reference area, an information page of an information source of the diffusion information is called up, and content of the diffusion information is displayed in the information page.
10. The method according to claim 1, characterized in that The keyword set further includes a second keyword, and acquiring target information of the target object according to the target keyword includes: A query is performed according to the second keyword to obtain accurate information of the target object, where the target information also includes the accurate information.
11. The method according to claim 1, characterized in that: The target information includes identification information of the target object.
12. The method according to claim 11, characterized in that The method further comprises: Determine at least one candidate object according to the identification information; Sending object confirmation request information to the client, wherein the object confirmation information is obtained according to information of the at least one candidate object; Obtaining object confirmation response information sent by the client, wherein the object confirmation response information indicates the target object; The target object is determined according to the object confirmation response information.
13. The method according to claim 1, characterized in that The target information includes object requirement information; The method further comprises: Sending intent resolution information to a second model, wherein the intent resolution information is generated based on the object search information; receiving intent information sent by the second model, wherein the intent information is determined according to the object search information; The target object is determined according to the intention information, and the information of the target object matches the intention information.
14. The method according to claim 1, characterized in that After acquiring the target information of the target object and before displaying the reply message, the method further includes: Sending object summary information to a third model, wherein the object summary information is obtained according to the target information of the target object; receiving object summary response information sent by the third model, wherein the object summary response information includes summarized target information of the target object; The reply message is generated according to the summarized target information of the target object.
15. A data processing device, characterized in that: include: A receiving unit, configured to receive a target message for a target object in a target session, wherein the target message includes a keyword set; an acquisition unit, configured to acquire target information of the target object according to the keyword set, wherein the target information matches keywords in the keyword set; A presentation unit is used to present a reply message containing the target information in the target session.
16. 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 14.
17. 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 14 is implemented.
