Information processing method, device and computer-readable storage medium

By collecting and matching the target problem information and portrait information in the game, combining the favorability value and reply information attributes, personalized asynchronous reply between non-player characters and player characters in online games is achieved, solving the problem of rigid interaction methods in the existing technology, and improving the diversity and efficiency of information processing.

CN113704423BActive Publication Date: 2025-08-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110401526.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-14
Publication Date
2025-08-26
Estimated Expiration
2041-04-14

AI Technical Summary

Technical Problem

In existing online games, the interaction between non-player characters and player characters is relatively rigid, and the diversity of information processing is poor.

Method used

Collect the user's target problem information, portrait information, and the favorability value between the player character and non-player character in the game application, match the target's initial reply information, determine the content information of the slot to be filled based on the portrait information, and determine the reply time based on the attribute information of the reply information to be determined to realize asynchronous delayed reply.

Benefits of technology

It improves the diversity and efficiency of information processing, and through personalized asynchronous reply mechanism, the flexibility and diversity of interaction are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113704423B_ABST
    Figure CN113704423B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses an information processing method, device and computer-readable storage medium. The embodiment of the present application collects target question information and user portrait information; matches corresponding target initial reply information according to the target question information; determines target content information in the slot to be filled according to the user portrait information to obtain target reply information; determines corresponding reply time information according to the attribute information of the target reply information; and replies to the target reply information when it is detected that the current time information reaches the reply time information. In this way, the target initial reply information is matched according to the target question information, and the slot to be filled in the target initial reply information is flexibly filled with content according to the user screen information to obtain the target reply information. The reply time information is determined based on the attribute information of the target reply information to perform delayed asynchronous reply, which greatly improves the diversity of information processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device, and computer-readable storage medium. Background Art

[0002] With the development of network technology, the transmission and carrying capacity of mobile Internet has been greatly improved. The concept of accessing the Internet through mobile terminals such as mobile phones is no longer unfamiliar to consumers. Among them, online games launched for mobile terminal users are becoming increasingly popular.

[0003] In existing technology, online games can provide interactive features within the game by establishing non-player characters (NPCs) and using manual configuration for operation and management to achieve interactive features with game players. However, this processing method is relatively rigid and lacks diversity in information processing. Summary of the Invention

[0004] The embodiments of the present application provide an information processing method, apparatus, and computer-readable storage medium, which can enhance the diversity of information processing.

[0005] To solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0006] An information processing method, comprising:

[0007] Collecting target question information raised by the user in the game application, user portrait information in the game application, and a favorability value between a target player character and a target non-player character, where the target player character is the player character of the user in the game application;

[0008] Matching corresponding target initial response information according to the target question information, wherein the target initial response information includes slots to be filled;

[0009] Determine target content information in the slot to be filled based on the portrait information, and obtain target reply information;

[0010] Determine corresponding response time information according to attribute information of target response information;

[0011] When it is detected that the current time information reaches the reply time information, the target reply information is replied.

[0012] An information processing device, comprising:

[0013] a collection unit, configured to collect target question information raised by a user in a game application, user portrait information in the game application, and a favorability value between a target player character and a target non-player character, wherein the target player character is a player character of the user in the game application;

[0014] A matching unit, configured to match corresponding target initial response information according to the target question information, wherein the target initial response information includes a slot to be filled;

[0015] A first determining unit is configured to determine target content information in the to-be-filled slot based on the portrait information and the favorability value, and obtain target reply information;

[0016] A second determining unit, configured to determine corresponding reply time information according to attribute information of the target reply information;

[0017] The first reply unit is configured to reply the target reply information when detecting that the current time information reaches the reply time information.

[0018] In some embodiments, the filling subunit is used to:

[0019] When the associated slot to be filled contains a content information, the content information in the associated slot to be filled is used as the target content information to fill the slot, and obtain target reply information;

[0020] When the associated slot to be filled contains multiple pieces of content information, obtaining a favorability value between the target player character and the target non-player character in the question;

[0021] Target content information is selected from the plurality of content information according to the favorability value to fill the slot, thereby obtaining target reply information.

[0022] In some embodiments, the second determining unit is configured to:

[0023] Corresponding reply time information is determined according to the word count sub-attribute information and the grammatical complexity sub-attribute information of the target reply information.

[0024] In some embodiments, the second determining unit is further configured to:

[0025] Obtaining word count sub-attribute information and confidence sub-attribute information of the target reply information;

[0026] Get the favorability value between the target player character and the target non-player character;

[0027] Corresponding reply time information is determined according to the word count sub-attribute information, the confidence sub-attribute information and the favorability value.

[0028] In some embodiments, the apparatus further comprises:

[0029] An acquisition unit, used to acquire a favorability value between a target player character and a target non-player character in a preset time;

[0030] The matching unit is further configured to match the target initial reply information to the target question information when the favorability value is greater than a preset threshold within a preset time;

[0031] The second reply unit is configured to reply with a preset reply message when the favorability value is not greater than a preset threshold within a preset time.

[0032] A computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in the above-mentioned information processing method.

[0033] A computer device comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the steps of the above-mentioned information processing method when executing the computer program.

