Data interaction method and device based on logistics knowledge base and related equipment

Through the data interaction method based on the logistics knowledge base, the interaction data between users and customer service is analyzed, intent and portrait information are extracted, and intelligent replies are generated, which solves the problems of high logistics customer service cost and low service quality, improves efficiency and reduces costs.

CN118674451APending Publication Date: 2024-09-20SF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310293578.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The existing logistics customer service system has high costs and low service quality, manual customer service costs are high and efficiency is low, and robot customer service cannot effectively serve customers.

Method used

Through the data interaction method based on the logistics knowledge base, the interaction data between users and customer service is analyzed, user intentions and portrait information are extracted, and intelligent reply data is generated to improve customer service quality and efficiency and reduce costs.

Benefits of technology

Intelligent customer service data reply is realized, which improves the quality and efficiency of customer service while reducing customer service costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674451A
    Figure CN118674451A
Patent Text Reader

Abstract

The invention provides a data interaction method and device based on a logistics knowledge base and related equipment, and the method comprises the steps: carrying out the data analysis of pre-obtained target interaction data between a user and a logistics customer service, and obtaining target analysis data; obtaining user intention information of the target analysis data; determining user portrait information of the user based on the target interaction data; and based on the user intention information, the user portrait information and a preset logistics knowledge base, determining interaction data for replying to the user, thereby realizing intelligent generation of the interaction data for replying to the user, facilitating subsequent prompting of an artificial customer service or direct use by a robot customer service for different users, and improving user experience. Therefore, the service quality and efficiency of the customer service staff are improved, and the cost of the customer service staff is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of logistics database, and in particular to a data interaction method, device and related equipment based on a logistics knowledge base. Background Art

[0002] With the vigorous development of the logistics industry, the number of logistics users has also increased dramatically, and logistics customer service is a resource that can directly serve logistics users.

[0003] At present, the main customer service systems include online manual customer service and customer service robots. Online manual customer service requires a large number of manual customer service personnel to provide customers with a dialogue platform or dialogue method in real time. A large number of online manual customer service personnel makes the cost of online manual customer service high. Using customer service robots to provide customer service to customers fails to provide effective services to customers. Summary of the invention

[0004] The present application provides a data interaction method, device and related equipment based on a logistics knowledge base, aiming to solve the technical problem of how to improve the quality of customer service and reduce its cost.

[0005] On the one hand, the present application provides a data interaction method based on a logistics knowledge base, the method comprising:

[0006] Perform data analysis on the pre-acquired target interaction data between the user and the logistics customer service to obtain target analysis data;

[0007] Acquire user intention information of the target parsed data;

[0008] Determining user portrait information of the user based on the target interaction data;

[0009] Based on the user intention information, the user portrait information and a preset logistics knowledge base, determine the interaction data for replying to the user.

[0010] In a possible implementation of the present application, the user intention information includes a user intention tag for tagging the user intention, and the determining of the interaction data for replying to the user based on the user intention information, the user portrait information, and a preset logistics knowledge base includes:

[0011] Combining the user intention label with the user portrait label in the user portrait information to obtain a combined label;

[0012] The combined tag is input into the logistics knowledge base, and the logistics knowledge base generates interactive data matching the combined tag for replying to the user.

[0013] In a possible implementation of the present application, determining the user portrait information of the user based on the target interaction data includes:

[0014] Extracting identity information from the target interaction data;

[0015] Determine the user information of the user based on the identity information;

[0016] Based on the user information of the user, determine the portrait information of the user.

[0017] In a possible implementation of the present application, before determining the interaction data for replying to the user based on the user intention information, the user portrait information, and a preset logistics knowledge base, the method further includes:

[0018] Preprocessing the historical conversation records between the target user and the logistics customer service to obtain the conversation records to be processed, wherein the historical conversation records are composed of user messages corresponding to the target user and logistics customer service messages corresponding to the logistics customer service;

[0019] Divide the conversation records to be processed into one or more rounds of question-and-answer conversation records, each round of the question-and-answer conversation records consisting of user messages and logistics customer service messages in the conversation records to be processed that have a question-and-answer relationship;

[0020] Classifying the user messages in the conversation record to be processed, and classifying the user messages in the conversation record to be processed into at least one user intention label;

