A method and device for displaying user tags

By obtaining user numbers and identifying scenarios, and using a sorting model to display target user tags, it solves the problems of large calculations and poor user experience caused by service providers focusing on different factors in different scenarios, reducing calculations and costs, and improving service efficiency. effect.

CN113781062BActive Publication Date: 2024-10-22BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010768746.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-03
Publication Date
2024-10-22
Estimated Expiration
2040-08-03

AI Technical Summary

Technical Problem

In the existing technology, service providers focus on different elements in different scenarios, resulting in a large number of user tags, a large amount of calculation, high display costs, low service efficiency, and poor user experience.

Method used

By obtaining the user number of the current session, the current scene is identified, and the sorting model is used to determine the order of user tags related to the scene, display the target user tags, and reduce the calculation amount and display cost.

Benefits of technology

It improves service efficiency and user experience, and reduces the calculation volume and cost of subsequent services by accurately displaying target user tags.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113781062B_ABST
    Figure CN113781062B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for displaying user tags, and relates to the field of computer technology. A specific implementation of the method includes: obtaining the user number of the current session, determining the user tag corresponding to the user number; identifying the current scene corresponding to the current session, where the current scene is one of one or more scenes processed by the service provider; determining the target user tag from the user tags corresponding to the user number according to the sorting model and the current scene, wherein the sorting model is used to determine the arrangement order of the user tags related to the scene; and displaying the target user tag in the current session corresponding to the service provider. This implementation reduces the amount of calculation for determining the target user tag, reduces the display cost, improves the efficiency of subsequent services, and enhances the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for displaying user tags. Background Art

[0002] In online customer service systems, service providers (customer service, sales staff, etc.) often communicate with users through web-based instant messaging tools and provide customized services based on users' user tags to achieve the purpose of precise service.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] 1. Each user has a large number of corresponding tags. Different service providers focus on different elements in different scenarios. Existing methods cannot show service providers the user tags they care about, resulting in low service efficiency and poor user experience.

[0005] 2. Based on the service provider's attention factors and the number of user tags, especially when there are new user tags, the user tags that the service provider is concerned about are accurately displayed to the service provider, which requires large amount of calculation and high display cost. Summary of the invention

[0006] In view of this, an embodiment of the present invention provides a method and device for displaying user tags, which determines the target user tag corresponding to the current session user through the user tag sorting determined by the service provider in the current scenario indicated by the sorting model, and displays it to the service provider, thereby reducing the amount of calculation for determining the target user tag, reducing the display cost, improving the subsequent service efficiency, and enhancing the user experience.

[0007] To achieve the above object, according to a first aspect of an embodiment of the present invention, a method for displaying user tags is provided, comprising:

[0008] Get the user ID of the current session and determine the user tag corresponding to the user ID;

[0009] Identifying a current scenario corresponding to the current session, the current scenario being one of one or more scenarios processed by the service provider;

[0010] According to the sorting model and the current scenario, determine the target user tag from the user tags corresponding to the user ID, wherein the sorting model is used to determine the arrangement order of the user tags related to the scenario;

[0011] The target user tag is displayed in the current session corresponding to the service provider.

[0012] Optionally, determining the user tag corresponding to the user ID also includes:

[0013] Obtain historical data of users corresponding to each user ID, and obtain a tag set consisting of multiple user tags based on analyzing and processing the historical data;

[0014] A user tag corresponding to the user ID is determined based on historical data of the user who is currently in session with the service provider.

[0015] Optionally, train a ranking model by following these steps:

[0016] For the scenario, multiple user tags are selected from the tag set and displayed to the service provider;

[0017] receiving an arrangement order of multiple user tags selected by a service provider for a scene;

[0018] For the scenario, the arrangement order of multiple user labels is used as the training set to train the sorting model.

[0019] Optionally, for a scenario, the order of multiple user tags is used as a training set to train the sorting model, including:

[0020] The sorting model is a binary sorting model;

[0021] For the scenario, based on the arrangement order of multiple user tags, the arrangement order of every two user tags in the multiple user tags is determined, and the arrangement order of every two user tags is used as a training set to train the binary classification sorting model.

[0022] Optionally, when a user tag is newly added to the tag set, the method for displaying the user tag further includes: updating the tag set, and retraining the sorting model based on the updated tag set.

[0023] Optionally, the step of determining the target user tag from the user tags corresponding to the user ID according to the sorting model and the current scenario further includes:

[0024] The target user tag is determined from the user tags corresponding to the user ID according to the sorting model, the target user tag quantity threshold and the current scenario.

[0025] Optionally, before the step of displaying the target user tag in the current session corresponding to the service provider, the method for displaying the user tag further includes:

[0026] Identify a sub-scenario of the current scenario corresponding to the current session;