[0034] A computer program product or computer program includes computer instructions stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium and executes the computer instructions, causing the computer to perform the steps of the above-mentioned information processing method.

[0035] The embodiment of the present application collects target question information and user portrait information in the game application; matches the corresponding target initial reply information according to the target question information; determines the target content information in the slot to be filled according to the user portrait information to obtain the target reply information; determines the corresponding reply time information according to the attribute information of the target reply information; and replies to the target reply information when it is detected that the current time information reaches the reply time information. In this way, the target initial reply information is matched according to the target question information, and the slot to be filled in the target initial reply information is flexibly filled with content according to the user screen information to obtain the target reply information. The reply time information is determined based on the attribute information of the target reply information to perform a delayed asynchronous reply. Compared with the existing solution that requires manual configuration for operation and management, the diversity of information processing is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0037] Figure 1 This is a schematic diagram of a scenario of an information processing system provided by an embodiment of the present application;

[0038] Figure 2 This is a flowchart of the information processing method provided by the embodiment of the present application;

[0039] Figure 3 is another flowchart of the information processing method provided in an embodiment of the present application;

[0040] Figure 4a A schematic diagram of a scenario of the information processing method provided in an embodiment of the present application;

[0041] Figure 4b A schematic diagram of another scenario of the information processing method provided in an embodiment of the present application;

[0042] Figure 5 is a schematic structural diagram of an information processing device provided in an embodiment of the present application;

[0043] Figure 6 It is a structural diagram of the server provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0045] Embodiments of the present application provide an information processing method, apparatus, and computer-readable storage medium.

[0046] See also Figure 1 , Figure 1The scenario diagram of the information processing system provided in the embodiment of the present application includes: terminal A and a server (the information processing system may also include other terminals in addition to terminal A, and the specific number of terminals is not limited here). Terminal A and the server can be connected through a communication network. The communication network may include a wireless network and a wired network, wherein the wireless network includes a combination of one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal network. The network includes network entities such as routers and gateways, which are not shown in the figure. Terminal A can exchange information with the server through the communication network. For example, terminal A sends target question information and user portrait information to the server online through a game application.

[0047] The information processing system may include an information processing device, which may be integrated into a server. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may 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 platforms. Figure 1 As shown, the server can collect target question information raised by the user in the game application, portrait information of the user in the game application, and the favorability value between the target player character and the target non-player character, where the target player character is the player character of the user in the game application; match the corresponding target initial reply information according to the target question information, and the target initial reply information includes a slot to be filled; determine the target content information in the slot to be filled according to the portrait information, and obtain the target reply information; determine the corresponding reply time information according to the attribute information of the target reply information; and reply to the target reply information when it is detected that the current time information reaches the reply time information.

[0048] In the information processing system, terminal A can be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc. Terminal A can be installed with various applications required by the user, such as game applications.

[0049] It should be noted that Figure 1 The scenario diagram of the information processing system shown is only an example. The information processing system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of information processing systems and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.

[0050] The following are detailed descriptions of each.

[0051] In this embodiment, the description will be made from the perspective of an information processing device, which can be specifically integrated into a server having a storage unit and a microprocessor installed therein to have computing capabilities.

[0052] See also Figure 2 , Figure 2 : is a flow chart of the information processing method provided in the embodiment of the present application. The information processing method includes:

[0053] In step 101, target question information raised by the user in the game application, user portrait information in the game application, and favorability values ​​between a target player character and a target non-player character are collected, where the target player character is the player character of the user in the game application.

[0054] It can be understood that the user's portrait information in the game application is based on portrait recognition technology, which is a user analysis method that refers to classifying and processing the target user's historical or current behavior (events, logs) and data in an agreed manner, so that in specific scenarios, users can be divided into a certain category as needed.

[0055] Among them, since official characters (NPCs) can be set in the game community in current game applications, users can operate the player characters in the game and ask target questions to the official characters. The way to ask questions can be to comment on specific content posted by the official characters or to trigger it by tagging (@) the official characters in a reply. The tag refers to notification, which is not specifically limited here.

[0056] For example, a user can comment under the specific content posted by the NPC Sikong Xiaoxing, "The star achievements are obviously completed, why are they still not completed?" The server can collect the target question information "The star achievements are obviously completed, why are they still not completed?" and at the same time collect the portrait information of the player character corresponding to the user. The portrait information can be determined by the player character's identity information, gender information and question scene information.

[0057] In step 102, the corresponding target initial reply information is matched according to the target question information.

[0058] Among them, the embodiments of the present application can apply the natural language processing technology (NLP) of artificial intelligence, which is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can realize effective communication between people and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language used by people in daily life, so it is closely related to the study of linguistics. Natural language processing technology generally includes text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies.

[0059] In this way, different target initial response information can be set in advance for each semantic information. The embodiment of the present application can combine natural language processing technology to understand the semantic information of the target question information, and match the corresponding target initial response information according to the semantic information. The target initial response information includes a slot to be filled. The slot to be filled can be an agreed noun format or noun marker, and can be filled and replaced according to the preset content later, such as [self-name], [in-game identity] or [gender name], etc. For example, the target initial response information can be "Feedback has been received from multiple [gender name], and will be reissued after the problem is fixed."