[0021] Obtain a user portrait tag of the target user;

[0022] For each user intent tag and the user portrait tag, determine a logistics customer service message that is a response message to the intent from the question-and-answer conversation record corresponding to the user message corresponding to the intent;

[0023] A logistics knowledge base is constructed by using each of the user intention labels and the user portrait labels and the corresponding answer messages.

[0024] In a possible implementation of the present application, after determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, the method further includes:

[0025] Acquiring user feedback information on the interaction data, wherein the feedback information is an evaluation of user satisfaction with the interaction data;

[0026] Read the credibility and feedback times corresponding to the interaction data;

[0027] The logistics knowledge base is updated based on the feedback information, credibility and the number of feedbacks.

[0028] In a possible implementation of the present application, the acquiring the user intention information of the target parsed data includes:

[0029] The target parsed data is input into a pre-trained natural language recognition model to obtain user intent information of the target parsed data.

[0030] In a possible implementation of the present application, before parsing the pre-acquired target interaction data between the user and the logistics customer service to obtain the parsed target parsed data, the method further includes:

[0031] Identify the pre-acquired initial interaction data between the user and the logistics customer service to obtain the identification result;

[0032] If the recognition result is that the initial interaction data is data in voice format, converting the data format of the initial interaction data to obtain target interaction data in text format;

[0033] If the recognition result is that the initial interaction data is data in a text format, the initial interaction data is determined as target interaction data.

[0034] On the other hand, the present application provides a data interaction device based on a logistics knowledge base, the device comprising:

[0035] The first parsing unit is used to parse the pre-acquired target interaction data between the user and the logistics customer service to obtain parsed target parsing data;

[0036] A first acquisition unit, configured to acquire user intention information of the target parsed data;

[0037] A first determining unit, configured to determine user portrait information of the user based on the target interaction data;

[0038] The second determination unit is used to determine the interaction data for replying to the user based on the user intention information, the user portrait information and a preset logistics knowledge base.

[0039] In a possible implementation of the present application, the user intent information includes a user intent label for labeling the user intent, and the second determining unit is specifically configured to:

[0040] Combining the user intention label with the user portrait label in the user portrait information to obtain a combined label;

[0041] The combined tag is input into the logistics knowledge base, and the logistics knowledge base generates interactive data matching the combined tag for replying to the user.

[0042] In a possible implementation of the present application, the first determining unit is specifically configured to:

[0043] Extracting identity information from the target interaction data;

[0044] Determine the user information of the user based on the identity information;

[0045] Based on the user information of the user, determine the portrait information of the user.

[0046] In a possible implementation of the present application, before determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, the device is further used to:

[0047] Preprocessing the historical conversation records between the target user and the logistics customer service to obtain the conversation records to be processed, wherein the historical conversation records are composed of user messages corresponding to the target user and logistics customer service messages corresponding to the logistics customer service;

[0048] Divide the conversation records to be processed into one or more rounds of question-and-answer conversation records, each round of the question-and-answer conversation records consisting of user messages and logistics customer service messages in the conversation records to be processed that have a question-and-answer relationship;

[0049] Classifying the user messages in the conversation record to be processed, and classifying the user messages in the conversation record to be processed into at least one user intention label;

[0050] Obtain a user portrait tag of the target user;

[0051] For each user intent tag and the user portrait tag, determine a logistics customer service message that is a response message to the intent from the question-and-answer conversation record corresponding to the user message corresponding to the intent;

[0052] A logistics knowledge base is constructed by using each of the user intention labels and the user portrait labels and the corresponding answer messages.

[0053] In a possible implementation of the present application, after determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, the device is further used to:

[0054] Acquiring user feedback information on the interaction data, wherein the feedback information is an evaluation of user satisfaction with the interaction data;

[0055] Read the credibility and feedback times corresponding to the interaction data;

[0056] The logistics knowledge base is updated based on the feedback information, credibility and the number of feedbacks.

[0057] In a possible implementation of the present application, the first acquiring unit is specifically configured to:

[0058] The target parsed data is input into a pre-trained natural language recognition model to obtain user intent information of the target parsed data.

[0059] In a possible implementation of the present application, before performing data parsing on the pre-acquired target interaction data between the user and the logistics customer service to obtain the parsed target parsed data, the device is further used to:

[0060] Identify the pre-acquired initial interaction data between the user and the logistics customer service to obtain the identification result;

[0061] If the recognition result is that the initial interaction data is data in voice format, converting the data format of the initial interaction data to obtain target interaction data in text format;

[0062] If the recognition result is that the initial interaction data is data in a text format, the initial interaction data is determined as target interaction data.

[0063] On the other hand, the present application also provides a computer device, the computer device comprising:

[0064] one or more processors;

[0065] Memory; and

[0066] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the data interaction method based on the logistics knowledge base.

[0067] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the data interaction method based on the logistics knowledge base.

[0068] The data interaction method based on the logistics knowledge base provided in the present application obtains target analysis data by performing data analysis on pre-acquired target interaction data between users and logistics customer service; obtains user intention information of the target analysis data; determines user portrait information of the user based on the target interaction data; determines interaction data for replying to the user based on the user intention information, the user portrait information and a preset logistics knowledge base, thereby realizing intelligent generation of interaction data for replying to the user, which is convenient for subsequent prompting of manual customer service or direct use by robot customer service for different users, thereby improving the quality and efficiency of customer service and reducing the cost of customer service. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0070] Figure 1 It is a scenario diagram of a data interaction system based on a logistics knowledge base provided in an embodiment of the present application;

[0071] Figure 2 It is a schematic diagram of an embodiment of a data interaction method based on a logistics knowledge base provided in an embodiment of the present application;

[0072] Figure 3 It is a schematic diagram of the structure of an embodiment of a data interaction device based on a logistics knowledge base provided in an embodiment of the present application;

[0073] Figure 4 It is a schematic diagram of the structure of an embodiment of a computer device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0074] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0075] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0076] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

[0077] The embodiments of the present application provide a data interaction method, device and related equipment based on a logistics knowledge base, which are described in detail below.

[0078] like Figure 1 As shown, Figure 1 is a schematic diagram of a scenario of a data interaction system based on a logistics knowledge base provided in an embodiment of the present application. The data interaction system based on a logistics knowledge base may include a computer device 100, in which a data interaction device based on a logistics knowledge base is integrated, such as Figure 1 A computer device 100 in FIG.

[0079] In the embodiment of the present application, the computer device 100 is mainly used to perform data analysis on the pre-acquired target interaction data between the user and the logistics customer service to obtain target analysis data; obtain user intention information of the target analysis data; determine the user portrait information of the user based on the target interaction data; and determine the interaction data used to reply to the user based on the user intention information, the user portrait information and a preset logistics knowledge base.

[0080] In the embodiment of the present application, the computer device 100 may be a terminal or a server. When the computer device 100 is a server, it may be an independent server, or a server network or server cluster composed of servers. For example, the computer device 100 described in the embodiment of the present application includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server constructed by a plurality of servers. The cloud server is constructed by a large number of computers or network servers based on cloud computing.

[0081] It is understandable that when the computer device 100 in the embodiment of the present application is a terminal, the terminal used may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific computer device 100 may be a desktop terminal or a mobile terminal, and the computer device 100 may also be one of a mobile phone, a tablet computer, a laptop computer, a medical auxiliary instrument, etc.

[0082] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution, and is not intended to limit the application scenario of the present application solution. Other application environments may also include Figure 1 More or less computer equipment as shown in Figure 1 Only one computer device is shown in the figure. It can be understood that the data interaction system based on the logistics knowledge base can also include one or more other computer devices, which are not specifically limited here.

[0083] In addition, if Figure 1 As shown, the data interaction system based on the logistics knowledge base may also include a memory 200 for storing data, such as target interaction data between users and logistics customer service and data interaction data based on the logistics knowledge base, such as data interaction data based on the logistics knowledge base when the data interaction system based on the logistics knowledge base is running.

[0084] It should be noted that Figure 1The scenario diagram of the data interaction system based on the logistics knowledge base shown is merely an example. The data interaction system based on the logistics knowledge base and the scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the data interaction system based on the logistics knowledge base and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.

[0085] Next, a data interaction method based on a logistics knowledge base provided in an embodiment of the present application is introduced.