[0027] A target user tag associated with the sub-scenario is determined, wherein the target user tag associated with the sub-scenario is selected from the target user tag associated with the current scenario.

[0028] According to a second aspect of an embodiment of the present invention, there is provided a user tag display device, comprising:

[0029] A user tag determination module, used to obtain the user ID of the current session and determine the user tag corresponding to the user ID;

[0030] A current scene identification module, used to identify the current scene corresponding to the current session, the current scene being one of one or more scenes processed by the service provider;

[0031] A target user tag determination module is used to determine the target user tag from the user tags corresponding to the user number according to the sorting model and the current scene, wherein the sorting model is used to determine the arrangement order of the user tags related to the scene;

[0032] The display module is used to display the target user tag in the current session corresponding to the service provider.

[0033] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, including:

[0034] One or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned user tag display methods.

[0035] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, any of the above-mentioned user tag display methods is implemented.

[0036] An embodiment of the above invention has the following advantages or beneficial effects: because the user number of the current session is obtained, the user tag corresponding to the user number is determined; the current scene corresponding to the current session is identified, and the current scene is one of one or more scenes processed by the service provider; according to the sorting model and the current scene, the target user tag is determined from the user tags corresponding to the user number, wherein the sorting model is used to determine the arrangement order of the user tags related to the scene; the technical means of displaying the target user tag in the current session corresponding to the service provider solves the technical problems in the existing method that the service provider has different focus factors and a large number of user tags, resulting in a large amount of calculation, high display cost, low subsequent service efficiency and poor user experience for accurately displaying the user tags that the service provider is concerned about, thereby achieving the technical effect of reducing the amount of calculation for determining the target user tag, reducing the display cost, improving the subsequent service efficiency and enhancing the user experience.

[0037] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0039] Figure 1 is a schematic diagram of the main process of the method for displaying user tags provided according to the first embodiment of the present invention;

[0040] Figure 2a is a schematic diagram of the main process of the method for displaying user tags provided according to the second embodiment of the present invention;

[0041] Figure 2b yes Figure 2a A schematic diagram of the main process of obtaining user tags in the method;

[0042] Figure 2c yes Figure 2a A schematic diagram of the main process of training a ranking model in the method;

[0043] Figure 3 is a schematic diagram of main modules of a user tag display device provided according to a fifth embodiment of the present invention;

[0044] Figure 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0045] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0046] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0047] Figure 1 is a schematic diagram of the main process of the method for displaying user tags according to the first embodiment of the present invention; Figure 1 As shown, the method for displaying user tags provided by the embodiment of the present invention mainly includes:

[0048] Step S101, obtaining the user ID of the current session, and determining the user tag corresponding to the user ID.

[0049] User tags are very rich, and each user corresponds to a large number of user tags (such as age, gender, preferences, interests, occupation, historical complaint rate, risk level, purchasing power level, etc.), and with the expansion of basic data dimensions, each user will continue to expand new user notes. By obtaining the user ID of the current session, the multiple (greater than or equal to two) tags corresponding to the user can be determined according to the user ID. For new users, if more user tags have not been expanded, there may be only one user tag, but in this case, it is only necessary to display the only user tag to the service provider, and there is no need to consider the user tag sorting determined according to the service provider's focus factors.

[0050] Specifically, according to an embodiment of the present invention, before the above-mentioned step of obtaining the user number of the current session, it also includes: obtaining historical data of users corresponding to each user number, obtaining multiple user tags based on analyzing and processing the historical data, and forming the multiple user tags into a tag set, where the user tag corresponds to the user number.

[0051] User tags are obtained by abstracting the user's historical data. User tags can be used to describe user portraits and obtain user characteristics, thereby achieving the purpose of accurate service. Through the above settings, the user tags obtained by processing historical data are placed in the tag set, which is convenient for determining all the corresponding user numbers according to the user number. The more comprehensive the user tags corresponding to the user numbers obtained, the more accurate the target user tags subsequently determined and displayed to the service provider are, which is conducive to improving the quality of the corresponding services provided by the service provider according to the target user tags and improving the user experience.

[0052] Step S102, identifying a current scenario corresponding to the current session, where the current scenario is one of one or more scenarios processed by the service provider.

[0053] The scenarios corresponding to the session can be pre-sales scenarios, after-sales scenarios, order scenarios, logistics scenarios, etc. Since the service provider may focus on different factors in different scenarios, for example, in the pre-sales scenario, the customer service focuses on user preferences, order data after user consultation, user understanding of the product, user purchasing power level and other user tags; while in the pre-sales scenario, the customer service focuses on user risk level and tendency, user consultation evaluation, user after-sales frequency, user influence and other user tags. Therefore, by identifying the current scenario corresponding to the current session, the accuracy of displaying the target user tags to the service provider can be further improved.

[0054] Step S103, determining a target user tag from user tags corresponding to the user ID according to a sorting model and the current scenario, wherein the sorting model is used to determine an arrangement order of user tags related to the scenario.

