Material pushing method and device based on interactive language
Through pre-trained dialogue NPC to talk to users, determine material preference types and push corresponding tasks, it solves the problem of dull daily active tasks in the existing technology and improves the interactivity and task completion rate of the game.
Patent Information
- Application Number
- CN202411002172.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The daily active tasks in existing online platform games are rigid and cannot adapt to the task preferences of different players, resulting in low task completion rates and poor game interaction experience.
Conversation with the target user through pre-trained dialogue NPC, collecting dialogue information, determining the set of feature tags, calculating the user's material preference type based on these tags, selecting and pushing the target material from the preset material library, and realizing dynamic task recommendation.
It improves the interactivity and task completion rate of the game, enhances user stickiness, avoids the dull mode of traditional questionnaires and option settings, and realizes personalized task push.
Smart Images

Figure CN118540369A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and more particularly to a material push method based on interactive language. The present application also relates to a material push device based on interactive language, a computing device, and a computer-readable storage medium. Background Art
[0002] With the development of Internet technology, network products are increasingly integrated into people's work and life. As the Internet becomes more widely used, the need to recommend materials to users becomes more and more common, such as e-commerce software recommending products to users, game software recommending tasks to users, and video software recommending videos to users.
[0003] Taking the game scene as an example, the tasks recommended by the game to users are divided into main tasks and side tasks. In existing online platform games, they are also divided into guided tasks and daily active tasks, which help users understand game operations, and daily, weekly, monthly, and seasonal tasks, etc., to enrich the playability of the game and enhance the interactive experience with users. For daily active tasks, existing technologies usually adopt a fixed task format, which is issued or rewarded at different times, and is the same for all players, resulting in a rigid format for daily active tasks and passive acceptance by players. However, different players have different preference task deviations in the same game, and the traditional task model cannot adapt to the preferences of players. Long-term tasks of the same type make players easily fatigued, resulting in low task completion rates and poor game interaction experience. Summary of the invention
[0004] In view of this, the embodiment of the present application provides a material push method based on interactive language to solve the technical defects existing in the prior art. The embodiment of the present application also provides a material push device based on interactive language, a computing device, and a computer-readable storage medium.
[0005] According to a first aspect of an embodiment of the present application, a material pushing method based on interactive language is provided, comprising: Conducting a dialogue with a target user based on the pre-trained dialogue NPC, and collecting dialogue information of the target user; Determine a feature tag set according to the conversation information, and calculate the material preference type of the target user according to the feature tag set; According to the material preference type, selecting a target material from a plurality of preset material libraries; Push the target material to the target user.
[0006] Optionally, calculating the material preference type of the target user according to the feature tag set includes: Based on a preset semantic similarity calculation function, calculating the similarity between the feature tag set and the preset material type preference template feature tags; The material preference type is determined according to the similarity calculation result.
[0007] Optionally, selecting the target material from a plurality of preset material libraries according to the material preference type includes: Determining the material types included in the material preference type and the similarity parameters corresponding to the material types; Selecting a target material library from the multiple material libraries according to the material type; The target material is selected in the target material library according to the similarity parameter corresponding to the material type.
[0008] Optionally, calculating the material preference type of the target user according to the feature tag set includes: Based on the multiple material libraries, construct a first feature label weight coefficient matrix; The material preference type is calculated according to the first feature tag weight coefficient matrix and the feature tag set.
[0009] Optionally, determining a feature tag set according to the conversation information, and calculating the material preference type of the target user according to the feature tag set includes: Collecting historical conversation information of the target user; Determining the feature tag set according to the historical conversation information and the conversation information, and constructing a second feature tag weight coefficient matrix; The material preference type is calculated according to the second feature label weight coefficient matrix and the feature label set.
[0010] Optionally, the pushing the target material to the target user includes: Collecting user information of the target user; The target material is adjusted according to the user information, and the adjusted target material is pushed to the target user.
[0011] Optionally, the materials contained in the multiple material libraries are dynamically adjusted, and the dynamic adjustment process includes: Determine the sub-elements contained in any material; Based on a preset adjustment rule, the sub-element is adjusted to obtain a target sub-element; The corresponding element is adjusted according to the target sub-element.
[0012] According to a second aspect of an embodiment of the present application, there is provided a material pushing device based on interactive language, comprising: An interactive module, configured to conduct a dialogue with a target user based on a pre-trained dialogue NPC, and collect dialogue information of the target user; a preference determination module, configured to determine a feature tag set according to the conversation information, and calculate a material preference type of the target user according to the feature tag set; A material selection module, configured to select a target material from a plurality of preset material libraries according to the material preference type; A push module is configured to push the target material to the target user According to a third aspect of an embodiment of the present application, a computing device is provided, including: Memory and processor; The memory is used to store computer-executable instructions, and the processor implements the steps of the interactive language-based material pushing method when executing the computer-executable instructions.
[0013] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the interactive language-based material pushing method are implemented.
[0014] According to a fifth aspect of the embodiments of the present application, a chip is provided, which stores a computer program, and when the computer program is executed by the chip, the steps of the interactive language-based material pushing method are implemented.
[0015] The interactive language-based material push method provided by the present application is to conduct a dialogue with a target user based on a pre-trained dialogue NPC and collect the dialogue information of the target user; determine a feature tag set based on the dialogue information, and calculate the material preference type of the target user based on the feature tag set; select a target material from a plurality of preset material libraries based on the material preference type; and push the target material to the target user. Through the free dialogue between the user and the NPC, the user can unconsciously use the technology of the large language model to determine the user's material preference based on the dialogue content. Avoid judging preferences only through rigid modes such as questionnaires and option settings.
[0016] In actual usage scenarios, such as game scenarios, through dialogue with NPCs, the user's task preference types can be collected and the corresponding tasks can be pushed to ensure that the game has good interactivity; in video recommendation scenarios, dialogue plug-ins can be used to interact with users, and based on the interactive content, the user's video preferences can be determined, and the corresponding videos can be pushed; similarly, in product recommendation scenarios, dialogue plug-ins can be used to interact with users, and products of the user's preferred type can be pushed based on the interaction results, enriching the recommendation process, improving interactivity, and enhancing user stickiness. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 This is a flow chart of a material push method based on interactive language provided in one embodiment of the present application; Figure 2 This is a flow chart of a material push method based on interactive language applied in a game scenario provided by an embodiment of the present application; Figure 3 It is a structural diagram of a material pushing device based on interactive language provided in one embodiment of the present application; Figure 4 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0019] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0020] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.
[0021] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
[0022] In the present application, a material push method based on interactive language is provided. The present application also relates to a material push device based on interactive language, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0023] Figure 1 A flow chart of a material pushing method based on interactive language according to an embodiment of the present application is shown, which specifically includes the following steps: Step S102: Conducting a dialogue with a target user based on the pre-trained dialogue NPC, and collecting dialogue information of the target user; Step S104: determining a feature tag set according to the conversation information, and calculating the material preference type of the target user according to the feature tag set; Step S106: selecting a target material from a plurality of preset material libraries according to the material preference type; Step S108: Pushing the target material to the target user.
[0024] Among them, the dialogue NPC has the function of communicating with the user, and its expression form in the actual usage scenario is not unique. For example, in the game scenario, the dialogue NPC can be a character in the game, and in the product recommendation scenario, the dialogue NPC can be an online customer service, etc. The specific expression form of the dialogue NPC is determined by the actual usage scenario and is not limited in this embodiment.
[0025] Based on this, taking the game scene as an example, the pre-training process of the dialogue NPC can first be classified according to the tasks included in the game, and a set of different task data classification sets can be established. For the classification set, artificial simulation of natural dialogue is adopted, and the corpus is manually debugged to generate a task preference prompt word template library. According to the task preference prompt word template, a speech corpus corresponding to the task classification set is generated, which includes multiple speech corpora and multiple keywords that indicate the player's preference for game tasks corresponding to the multiple speech corpora. For each task type, a feature label is written to extract the prompt word template. The prompt word template is generated by the large language model. The speech corpus, the keywords indicating the player's preference for the task, and the keyword feature labels constitute a labeled data set. The labeled data set and the language generation model based on the Transformer architecture are used to form fine-tuning instruction data with task preference classification judgment. Through corresponding model training, an NPC with the ability to interact with the player using the large language model is obtained.
[0026] For example, for the above game scenario, Figure 2 As shown in the flowchart of a material push method based on interactive language applied to a game scenario, in step S1, the task types are divided into Categories include: combat, exploration, dialogue, item collection, production and construction, social, consumption, hero development, item use, etc., and assume that the user's preferred task type set is , where the user's preferred task type set The user's favorite task types are included in It corresponds to any one of the above task type classifications; in step S2, according to different task types, a large language model is generated and manually corrected to form a large number of discourse corpora with different task type preferences, and prompt word templates for extracting task type preference keywords are manually written to extract task type preference keywords from the corresponding discourse corpus.
[0027] The keyword prompt word template for extracting task type preference is in the form of: "Task type preference description: Hero / character growth and development task preference Player basic information: Gender: Male; Age: 25; (historical dialogue information) Current conversation content: NPC: Welcome, young hero! I hear you're looking to increase your strength and skills. I have a special training quest that may be just what you need.
[0028] Player: Indeed, I am looking for an opportunity to improve my abilities. What does this quest involve? NPC: We will let you fight against the ancient spirit beasts in the mountains and forests. This will be a great opportunity to test your combat skills and endurance.
[0029] Player: That sounds challenging. I'm ready to take on this test.
[0030] NPC: Very good! Remember, the areas where spirit beasts are present are very dangerous, so make sure you have sufficient equipment and medicine. If you succeed, you will gain power and respect.
[0031] Please extract: Keywords in the conversation between the player and the NPC that indicate the player's preference for the type of game mission.
[0032] Output format: {keyword 1, ..., keyword 5}.
[0033] Output: {Enhance strength and skills, training missions, combat techniques, endurance trials, challenging missions}".
[0034] Then, in step S3, a feature tag extraction prompt word template is created for the keywords formed in the discourse corpus of each task type, and the prompt word template is used to generate a feature tag corpus by a large language model. The discourse corpus, keywords indicating the player's task preference, and keyword feature tags constitute a labeled data set. The task type preference feature label set is ,total feature labels. The vector of the number of feature labels in the grouped task type preference feature label set is , and calculate The maximum number of group feature labels The feature label set of the entire task type database is It should be noted that the above task type prefers feature label sets , the feature label set of the entire task type database , are all intermediate variables in the training process of the pre-trained dialogue NPC, and are different from the feature label set of "determining the feature label set according to the dialogue information" in step S104.
[0035] Regarding the task feature label extraction prompt word template, its form is: “Task type preference description: Collect task preferences Player basic information: Gender: Female; Age: 21; Keywords: {Precious gems and minerals, rare star stones, dark mountains, rare herbs, moonlight vines, misty forests, crystal caves, precious crystal clusters, healing energy} Please summarize: the common attribute feature tags of these keywords.
[0036] Output format: {feature label 1, feature label 2, feature label 3} Output: {Rarity, Expedition Challenge, Collection Quest}".
[0037] In step S4, the data annotation set and the language generation model based on the Transformer architecture are used to form fine-tuning instruction data with task preference classification judgment, and the dialogue NPC is obtained through corresponding model training; in step S5, the dialogue NPC actively or passively attracts the user to conduct multiple rounds of dialogue to obtain dialogue information, and semantic analysis is performed on the dialogue information. Keywords are obtained by extracting the keyword prompt word template of the task type preference, and then the feature tags of the keywords extracted by the prompt word template are extracted through the feature tag. The feature tag set is ,total user feature tags. It should be noted that the feature tag set , which is the feature tag set of "determining the feature tag set according to the conversation information" in step S104, and then calculating the user's material preference type according to the feature tag set.
[0038] Finally, for the determined material preference type, the target material is selected from the corresponding material library and recommended to the user, that is, the corresponding task library is determined, and the corresponding task is selected from the task library and pushed to the user. This solves the problem that in the game scenario, the task release is relatively fixed and the content is relatively fixed, especially the task release for user preferences is not obvious, resulting in low task completion rate and weak interactivity for users with different preferences.
[0039] Furthermore, the process of calculating the target user's material preference type according to the feature tag set is specifically implemented as follows in this embodiment: Based on a preset semantic similarity calculation function, the similarity between the feature tag set and the preset material type preference template feature tags is calculated; and according to the similarity calculation result, the material preference type is determined.
[0040] Specifically, the above game scene embodiments are used, such as Figure 2 As shown in the flowchart of a material push method based on interactive language applied to a game scene, in step S5, the After the user feature labels are obtained, the corresponding task type preference feature label set The feature tags contained in the calculation are compared and matched for similarity, and the calculation method is shown in the following formula: , in, is the feature label set The feature labels in and the nth task type preference feature label set The similarity of the feature labels in is a semantic similarity calculation function, which can be implemented by calculating Mahalanobis distance, Euclidean distance, etc. The specific semantic similarity calculation function is determined by the actual usage scenario and is not limited in this embodiment.
[0041] Furthermore, the process of selecting a target material from a plurality of preset material libraries according to the material preference type is specifically implemented as follows in this embodiment: Determine the material type included in the material preference type and the similarity parameter corresponding to the material type; select a target material library from the multiple material libraries according to the material type; and select the target material from the target material library according to the similarity parameter corresponding to the material type.
[0042] Specifically, the above game scene embodiments are used, such as Figure 2 As shown in the flowchart of a material push method based on interactive language applied to a game scene, in step S6, Similarity of tasks Sort by high to low, take the first Similarity In order and recorded as , the probability of task push Calculation, after calculating the task push probability, push the corresponding type of task with the corresponding probability, where M≤K, and the task push probability calculation formula is as follows: .
[0043] Furthermore, the process of calculating the target user's material preference type according to the feature tag set is specifically implemented as follows in this embodiment: Based on the multiple material libraries, a first feature label weight coefficient matrix is constructed; and according to the first feature label weight coefficient matrix and the feature label set, the material preference type is calculated.
[0044] Among them, the above game scene embodiment is used to group the Group task types and construct feature label weight coefficient matrix of task types. , the matrix size is ( OK List), Corresponding to the nth task type preference feature label set The weight vector of The length of the vector is , corresponding to the nth task type preference feature label set The number of feature labels When exceeding The weight values of the vector of length are set to zero.
[0045] Based on this, the feature label weight coefficient matrix of the task type That is, the first feature label weight coefficient matrix. Through the first feature label weight coefficient matrix, the weight of any feature label in different task types in different scenarios is adjusted to strengthen or reduce the importance of the feature label, and the material preference type is calculated according to the adjustment result.
[0046] Furthermore, in addition to determining the user's material preference through the conversation information collected in real time, the user's historical conversation information can also be included in the material preference determination process. In this embodiment, the specific implementation method is as follows: Collecting historical conversation information of the target user; determining the feature tag set based on the historical conversation information and the conversation information, and constructing a second feature tag weight coefficient matrix; calculating the material preference type based on the second feature tag weight coefficient matrix and the feature tag set.
[0047] In which, the above game scenario embodiment is used, the collected historical conversation information and conversation information are stored in the user's conversation database, and the user's conversation database is segmented into several conversation database sub-units, and feature labels are extracted separately for each unit. The segmentation standard can be segmented according to time, such as daily or weekly conversations as a database sub-unit, or segmented according to the scale of conversation data volume, such as every 100 conversations as a database sub-unit, or segmented according to other segmentation standards. Group conversation database subunits, each containing Dialogue ( =1,2,…, ).
[0048] Then, the user task preference feature labels are extracted for each sub-unit according to the above steps to obtain A user task preference feature label set consisting of a subset It should be noted that the user task preference feature label set is used as the above feature label set As a new feature label set, it participates in the process of combining historical dialogue information to determine the user's material preference type. The user task preference feature label set of each sub-unit , For the corresponding The number of user task preference feature labels in the subsets corresponds to The vector of the number of user task preference feature labels for the group is , and calculate The maximum number of task preference feature labels for a group of users , the total number of feature labels corresponding to user task preferences can be calculated as .
[0049] Constructing the user task preference feature label weight coefficient matrix , the matrix size is ( OK List), Corresponding to The aforementioned user task preference feature label set The weight vector of The length of the vector is , corresponding to The aforementioned user task preference feature label set The number of feature labels When exceeding The weight values of the vector of length are set to zero.
[0050] Based on this, the user task preference feature label weight coefficient matrix That is, the second feature label weight coefficient matrix. Through the second feature label weight coefficient matrix, the weight of the task preference feature labels extracted from users in different time periods or stages of conversations can be adjusted. For example, according to time, feature labels with longer conversation time are given lower weights, while feature labels with recent conversations are given higher weights, so as to achieve dynamic update of task preference judgment; machine learning neural network technology can also be used to train according to the appearance rules of certain feature labels in conversation big data to obtain the weight coefficient matrix .
[0051] In addition, the first feature label weight coefficient matrix and the second feature label weight coefficient matrix can also be combined, such as the feature label set preferred for the task type The Group classification, feature labels, and calculate the feature labels and the user's task preference feature labels set Similarity, construct a similarity matrix , the matrix size is ( OK Column), the similarity matrix middle, is the matrix element, , about the similarity matrix , which is expressed as: , Among them, if the corresponding The set of user task preference feature labels in the group The number of features When exceeding Similarity of length Set to zero, then calculate the Group classification, The weighted similarity of feature labels as follows: , in, is the Hadamard product operation, Normalize the parameter matrix for user preference feature label weights, and the matrix size is ( OK List); for The matrix elements of for The matrix element of The i-th vector element in , and then construct the entire The similarity matrix S of group task type classification is as follows: , Finally, the process of jointly determining the user's material preference type by combining the above first feature label weight coefficient matrix and the second feature label weight coefficient matrix, that is, combining the historical conversation information and the real-time collected conversation information, first calculates the user preference feature label set The nth task type preference feature label set The similarity of feature labels in as follows: , in, Normalize the parameter matrix for task category feature label weights. For the matrix The matrix elements of For the matrix The matrix element of The mth vector element in . Then, we get Determine the user's preference for each task group, that is, determine the user's material preference type.
[0052] It should be noted that in actual usage scenarios, there are situation, at this time for: , If at this time , When , we have: .
[0053] At this point, it can be understood that the weight of the historical conversation information is set to 0, that is, the influence of the historical conversation information on the user's material preference type determination process is not considered.
[0054] Furthermore, in the present embodiment, the process of pushing the target material to the target user is specifically implemented as follows: Collecting user information of the target user; adjusting the target material according to the user information, and pushing the adjusted target material to the target user.
[0055] Among them, the process of adjusting the target material can be understood as, in a game scenario, collecting the user's task completion time, task completion information, etc., and adjusting the target task pushed to the user based on the user's task completion time and task completion degree. For example, if the user's task completion time is short and the user's task completion degree is also high, the target task pushed to the user will increase the difficulty of the task. Ways to increase the difficulty of the task include, but are not limited to, increasing the number of task items collected, changing the task execution location to a higher-level activity area, etc.
[0056] In the product recommendation scenario, the user's consumption frequency, single consumption amount, etc. are collected, and the target products pushed to the user are adjusted based on the user's consumption frequency and single consumption amount. For example, if the user has a high consumption frequency and a large single consumption amount, higher-priced products will be pushed to the user.
[0057] Furthermore, the materials contained in the multiple material libraries are dynamically adjusted. In this embodiment, the dynamic adjustment process is specifically implemented as follows: Determine the sub-elements contained in any material; adjust the sub-elements based on preset adjustment rules to obtain target sub-elements; and adjust corresponding elements according to the target sub-elements.
[0058] Among them, taking the game scene as an example, the game progress can be collected at a preset time node. The specific game progress is measured by the user's current level or the user's level and other information. Then, according to the game progress, the tasks in the task library are adjusted. For example, at level 2, the task is to collect 200 woods to reward level 2 weapons, and at level 5, the task is to collect 500 woods to reward level 5 weapons; and the sub-elements such as task rewards and task content can be hard-linked, or the task rewards and task content can be set separately and randomly combined, such as completing the collection of 200 woods and rewarding 1 diamond, or completing the collection of 200 woods and rewarding 1 acceleration card. In addition, the materials in the material library can also be updated based on preset time intervals, such as every month.
[0059] Corresponding to the above method embodiment, the present application also provides an embodiment of a material pushing device based on interactive language, Figure 3 FIG. 1 shows a schematic diagram of a material push device based on interactive language provided by an embodiment of the present application. Figure 3 As shown, the device comprises: An interactive module 302 is configured to conduct a dialogue with a target user based on a pre-trained dialogue NPC and collect dialogue information of the target user; The preference determination module 304 is configured to determine a feature tag set according to the conversation information, and calculate the material preference type of the target user according to the feature tag set; The material selection module 306 is configured to select a target material from a plurality of preset material libraries according to the material preference type; The push module 308 is configured to push the target material to the target user Based on a preset semantic similarity calculation function, calculating the similarity between the feature tag set and the preset material type preference template feature tags; The material preference type is determined according to the similarity calculation result.
[0060] In an optional embodiment, the material selection module 306 is further configured to: Determine the material type included in the material preference type and the similarity parameter corresponding to the material type; select a target material library from the multiple material libraries according to the material type; and select the target material from the target material library according to the similarity parameter corresponding to the material type.
[0061] In an optional embodiment, the preference determination module 304 is further configured to: Based on the multiple material libraries, a first feature label weight coefficient matrix is constructed; and according to the first feature label weight coefficient matrix and the feature label set, the material preference type is calculated.
[0062] In an optional embodiment, the preference determination module 304 is further configured to: Collecting historical conversation information of the target user; determining the feature tag set based on the historical conversation information and the conversation information, and constructing a second feature tag weight coefficient matrix; calculating the material preference type based on the second feature tag weight coefficient matrix and the feature tag set.
[0063] In an optional embodiment, the push module 308 is further configured to: Collecting user information of the target user; adjusting the target material according to the user information, and pushing the adjusted target material to the target user.
[0064] In an optional embodiment, the interactive language-based material pushing device further includes: The dynamic adjustment module is configured to determine the sub-elements contained in any material; adjust the sub-elements based on preset adjustment rules to obtain target sub-elements; and adjust the corresponding elements according to the target sub-elements.
[0065] The interactive language-based material push device provided by the present application conducts a dialogue with a target user based on a pre-trained dialogue NPC, and collects the dialogue information of the target user; determines a feature tag set based on the dialogue information, and calculates the target user's material preference type based on the feature tag set; selects a target material from a plurality of preset material libraries based on the material preference type; and pushes the target material to the target user. Through the free dialogue between the user and the NPC, the user can unconsciously use the technology of the large language model to determine the user's material preference based on the dialogue content. Avoid determining preferences only through rigid modes such as questionnaires and option settings.
[0066] The above is a schematic scheme of a material pushing device based on interactive language in this embodiment. It should be noted that the technical scheme of the material pushing device based on interactive language and the technical scheme of the material pushing method based on interactive language belong to the same concept. The details of the technical scheme of the material pushing device based on interactive language that are not described in detail can be found in the description of the technical scheme of the material pushing method based on interactive language. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separation definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through the computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.
[0067] Figure 4 The structure block diagram of a computing device 400 provided according to an embodiment of the present application is shown. The components of the computing device 400 include but are not limited to a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and the database 450 is used to store data.
[0068] The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0069] In one embodiment of the present application, the above components of the computing device 400 and Figure 4 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 4 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.
[0070] Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.
[0071] The processor 420 is used to execute computer executable instructions of each step of the interactive language-based material pushing method.
[0072] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned interactive language-based material push method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned interactive language-based material push method.
[0073] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, are used to execute the steps of the interactive language-based material pushing method.
[0074] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned interactive language-based material push method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned interactive language-based material push method.
[0075] An embodiment of the present application further provides a chip storing a computer program, which implements the steps of the interactive language-based material pushing method when executed by the chip.
[0076] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0077] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0078] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0079] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0080] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.
Claims
1. A material push method based on interactive language, characterized in that: include: Conducting a dialogue with a target user based on the pre-trained dialogue NPC, and collecting dialogue information of the target user; Determine a feature tag set according to the conversation information, and calculate the material preference type of the target user according to the feature tag set; According to the material preference type, selecting a target material from a plurality of preset material libraries; Push the target material to the target user.
2. The method according to claim 1, characterized in that The calculating the material preference type of the target user according to the feature tag set includes: Based on a preset semantic similarity calculation function, calculating the similarity between the feature tag set and the preset material type preference template feature tags; The material preference type is determined according to the similarity calculation result.
3. The method according to claim 2, characterized in that The step of selecting a target material from a plurality of preset material libraries according to the material preference type includes: Determining the material types included in the material preference type and the similarity parameters corresponding to the material types; Selecting a target material library from the multiple material libraries according to the material type; The target material is selected in the target material library according to the similarity parameter corresponding to the material type.
4. The method according to claim 1, characterized in that: The calculating the material preference type of the target user according to the feature tag set includes: Based on the multiple material libraries, construct a first feature label weight coefficient matrix; The material preference type is calculated according to the first feature tag weight coefficient matrix and the feature tag set.
5. The method according to claim 1, characterized in that The determining a feature tag set according to the conversation information, and calculating the material preference type of the target user according to the feature tag set, includes: Collecting historical conversation information of the target user; Determining the feature tag set according to the historical conversation information and the conversation information, and constructing a second feature tag weight coefficient matrix; The material preference type is calculated according to the second feature label weight coefficient matrix and the feature label set.
6. The method according to claim 1, characterized in that The pushing the target material to the target user includes: Collecting user information of the target user; The target material is adjusted according to the user information, and the adjusted target material is pushed to the target user.
7. The method according to claim 1, characterized in that The materials contained in the multiple material libraries will be dynamically adjusted, and the dynamic adjustment process includes: Determine the sub-elements contained in any material; Based on a preset adjustment rule, the sub-element is adjusted to obtain a target sub-element; The corresponding element is adjusted according to the target sub-element.
8. A material pushing device based on interactive language, characterized in that: include: An interactive module, configured to conduct a dialogue with a target user based on a preset interactive template and collect dialogue information of the target user; a preference determination module, configured to determine a feature tag set according to the conversation information, and calculate a material preference type of the target user according to the feature tag set; A material selection module, configured to select a target material from a plurality of preset material libraries according to the material preference type; The push module is configured to push the target material to the target user.
9. A computing device, characterized in that include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the interactive language-based material pushing method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing computer instructions, characterized in that: When the instruction is executed by the processor, the steps of the interactive language-based material pushing method described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Content push method, content push system and server
CN104298755A
A method and a device for information push based on artificial intelligence
CN106407425A
Online model training method, pushing method, device and equipment
CN110321422A
Search recommendation method and system based on user preference and storage medium
CN113641914A
Information pushing method and device
CN114119123A