[0060] In some embodiments, the step of determining the target object element corresponding to the target object in the three-dimensional space may include:

[0061] (1) Obtain keyword information and intent information of the target question information;

[0062] (2) determining the target preset question information to which the target question information belongs based on the keyword information and the intention information;

[0063] (3) obtaining a plurality of initial response information corresponding to the target preset question information;

[0064] (4) Determine target initial response information from a plurality of initial response information based on the target player character of the question.

[0065] The keyword information and intent information of the target question information can be obtained. The keyword information is the keywords that constitute the question in the target question information, such as "astrological achievement" and "not completed". The intent information is the intention of the target question information, that is, what the target question information intends to inquire about, such as "astrological achievement query".

[0066] Furthermore, the target preset question information to which the target question information belongs can be determined based on the keyword information and the intent information. The target preset question information can be a question set. For example, question sets formed by questions of a certain category have similar intent information. In this way, the question set to which the target question information belongs, i.e., the target preset question information, can be determined based on the keyword information and the intent information.

[0067] The target preset question information question set can have multiple initial reply information. In order to form a personalized reply, each player character can correspond to an initial reply information. Therefore, the embodiment of the present application can determine the adapted target initial reply information from multiple initial reply information based on the target player character who raises the target question information.

[0068] In some embodiments, before the step of matching the target initial reply information according to the target question information, the method further includes:

[0069] (a) obtaining the favorability value between the target player character and the target non-player character within a preset time period;

[0070] (b) when the favorability value is greater than a preset threshold within a preset time, matching the target initial reply information with the target question information;

[0071] (c) When the favorability value is not greater than the preset threshold within the preset time, reply with the preset reply message.

[0072] Among them, the preset time can be 1 day, 2 days or a week, which can be set by the user. One day is taken as an example here. In this way, the server can obtain the favorability value between the target player character asking the question and the target non-player character being asked the question within one day. The favorability value within one day can reflect the interaction favorability between the two within one day. The lower the favorability value within one day, the worse the interaction between the two, and the higher the favorability value within one day, the better the interaction between the two.

[0073] The preset threshold is a critical value for determining whether the interaction between the two parties has failed, and can be 0. When the favorability value within the preset time is greater than the preset threshold, the step of matching the target initial response information with the target question information can be continued. If the favorability value within the preset time is not greater than the preset threshold, it indicates that the current interaction between the two parties has failed, and a preset response message can be replied to reject the answer to the target question information, for example, "We are not on the same page today. Do you really want to talk about things unrelated to the social world?"

[0074] In step 103, target content information in the slot to be filled is determined based on the portrait information, and target reply information is obtained.

[0075] Among them, in order to achieve a better question answering experience, the target content information in the slot to be filled can be accurately filled according to the user's portrait information. For example, for the slot to be filled "

gender title

[0076] In some embodiments, the step of determining target content information in the to-be-filled slot based on the portrait information and obtaining target reply information may include:

[0077] (1) determining the associated slot to be filled based on the portrait information;

[0078] (2) Select any content information from the associated slot to be filled as the target content information to fill the slot and obtain the target reply information.

[0079] Among them, at least one content information can be set in advance for each slot to be filled. For example, the slot to be filled can be "

gender title

gender title

[0080] In this way, the pre-associated slot to be filled can be directly determined based on the portrait information of the target player character currently asking the question. For example, if the portrait information of the target player character is the identity information "A Nuan", the gender information "male" and the question scene information "question and answer in the application", then the associated slot to be filled is "gender title".

[0081] In the embodiment of the present application, based on the identity information "A Nuan" of the player character in the portrait information, the gender information "male" and the question scene information "question and answer in the application", it can be determined that the content information can be "young hero" or "friend", and one of them can be selected as the target content information. For example, "friend" is used as the target content information to fill the slot, and the target reply information "Feedback has been received from many friends, and will be reissued after the problem is fixed" is obtained.

[0082] In some embodiments, the step of selecting any content information from the associated to-be-filled slot as target content information to fill the slot and obtaining target reply information includes:

[0083] (1.1) When the associated slot to be filled contains a content information, the content information in the associated slot to be filled is used as the target content information to fill the slot, and the target reply information is obtained;

[0084] (1.2) When the associated slot to be filled contains multiple pieces of content information, obtaining a favorability value between the target player character and the target non-player character in the question;

[0085] (1.3) Select target content information from the plurality of content information according to the favorability value to fill the slot, and obtain target reply information.

[0086] When the associated slot to be filled contains a piece of content information, it means that there is no other choice, and the content information in the associated slot to be filled can be directly used as the target content information to fill the slot.

[0087] However, when the associated slot to be filled contains multiple content information, such as "young hero" and "friend", at this time, in order to make a better selection, the server can obtain the favorability index between the target player character asking the question and the target non-player character to be answered. The favorability value is a numerical system that already exists in the game. In the game, the target player character can increase the favorability value with the target non-player character through characters, gifts, etc.

[0088] Each of the multiple content messages can be a target for output at different favorability values. For example, when the favorability is greater than X and less than Y, "young hero" can be used as the target content message, resulting in the target reply message "Feedback from multiple young heroes has been received. A reissue will be arranged after the problem is fixed." When the favorability is greater than Y, "friends" can be used as the target content message to fill the slot, resulting in the target reply message "Feedback from multiple friends has been received. A reissue will be arranged after the problem is fixed." This achieves different target reply messages corresponding to different favorability values, further enhancing the diversity of information processing.

