User portrait generation method and device

By generating information pairs during the user's call, the user's portrait is updated in real time, which solves the problem of insufficient accuracy of user portraits in the existing technology and improves the confidence and accuracy of the portrait.

CN118710307APending Publication Date: 2024-09-27PING AN BANK CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410744212.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The user portrait generation method in the existing technology is based on static logs at different times, which results in the obtained user portrait being inaccurate when user attributes and preferences change.

Method used

Through the current call process with the target user, an information pair is generated based on the response information fed back by the return visit information, and the speech recognition model or user portrait generation model is used to generate an initial user portrait in real time, and the current user portrait is determined based on the initial portrait.

Benefits of technology

It improves the confidence and accuracy of user portraits, avoids inaccuracies caused by too long information time span, and makes user portraits better reflect the current needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710307A
    Figure CN118710307A
Patent Text Reader

Abstract

The invention relates to the technical field of user portraits, and provides a user portrait generation method and device. The method comprises the following steps: generating an information pair consisting of return visit information and response information according to the response information fed back by a target user based on the return visit information in a current call process with the target user; obtaining an initial user portrait of the target user according to each information pair generated in the current call process; and determining a current user portrait of the target user according to the initial user portrait. According to the user portrait generation method provided by the embodiment of the invention, the confidence coefficient of the obtained user portrait can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of user portraits, and in particular to a method and device for generating user portraits. Background Art

[0002] In order to provide users with financial products that meet their needs, it is usually necessary to form a user profile for the user so as to provide the user with corresponding financial products based on the user profile.

[0003] In the related art, the generation of user portraits is usually done by collecting static logs of users, such as obtaining the user's purchase records of financial products from a database that records the user's financial product purchase records. When the collected static logs reach a threshold, the user portrait is generated based on all the collected static logs. However, this user portrait generation method is determined based on static logs at different times, while the user's user attributes and preferences will change over time, but the time interval between static logs may be long, resulting in the user portrait obtained through static logs at different times being inaccurate. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a method for generating a user portrait, which can improve the confidence of the acquired user portrait.

[0005] The present application also proposes a device for generating a user portrait.

[0006] The application also provides an electronic device.

[0007] The present application also proposes a computer-readable storage medium.

[0008] According to the first aspect of the present application, a method for generating a user portrait includes:

[0009] According to the response information fed back by the target user based on the return information during the current call with the target user, generating an information pair consisting of the return information and the response information;

[0010] Obtaining an initial user portrait of the target user according to each of the information pairs generated during the current call;

[0011] A current user profile of the target user is determined based on the initial user profile.

[0012] The method for generating a user portrait provided in an embodiment of the present application generates an information pair consisting of callback information and response information based on the response information fed back by the target user during the current call with the target user, and then obtains an initial user portrait of the target user according to the information pairs generated during the current call, so as to determine the current user portrait of the target user based on the initial user portrait, thereby being able to generate a user portrait in real time through the conversation information with the user during the current call, avoiding the inaccuracy of the acquired user portrait due to the long time span between the information used to generate the user portrait, thereby improving the confidence of the acquired user portrait.

[0013] According to one embodiment of the present application, the return visit information and the response information are audio information;

[0014] According to the response information fed back by the target user based on the return information during the current call with the target user, an information pair consisting of the return information and the response information is generated, including:

[0015] Acquire response information of the target user based on the feedback information during the current call with the target user;

[0016] Inputting the speech pair consisting of the return visit information and the response information into a trained speech recognition model to obtain a corresponding text pair, so as to generate the information pair according to the text pair;

[0017] The speech recognition model is obtained by training various speech training samples.

[0018] According to an embodiment of the present application, obtaining response information fed back by the target user based on the return visit information during the current call with the target user includes:

[0019] It is determined that during the current call with the target user, the return visit information sent to the target user includes any preset characteristic word, and response information fed back by the target user based on the return visit information is obtained.

[0020] According to an embodiment of the present application, obtaining an initial user portrait of a target user corresponding to the target user according to each of the information pairs generated during the current call includes:

[0021] Input each of the information pairs generated during the current call into a trained user portrait generation model to obtain an initial user portrait of the target user corresponding to the target user;

[0022] The user portrait generation model is trained based on training sample pairs, and the training sample pairs include question texts and answer texts generated based on the question texts.

[0023] According to one embodiment of the present application, it also includes:

[0024] According to the response texts of the training sample pairs, the training sample pairs are divided to obtain positive training sample pairs and negative training sample pairs;