[0086] In the embodiment of the data interaction method based on the logistics knowledge base of the present application embodiment, a data interaction device based on the logistics knowledge base is used as the execution subject. For the sake of simplicity and ease of description, the execution subject will be omitted in the subsequent method embodiments. The data interaction device based on the logistics knowledge base is applied to a computer device. The method includes: performing data analysis on pre-acquired target interaction data between a user and a logistics customer service to obtain target analysis data; obtaining user intent information of the target analysis data; determining user portrait information of the user based on the target interaction data; and determining interaction data for replying to the user based on the user intent information, the user portrait information and a preset logistics knowledge base.

[0087] See also Figures 2 to 4 , Figure 2 The following is a flow chart of an embodiment of a data interaction method based on a logistics knowledge base provided in an embodiment of the present application. The data interaction method based on a logistics knowledge base includes:

[0088] 201. Perform data analysis on the pre-acquired target interaction data between the user and the logistics customer service to obtain target analysis data;

[0089] The target interaction data is the interaction data obtained after preliminary processing of the initial interaction data between the user and the logistics customer service. The initial interaction data can be in voice format or text format, which depends on the interaction method between the user and the logistics customer service. The specific interaction method can be through text interaction on a preset communication platform, or through voice fairy tale interaction. In addition, the target interaction data is in text format.

[0090] Exemplarily, before parsing the pre-acquired target interaction data between the user and the logistics customer service to obtain the parsed target parsed data, the following steps A1 to A3 may also be included:

[0091] A1. Identify the pre-acquired initial interaction data between the user and the logistics customer service to obtain an identification result;

[0092] A2. If the recognition result is that the initial interaction data is in voice format, convert the initial interaction data into a data format to obtain target interaction data in text format;

[0093] A3. If the recognition result is that the initial interaction data is data in text format, the initial interaction data is determined as target interaction data.

[0094] In addition, in the subsequent analysis process, the parsed target analysis data will be needed. Specifically, the target interaction data can be parsed through a preset natural language processing (NLP) model. The NLP model is a sub-field of computer science, information engineering, and artificial intelligence. It focuses on human-computer language interaction and explores how to process and use natural language. I will not go into details about this.

[0095] 202. Obtain user intention information of the target parsed data;

[0096] In this embodiment, after the target interaction data is processed by the preset NLP model, the required user intention information can be automatically extracted from the target parsed data through the preset user intention program. For example, the user's intention information such as querying the order number, querying the logistics progress, and making complaints can be extracted from the target parsed data.

[0097] Exemplarily, the obtaining of the user intention information of the target parsed data may be performed by inputting the target parsed data into a pre-trained natural language recognition model to obtain the user intention information of the target parsed data.

[0098] 203. Determine user portrait information of the user based on the target interaction data;

[0099] Among them, user portrait information refers to the virtual representation of real users, and is a target user model based on a series of attribute data. With the development of the Internet, the user portrait we are talking about now contains new connotations - usually a user portrait is a labeled user model abstracted based on user demographic characteristics, web browsing content, online social activities, and consumer behavior. The core work of building user portraits is mainly to use the massive logs stored on the server and the large amount of data in the database for analysis and mining, and to "label" users. "Labels" are identifiers that can represent the characteristics of a certain dimension of users. For specific label forms, please refer to the label given to one of the users by a certain website in the figure below.

[0100] Exemplarily, determining the user portrait information of the user based on the target interaction data may include the following steps B1 to B3:

[0101] B1, extracting identity information from the target interaction data;

[0102] B2. determining the user information of the user based on the identity information;

[0103] B3. Determine the user's portrait information based on the user's information.

[0104] Among them, identity identification information refers to identification information representing the identity of the user, which may include basic identification information and important identification information. The basic identification information includes gender, age, waybill information, etc., while the important identification information may include the type of value-added service purchased, VIP identification, user frequency, etc.

[0105] Exemplarily, the user information of the user can be determined by organizing and analyzing all the identity identification information. For example, the user's identity identification information can be preliminarily classified through the basic identification information and important identification information mentioned above to obtain the user's user information. The user's user information is then matched with the portrait information about the user in a preset user portrait database to determine the user's portrait information.

[0106] 204. Based on the user intention information, the user portrait information and a preset logistics knowledge base, determine the interaction data for replying to the user.