[0055] The sorting of multiple user tags determined based on the service provider's attention factors in each scenario processed by the service provider in the sorting model can determine the target user tag according to the current scenario and the multiple user tags corresponding to the user number. It can be understood that there is at least one target user tag. In the case of multiple target user tags, the sorting of each user tag is also indicated in the target user tag.

[0056] Specifically, according to an embodiment of the present invention, the sorting model is trained by the following steps:

[0057] For the scenario, multiple user tags are selected from the tag set and displayed to the service provider; the arrangement order of the multiple user tags selected by the service provider for the scenario is received; for the scenario, the multiple user tags are used as a training set to train the sorting model.

[0058] The tag set includes user tags corresponding to each user number, and a user tag corresponding to at least one user tag is obtained from the tag set. Then, according to the selection of the service provider (the selection is determined by the service provider based on the focus factors in each scene), the arrangement order of multiple user tags in the tag set in each scene is determined, and then the arrangement order of multiple user tags in each scene is used as a training set to train the sorting model. When the sorting model converges, the sorting of user tags determined by the service provider in each scene can be obtained, and then the target user tag can be determined according to the sorting model and the current scene, which reduces the calculation amount of determining the target user tag, and thus reduces the subsequent display cost of the target user tag.

[0059] Further, according to an embodiment of the present invention, for a scenario, the arrangement order of multiple user tags is used as a training set, and the step of training a sorting model includes: the sorting model is a binary classification sorting model; for a scenario, based on the arrangement order of multiple user tags, the arrangement order of every two user tags in the multiple user tags is determined, and the arrangement order of every two user tags is used as a training set to train the binary classification sorting model.

[0060] Through the above settings, the arrangement order of each two user labels in each scene is used as the training set, and then PairWise (pairwise annotation sorting model / binary classification sorting model, which sorts each two objects to obtain the partial order relationship of the training set) is trained to obtain the final sorting results of multiple user labels determined based on the service provider's attention factors in each scene, which can reduce the amount of calculation for determining the sorting results of multiple user labels in each scene in the sorting model and reduce the calculation cost. It should be noted that the above sorting model can also adopt any existing sorting model that uses a sorting learning algorithm, such as PointWise (single-point annotation sorting model, whose main idea is to convert the sorting problem into a multi-classification problem or a regression problem) and LiseWise (list annotation sorting model, which takes all objects as training sets and then obtains the final sorting result through training).

[0061] Preferably, according to an embodiment of the present invention, when a user tag is newly added to a tag set, the above method for displaying user tags further includes: updating the tag set, and retraining the ranking model based on the updated tag set.

[0062] With the expansion of basic data dimensions or the increase in the amount of user historical data obtained, new user tags are often developed. In the case of newly added user tags, it is only necessary to determine the arrangement order of the newly added user tags and the multiple data tags obtained from the tag set in each scenario based on the choice of the service provider, add the newly added user tags and the arrangement order of the multiple user tags in each scenario to the training set, and re-train the sorting model. This can update the sorting results of multiple user tags in each scenario in the sorting model, thereby improving the timeliness of the sorting model. At the same time, it is also convenient to adjust the sorting model according to the actual needs of the service provider, thereby improving the accuracy of determining the target user tags.

[0063] Further, according to an embodiment of the present invention, the step of determining a target user tag from user tags corresponding to the user number according to the sorting model and the current scenario also includes:

[0064] The target user tag is determined from the user tags corresponding to the user ID according to the sorting model, the target user tag quantity threshold and the current scenario.

[0065] Although the ranking of multiple user tags in each scenario determined based on the service provider's attention factors is obtained through the above ranking model, when determining the target user tag, it is not necessarily necessary to display all user tags that match the multiple user tags corresponding to the user tag and the user tag ranking indicated in the ranking model. By setting a threshold for the number of target user tags, the target user tags can be filtered, and only the user tags corresponding to the service provider's most concerned factors are determined as target user tags.

[0066] Step S104: display the target user tag in the current session corresponding to the service provider.

[0067] Specifically, according to an embodiment of the present invention, before the step of displaying the target user tag in the current session corresponding to the service provider, the method for displaying the user tag further includes:

[0068] Identify a sub-scenario of the current scenario corresponding to the current session;

[0069] A target user tag associated with the sub-scenario is determined, wherein the target user tag associated with the sub-scenario is selected from the target user tag associated with the current scenario.