[0025] Each of the positive training sample pairs and each of the negative training sample pairs are input into the user portrait generation model for training to obtain a trained user portrait generation model.

[0026] According to an embodiment of the present application, the return visit information is determined based on the financial products purchased by the target user.

[0027] According to an embodiment of the present application, determining the current user profile of the target user according to the initial user profile includes:

[0028] A current user profile of the target user is obtained based on the initial user profile and the product type of the financial product corresponding to the return visit information.

[0029] According to the second aspect of the present application, a user portrait generation device includes:

[0030] A portrait information acquisition module, used to generate an information pair consisting of the return visit information and the response information according to the response information fed back by the target user based on the return visit information during the current call with the target user;

[0031] A first portrait generation module, configured to obtain an initial user portrait of the target user according to each of the information pairs generated during the current call;

[0032] The second portrait generation module is used to determine the current user portrait of the target user based on the initial user portrait.

[0033] According to an electronic device of an embodiment of the third aspect of the present application, the electronic device includes a processor and a memory storing a computer program, and when the processor executes the computer program, the method for generating a user portrait described in any of the above embodiments is implemented.

[0034] According to the computer-readable storage medium of the fourth aspect of the present application, a computer program is stored thereon, and when the computer program is executed by a processor, the method for generating a user portrait described in any of the above embodiments is implemented.

[0035] According to the computer program product of the fifth aspect of the present application, the computer program product includes: when the computer program is executed by a processor, the method for generating a user portrait as described in any of the above embodiments is implemented.

[0036] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:

[0037] After the target user generates an information pair consisting of the return information and the response information based on the response information fed back by the return information during the current call with the target user, the initial user profile of the target user is obtained according to each information pair generated during the current call, and the current user profile of the target user is determined according to the initial user profile, so that the user profile can be generated in real time through the conversation information with the user during the current call, avoiding the inaccuracy of the obtained user profile due to the long time span between the information used to generate the user profile, thereby improving the confidence of the obtained user profile. And because the information pair consisting of the return information and the response information during the current call can better reflect the user's semantics, it can better reflect the user's current needs, making the user profile generated using the information pair consisting of the return information and the response information more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 This is a first flow chart of a method for generating a user portrait provided in an embodiment of the present application;

[0040] Figure 2 This is a second flow chart of the method for generating a user portrait provided in an embodiment of the present application;

[0041] Figure 3 This is a third flow chart of the method for generating a user portrait provided in an embodiment of the present application;

[0042] Figure 4 It is a structural schematic diagram of a device for generating a user portrait provided in an embodiment of the present application;

[0043] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0046] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0047] In the description of the embodiments of the present application, the term "plurality" refers to more than two (including two), and similarly, "multiple groups" refers to more than two groups (including two).

[0048] At present, more and more financial institutions will provide financial products to users to promote economic development. In order to provide users with financial products that meet their needs, it is usually necessary to form user profiles for users so as to provide users with corresponding financial products based on the user profiles.

[0049] As for the generation of user portraits, it is usually done by collecting static logs of users, such as obtaining the user's purchase records of financial products from a database that records the user's financial product purchase records. When the collected static logs reach a threshold, the user portrait is generated based on all the collected static logs. However, this user portrait generation method is based on static logs at different times, while the user's user attributes and preferences will change over time, but the time interval between static logs may be long, resulting in the user portrait obtained through static logs at different times being inaccurate.

[0050] In response to the above technical problems, the embodiment of the present application generates an information pair consisting of a follow-up information and the response information based on the response information fed back by the target user during the current call with the target user, and then obtains the initial user portrait of the target user according to the information pairs generated during the current call, so as to determine the current user portrait of the target user based on the initial user portrait, so as to generate the user portrait in real time through the conversation information with the user during the current call, thereby avoiding the inaccuracy of the obtained user portrait due to the long time span between the information used to generate the user portrait, thereby improving the confidence of the obtained user portrait.

[0051] And because during the current call, the information pair consisting of the callback information and the response information can better reflect the user's semantics, and thus better reflect the user's current needs, the user portrait generated using the information pair consisting of the callback information and the response information is more accurate.

[0052] The user portrait generation method and device disclosed in the embodiment of the present application can be applied to a server for generating user portraits. The server can be an independent server or a server cluster composed of multiple servers, and can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence sampling point devices.

[0053] According to some embodiments of the present application, a method for generating a user portrait is provided, and the method for generating a user portrait can be applied to the aforementioned server. Figure 1 As shown, the method for generating the user portrait includes:

[0054] S101, generating an information pair consisting of the return information and the response information according to the response information fed back by the target user based on the return information during the current call with the target user;

[0055] S102, obtaining an initial user portrait of the target user according to each of the information pairs generated during the current call;

[0056] S103: Determine a current user profile of the target user according to the initial user profile.

[0057] In some embodiments, during the conversation between the customer service personnel and the target user, the server can obtain the return information currently sent by the customer service personnel to the target user in real time, and when the target user feeds back corresponding response information based on the return information, the return information and the corresponding response information form an information pair. The return information and the response information can be text information.

[0058] Exemplarily, during a call between a customer service staff and a user terminal of a target user through a customer service terminal, the server may detect the current call of the customer service terminal to obtain the return visit information sent by the customer service staff to the target user from the customer service terminal. The return visit information may be a question asked to the user, such as asking the target user about the purpose of purchasing a financial product, and the response information may be the user's reply to the question. Among them, the determination of the response information may be that after the return visit information sent by the customer service staff to the target user is obtained this time, the response information received from the target user before the return visit information sent by the customer service staff to the target user is obtained next time, and the response information corresponding to the return visit information may be determined. If after the return visit information sent by the customer service staff to the target user is obtained this time, the response information sent by the target user is not received before the return visit information sent by the customer service staff to the target user is obtained next time, it can be determined that there is no corresponding response information for the return visit information, and the return visit information is deleted at this time.

[0059] After receiving the return visit information and the response information fed back by the target user based on the return visit information, the return visit information and the corresponding response information can be combined into an information pair. For example, if the return visit information is Q and the corresponding response information is A, the information pair (Q, A) can be obtained. In this way, multiple groups of information pairs can be obtained based on the conversation between the customer service staff and the target user during the current call. After obtaining multiple groups of information pairs, the mapping table recording the corresponding relationship between each preset information pair and each user potential information can be matched with each information pair to obtain the user potential information corresponding to each information pair, so as to form the initial user profile of the target user according to the user potential information corresponding to each information pair, such as using the user potential information corresponding to each information pair as the initial user profile of the target user. Among them, the user potential information can include potential attributes and corresponding potential scores, and the potential attributes can be current investment intentions, current income conditions, and current consumption habits. After obtaining the initial user profile of the target user, the initial user profile can be used as the current user profile of the target user.

[0060] During the current call with the target user, the target user generates an information pair consisting of the follow-up information and the response information based on the response information fed back by the follow-up information. Then, according to the information pairs generated during the current call, the initial user portrait of the target user is obtained, and the current user portrait of the target user is determined based on the initial user portrait. In this way, the user portrait can be generated in real time through the conversation information with the user during the current call, avoiding the inaccuracy of the obtained user portrait due to the long time span between the information used to generate the user portrait, thereby improving the confidence of the obtained user portrait.

[0061] And because during the current call, the information pair consisting of the callback information and the response information can better reflect the user's semantics, and thus better reflect the user's current needs, the user portrait generated using the information pair consisting of the callback information and the response information is more accurate.

[0062] Considering that during the current call with the target user, the callback information and response information obtained may all be audio information, and audio information cannot be directly used to generate user portraits. Figure 2 As shown, in some embodiments, according to the response information fed back by the target user based on the return information during the current call with the target user, an information pair consisting of the return information and the response information is generated, including:

[0063] Step 201, obtaining response information fed back by the target user based on the return information during the current call with the target user;

[0064] Step 202, inputting the voice pair consisting of the return visit information and the response information into a trained voice recognition model to obtain a corresponding text pair, so as to generate the information pair according to the text pair;

[0065] The speech recognition model is obtained by training various speech training samples.

[0066] In some embodiments, if the current call with the target user is an audio call, after obtaining the return visit information and the response information, the return visit information and the response information can be used as a voice pair and input into the trained speech recognition model for speech recognition. Among them, for the training of the speech recognition model, Wav2Vec 2.0 based on the transformers multi-head attention mechanism can be used as the model architecture to construct a speech recognition model with audio input and text output. Then, a large amount of audio is used as a speech training sample and input into the speech recognition model to train the speech recognition model. For example, 1M business phone recording clips with an average duration of 10 seconds, the original sampling rate is 8kHz, and the corresponding annotated text is used as a speech training sample. The speech training samples are balanced in terms of the gender and age of the speaker. At the same time, the recording clips are upsampled to 16kHz before training and then input into the speech recognition model for training. In the training process of the speech recognition model, the gradient descent is optimized based on the AdamLR algorithm, and CTC is used as the optimization function of the loss during the training process. After the speech recognition model is trained using various speech training samples, multiple test audios can be input into the speech recognition model to obtain the text output by the speech recognition model. If the text output by the speech recognition model each time is consistent with the text annotated with the test audio input this time, it means that the training of the speech recognition model is completed.