[0089] In step 104, corresponding reply time information is determined according to the attribute information of the target reply information.

[0090] Among them, in order to realize the asynchronous reply mechanism, that is, to adopt a "non-timely" and "undirected" reply processing method between non-player characters and player characters, the embodiment of the present application can determine different reply time information based on the attribute information of the target reply information. The reply time information is greater than or equal to the standard time of the current time zone. The attribute information can be word count attribute information or grammatical complexity attribute information.

[0091] Specifically, the longer the word count attribute information, the more difficult the target reply message is to answer, and a longer response time information can be set. The shorter the word count attribute information, the easier the target reply message is to answer, and a shorter response time information can be set. Similarly, the more complex the grammatical complexity attribute information, the more difficult the target reply message is to answer, and a longer response time information can be set. The simpler the grammatical complexity attribute information, the easier the target reply message is to answer, and a shorter response time information can be set.

[0092] In some actual embodiments, the step of determining corresponding reply time information based on attribute information of the target reply information includes: determining corresponding reply time information based on word count sub-attribute information and grammatical complexity sub-attribute information of the target reply information.

[0093] The word count sub-attribute information may be word count information, and the grammatical complexity sub-attribute information may be grammatical complexity information. For example, the basic grammatical complexity of a subject-verb-object structure is the lowest. Thus, the greater the word count sub-attribute information, the greater the response time information, while the fewer the word count sub-attribute information, the shorter the response time information. Furthermore, the greater the grammatical complexity of the grammatical complexity sub-attribute information, the greater the response time information, while the smaller the grammatical complexity of the grammatical complexity sub-attribute information, the shorter the response time information.

[0094] Furthermore, corresponding reply time information is set by combining the two dimensions. For example, when the system time is 22:11, the reply time information can be set to 22:15.

[0095] In step 105, when it is detected that the current time information reaches the reply time information, the target reply information is replied.

[0096] Among them, when it is detected that the current time information reaches the reply time information, for example, when the current system time reaches 22:15, the reply mechanism of the target reply information can be started, and the target reply information can be replied on the server. The server will push the target reply information to the client, so that the user on the client can obtain the target reply information corresponding to the target question information, realize personalized asynchronous reply, and greatly improve the efficiency of information processing.

[0097] In one embodiment, before replying to the target reply information, the user may manually revise the target reply information to achieve a customized reply to the target reply information.

[0098] As can be seen from the above, the embodiment of the present application collects target question information and the portrait information of the user in the game application; matches the corresponding target initial reply information according to the target question information; determines the target content information in the slot to be filled according to the portrait information to obtain the target reply information; determines the corresponding reply time information according to the attribute information of the target reply information; and replies to the target reply information when it is detected that the current time information reaches the reply time information. In this way, the target initial reply information is matched according to the target question information, and the slot to be filled in the target initial reply information is flexibly filled with content according to the user screen information to obtain the target reply information. The reply time information is determined based on the attribute information of the target reply information for delayed asynchronous reply. Compared with the existing solution that requires manual configuration for operation and management, the diversity of information processing is greatly improved.

[0099] In combination with the method described in the above embodiment, the following examples are given to further illustrate the method in detail.

[0100] In this embodiment, the information processing device is specifically integrated into a server as an example for description, and the details are described below.

[0101] See also Figure 3 , Figure 3 This is another flow chart of the information processing method provided in an embodiment of the present application. The method flow may include:

[0102] In step 201, the server collects target question information raised by the user in the game application, user portrait information in the game application, and the favorability value between the target player character and the target non-player character, where the target player character is the player character of the user in the game application.

[0103] Among them, users can @NPC in the comment area of ​​the game community and enter the target question information "The star achievements are obviously completed, why are they still not completed", triggering the server to collect the target question information "The star achievements are obviously completed, why are they still not completed" and the portrait information of the user's player character in the game, for example, the portrait information is the identity information "A Nuan", the gender information "male" and the question scene information "Q&A in the application".

[0104] In step 202, the server sets preset question information, performs similarity expansion based on the preset question information to obtain target preset question information after similarity expansion, and sets a variety of initial reply information according to the target preset question information.

[0105] Please also refer to Figure 4a As shown, the server can set preset question information, which can be Figure 4aIn the example of the standard question 11 in the example, "Feedback on Star Achievements", the embodiment of the present application can perform similarity expansion based on the preset question information, and identify questions similar to the preset question information, such as "I have completed all the Star Achievements, why are they still not completed?" and "Why can't I see the Star Achievements?" as target preset question information together with the preset question, to generate a question set.

[0106] Furthermore, you can also set multiple initial response information for the target preset question information, that is, Figure 4a For example, answers 1 and 2, each initial reply is associated with a player character, and each initial reply includes a slot to be filled. For example, answer 1 states, "We have received feedback from multiple [gender name] and will arrange for a replacement after the issue is fixed." This [gender name] is slot 12 to be filled, and is associated with player character 13, "Sikong Xiaoxing," and the gender "Male."