[0070] In actual application, the scenario is further divided into at least one sub-scenario according to the service provider's focus factors. For example, in the case where the service provider's focus factor in the sub-scenario is the user's black industry risk, when the user label representing the user's risk is displayed as "normal", it is a meaningless user label for the service provider. Therefore, in order to improve the accuracy of the target user label displayed to the service provider and to further improve the service efficiency of the subsequent service provider, the target user label is filtered according to the sub-scenario of the current scenario corresponding to the current session. It can be understood that the above-mentioned screening step can be understood as a further division of the session scenario. For example, for a session scenario for determining user risk, the corresponding sub-scenario can be a sub-scenario for determining the user's black industry risk and a sub-scenario for determining the user's normal risk.

[0071] According to the technical solution of the embodiment of the present invention, the user number of the current session is obtained to determine the user tag corresponding to the user number; the current scene corresponding to the current session is identified, and the current scene is one of one or more scenes processed by the service provider; according to the sorting model and the current scene, the target user tag is determined from the user tags corresponding to the user number, wherein the sorting model is used to determine the arrangement order of the user tags related to the scene; the technical means of displaying the target user tag in the current session corresponding to the service provider solves the technical problems in the existing method that the service provider has different focus factors and a large number of user tags, resulting in a large amount of calculation, high display cost, low subsequent service efficiency and poor user experience for accurately displaying the user tags that the service provider is concerned about, thereby achieving the technical effect of reducing the amount of calculation for determining the target user tag, reducing the display cost, improving the subsequent service efficiency and enhancing the user experience.

[0072] Figure 2a is a schematic diagram of the main process of the method for displaying user tags according to the second embodiment of the present invention; Figure 2a As shown, the method for displaying user tags provided by the embodiment of the present invention mainly includes:

[0073] Step S21, obtaining historical data of users corresponding to each user number, and obtaining a tag set consisting of multiple user tags based on analyzing and processing the historical data; determining the user tag corresponding to the user number according to the historical data of the user who is currently in session with the service provider.

[0074] Specifically, according to an embodiment of the present invention, Figure 2b As shown, the above step S21 mainly includes steps S211 to S213, which are specifically as follows:

[0075] Step S211, obtaining the historical data of the user corresponding to each user ID, the historical data including information such as user image, purchase product preference, historical consultation data and appearance preference.

[0076] Step S212, obtaining multiple user tags based on the analysis and processing of historical data, wherein the analysis and processing includes at least one of the following processing methods: cluster analysis, numerical segmentation, conditional judgment and logical calculation, and the types corresponding to the data tags include Boolean type, string type and numerical type, etc.

[0077] Step S213: placing each user ID and its corresponding data tag in a tag set.

[0078] Historical data is a statistics of the data generated by the user's historical behavior in the past period of time. Specifically, historical data can be determined through historical consultation session records (this is only an example. In actual application, historical data can also be obtained through multiple platforms / channels). Historical data mainly includes session evaluation records, order records, after-sales records, and risk analysis data of the customer service system for the user. Through historical data, user portraits can be more comprehensively portrayed and corresponding user tags can be generated. Through the above settings, user historical data is analyzed and processed through one or more methods of cluster analysis, data segmentation, conditional judgment, and logical calculation to obtain user tags; further, it can also be divided into different types of user tags such as Boolean type, text type, string type, and numerical type according to the tag value. For example, the tag value of the user tag "historical complaint rate" is data between 0-1, and its type is numerical type; the tag value corresponding to the user tag "whether pregnant" is yes or no, and its type is Boolean type; the tag value corresponding to the user tag "occupation" is student, teacher, etc., and its type is text type.

[0079] According to a specific implementation of the embodiment of the present invention, the step of obtaining the user tag can be performed through a tag relationship system.

[0080] Step S22, for a scenario (a scenario processed by a service provider), select multiple user tags from a tag set and display them to the service provider; receive the arrangement order of the multiple user tags selected by the service provider according to the scenario; for the scenario, use the arrangement order of the multiple user tags as a training set to train the sorting model.

[0081] Through the above settings, the ranking of user tags determined by the service provider in each scenario is obtained, and then the target user tags can be determined according to the ranking model and the current scenario, which reduces the amount of calculation for determining the target user tags and reduces the subsequent display cost of the target user tags.

[0082] Further, according to an embodiment of the present invention, the sorting model is a binary sorting model, and the sorting order of the plurality of user tags in each scenario is determined according to the selection of the service provider, and the sorting order of the plurality of user tags in each scenario is used as a training set. The step of training the sorting model includes:

[0083] The arrangement order of each two user tags in each scenario is determined, and the arrangement order of each two user tags in each scenario is used as a training set to train the binary classification sorting model.

[0084] Through the above settings, PairWise (a pairwise labeling sorting model / binary classification sorting model, which sorts every two objects to obtain a partial order relationship of the training set) is used for training to obtain the final sorting results of multiple user labels determined based on the service provider's focus factors in each scenario. This can reduce the amount of calculation of the sorting results of multiple user labels in each scenario in determining the sorting model and reduce the calculation cost.