[0107] With the vigorous development of the logistics industry, logistics-related data and information are expanding rapidly. Faced with such a large amount of logistics-related information, enterprises have continuously worked hard to refine and process it, creating a logistics knowledge base suitable for various related scenarios, and using this logistics knowledge base as a bridge and hub connecting downstream applications with the enterprise logistics knowledge base; client downstream applications, in response, support different clients to flexibly use knowledge in a plug-in-like form.

[0108] The data interaction system based on the logistics knowledge base in the embodiment of the present application uses a preset platform as a hub, which processes and transfers information from different upstream knowledge bases and also provides standardized and highly customized services for downstream applications. While decoupling the upstream knowledge base from the downstream applications, it also has strong scalability and can connect to different types of knowledge bases to provide services for different downstream applications.

[0109] The system can be flexibly configured for different business scenarios and knowledge types. While adapting to different scenarios, it optimizes user experience and protects knowledge security. For example, when online customer service is chatting, it can query input content in real time, prompt related content, and improve customer service efficiency.

[0110] For different business scenarios and different terminals, the user interface has different requirements, such as adaptable size, specific main body color, etc.; therefore, the system has the ability to configure a simple, diversified and personalized visitor terminal interface.

[0111] The data interaction system based on the logistics knowledge base in the embodiment of the present application uses Nodejs as the middle layer. When a downstream application requests, it first requests the Node server layer, and then forwards the request to the server of the back-end logistics knowledge base through the Node server to obtain data. Then, it returns it to the Node template engine, renders the template string page according to the view template, and then returns it to the downstream client application.

[0112] Exemplarily, the user intention information includes a user intention tag for tagging the user intention, and determining the interaction data for replying to the user based on the user intention information, the user portrait information, and a preset logistics knowledge base may include steps C1 and C2:

[0113] C1. Combining the user intention label with the user portrait label in the user portrait information to obtain a combined label;

[0114] C2. Inputting the combined tag into the logistics knowledge base, and generating, through the logistics knowledge base, interactive data matching the combined tag for replying to the user.

[0115] Among them, the combined tag can be understood as a tag of multiple dimensions. The combined tag can accurately locate who the user is, what the user wants to do, and what the user's needs are. To this end, through the combined tag, preset matching interaction data can be found from the preset logistics knowledge base. The interaction data can be used to reply to the user's questions and guide the user to ask questions.

[0116] In some other embodiments of the present application, before determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, steps D1 to D2 may also be included:

[0117] D1. Preprocess the historical conversation records between the target user and the logistics customer service to obtain the conversation records to be processed, wherein the historical conversation records are composed of user messages corresponding to the target user and logistics customer service messages corresponding to the logistics customer service;

[0118] D2. Divide the conversation record to be processed into one or more rounds of question-and-answer conversation records, where each round of question-and-answer conversation records is composed of user messages and logistics customer service messages in the conversation record to be processed that have a question-and-answer relationship;

[0119] D3, classifying the user messages in the conversation record to be processed, and classifying the user messages in the conversation record to be processed into at least one user intention label;

[0120] D4. Obtain a user portrait tag of the target user;

[0121] D5. For each user intent tag and the user portrait tag, determine a logistics customer service message that is a response message to the intent from the question-and-answer conversation record corresponding to the user message corresponding to the intent;

[0122] D6. Build a logistics knowledge base by using each of the user intention labels and the user portrait labels and the corresponding answer messages.

[0123] Among them, in step D4, the principle of obtaining the user portrait tag of the target user is the same as the principle of determining the user portrait information in the above step 203, which will not be repeated here.

[0124] The data interaction method based on the logistics knowledge base provided in the present application obtains target analysis data by performing data analysis on pre-acquired target interaction data between users and logistics customer service; obtains user intention information of the target analysis data; determines user portrait information of the user based on the target interaction data; determines interaction data for replying to the user based on the user intention information, the user portrait information and a preset logistics knowledge base, thereby realizing intelligent generation of interaction data for replying to the user, which is convenient for subsequent prompting of manual customer service or direct use by robot customer service for different users, thereby improving the quality and efficiency of customer service and reducing the cost of customer service.

[0125] In some embodiments of the present application, with the rapid development of the times, the logistics industry is also rapidly updating and iterating, and the original logistics knowledge base cannot remain unchanged. In order to keep pace with the times and ensure the completeness and accuracy of the content of the logistics knowledge base, the logistics knowledge base needs to be updated regularly.