[0107] In step 203, the server obtains keyword information and intent information of the target question information, determines the target preset question information to which the target question information belongs based on the keyword information and intent information, obtains multiple initial response information corresponding to the target preset question information, and determines the target initial response information from the multiple initial response information based on the target player character asking the question.

[0108] Among them, the server obtains the keywords "Star Fortune Achievement" and "Not Completed" and the intent information "Star Fortune Achievement Query" of the target question information "The Star Fortune Achievement has been completed, why is it still not completed?", and determines that the target preset question information to which the target question information belongs is the target preset question information formed by the standard question method "Star Fortune Achievement Feedback" based on the keywords "Star Fortune Achievement" and "Not Completed" and the intent information "Star Fortune Achievement Query".

[0109] For further information, please also refer to Figure 4a As shown, it is possible to obtain a variety of initial response information corresponding to the target preset question information formed by the standard question "Star Achievement Feedback", namely Figure 4a Answer 1 and Answer 2, assuming that the identity information of the target player character is "Xiao Nuan" and the gender information is "Male", it can be seen that Answer 1 can be determined as the target initial reply information from Answer 1 and Answer 2.

[0110] In step 204 , the server generates slots to be filled and sets at least one content information for each slot to be filled.

[0111] Please also refer to Figure 4bAs shown, the server pre-generates multiple slots 21 to be filled, such as [Self-title], [Self-title], [In-game identity] and [Gender title] to be filled slots, and at least one content information 22 can be set for each slot to be filled, for example, three content information of "Young Man", "Friend" and "Brother" are set for the slot to be filled of [Gender title], and each slot to be filled is associated with a portrait information, for example, the slot to be filled of [Gender title] is associated with identity information "A Nuan", gender information "Male" and question scene information "Q&A in Application".

[0112] In step 205, the server determines the associated slot to be filled based on the portrait information. When the associated slot to be filled contains content information, the content information in the associated slot to be filled is used as the target content information to fill the slot and obtain target reply information.

[0113] Please also refer to Figure 4b The server can determine the associated slot to be filled [Gender Title] based on the portrait information of the game character currently asking the question, the identity information "A Nuan", the gender information "Male" and the question scene information "Questions and Answers in the Application". When the associated slot to be filled contains one content information, for example, when [In-game Identity] only contains one content information "Tian Xiang", it can be directly used as the target content information to fill the slot and obtain the target reply information.

[0114] In step 206 , when the server detects that the associated slot to be filled contains multiple pieces of content information, the server obtains the favorability value between the target player character and the target non-player character in the question.

[0115] Please also refer to Figure 4b As shown, the portrait information of the game character currently asking the question is the identity information "A Nuan", the gender information "Male" and the question scene information "Questions and Answers in the Application". The associated slot to be filled [Gender Title] contains three content information, namely "Young Man", "Friend" and "Brother". In order to select the appropriate content information from the three, the favorability value between the target player character asking the question and the target non-player can be obtained. That is, the embodiment of the present application can introduce NPC gameplay numerical rewards (i.e., favorability) to mark the relationship between the player character and the current NPC.

[0116] In step 207 , the server selects target content information from the plurality of content information according to the favorability value to fill the slot, and obtains target reply information.

[0117] Among them, during the game usage cycle, due to the player's interaction with the NPC, such as completing tasks and giving gifts, the favorability can change in real time. The favorability can be bound to the content information. The higher the favorability, the more intimate the content information can be, realizing personalized information interaction. In the embodiment of the present application, the appropriate content information can be selected based on the favorability.

[0118] For example, let's use X and Y as the boundaries of favorability. X is less than Y. When the favorability is less than X, you can select "Young Man" from "Young Man", "Friends" and "Brothers" as the target content information to fill the slot, and get the target reply information "Feedback has been received from many young men, and will be reissued after the problem is fixed."

[0119] When the favorability is greater than X and less than Y, you can select "Friends" from "Young Man", "Friends" and "Brothers" as the target content information to fill the slot, and get the target reply information "Feedback has been received from many friends, and will be reissued after the problem is fixed."

[0120] When the favorability is greater than Y, you can select "Brother" from "Young Man", "Friend" and "Brother" as the target content information to fill the slot, and get the target reply information "Feedback from many brothers has been received, and reissue will be arranged after the problem is fixed."

[0121] In this way, different content information can be pushed according to different favorability levels to form target reply information, realize the construction of artificial intelligence speech, and further improve the diversity of information processing.

[0122] In step 208, the server obtains the word count sub-attribute information and the confidence sub-attribute information of the target reply information, obtains the favorability value between the target player character asking the question and the target non-player character, and determines the corresponding reply time information based on the word count sub-attribute information, the confidence sub-attribute information and the favorability value.

[0123] Among them, in order to implement an asynchronous reply mechanism, that is, a "non-timely" and "non-directional" reply processing method is adopted between non-player characters and player characters, the server can obtain the word count sub-attribute information and confidence sub-attribute information of the target reply information, where the word count sub-attribute information is the size of the word count, and the confidence sub-attribute information is an evaluation value reflecting the reliability of the target reply information.