[0067] After completing the training of the speech recognition model, the speech pair consisting of the return visit information and the response information can be input into the speech recognition model to obtain the return visit text corresponding to the return visit information in the speech pair, and the response text corresponding to the response information. After obtaining the return visit text corresponding to the return visit information in the speech pair, and the response text corresponding to the response information, the text pair consisting of the return visit text and the response text can be determined as an information pair. In this way, when generating a user portrait later, the text can be used to form the user portrait, avoiding the situation where the user portrait cannot be generated because the collected information is audio information.

[0068] Considering that not all content in the current call with the target user may be used to generate the user portrait, in order to reduce the amount of data processing when generating the user portrait and improve the efficiency of generating the user portrait, in some embodiments, the response information of the target user based on the feedback of the return visit information in the current call with the target user is obtained, including:

[0069] It is determined that during the current call with the target user, the return visit information sent to the target user includes any preset characteristic word, and response information fed back by the target user based on the return visit information is obtained.

[0070] In some embodiments, when the customer service staff sends a return visit information to the target user, if the return visit information is a voice message, the server may first perform voice recognition on the return visit information through a voice recognition model, convert the return visit information into text, and then detect the text. If the return visit information is text, the detection is performed directly. The detection of the return visit information may be to detect whether there is at least one of the multiple preset feature words in the text corresponding to the return visit information. Among them, the preset feature words can be set according to actual conditions. For example, they can be feature words related to the economy, such as "assets", "investment", "income", etc. If any one of the multiple preset feature words is not detected in the text corresponding to the return visit information, it means that the return visit information is redundant information, and the return visit information can be ignored at this time; if at least one of the multiple preset feature words is detected in the text corresponding to the return visit information, it means that the return visit information is the return visit information that needs attention, and then the response information of the target user based on the feedback of the return visit information is obtained, and then the information pair is formed according to the return visit information and the response information, thereby reducing the amount of data processing when generating the user portrait and improving the efficiency of generating the user portrait.

[0071] According to the return visit information and the response information corresponding to the return visit information, information pairs are formed to generate initial user portraits according to each information pair.

[0072] In order to make the generated initial user portrait more accurate, in some embodiments, obtaining the initial user portrait of the target user corresponding to the target user according to each of the information pairs generated during the current call includes:

[0073] Input each of the information pairs generated during the current call into a trained user portrait generation model to obtain an initial user portrait of the target user corresponding to the target user;

[0074] The user portrait generation model is trained based on training sample pairs, and the training sample pairs include question texts and answer texts generated based on the question texts.

[0075] In some embodiments, after obtaining each information pair, each information pair can be sequentially input into a trained user portrait generation model to obtain a corresponding potential score. Among them, for the training of the user portrait generation model, the RoBERTa pre-trained model can be used as the architecture of the text model, with an external fully connected layer to construct a user portrait generation model with input as a text pair and output as a potential score. Among them, any text pair includes a question text and a reply text corresponding to the question text. Then, a large number of text pairs are used as training sample pairs, which are input into the user portrait generation model to train the user portrait generation model. For example, 100,000 salesperson-customer question-and-answer pairs and corresponding annotated texts are selected from the content text data of the business return call as training sample pairs, and are input into the user portrait generation model for training. In the training process of the user portrait generation model, the Adam algorithm is used to optimize the gradient descent, and cross entropy is used as the optimization function of the loss during the training process. After using each training sample pair to train the user portrait generation model, multiple test sample pairs can be put into the user portrait generation model to obtain the potential score output by the user portrait generation model. If the potential score output by the user portrait generation model each time is consistent with the predicted score labeled by the test sample pair input this time, it means that the training of the user portrait generation model is completed.

[0076] In order to make the user portrait generated by the user portrait generation model more accurate, in some embodiments, the training of the user portrait generation model further includes:

[0077] Step 301, dividing each training sample pair according to the response text of each training sample pair to obtain each positive training sample pair and each negative training sample pair;

[0078] Step 302: Input each of the positive training sample pairs and each of the negative training sample pairs into the user portrait generation model for training to obtain a trained user portrait generation model.