[0126] Exemplarily, after determining the interactive data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, steps E1 to E3 may also be included:

[0127] E1. Obtaining user feedback information on the interaction data;

[0128] Among them, the feedback information is the user's evaluation of the satisfaction with the interactive data. Specifically, after the user's interaction with the logistics customer service is completed, a satisfaction evaluation message can be sent to the user. After the user evaluates it, the user's feedback information on the interactive data of the logistics customer's reply to the user can be obtained.

[0129] E2. Read the credibility and feedback times corresponding to the interaction data;

[0130] In the embodiment of the present application, each piece of data information in the logistics knowledge base corresponds to a credibility. When constructing the logistics knowledge base, the designer assigns an initial value to the credibility of each piece of data information based on existing experience. The credibility of each piece of data information is a variable and can be updated based on the feedback information for the data information. The data information in the logistics knowledge base also corresponds to the number of feedbacks, which is the number of times the user's feedback information on the data information is obtained. The initial value of the number of feedbacks is 0. The number of feedbacks is also a variable. Each time feedback information on the data information is obtained, the number of feedbacks corresponding to the data information is increased by 1 on the original basis.

[0131] Therefore, by querying the data information in the logistics knowledge base, the credibility and feedback times of the data information can be obtained.

[0132] E3. Based on the feedback information, credibility and the number of feedbacks, the logistics knowledge base is updated.

[0133] Specifically, since the feedback information is an evaluation of the credibility of the interaction data, after obtaining the feedback information for the interaction data, the credibility corresponding to the interaction data needs to be reset to ensure that the credibility remains valid.

[0134] The embodiment of the present application collects feedback information for evaluating the interactive data, and then uses the feedback information, credibility and the number of feedbacks to update the logistics knowledge base, thereby achieving real-time updating of the logistics knowledge base and improving the accuracy and completeness of the logistics knowledge base.

[0135] In order to better implement the data interaction method based on the logistics knowledge base in the embodiment of the present application, on the basis of the data interaction method based on the logistics knowledge base, the embodiment of the present application also provides a data interaction device based on the logistics knowledge base, such as Figure 3 As shown, the data interaction device 300 based on the logistics knowledge base includes:

[0136] The first parsing unit 301 is used to parse the pre-acquired target interaction data between the user and the logistics customer service to obtain parsed target parsing data;

[0137] A first acquisition unit 302 is used to acquire user intention information of the target parsed data;

[0138] A first determining unit 303, configured to determine user portrait information of the user based on the target interaction data;

[0139] The second determination unit 304 is used to determine the interaction data for replying to the user based on the user intention information, the user portrait information and a preset logistics knowledge base.

[0140] In a possible implementation of the present application, the user intent information includes a user intent label for labeling the user intent, and the second determining unit 304 is specifically configured to:

[0141] Combining the user intention label with the user portrait label in the user portrait information to obtain a combined label;

[0142] The combined tag is input into the logistics knowledge base, and the logistics knowledge base generates interactive data matching the combined tag for replying to the user.

[0143] In a possible implementation of the present application, the first determining unit 303 is specifically configured to:

[0144] Extracting identity information from the target interaction data;

[0145] Determine the user information of the user based on the identity information;

[0146] Based on the user information of the user, determine the portrait information of the user.

[0147] In a possible implementation of the present application, before determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, the device is further used to:

[0148] Preprocessing the historical conversation records between the target user and the logistics customer service to obtain the conversation records to be processed, wherein the historical conversation records are composed of user messages corresponding to the target user and logistics customer service messages corresponding to the logistics customer service;

[0149] Divide the conversation records to be processed into one or more rounds of question-and-answer conversation records, each round of the question-and-answer conversation records consisting of user messages and logistics customer service messages in the conversation records to be processed that have a question-and-answer relationship;

[0150] Classifying the user messages in the conversation record to be processed, and classifying the user messages in the conversation record to be processed into at least one user intention label;

[0151] Obtain a user portrait tag of the target user;

[0152] For each user intent tag and the user portrait tag, determine a logistics customer service message that is a response message to the intent from the question-and-answer conversation record corresponding to the user message corresponding to the intent;