[0124] Furthermore, the favorability value between the target player character and the target non-player character in the question can be obtained. Based on this, the corresponding response time information can be inferred based on the following criteria: the larger the word count sub-attribute information, the longer the response time information is set, and the smaller the word count sub-attribute information, the shorter the response time information is set; the larger the confidence sub-attribute information, the longer the response time information is set, and the smaller the confidence sub-attribute information, the shorter the response time information is set; and the larger the favorability, the shorter the response time information is set, and the smaller the favorability, the longer the response time information is set. Please refer to the following formula for understanding:

[0125] t=((A / x*y) / z)

[0126] The t is the delay time, the x is the favorability, the y is the word count sub-attribute information, and the z is the confidence sub-attribute information. The t plus the current system time is the response time information. It is easy to see that the higher the favorability, the shorter the delay time, the smaller the word count sub-attribute information, the shorter the delay time, and the smaller the confidence sub-attribute information, the shorter the delay time. In this way, the delay time is obtained, and then the corresponding response time information is determined, for example, 23:25.

[0127] In step 209, when the server detects that the current time information reaches the reply time information, it replies with the target reply information.

[0128] Among them, when the server detects that the current time information reaches the reply time information, for example, when the current system time reaches 23:25, the reply mechanism of the target reply information can be started, and the target reply information can be replied on the server. The server will push the target reply information to the client, so that the user on the client can obtain the target reply information corresponding to the target question information, realize personalized asynchronous reply, and greatly improve the efficiency of information processing.

[0129] As can be seen from the above, the embodiment of the present application collects the target question information raised by the user in the game application, the portrait information of the user in the game application, and the favorability value between the target player character and the target non-player character, where the target player character is the player character of the user in the game application; matches the corresponding target initial reply information according to the target question information; determines the target content information in the slot to be filled according to the portrait information, and obtains the target reply information; determines the corresponding reply time information according to the attribute information of the target reply information; and replies to the target reply information when it is detected that the current time information reaches the reply time information. In this way, the target initial reply information is matched according to the target question information, and the slot to be filled in the target initial reply information is flexibly filled with content according to the user screen information to obtain the target reply information. The reply time information is determined based on the attribute information of the target reply information for delayed asynchronous reply. Compared with the existing solution that requires manual configuration for operation and management, the diversity of information processing is greatly improved.

[0130] Furthermore, the embodiment of the present application can also dynamically push different target reply information according to the status of favorability for flexible reply, further improving the efficiency of information processing.

[0131] To facilitate better implementation of the information processing method provided in the embodiments of the present application, the embodiments of the present application also provide a device based on the above information processing method. The meanings of the terms are the same as those in the above information processing method, and the specific implementation details can be referred to the description in the method embodiment.

[0132] See also Figure 5 , Figure 5 A structural diagram of an information processing device provided in an embodiment of the present application, wherein the information processing device may include a collection unit 301, a matching unit 302, a first determination unit 303, a second determination unit 304, and a first reply unit 305, etc.

[0133] The collection unit 301 is used to collect target question information raised by the user in the game application, user portrait information in the game application, and the favorability value between the target player character and the target non-player character, where the target player character is the player character of the user in the game application.

[0134] The matching unit 302 is configured to match corresponding target initial response information according to the target question information, where the target initial response information includes slots to be filled.

[0135] In some embodiments, the information processing device also includes a first setting unit, which is used to: set preset question information; perform similarity expansion based on the preset question information to obtain target preset question information after similarity expansion; set multiple initial response information according to the target preset question information, each initial response information is associated with a player character, and each initial response information includes a slot to be filled.

[0136] In some embodiments, the matching unit 302 is used to: obtain keyword information and intent information of the target question information; determine the target preset question information to which the target question information belongs based on the keyword information and intent information; obtain multiple initial response information corresponding to the target preset question information; and determine the target initial response information from the multiple initial response information based on the target player character asking the question.

[0137] In some embodiments, the apparatus further comprises:

[0138] An acquisition unit, used to acquire a favorability value between a target player character and a target non-player character in a preset time;

[0139] The matching unit 302 is further configured to match the target initial reply information with the target question information when the favorability value is greater than a preset threshold within a preset time;

[0140] The second reply unit is configured to reply with a preset reply message when the favorability value is not greater than a preset threshold within a preset time.

[0141] The first determining unit 303 is used to determine the target content information in the slot to be filled according to the portrait information, and obtain target reply information.

[0142] In some embodiments, the device further includes a second setting unit, which is used to: generate slots to be filled; set at least one content information for each slot to be filled, and each slot to be filled is associated with a portrait information of a user in the game application.

[0143] In some implementations, the first determining unit 303 includes:

[0144] A determination subunit, configured to determine an associated slot to be filled based on the portrait information;

[0145] The filling subunit is used to select any content information from the associated slot to be filled as target content information to fill the slot and obtain target reply information.

[0146] In some embodiments, the filling subunit is used to:

[0147] When the associated slot to be filled contains a content information, the content information in the associated slot to be filled is used as the target content information to fill the slot, and the target reply information is obtained;

[0148] When the associated slot to be filled contains multiple pieces of content information, obtaining a favorability value between the target player character and the target non-player character in the question;

[0149] Target content information is selected from the plurality of content information according to the favorability value to fill the slot, thereby obtaining target reply information.