[0079] In some embodiments, when training the user portrait generation model, the training sample pairs can be first divided into positive training sample pairs or negative training sample pairs according to the answer texts of the training sample pairs. For example, for the question text of "Does the deposit exceed the rule threshold?", if the corresponding answer text is "yes", the training sample pair consisting of the question text and the corresponding answer text is marked as a positive training sample pair; if the corresponding answer text is "no", the training sample pair consisting of the question text and the corresponding answer text is marked as a negative training sample pair. Based on the pre-set division rules of the answer text corresponding to each question text, each training sample pair can be divided into sample types to obtain each positive training sample pair and each negative training sample pair.

[0080] After obtaining each positive training sample pair and each negative training sample pair, the user portrait generation model can be trained by using each positive training sample pair and each negative training sample pair to obtain a trained user portrait generation model.

[0081] After the training of the user portrait generation model is completed, each information pair can be input into the user portrait generation model to generate the user's initial user portrait. For example, after inputting each information pair into the user portrait generation model in sequence and obtaining the potential score of each information pair, the potential score with the largest value is used to evaluate the high net worth potential of the target user, and the potential score is used as the initial user portrait of the target user.

[0082] In some embodiments, the return visit information is determined based on the financial products purchased by the target user. Exemplarily, the server may pre-store the correspondence between each financial product and each return visit information set, wherein the return visit information set includes multiple return visit information. The financial products purchased by the target user may be determined by uploading by the customer service staff or by the target user himself. After determining the financial products purchased by the target user, the server may determine the corresponding return visit information set based on the financial products, and then send the return visit information set to the customer service terminal of the customer service staff, so that the customer service staff can send the return visit information recorded in the return visit information set to the target user based on the return visit information set. In this way, the information pairs obtained subsequently can be more in line with the actual situation of the target user, thereby improving the accuracy of the user portrait obtained using the information pairs.

[0083] After the return visit information is determined based on the financial products purchased by the target user, an information pair can be formed based on the return visit information and the response information corresponding to the return visit information, so as to generate an initial user profile based on each information pair. After the initial user profile is generated, the initial user profile can be used as the current user profile of the target user.

[0084] To further improve the accuracy of the generated user portrait, in some embodiments, determining the current user portrait of the target user according to the initial user portrait includes:

[0085] A current user profile of the target user is obtained based on the initial user profile and the product type of the financial product corresponding to the return visit information.

[0086] In some embodiments, after an initial user profile is generated based on each information pair, the financial product corresponding to the return visit information, that is, the product type of the financial product purchased by the target user, can be added to the initial user profile to obtain the current user profile of the target user.

[0087] The following is a description of a user portrait generation device provided in the present application. The user portrait generation device described below and the user portrait generation method described above can refer to each other.

[0088] In one embodiment, if Figure 4 As shown, a device for generating a user portrait is provided, comprising:

[0089] The portrait information acquisition module 210 is used to generate an information pair consisting of the return visit information and the response information according to the response information fed back by the target user based on the return visit information during the current call with the target user;

[0090] A first portrait generation module 220, configured to obtain an initial user portrait of the target user according to each of the information pairs generated during the current call;

[0091] The second portrait generation module 230 is used to determine the current user portrait of the target user according to the initial user portrait.

[0092] During the current call with the target user, the target user generates an information pair consisting of the follow-up information and the response information based on the response information fed back by the follow-up information. Then, according to the information pairs generated during the current call, the initial user portrait of the target user is obtained, and the current user portrait of the target user is determined based on the initial user portrait. In this way, the user portrait can be generated in real time through the conversation information with the user during the current call, avoiding the inaccuracy of the obtained user portrait due to the long time span between the information used to generate the user portrait, thereby improving the confidence of the obtained user portrait.

[0093] In one embodiment, the return visit information and the response information are audio information;

[0094] The portrait information acquisition module 210 is specifically used for:

[0095] Acquire response information of the target user based on the feedback information during the current call with the target user;

[0096] Inputting the speech pair consisting of the return visit information and the response information into a trained speech recognition model to obtain a corresponding text pair, so as to generate the information pair according to the text pair;

[0097] The speech recognition model is obtained by training various speech training samples.

[0098] In one embodiment, the portrait information acquisition module 210 is specifically used for:

[0099] It is determined that during the current call with the target user, the return visit information sent to the target user includes any preset characteristic word, and response information fed back by the target user based on the return visit information is obtained.