[0153] A logistics knowledge base is constructed by using each of the user intention labels and the user portrait labels and the corresponding answer messages.

[0154] In a possible implementation of the present application, after determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, the device is further used to:

[0155] Acquiring user feedback information on the interaction data, wherein the feedback information is an evaluation of user satisfaction with the interaction data;

[0156] Read the credibility and feedback times corresponding to the interaction data;

[0157] The logistics knowledge base is updated based on the feedback information, credibility and the number of feedbacks.

[0158] In a possible implementation of the present application, the first acquiring unit 302 is specifically configured to:

[0159] The target parsed data is input into a pre-trained natural language recognition model to obtain user intent information of the target parsed data.

[0160] In a possible implementation of the present application, before performing data parsing on the pre-acquired target interaction data between the user and the logistics customer service to obtain the parsed target parsed data, the device is further used to:

[0161] Identify the pre-acquired initial interaction data between the user and the logistics customer service to obtain the identification result;

[0162] If the recognition result is that the initial interaction data is data in voice format, converting the data format of the initial interaction data to obtain target interaction data in text format;

[0163] If the recognition result is that the initial interaction data is data in a text format, the initial interaction data is determined as target interaction data.

[0164] The data interaction device based on the logistics knowledge base provided in the present application is used to perform data analysis on the pre-acquired target interaction data between the user and the logistics customer service through the first analysis unit 301 to obtain the analyzed target analysis data; the first acquisition unit 302 is used to obtain the user intention information of the target analysis data; the first determination unit 303 is used to determine the user portrait information of the user based on the target interaction data; the second determination unit 304 is used to determine the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, so as to realize the intelligent generation of the interaction data for replying to the user, so as to facilitate the subsequent prompting of manual customer service or direct use by robot customer service for different users, that is, to improve the quality and efficiency of customer service, and at the same time reduce the cost of customer service.

[0165] In addition to the above-mentioned data interaction method and device based on the logistics knowledge base, the embodiment of the present application also provides a computer device, which integrates any one of the data interaction devices based on the logistics knowledge base provided in the embodiment of the present application, and the computer device includes:

[0166] one or more processors;

[0167] Memory; and

[0168] One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to perform the operations of any of the methods described in any of the embodiments of the data interaction method based on the logistics knowledge base.

[0169] The present application also provides a computer device that integrates any of the data interaction devices based on the logistics knowledge base provided in the present application. Figure 4 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:

[0170] The computer device may include components such as a processor 401 with one or more processing cores, a storage unit 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 4 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0171] The processor 401 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the storage unit 402 and calling data stored in the storage unit 402, it executes various functions of the computer device and processes data, thereby monitoring the computer device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0172] The storage unit 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the storage unit 402. The storage unit 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the storage unit 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the storage unit 402 may also include a memory controller to provide the processor 401 with access to the storage unit 402.

[0173] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0174] The computer device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0175] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in the embodiment of the present application, the processor 401 in the computer device will load the executable file corresponding to the process of one or more application programs into the storage unit 402 according to the following instructions, and the processor 401 will run the application program stored in the storage unit 402, thereby realizing various functions, as follows:

[0176] Perform data analysis on pre-acquired target interaction data between the user and the logistics customer service to obtain target analysis data; obtain user intent information of the target analysis data; determine user portrait information of the user based on the target interaction data; determine interaction data for replying to the user based on the user intent information, the user portrait information and a preset logistics knowledge base.

[0177] The data interaction method based on the logistics knowledge base provided in the present application obtains target analysis data by performing data analysis on pre-acquired target interaction data between users and logistics customer service; obtains user intention information of the target analysis data; determines user portrait information of the user based on the target interaction data; determines interaction data for replying to the user based on the user intention information, the user portrait information and a preset logistics knowledge base, thereby realizing intelligent generation of interaction data for replying to the user, which is convenient for subsequent prompting of manual customer service or direct use by robot customer service for different users, thereby improving the quality and efficiency of customer service and reducing the cost of customer service.

[0178] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. The computer-readable storage medium stores a plurality of instructions, which can be loaded by a processor to execute the steps in any one of the data interaction methods based on a logistics knowledge base provided in the embodiment of the present application. For example, the instruction can execute the following steps:

[0179] Perform data analysis on pre-acquired target interaction data between the user and the logistics customer service to obtain target analysis data; obtain user intent information of the target analysis data; determine user portrait information of the user based on the target interaction data; determine interaction data for replying to the user based on the user intent information, the user portrait information and a preset logistics knowledge base.

[0180] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0181] The above is a detailed introduction to a data interaction method, device and related equipment based on a logistics knowledge base provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data interaction method based on a logistics knowledge base, characterized in that: The method comprises: Perform data analysis on the pre-acquired target interaction data between the user and the logistics customer service to obtain target analysis data; Acquire user intention information of the target parsed data; Determining user portrait information of the user based on the target interaction data; Based on the user intention information, the user portrait information and a preset logistics knowledge base, determine the interaction data for replying to the user.

2. The data interaction method based on the logistics knowledge base according to claim 1 is characterized in that: The user intention information includes a user intention tag for tagging the user intention, and the determining of the interaction data for replying to the user based on the user intention information, the user portrait information and a preset logistics knowledge base includes: Combining the user intention label with the user portrait label in the user portrait information to obtain a combined label; The combined tag is input into the logistics knowledge base, and the logistics knowledge base generates interactive data matching the combined tag for replying to the user.

3. The data interaction method based on the logistics knowledge base according to claim 1 is characterized in that: The determining the user portrait information of the user based on the target interaction data includes: Extracting identity information from the target interaction data; Determine the user information of the user based on the identity information; Based on the user information of the user, determine the portrait information of the user.

4. The data interaction method based on the logistics knowledge base according to claim 1 is characterized in that: Before determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, the method further includes: Preprocessing the historical conversation records between the target user and the logistics customer service to obtain the conversation records to be processed, wherein the historical conversation records are composed of user messages corresponding to the target user and logistics customer service messages corresponding to the logistics customer service; Divide the conversation records to be processed into one or more rounds of question-and-answer conversation records, each round of the question-and-answer conversation records consisting of user messages and logistics customer service messages in the conversation records to be processed that have a question-and-answer relationship; Classifying the user messages in the conversation record to be processed, and classifying the user messages in the conversation record to be processed into at least one user intention label; Obtain a user portrait tag of the target user; For each user intent tag and the user portrait tag, determine a logistics customer service message that is a response message to the intent from the question-and-answer conversation record corresponding to the user message corresponding to the intent; A logistics knowledge base is constructed by using each of the user intention labels and the user portrait labels and the corresponding answer messages.

5. The data interaction method based on logistics knowledge base according to claim 1 is characterized in that: After determining the interaction data for replying to the user based on the user intention information, the user portrait information and the preset logistics knowledge base, the method further includes: Acquiring feedback information from the user on the interaction data, wherein the feedback information is an evaluation of the user's satisfaction with the interaction data; Read the credibility and feedback times corresponding to the interaction data; The logistics knowledge base is updated based on the feedback information, credibility and the number of feedbacks.

6. The data interaction method based on logistics knowledge base according to claim 1 is characterized in that: The obtaining of user intention information of the target parsed data includes: The target parsed data is input into a pre-trained natural language recognition model to obtain user intent information of the target parsed data.

7. The data interaction method based on logistics knowledge base according to claim 1 is characterized in that: Before parsing the pre-acquired target interaction data between the user and the logistics customer service to obtain the parsed target parsed data, the method further includes: Identify the pre-acquired initial interaction data between the user and the logistics customer service to obtain the identification result; If the recognition result is that the initial interaction data is data in voice format, converting the data format of the initial interaction data to obtain target interaction data in text format; If the recognition result is that the initial interaction data is data in a text format, the initial interaction data is determined as target interaction data.

8. A data interaction device based on a logistics knowledge base, characterized in that: The device comprises: The first parsing unit is used to parse the pre-acquired target interaction data between the user and the logistics customer service to obtain parsed target parsing data; A first acquisition unit, configured to acquire user intention information of the target parsed data; A first determining unit, configured to determine user portrait information of the user based on the target interaction data; The second determination unit is used to determine the interaction data for replying to the user based on the user intention information, the user portrait information and a preset logistics knowledge base.

9. A computer device, characterized in that: The computer device comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the data interaction method based on the logistics knowledge base as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the data interaction method based on a logistics knowledge base as described in any one of claims 1 to 7.