[0150] The second determining unit 304 is configured to determine corresponding reply time information according to attribute information of the target reply information.

[0151] In some embodiments, the second determining unit 304 is configured to:

[0152] Corresponding reply time information is determined according to the word count sub-attribute information and the grammatical complexity sub-attribute information of the target reply information.

[0153] In some embodiments, the second determining unit 304 is further configured to:

[0154] Obtain word count sub-attribute information and confidence sub-attribute information of the target response information;

[0155] Get the favorability value between the target player character and the target non-player character;

[0156] Corresponding reply time information is determined according to the word count sub-attribute information, the confidence sub-attribute information, and the favorability value.

[0157] The first reply unit 305 is configured to reply the target reply information when detecting that the current time information reaches the reply time information.

[0158] The specific implementation of each of the above units can be found in the previous embodiments and will not be described again here.

[0159] As can be seen from the above, the embodiment of the present application collects the target question information raised by the user in the game application, the portrait information of the user in the game application, and the favorability value between the target player character and the target non-player character through the collection unit 301, and the target player character is the player character of the user in the game application; the matching unit 302 matches the corresponding target initial reply information according to the target question information; the first determination unit 303 determines the target content information in the slot to be filled according to the portrait information and the favorability value, and obtains the target reply information; the second determination unit 304 determines the corresponding reply time information according to the attribute information of the target reply information; the first reply unit 305 replies to the target reply information when it detects that the current time information reaches the reply time information. In this way, the target initial reply information is matched according to the target question information, and the content of the slot to be filled in the target initial reply information is flexibly filled according to the user screen information to obtain the target reply information. The reply time information is determined based on the attribute information of the target reply information for delayed asynchronous reply. Compared with the existing scheme that requires manual configuration for operation management, the diversity of information processing is greatly improved.

[0160] The embodiment of the present application also provides a computer device, which may be a server, such as Figure 6 , which shows a schematic diagram of the structure of the server involved in the embodiment of the present application, specifically:

[0161] The computer device may include one or more processing core processors 401, one or more computer readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will understand that Figure 6 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0162] Processor 401 is the control center of the computer device. It connects the various components of the entire computer device using various interfaces and lines. By running or executing software programs and / or modules stored in memory 402 and accessing data stored in memory 402, it performs various functions of the computer device and processes data, thereby performing overall testing of the computer device. Optionally, processor 401 may include one or more processing cores; alternatively, processor 401 may integrate an application processor and a modem processor, where the application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.

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

[0164] The computer device also includes a power supply 403 for supplying power to various components. Optionally, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

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

[0166] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the computer device will load the executable files corresponding to one or more application processes into the memory 402 according to the following instructions, and the processor 401 will run the application stored in the memory 402, thereby implementing the various method steps provided in the above embodiments, as follows:

[0167] The target question information raised by the user in the game application, the user's portrait information in the game application, and the favorability value between the target player character and the target non-player character are collected, where the target player character is the user's player character in the game application; the corresponding target initial reply information is matched according to the target question information, and the target initial reply information includes a slot to be filled; the target content information in the slot to be filled is determined according to the portrait information and the favorability value to obtain the target reply information; the corresponding reply time information is determined according to the attribute information of the target reply information; and when it is detected that the current time information reaches the reply time information, the target reply information is replied.

[0168] In the above embodiments, the description of each embodiment has its own focus. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the information processing method above and will not be repeated here.

[0169] As can be seen from the above, the computer device of the embodiment of the present application can collect the target question information raised by the user in the game application, the portrait information of the user in the game application, and the favorability value between the target player character and the target non-player character, where the target player character is the player character of the user in the game application; match the corresponding target initial reply information according to the target question information; determine the target content information in the slot to be filled according to the portrait information and the favorability value, and obtain the target reply information; determine the corresponding reply time information according to the attribute information of the target reply information; and reply to the target reply information when it is detected that the current time information reaches the reply time information. In this way, the target initial reply information is matched according to the target question information, and the slot to be filled in the target initial reply information is flexibly filled with content according to the user screen information to obtain the target reply information. The reply time information is determined based on the attribute information of the target reply information for delayed asynchronous reply. Compared with the existing scheme that requires manual configuration for operation and management, the diversity of information processing is greatly improved.

[0170] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0171] To this end, an embodiment of the present application provides a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps of any of the information processing methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0172] The target question information raised by the user in the game application, the user's portrait information in the game application, and the favorability value between the target player character and the target non-player character are collected, where the target player character is the user's player character in the game application; the corresponding target initial reply information is matched according to the target question information, and the target initial reply information includes a slot to be filled; the target content information in the slot to be filled is determined according to the portrait information and the favorability value to obtain the target reply information; the corresponding reply time information is determined according to the attribute information of the target reply information; and when it is detected that the current time information reaches the reply time information, the target reply information is replied.

[0173] According to one aspect of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations provided in the above embodiments.