[0085] Preferably, according to an embodiment of the present invention, when a new user tag is added to the tag set, the above-mentioned user tag display method also includes: determining the arrangement order of the newly added user tag and multiple user tags in each scenario according to the selection of the service provider, adding the arrangement order of the newly added user tag and multiple user tags in each scenario to the training set, and training the sorting model.

[0086] Through the above settings, the sorting results of multiple user tags in each scenario in the sorting model are updated, the timeliness of the sorting model is improved, and it is also convenient to adjust the sorting model according to the actual needs of the service provider, thereby improving the accuracy of determining the target user tags.

[0087] Further, according to an embodiment of the present invention, the step of determining a target user tag from a plurality of user tags according to the ranking model and the current scenario further includes:

[0088] A target user tag is determined from multiple user tags according to a ranking model, a target user tag quantity threshold, and a current scenario.

[0089] By setting a target user tag quantity threshold, the target user tags can be filtered, and only the user tags corresponding to the elements that the service provider pays most attention to are determined as target user tags.

[0090] Further, according to an embodiment of the present invention, Figure 2c As shown, the training step of the sorting model shown in the above step S22 can also be implemented by the following steps:

[0091] Step S221, generating a consulting question list based on each scenario, wherein the consulting question list indicates the order in which user tags can be displayed for selection by the service provider.

[0092] Step S222: receiving the display order selected by the service provider, and splitting the display order to obtain the arrangement order corresponding to any two user tags.

[0093] Step S223: Taking the arrangement order corresponding to any two user tags as training samples, inputting them into the binary classification sorting model, and training the binary classification sorting model.

[0094] Further, according to an embodiment of the present invention, the above-mentioned consulting question list may also include consulting questions (such as, in an after-sales consulting scenario, the service provider expects the following tags to be displayed in what order), and random N user tags (randomly extracted from a tag set, such as [A. Whether it is a black market user, B. User purchasing power, C. User occupation, D. User category preference, etc.]). Among them, the service provider's desired display order is obtained by statistically determining the choices based on its own focus factors. Specifically, the above-mentioned binary classification sorting model can be a RankBoost model based on AdaBoost (only as an example), and the trained sorting model can be used to recommend user tags.

[0095] Step S23, obtaining the user ID of the current session, and determining the user tag corresponding to the user ID.

[0096] By obtaining the user ID of the current session, multiple (greater than or equal to two) tags corresponding to the user can be determined according to the user ID.

[0097] Step S24, identifying a current scenario corresponding to the current session, where the current scenario is one of one or more scenarios processed by the service provider.

[0098] Since the elements that the service provider focuses on may be different in different scenarios, the accuracy of displaying the target user tag to the service provider can be further improved by identifying the current scenario corresponding to the current session.

[0099] Step S25, determining the target user tag from the user tags corresponding to the user ID according to the sorting model and the current scenario.

[0100] The sorting of multiple user tags determined based on the service provider's attention factors in each scenario in the sorting model can determine the target user tag according to the current scenario and the multiple user tags corresponding to the user number. It can be understood that there is at least one target user tag. In the case of multiple target user tags, the sorting of each user tag is also indicated in the target user tag.

[0101] Step S26, identifying a sub-scenario of the current scenario corresponding to the current session, and determining a target user tag associated with the sub-scenario.

[0102] In actual application, the scenario is further divided into at least one sub-scenario according to the service provider's focus factors. For example, in the case where the service provider's focus factor in the sub-scenario is the user's black industry risk, when the user label representing the user's risk is displayed as "normal", it is a meaningless user label for the service provider. Therefore, in order to improve the accuracy of the target user label displayed to the service provider and to further improve the service efficiency of the subsequent service provider, the target user label is filtered according to the sub-scenario of the current scenario corresponding to the current session. It can be understood that the above-mentioned screening step can be understood as a further division of the session scenario. For example, for a session scenario for determining user risk, the corresponding sub-scenario can be a sub-scenario for determining the user's black industry risk and a sub-scenario for determining the user's normal risk.

[0103] Step S27: Display the target user tag in the current session corresponding to the service provider.

[0104] According to the technical solution of the embodiment of the present invention, the user number of the current session is obtained to determine the user tag corresponding to the user number; the current scene corresponding to the current session is identified; according to the sorting model and the current scene, the target user tag is determined from the user tags corresponding to the user number, wherein the sorting model is obtained according to the sorting of multiple user tags by the service provider in each scene; the technical means of displaying the target user tag in the current session corresponding to the service provider solves the technical problems in the existing method of accurately displaying the user tags concerned by the service provider due to different focus factors of the service provider and a large number of user tags, resulting in large amount of calculation, high display cost, low subsequent service efficiency and poor user experience, thereby achieving the technical effect of reducing the amount of calculation for determining the target user tag, reducing the display cost, improving the subsequent service efficiency and enhancing the user experience.