[0100] In one embodiment, the first portrait generation module 220 is specifically used for:

[0101] Input each of the information pairs generated during the current call into a trained user portrait generation model to obtain an initial user portrait of the target user corresponding to the target user;

[0102] The user portrait generation model is trained based on training sample pairs, and the training sample pairs include question texts and answer texts generated based on the question texts.

[0103] In one embodiment, the first portrait generation module 220 is further used for:

[0104] According to the response texts of the training sample pairs, the training sample pairs are divided to obtain positive training sample pairs and negative training sample pairs;

[0105] Each of the positive training sample pairs and each of the negative training sample pairs are input into the user portrait generation model for training to obtain a trained user portrait generation model.

[0106] In one embodiment, the return visit information is determined according to the financial products purchased by the target user.

[0107] In one embodiment, the second portrait generation module 230 is specifically used for:

[0108] A current user profile of the target user is obtained based on the initial user profile and the product type of the financial product corresponding to the return visit information.

[0109] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute a method for generating a user portrait, for example, including:

[0110] According to the response information fed back by the target user based on the return information during the current call with the target user, generating an information pair consisting of the return information and the response information;

[0111] Obtaining an initial user portrait of the target user according to each of the information pairs generated during the current call;

[0112] A current user profile of the target user is determined based on the initial user profile.

[0113] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0114] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, the processor-readable storage medium storing a computer program, the computer program is used to enable the processor to execute the methods provided in the above embodiments, for example, including:

[0115] According to the response information fed back by the target user based on the return information during the current call with the target user, generating an information pair consisting of the return information and the response information;

[0116] Obtaining an initial user portrait of the target user according to each of the information pairs generated during the current call;

[0117] A current user profile of the target user is determined based on the initial user profile.

[0118] The processor-readable storage medium can be any available medium or user portrait generation device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0119] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating a user portrait, characterized in that: include: According to the response information fed back by the target user based on the return information during the current call with the target user, generating an information pair consisting of the return information and the response information; Obtaining an initial user portrait of the target user according to each of the information pairs generated during the current call; A current user profile of the target user is determined based on the initial user profile.

2. The method for generating a user portrait according to claim 1, characterized in that: The return visit information and the response information are audio information; According to the response information fed back by the target user based on the return information during the current call with the target user, an information pair consisting of the return information and the response information is generated, including: Acquire response information of the target user based on the feedback information during the current call with the target user; Inputting the speech pair consisting of the return visit information and the response information into a trained speech recognition model to obtain a corresponding text pair, so as to generate the information pair according to the text pair; The speech recognition model is obtained by training various speech training samples.

3. The method for generating a user portrait according to claim 2, characterized in that: Acquiring the response information of the target user based on the feedback information during the current call with the target user, including: It is determined that during the current call with the target user, the return visit information sent to the target user includes any preset characteristic word, and response information fed back by the target user based on the return visit information is obtained.

4. The method for generating a user portrait according to any one of claims 1 to 3, characterized in that: Obtaining an initial user portrait of a target user corresponding to the target user according to each of the information pairs generated during the current call, including: Input each of the information pairs generated during the current call into a trained user portrait generation model to obtain an initial user portrait of the target user corresponding to the target user; The user portrait generation model is trained based on training sample pairs, and the training sample pairs include question texts and answer texts generated based on the question texts.

5. The method for generating a user portrait according to claim 4, characterized in that: Also includes: According to the response texts of the training sample pairs, the training sample pairs are divided to obtain positive training sample pairs and negative training sample pairs; Each of the positive training sample pairs and each of the negative training sample pairs are input into the user portrait generation model for training to obtain a trained user portrait generation model.

6. The method for generating a user portrait according to claim 1, characterized in that: The return visit information is determined according to the financial products purchased by the target user.

7. The method for generating a user portrait according to claim 6, characterized in that: Determining a current user profile of the target user according to the initial user profile includes: A current user profile of the target user is obtained based on the initial user profile and the product type of the financial product corresponding to the return visit information.

8. A device for generating a user portrait, characterized in that: include: A portrait information acquisition module, used to generate an information pair consisting of the return visit information and the response information according to the response information fed back by the target user based on the return visit information during the current call with the target user; A first portrait generation module, configured to obtain an initial user portrait of the target user according to each of the information pairs generated during the current call; The second portrait generation module is used to determine the current user portrait of the target user based on the initial user portrait.

9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the method for generating a user portrait according to any one of claims 1 to 7 is implemented.

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