[0174] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0175] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0176] Since the instructions stored in the computer-readable storage medium can execute the steps in any information processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any information processing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0177] The above is a detailed introduction to an information processing method, device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An information processing method, characterized in that: include: Collecting target question information raised by the user in the game application, user portrait information in the game application, and a favorability value between a target player character and a target non-player character, where the target player character is the player character of the user in the game application; Matching corresponding target initial response information according to the target question information, wherein the target initial response information includes slots to be filled; Determine target content information in the to-be-filled slot based on the portrait information and the favorability value, and obtain target reply information; Determine corresponding response time information according to attribute information of target response information; When it is detected that the current time information reaches the reply time information, the target reply information is replied.

2. The information processing method according to claim 1, wherein: Before the step of matching the corresponding initial reply information according to the target question information, wherein the initial reply information includes the slot to be filled, the method further includes: Set preset question information; Performing similarity expansion based on the preset question information to obtain target preset question information after similarity expansion; A plurality of initial response messages are set according to the target preset question information, each initial response message is associated with a player character, and each initial response message includes a slot to be filled.

3. The information processing method according to claim 2, wherein: The step of matching the corresponding target initial reply information according to the target question information includes: Obtain keyword information and intent information of the target question information; Determine the target preset question information to which the target question information belongs based on the keyword information and the intention information; Obtaining multiple initial response information corresponding to the target preset question information; Target initial response information is determined from a plurality of initial response information according to a target player character of the question.

4. The information processing method according to claim 1, wherein: Before the step of determining the target content information in the slot to be filled according to the portrait information and obtaining the target reply information, the method further includes: Generate slots to be filled; At least one content information is set for each slot to be filled, and each slot to be filled is associated with a portrait information of a user in the game application.

5. The information processing method according to claim 4, characterized in that The step of determining target content information in the slot to be filled based on the portrait information and obtaining target reply information includes: Determining an associated slot to be filled based on the portrait information; Any content information is selected from the associated slots to be filled as target content information to fill the slots, thereby obtaining target reply information.

6. The information processing method according to claim 5, characterized in that The step of selecting any content information from the associated slots to be filled as target content information to fill the slots and obtain target reply information includes: When the associated slot to be filled contains a content information, the content information in the associated slot to be filled is used as the target content information to fill the slot, and obtain target reply information; When the associated slot to be filled contains multiple pieces of content information, obtaining a favorability value between the target player character and the target non-player character in the question; Target content information is selected from the plurality of content information according to the favorability value to fill the slot, thereby obtaining target reply information.

7. The information processing method according to any one of claims 1 to 6, characterized in that: The step of determining corresponding reply time information according to attribute information of the target reply information includes: Corresponding reply time information is determined according to the word count sub-attribute information and the grammatical complexity sub-attribute information of the target reply information.

8. The information processing method according to any one of claims 1 to 6, characterized in that: The step of determining corresponding reply time information according to attribute information of the target reply information includes: Obtaining word count sub-attribute information and confidence sub-attribute information of the target reply information; Get the favorability value between the target player character and the target non-player character; Corresponding reply time information is determined according to the word count sub-attribute information, the confidence sub-attribute information and the favorability value.

9. The information processing method according to any one of claims 1 to 6, characterized in that: Before the step of matching the corresponding target initial reply information according to the target question information, the method further includes: Obtain the favorability value between the target player character and the target non-player character within a preset time period; When the favorability value is greater than a preset threshold within a preset time, matching the corresponding target initial reply information according to the target question information is executed; When the favorability value is not greater than the preset threshold within the preset time, reply with the preset reply message.

10. An information processing device, characterized in that: include: a collection unit, configured to collect target question information raised by a user in a game application, user portrait information in the game application, and a favorability value between a target player character and a target non-player character, wherein the target player character is a player character of the user in the game application; A matching unit, configured to match corresponding target initial response information according to the target question information, wherein the target initial response information includes a slot to be filled; A first determining unit is configured to determine target content information in the to-be-filled slot based on the portrait information and the favorability value, and obtain target reply information; A second determining unit, configured to determine corresponding reply time information according to attribute information of the target reply information; The first reply unit is configured to reply the target reply information when detecting that the current time information reaches the reply time information.

11. The information processing device according to claim 10, wherein: The information processing device further includes a first setting unit, configured to: Set preset question information; Performing similarity expansion based on the preset question information to obtain target preset question information after similarity expansion; A plurality of initial response messages are set according to the target preset question information, each initial response message is associated with a player character, and each initial response message includes a slot to be filled.

12. The information processing device according to claim 11, wherein The matching unit is used to: Obtain keyword information and intent information of the target question information; Determine the target preset question information to which the target question information belongs based on the keyword information and the intention information; Obtaining multiple initial response information corresponding to the target preset question information; Target initial response information is determined from a plurality of initial response information according to a target player character of the question.

13. The information processing device according to claim 10, wherein: The device further includes a second setting unit, configured to: Generate slots to be filled; At least one content information is set for each slot to be filled, and each slot to be filled is associated with a portrait information of a user in the game application.

14. The information processing device according to claim 13, wherein: The first determining unit includes: a determination subunit, configured to determine an associated slot to be filled based on the portrait information; The filling subunit is configured to select any content information from the associated slots to be filled as target content information to fill the slots, thereby obtaining target reply information.

15. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the information processing method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Customer service robot response method and device

    CN111797209A

  • Information processing method and device, electronic equipment and computer readable storage medium

    CN111831798A