[0105] Figure 3 is a schematic diagram of the main modules of the user tag display device provided according to the fifth embodiment of the present invention; Figure 3 As shown, the user tag display device 300 provided in the embodiment of the present invention mainly includes:

[0106] The user tag determination module 301 is used to obtain the user ID of the current session and determine the user tag corresponding to the user ID.

[0107] User tags are very rich, and each user corresponds to a large number of user tags (such as age, gender, preferences, interests, risk level, purchasing power level, etc.), and with the expansion of basic data dimensions, each user will continue to expand new user notes. By obtaining the user ID of the current session, the multiple (greater than or equal to two) tags corresponding to the user can be determined according to the user ID. For new users, if more user tags have not been expanded, there may be only one user tag, but in this case, it is only necessary to display the only user tag to the service provider, and there is no need to consider the user tag sorting determined according to the service provider's focus factors.

[0108] Specifically, according to an embodiment of the present invention, the above-mentioned user tag display device 300 also includes a tag set combination module. Before the above-mentioned step of obtaining the user number of the current session, the tag set combination module is used to: obtain historical data of users corresponding to each user number, obtain multiple user tags based on analyzing and processing the historical data, and form multiple user tags into a tag set, where the user tag corresponds to the user number.

[0109] User tags are obtained by abstracting the user's historical data. User tags can be used to describe user portraits and obtain user characteristics, thereby achieving the purpose of accurate service. Through the above settings, the user tags obtained by processing historical data are placed in the tag set, which is convenient for determining all the corresponding user numbers according to the user number. The more comprehensive the user tags corresponding to the user numbers obtained, the more accurate the target user tags subsequently determined and displayed to the service provider are, which is conducive to improving the quality of the corresponding services provided by the service provider according to the target user tags and improving the user experience.

[0110] The current scene identification module 302 is used to identify the current scene corresponding to the current session, where the current scene is one of one or more scenes processed by the service provider.

[0111] In different scenarios, the service provider may focus on different factors. For example, in the pre-sales scenario, customer service focuses on user preferences, order data after user consultation, user understanding of the product, user purchasing power level and other user tags; while in the pre-sales scenario, customer service focuses on user risk level and tendency, user consultation evaluation, user after-sales frequency, user influence and other user tags. Therefore, by identifying the current scenario corresponding to the current session, the accuracy of displaying target user tags to the service provider can be further improved.

[0112] The target user tag determination module 303 is used to determine the target user tag from the user tags corresponding to the user numbers according to the sorting model and the current scenario, wherein the sorting model is used to determine the arrangement order of the user tags related to the scenario.

[0113] The sorting of multiple user tags determined based on the service provider's focus factors in each scenario processed by the service provider in the sorting model can determine the target user tag according to the current scenario and the user tag corresponding to the user number. It can be understood that there is at least one target user tag. In the case of multiple target user tags, the sorting of each user tag is also indicated in the target user tag.

[0114] Specifically, according to an embodiment of the present invention, the user tag display device 300 further includes a sorting model training module, which is used to:

[0115] For the scenario, multiple user tags are selected from the tag set and displayed to the service provider; the arrangement order of the multiple user tags selected by the service provider for the scenario is received; for the scenario, the multiple user tags are used as a training set to train the sorting model.

[0116] The tag set includes user tags corresponding to each user number, and a user tag corresponding to at least one user tag is obtained from the tag set. Then, according to the selection of the service provider (the selection is determined by the service provider based on the focus factors in each scene), the arrangement order of multiple user tags in the tag set in each scene is determined, and then the arrangement order of multiple user tags in each scene is used as a training set to train the sorting model. When the sorting model converges, the sorting of user tags determined by the service provider in each scene can be obtained, and then the target user tag can be determined according to the sorting model and the current scene, which reduces the calculation amount of determining the target user tag, and thus reduces the subsequent display cost of the target user tag.

[0117] Further, according to an embodiment of the present invention, the sorting model is a binary sorting model, and the sorting model training module is further used to:

[0118] For the scene, based on the arrangement order of multiple user tags, the arrangement order of every two user tags in the multiple user tags is determined, and the arrangement order of every two user tags is used as a training set to train the binary sorting model. Through the above settings, the arrangement order of every two user tags in each scene is used as a training set, and then PairWise (pairwise annotation sorting model / binary sorting model, which sorts every two objects to obtain a partial order relationship of the training set) is trained to obtain the final sorting results of multiple user tags determined based on the service provider's attention factors in each scene, which can reduce the calculation amount of the sorting results of multiple user tags in each scene in the sorting model, and reduce the calculation cost. It should be noted that the above sorting model can also adopt any existing sorting model that uses a sorting learning algorithm, such as PointWise (single point annotation sorting model, whose main idea is to convert the sorting problem into a multi-classification problem or a regression problem) and LiseWise (list annotation sorting model, which takes all objects as training sets and then obtains the final sorting result through training).

[0119] Preferably, according to an embodiment of the present invention, when a new user tag is added to the tag set, the above-mentioned sorting model training module is further used to: update the tag set, and retrain the sorting model based on the updated tag set.

[0120] With the expansion of basic data dimensions or the increase in the amount of user historical data obtained, new user tags are often developed. In the case of newly added user tags, it is only necessary to determine the arrangement order of the newly added user tags and the multiple data tags obtained from the tag set in each scenario based on the choice of the service provider, add the newly added user tags and the arrangement order of the multiple user tags in each scenario to the training set, and re-train the sorting model. This can update the sorting results of multiple user tags in each scenario in the sorting model, thereby improving the timeliness of the sorting model. At the same time, it is also convenient to adjust the sorting model according to the actual needs of the service provider, thereby improving the accuracy of determining the target user tags.

[0121] Further, according to an embodiment of the present invention, the target user tag determination module 303 is further configured to determine the target user tag from the user tags corresponding to the user number according to the sorting model, the target user tag quantity threshold and the current scenario.

[0122] Although the ranking of multiple user tags in each scenario determined based on the service provider's attention factors is obtained through the above ranking model, when determining the target user tag, it is not necessarily necessary to display all user tags that match the multiple user tags corresponding to the user tag and the user tag ranking indicated in the ranking model. By setting a threshold for the number of target user tags, the target user tags can be filtered, and only the user tags corresponding to the service provider's most concerned factors are determined as target user tags.

[0123] The display module 304 is used to display the target user tag in the current session corresponding to the customer service.

[0124] Specifically, according to an embodiment of the present invention, the user tag display device 300 further includes a target user tag screening module. Before the step of displaying the target user tag in the current session corresponding to the service provider, the target user tag screening module is used to:

[0125] Identify a sub-scenario of the current scenario corresponding to the current session;

[0126] A target user tag associated with the sub-scenario is determined, wherein the target user tag associated with the sub-scenario is selected from the target user tag associated with the current scenario.

[0127] In actual application, the scenario is further divided into at least one sub-scenario according to the service provider's focus factors. For example, in the case where the service provider's focus factor in the sub-scenario is the user's black industry risk, when the user label representing the user's risk is displayed as "normal", it is a meaningless user label for the service provider. Therefore, in order to improve the accuracy of the target user label displayed to the service provider and to further improve the service efficiency of the subsequent service provider, the target user label is filtered according to the sub-scenario of the current scenario corresponding to the current session. It can be understood that the above-mentioned screening step can be understood as a further division of the session scenario. For example, for a session scenario for determining user risk, the corresponding sub-scenario can be a sub-scenario for determining the user's black industry risk and a sub-scenario for determining the user's normal risk.

[0128] According to the technical solution of the embodiment of the present invention, the user number of the current session is obtained to determine the user tag corresponding to the user number; the current scene corresponding to the current session is identified, and the current scene is one of one or more scenes processed by the service provider; according to the sorting model and the current scene, the target user tag is determined from the user tags corresponding to the user number, wherein the sorting model is used to determine the arrangement order of the user tags related to the scene; the technical means of displaying the target user tag in the current session corresponding to the service provider solves the technical problems in the existing method that the service provider has different focus factors and a large number of user tags, resulting in a large amount of calculation, high display cost, low subsequent service efficiency and poor user experience for accurately displaying the user tags that the service provider is concerned about, thereby achieving the technical effect of reducing the amount of calculation for determining the target user tag, reducing the display cost, improving the subsequent service efficiency and enhancing the user experience.

[0129] Figure 4 An exemplary system architecture 400 is shown to which a method for displaying user tags or an apparatus for displaying user tags according to an embodiment of the present invention may be applied.

[0130] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, 403, network 404, and server 405. Network 404 is used to provide a medium for communication links between terminal devices 401, 402, 403 and server 405. Network 404 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0131] The user can use the terminal devices 401, 402, 403 to interact with the server 405 through the network 404 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 401, 402, 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0132] The terminal devices 401 , 402 , and 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0133] The server 405 may be a server that provides various services, such as a background management server that provides support for images or information obtained by users using the terminal devices 401, 402, and 403. The background management server may analyze and process the received data such as the user ID and the current scene, and feed back the processing result (such as the target user tag) to the terminal device.

[0134] It should be noted that the user tag display method provided in the embodiment of the present invention is generally executed by the terminal device 401, 402, 403 or the server 405. Accordingly, a user tag display device is generally arranged in the terminal device 401, 402, 403 or the server 405.

[0135] It should be understood that Figure 4 The number of terminal devices, networks, and servers in the embodiment is only for illustration purposes. Any number of terminal devices, networks, and servers may be provided as required.

[0136] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device suitable for implementing an embodiment of the present invention. Figure 5 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0137] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 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 part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 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.

[0138] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0139] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a 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 part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.

[0140] It should be noted that the computer-readable medium shown in the present invention 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 invention, 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 invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. 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. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, 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 medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0141] 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 invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram or flow chart, and the combination of the boxes in the block diagram 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.

[0142] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor. For example, they may be described as: a processor including: a user tag determination module, a current scene recognition module, a target user tag determination module, and a display module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, the user tag determination module may also be described as "a module for obtaining the user number of the current session and determining the user tag corresponding to the user number".

[0143] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining the user number of the current session, determining the user tag corresponding to the user number; identifying the current scene corresponding to the current session, the current scene is one of the one or more scenes processed by the service provider; determining the target user tag from the user tags corresponding to the user number according to the sorting model and the current scene, wherein the sorting model is used to determine the arrangement order of the user tags related to the scene; and displaying the target user tag in the current session corresponding to the service provider.

[0144] According to the technical solution of the embodiment of the present invention, the user number of the current session is obtained to determine the user tag corresponding to the user number; the current scene corresponding to the current session is identified, and the current scene is one of one or more scenes processed by the service provider; according to the sorting model and the current scene, the target user tag is determined from the user tags corresponding to the user number, wherein the sorting model is used to determine the arrangement order of the user tags related to the scene; the technical means of displaying the target user tag in the current session corresponding to the service provider solves the technical problems in the existing method that the service provider has different focus factors and a large number of user tags, resulting in a large amount of calculation, high display cost, low subsequent service efficiency and poor user experience for accurately displaying the user tags that the service provider is concerned about, thereby achieving the technical effect of reducing the amount of calculation for determining the target user tag, reducing the display cost, improving the subsequent service efficiency and enhancing the user experience.

[0145] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for displaying user tags, characterized in that: include: Obtaining a user ID for the current session and determining a user tag corresponding to the user ID; Identify a current scenario corresponding to the current session, where the current scenario is one or more of a pre-sales scenario, a post-sales scenario, an order scenario, and a logistics scenario processed by a service provider; Determining a target user tag from the user tags corresponding to the user numbers according to a sorting model and the current scenario, wherein the sorting model is used to determine an arrangement order of user tags related to the scenario; The target user tag is displayed in the current session corresponding to the service provider.

2. The method for displaying user tags according to claim 1, characterized in that: The determining of the user tag corresponding to the user number further includes: Acquire historical data of users corresponding to each user ID, and obtain a tag set consisting of multiple user tags based on analyzing and processing the historical data; The user tag corresponding to the user ID is determined according to the historical data of the user who is currently in session with the service provider.

3. The method for displaying user tags according to claim 2, characterized in that: The ranking model is trained by the following steps: For the scenario, selecting a plurality of user tags from the tag set and presenting them to the service provider; receiving an arrangement order of the plurality of user tags selected by the service provider for the scene; For the scenario, the sorting model is trained using the arrangement order of multiple user tags as a training set.

4. The method for displaying user tags according to claim 3, characterized in that: For the scenario, the arrangement order of multiple user tags is used as a training set to train the sorting model, including: The sorting model is a binary sorting model; For the scenario, based on the arrangement order of the multiple user tags, the arrangement order of every two user tags in the multiple user tags is determined, and the arrangement order of every two user tags is used as a training set to train the binary classification sorting model.

5. The method for displaying user tags according to claim 3, characterized in that: In the case where a user tag is newly added to the tag set, the method for displaying the user tag further includes: updating the tag set, and retraining the ranking model based on the updated tag set.

6. The method for displaying user tags according to claim 1, characterized in that: The step of determining the target user tag from the user tags corresponding to the user numbers according to the sorting model and the current scenario also includes: The target user tag is determined from the user tags corresponding to the user number according to the sorting model, the target user tag quantity threshold and the current scenario.

7. The method for displaying user tags according to claim 1, characterized in that: Before the step of displaying the target user tag in the current session corresponding to the service provider, the method for displaying the user tag further includes: Identifying a sub-scenario of a current scenario corresponding to the current session; A target user tag associated with the sub-scenario is determined, wherein the target user tag associated with the sub-scenario is selected from a target user tag associated with the current scene.

8. A user tag display device, characterized in that: include: A user tag determination module, used to obtain the user ID of the current session and determine the user tag corresponding to the user ID; A current scene recognition module, used to identify a current scene corresponding to the current session, wherein the current scene is one or more of a pre-sales scene, a post-sales scene, an order scene, and a logistics scene processed by a service provider; a target user tag determination module, configured to determine a target user tag from user tags corresponding to the user numbers according to a sorting model and the current scenario, wherein the sorting model is used to determine an arrangement order of user tags related to the scenario; The display module is used to display the target user tag in the current session corresponding to the service provider.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, 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 7.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.