Virtual pet interaction method, device and equipment

By implanting virtual pets in input method applications and using natural language processing technology, the synchronization and emotional interaction of virtual pets on multi-terminal devices are realized, which solves the problem in the existing technology that virtual pets cannot sense user emotions and synchronize in real time, and improves Improve user experience and emotional soothing effect.

CN116340494BActive Publication Date: 2024-09-24BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202310389658.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-09-24
Estimated Expiration
2043-04-12

AI Technical Summary

Technical Problem

Existing virtual pet applications cannot effectively synchronize and provide emotional interaction on multiple terminal devices, and it is difficult to sense the user's emotional state in real time to provide instant comfort.

Method used

By embedding virtual pets in input method applications, using natural language processing technology to detect text information input by users, determining emotional categories, and displaying interactive information through virtual pets, emotional interaction and simultaneous companionship on multiple devices can be achieved.

Benefits of technology

It increases the number of users and the experience of using virtual pets, provides instant emotional comfort and companionship, enhances users' stress and anxiety relief in different scenarios, and enriches the interaction between friends.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116340494B
    Figure CN116340494B
Patent Text Reader

Abstract

The present disclosure provides a virtual pet interaction method, device and equipment, which relates to the field of artificial intelligence, specifically to the fields of natural language processing, deep learning, augmented reality and virtual reality technology, and can be applied to scenarios such as the metaverse and virtual digital people. A specific implementation of the method includes: implanting a first virtual pet in the input method application of the first user; detecting the first text information input by the first user through the input method application; determining the emotion category of the first user based on the first text information; obtaining interactive information corresponding to the emotion category of the first user; and displaying the interactive information through the first virtual pet. This implementation method implants a virtual pet through the input method application, and when the user uses the input method application to input text, the user's emotion category can be obtained in time, thereby providing emotional comfort in time through the virtual pet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence, specifically to the fields of natural language processing, deep learning, augmented reality and virtual reality technology, and can be applied to scenarios such as the metaverse and virtual digital humans. Background Art

[0002] With the popularity of virtual people and the metaverse, digital social relationships will greatly affect our lives. In this context, virtual companion applications for digital social relationships are emerging in an endless stream. Among them, virtual pets are a common virtual companion application. As companions for humans or to provide entertainment for people, they are designed and produced in a way that simulates the appearance and physiological needs of real-life cats, dogs or other pets, allowing people to raise virtual pets through electronic devices to replace real-life pet raising.

[0003] Existing virtual pets mainly include computer-side virtual pets, mobile-side virtual pets and watch-side virtual pets. Among them, virtual pets on computer and mobile terminals are usually only displayed in a suspended state. Virtual pets on watches usually only provide a prompt function. Summary of the invention

[0004] The embodiments of the present disclosure provide a virtual pet interaction method, device, equipment, storage medium and program product.

[0005] In a first aspect, an embodiment of the present disclosure proposes a virtual pet interaction method, including: implanting a first virtual pet in an input method application of a first user; detecting first text information input by the first user through the input method application; determining an emotion category of the first user based on the first text information; obtaining interaction information corresponding to the emotion category of the first user; and displaying the interaction information through the first virtual pet.

[0006] In a second aspect, an embodiment of the present disclosure proposes a virtual pet interaction device, comprising: an implantation module, configured to implant a first virtual pet in an input method application of a first user; a first detection module, configured to detect first text information input by the first user through the input method application; a determination module, configured to determine the emotion category of the first user based on the first text information; an acquisition module, configured to acquire interaction information corresponding to the emotion category of the first user; and a first display module, configured to display the interaction information through the first virtual pet.

[0007] In a third aspect, an embodiment of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any implementation manner in the first aspect.

[0008] In a fourth aspect, an embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute a method as described in any implementation manner in the first aspect.

[0009] In a fifth aspect, an embodiment of the present disclosure proposes a computer program product, including a computer program, which implements the method described in any implementation manner in the first aspect when executed by a processor.

[0010] The virtual pet interaction method provided by the embodiment of the present disclosure implants a virtual pet through an input method application, and the user can raise the virtual pet without downloading and installing, which greatly increases the number of users who raise virtual pets. In addition, the advantage of implanting a virtual pet through an input method application is that when the user inputs text using the input method application, the user's emotion category can be obtained in time, so that the virtual pet can provide emotional comfort in time.

[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Other features, purposes and advantages of the present disclosure will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. Among them:

[0013] Figure 1 is a flow chart of a first embodiment of a virtual pet interaction method according to the present disclosure;

[0014] Figure 2 is a flow chart of a second embodiment of a virtual pet interaction method according to the present disclosure;

[0015] Figure 3 is a flow chart of a third embodiment of a virtual pet interaction method according to the present disclosure;

[0016] Figure 4 is a flow chart of a fourth embodiment of a virtual pet interaction method according to the present disclosure;

[0017] Figure 5A This is a schematic diagram of the virtual pet implant;

[0018] Figure 5B It is a schematic diagram of the virtual pet form;

[0019] Figure 5C It is a schematic diagram of the virtual pet intelligent reminder;

[0020] Figure 5D It is a schematic diagram of the accelerated growth of a virtual pet;

[0021] Figure 5E It is a schematic diagram of a virtual pet intelligent companion;

[0022] Fig. 5F It is a schematic diagram of the multi-terminal experience of a virtual pet;

[0023] Figure 5G It is a schematic diagram of feedback customization;

[0024] Figure 5H It is a schematic diagram of the emotional interaction of virtual pets;

[0025] Figure 6 is a structural schematic diagram of an embodiment of a virtual pet interactive device according to the present disclosure;

[0026] Figure 7 It is a block diagram of an electronic device used to implement the virtual pet interaction method of the embodiment of the present disclosure. DETAILED DESCRIPTION

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

[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0029] Figure 1 The process 100 of the first embodiment of the virtual pet interaction method according to the present disclosure is shown. The virtual pet interaction method comprises the following steps:

[0030] Step 101: implant a first virtual pet into an input method application of a first user.

[0031] In this embodiment, a first virtual pet is implanted in the input method application of the first user.

[0032] Among them, the first user's terminal device has an input method application installed. The input method application has the characteristics of cross-scenario use and high frequency of activation, and is an essential input tool for social communication. Therefore, by implanting virtual pets in the input method application, users can raise virtual pets without downloading and installing them, which greatly increases the number of users who raise virtual pets.

[0033] The same user can install input method applications on various types of terminal devices such as computers, mobile phones and watches. Therefore, by implanting virtual pets in input method applications, the virtual pets can also be synchronized to the user's various terminal devices, accompanying the user on multiple ports, making it convenient for users to have the company of virtual pets in any usage scenarios such as daily life, office and sports, bringing emotional comfort and solace to users who are under great pressure and anxious.

[0034] Since the input method application provides an entrance to word count, it is very convenient to obtain a virtual pet through the entrance to word count. Specifically, the first pet egg of the first virtual pet is obtained from the entrance to word count of the input method application, and the first virtual pet is gradually hatched based on the first pet egg. For example, the user is given an input Easter egg by using the specific medal level of the existing word count of the input method application, and after the hatching morphological changes such as embryo, hatching, breaking the shell and hatching, a cute puppy floating desktop is obtained, which brings a sense of novelty to the user with an unexpected image. Use existing forms such as dog lying, dog behaving well and dog licking the screen to satisfy the user's companionship, thereby attracting users and converting old users.

[0035] In order to accelerate the growth of virtual pets, a virtual food system can be provided. Specifically, in each input cycle, if it is detected that the number of words input by the first user through the input method application reaches a preset word count threshold, virtual food can be distributed to the first virtual pet, and the growth of the first virtual pet can be accelerated based on the virtual food. For example, users can exchange bones by inputting a certain number of words, which can not only be used for accelerated upgrades of virtual pets, but also for paid keyboard skins, paid fonts, etc. Inputting through the input method application, rewarding skins, fonts, and accelerated pet upgrades can also increase the user's enthusiasm for using the input method application.

[0036] Step 102: Detect first text information input by a first user through an input method application.

[0037] In this embodiment, the first text information input by the first user through the input method application is detected in real time.

[0038] Step 103: determining the emotion category of the first user based on the first text information.

[0039] In this embodiment, the emotion category of the first user may be determined based on the content of the first text information.

[0040] Typically, NLP (Natural Language Processing) technology can be used to identify the category of words in the first text information; then based on the category of the words, the emotion category of the first user is determined. Here, the model can be trained to be able to customize the perception of the user's emotional receiving terms. For example, using NLP technology to identify that the text information input by the user contains negative words, it can be determined that the user has negative emotions.

[0041] Step 104: Obtain interaction information corresponding to the emotion category of the first user.

[0042] In this embodiment, the interactive information corresponding to the emotion category of the first user is obtained. Different emotion categories may correspond to different interactive information. For example, the interactive information corresponding to negative emotions may be: "Do you know? It is normal to be unhappy. If you are not happy, come and rub me~".

[0043] Step 105: display interactive information through the first virtual pet.

[0044] In this embodiment, interactive information is displayed through the first virtual pet, thereby providing emotional expression and pet perception at the first time when the user's emotions are perceptible.

[0045] Usually, by using NLP language parsing capabilities, intelligently monitoring key words input, and providing users with caring greetings and other interactive guidance through virtual pets, users can have a pleasant experience in working and learning. For example, if it is detected that the text information input by the user contains negative words, it can be displayed near the virtual pet: "Do you know? It's normal to be unhappy. If you are not happy, come and rub me~".

[0046] The virtual pet interaction method provided by the embodiment of the present disclosure implants a virtual pet through an input method application, and the user can raise the virtual pet without downloading and installing, which greatly increases the number of users who raise virtual pets. In addition, the advantage of implanting a virtual pet through an input method application is that when the user inputs text using the input method application, the user's emotion category can be obtained in time, so that the virtual pet can provide emotional comfort in time.

[0047] In addition, the same user can install input method applications on various types of terminal devices such as computers, mobile phones and watches. Therefore, by implanting virtual pets through input method applications, virtual pets can also be synchronized to various terminal devices of users, so that users can have the company of virtual pets in any usage scenarios such as daily life scenes, office scenes, and sports scenes, bringing emotional comfort and solace to users who are under great pressure and anxious. Virtual pets on different types of terminal devices can be used based on different usage scenarios of users. For example, in more office scenes on computers, timed reminders, interesting dynamics, decompression interactions, and language parsing capabilities using NLP are provided, and exclusive soothing words are provided when users input specific negative language; for mobile terminals, there are more life scenes, providing low-interference suspension states and soothing and decompression interactions provided by users outputting negative energy in specific scenarios; for the watch side, it is lighter daily reminder content such as sports and reminders.

[0048] In some embodiments, the virtual pets implanted in the input method application can also be used for close friends to perceive each other's emotions and connect using the virtual pet images, thereby enriching the interactive functions of the virtual pets. For example, the first user and the second user are friends, the first user's input method application has a first virtual pet implanted in it, and the second user's input method application has a second virtual pet implanted in it. At this time, the first user and the second user can interact emotionally through the first virtual pet and the second virtual pet.

[0049] Continue to refer Figure 2 , which shows a process 200 of a second embodiment of a virtual pet interaction method according to the present disclosure. The virtual pet interaction method comprises the following steps:

[0050] Step 201: implant a first virtual pet into an input method application of a first user.

[0051] Step 202: Detect first text information input by a first user through an input method application.

[0052] Step 203: determining the emotion category of the first user based on the first text information.

[0053] Step 204: Obtain interaction information corresponding to the emotion category of the first user.

[0054] Step 205: display interactive information through the first virtual pet.

[0055] In this embodiment, the specific operations of steps 201-205 are already described in Figure 1 In the illustrated embodiment, steps 101 - 105 are described in detail and will not be repeated here.

[0056] Step 206: In response to the emotion category of the second user being a preset emotion category, displaying reminder information corresponding to the preset emotion category through the first virtual pet.

[0057] In this embodiment, if the emotion category of the second user is a preset emotion category, the reminder information corresponding to the preset emotion category can be displayed through the first virtual pet, so that the first user can perceive the emotion of the second user in time.

[0058] Typically, when a first user and a second user chat using a social application, the second user inputs a second text message through an input method application and sends it to the first user. If it is determined based on the content of the second text message that the emotion category of the second user is a preset emotion category, a reminder message corresponding to the preset emotion category can be obtained and displayed through the first virtual pet, so that the first user can quickly perceive the emotion of the second user through the display of the first virtual pet. The preset emotion category can be an emotion category preset by the first user, such as a negative emotion.

[0059] Step 207 : detecting a second text message sent by the first user to the second user based on the reminder message corresponding to the preset emotion category, so that the second text message is displayed through the second virtual pet.

[0060] In this embodiment, if it is detected that the first user sends a second text message to the second user based on the reminder information corresponding to the preset emotion category, the second text message can be displayed through the second virtual pet, so that the first user can comfort the second user by operating the second virtual pet.

[0061] from Figure 2 It can be seen that Figure 1 Compared with the corresponding embodiment, the process 200 of the virtual pet interaction method in this embodiment adds a virtual pet interaction step between friends. Therefore, when the input method application detects that the second user belongs to the preset emotion category, the scheme described in this embodiment promptly reminds the first user through the first virtual pet. The first user comforts the second user in time by operating the second virtual pet, thereby enriching the interaction between friends and helping to enhance the relationship between friends.

[0062] Further references Figure 3 , which shows a process 300 of a third embodiment of a virtual pet interaction method according to the present disclosure. The virtual pet interaction method comprises the following steps:

[0063] Step 301: implant a first virtual pet into an input method application of a first user.

[0064] Step 302: Detect first text information input by a first user through an input method application.

[0065] Step 303: Determine the emotion category of the first user based on the first text information.

[0066] Step 304: Obtain interaction information corresponding to the emotion category of the first user.

[0067] Step 305: display interactive information through the first virtual pet.

[0068] In this embodiment, the specific operations of steps 301-305 are already described in Figure 1 In the illustrated embodiment, steps 101 - 105 are described in detail and will not be repeated here.

[0069] Step 306: In response to the first text information including the preset emotional vocabulary, the first virtual pet displays feedback information corresponding to the preset emotional vocabulary.

[0070] In this embodiment, if the first text information includes preset emotional words, feedback information corresponding to the preset emotional words is displayed through the first virtual pet.

[0071] Among them, the preset emotional vocabulary and feedback information can be pre-set by the second user for the first user. After the first user establishes a friend relationship with the second user, the second user can customize the feedback. Specifically, the second user can first customize the emotional vocabulary for the first user. If the first user enters a custom emotional vocabulary, the corresponding emotion will be triggered, which will directly trigger the feedback information pre-set by the second user. For example, the second user customizes the emotional vocabulary "unhappy" and the feedback information "Baby, why do I feel like you are a little unhappy~ Don't be angry with him, it's not worth it, call me after get off work, and let's scold him together!" to the first user. If the first text message entered by the first user includes "unhappy", "Baby, why do I feel like you are a little unhappy~ Don't be angry with him, it's not worth it, call me after work, and let's scold him together!" can be displayed near the first virtual pet.

[0072] from Figure 3 It can be seen that Figure 1 Compared with the corresponding embodiment, the process 300 of the virtual pet interaction method in this embodiment adds a virtual pet interaction step between friends. Therefore, the scheme described in this embodiment directly triggers the feedback information preset by the second user when the first user inputs a custom emotional word to trigger the corresponding emotion, thereby enriching the interaction mode between friends and helping to enhance the relationship between friends.

[0073] Further references Figure 4 , which shows a process 400 of a fourth embodiment of a virtual pet interaction method according to the present disclosure. The virtual pet interaction method comprises the following steps:

[0074] Step 401: implant a first virtual pet into an input method application of a first user.

[0075] Step 402: Detect first text information input by a first user through an input method application.

[0076] Step 403: Determine the emotion category of the first user based on the first text information.

[0077] Step 404: Obtain interaction information corresponding to the emotion category of the first user.

[0078] Step 405: display interactive information through the first virtual pet.

[0079] In this embodiment, the specific operations of steps 401-405 are already described in Figure 1 In the illustrated embodiment, steps 101 - 105 are described in detail and will not be repeated here.

[0080] Step 406: In response to the preset reminder condition being met, the first virtual pet displays reminder information matching the preset reminder condition.

[0081] In this embodiment, if the preset reminder condition is met, reminder information matching the preset reminder condition is displayed through the first virtual pet.

[0082] Usually, interesting words are used to give users intelligent reminders, which provide warm reminders to office workers, bring users more intuitive and timely care, and establish a companionship relationship. For example, the user sets 11 a.m. as the time to drink water. When it reaches 11 a.m., you can display "Time to drink water! Scientists say that drinking more water will make you beautiful~" near the virtual pet. For another example, if the user uses the computer for 4 hours continuously, you can display "Stand up for a while~ Rest your eyes and move around~" near the virtual pet.

[0083] from Figure 4 It can be seen that Figure 1 Compared with the corresponding embodiment, the process 400 of the virtual pet interaction method in this embodiment highlights the intelligent reminder step. Therefore, the solution described in this embodiment uses a virtual pet to intelligently remind the user when the preset reminder conditions are met. The user is intelligently reminded using interesting words, which brings warm reminder words to office workers, brings more intuitive and timely care to users, and establishes a companionship relationship.

[0084] To facilitate understanding, the following provides application scenarios that can implement the virtual pet interaction method of the embodiments of the present application.

[0085] Virtual pets can bring companionship to users. In order to enhance the realism of virtual pets, different stages of virtual pet development can bring different feelings to users. Specifically, four stages are used to bring users a real virtual pet experience:

[0086] Phase 1: Since the input method application provides an entry for word count, the pet egg of the virtual pet is obtained through the entry for word count, and the virtual pet is gradually hatched.

[0087] Figure 5A Schematic diagram of virtual pet implantation is shown. Figure 5A As shown, the input method uses the existing specific medal level of word count to give the user input Easter eggs, which go through hatching forms such as embryo, hatching, shell breaking and hatching in sequence to obtain a cute puppy floating desktop, which brings a sense of novelty to the user with an unexpected image.

[0088] Figure 5B A schematic diagram of a virtual pet form is shown. Figure 5B As shown, existing forms such as dog lying down, dog acting cute and dog licking the screen are used to satisfy users' companionship needs, thereby attracting users and converting old users.

[0089] The second stage: Use interesting words to provide intelligent reminders to users, bring warm reminder words to office workers, give users more intuitive and timely care, and establish a companionship relationship.

[0090] Figure 5C Schematic diagram of a virtual pet intelligent reminder is shown. Figure 5C As shown in the figure, the user sets 11:00 a.m. as the time to drink water. When it reaches 11:00 a.m., a message "It's time to drink water! Scientists say that drinking more water will make you beautiful~" can be displayed near the virtual pet. For another example, if the user uses the computer for 4 hours continuously, a message "Stand up for a while~ Rest your eyes and move around~" can be displayed near the virtual pet.

[0091] At the same time, a "bone system" is also provided to accelerate the growth of pets through purchase.

[0092] Figure 5D Schematic diagram showing the accelerated growth of a virtual pet. Figure 5D As shown, users can redeem bones by inputting a certain number of words, which can be used not only for accelerating the upgrade of virtual pets, but also for paid keyboard skins, paid fonts, etc. Inputting through the input method application, rewarding skins, fonts, and accelerating the upgrade of pets can also increase the enthusiasm of users to use the input method application.

[0093] The third stage: Use NLP technology to identify negative words input by users, and provide emotional expression and pet perception as soon as the user's emotions can be perceived.

[0094] Figure 5E Schematic diagram of a virtual pet intelligent companion is shown. Figure 5E As shown in the figure, by using NLP language parsing capabilities, it can intelligently monitor the input of key words, provide users with caring greetings and other interactive guidance through virtual pets, and provide users with a pleasant experience in working and learning. If it is detected that the text information input by the user contains negative words, it can be displayed near the virtual pet: "Do you know? It's normal to be unhappy. If you are not happy, come and rub me~".

[0095] At this stage, virtual pets can be implanted through input method applications and synchronized to the user's various terminal devices, accompanying the user on multiple ports. This makes it convenient for users to have the company of virtual pets in any usage scenarios such as daily life scenes, office scenes, and sports scenes, bringing emotional comfort and solace to stressed and anxious users.

[0096] Fig. 5F Schematic diagram of virtual pet multi-terminal experience is shown. Fig. 5F As shown, the same virtual pet can be synchronized to various types of terminal devices such as the user's computer, mobile phone, and watch, and accompany the user on multiple ports.

[0097] The fourth stage: virtual pets implanted through input method applications are used for close friends to perceive each other's emotions and connect using virtual pet images. After the first user and the second user establish a friendship, if the second user outputs negative words, the first user can perceive it. At the same time, the first user can also operate the second user's virtual pet to comfort. In addition, the second user can customize feedback. The second user can first set a customized emotional vocabulary for the first user. If the first user enters a customized emotional vocabulary, the corresponding emotion will be triggered, which will directly trigger the feedback information pre-set by the second user.

[0098] Figure 5G A schematic diagram of feedback customization is shown. Figure 5G As shown, the second user customized the emotional word “unhappy” and the feedback information “Baby, why do I feel that you seem to be a little unhappy? Don’t be angry with him, it’s not worth it. Call me after work and we will scold him together!” to the first user.

[0099] Figure 5H Figure 2 shows a schematic diagram of virtual pet emotional interaction. Figure 5H As shown, the first text message input by the first user includes "unhappy", and "Baby, why do I feel that you seem to be a little unhappy? Don't be angry with him, it's not worth it. Call me after work and we will scold him together!" can be displayed near the first virtual pet.

[0100] Further references Figure 6 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a virtual pet interactive device. Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0101] like Figure 6 As shown, the virtual pet interactive device 600 of this embodiment may include: an implantation module 601, a first detection module 602, a determination module 603, an acquisition module 604 and a first display module 605. Among them, the implantation module 601 is configured to implant the first virtual pet in the input method application of the first user; the first detection module 602 is configured to detect the first text information input by the first user through the input method application; the determination module 603 is configured to determine the emotion category of the first user based on the first text information; the acquisition module 604 is configured to acquire the interaction information corresponding to the emotion category of the first user; the first display module 605 is configured to display the interaction information through the first virtual pet.

[0102] In this embodiment, in the virtual pet interactive device 600, the specific processing of the implantation module 601, the first detection module 602, the determination module 603, the acquisition module 604 and the first display module 605 and the technical effects thereof can be referred to respectively. Figure 1 The relevant descriptions of steps 101-105 in the corresponding embodiment are not repeated here.

[0103] In some optional implementations of this embodiment, a second virtual pet is embedded in the input method application of the second user, the first user and the second user are friends, and the first user and the second user interact emotionally through the first virtual pet and the second virtual pet.

[0104] In some optional implementations of this embodiment, the virtual pet interactive device 600 further includes: a second display module configured to display reminder information corresponding to the preset emotion category through the first virtual pet in response to the emotion category of the second user being the preset emotion category.

[0105] In some optional implementations of this embodiment, the virtual pet interactive device 600 also includes: a second detection module, configured to detect a second text message sent by the first user to the second user based on a reminder message corresponding to a preset emotion category, so that the second text message is displayed through the second virtual pet.

[0106] In some optional implementations of this embodiment, the virtual pet interactive device 600 also includes: a third display module, configured to respond to the first text information including preset emotional vocabulary, and display feedback information corresponding to the preset emotional vocabulary through the first virtual pet, wherein the preset emotional vocabulary and feedback information are pre-set by the second user for the first user.

[0107] In some optional implementations of this embodiment, the implantation module 601 is further configured to: obtain a first pet egg of the first virtual pet from an entry of word count of the input method application; and gradually hatch the first virtual pet based on the first pet egg.

[0108] In some optional implementations of this embodiment, the virtual pet interactive device 600 further includes: a fourth display module configured to display reminder information matching the preset reminder condition through the first virtual pet in response to satisfying the preset reminder condition.

[0109] In some optional implementations of this embodiment, the virtual pet interactive device 600 also includes: a distribution module, configured to distribute virtual food to the first virtual pet in response to detecting that the first user inputs preset content through an input method application; and an acceleration module, configured to accelerate the growth of the first virtual pet based on the virtual food.

[0110] In some optional implementations of this embodiment, the determination module 603 is further configured to: identify the category of the vocabulary in the first text information using natural language processing technology; and determine the emotion category of the first user based on the category of the vocabulary.

[0111] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0112] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0113] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0114] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0115] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0116] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as a virtual pet interaction method. For example, in some embodiments, the virtual pet interaction method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the virtual pet interaction method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the virtual pet interaction method in any other appropriate manner (e.g., by means of firmware).

[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0118] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0119] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0120] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0121] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0122] A computer system may include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises through computer programs running on respective computers and having a client-server relationship to each other. The server may be a cloud server, a server in a distributed system, or a server combined with a blockchain.

[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and this document does not limit this.

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

Claims

1. A virtual pet interaction method, comprising: Acquire a first pet egg of a first virtual pet from an entry of word count of an input method application of a first user; gradually hatching the first virtual pet based on the first pet egg; detecting first text information input by the first user through the input method application; determining an emotion category of the first user based on the first text information; Acquire interaction information corresponding to the emotion category of the first user; Displaying the interactive information through the first virtual pet; Detecting that the number of words input by the first user through the input method application reaches a preset word count threshold; Distributing virtual food to the first virtual pet; The growth of the first virtual pet is accelerated based on the virtual food.

2. The method according to claim 1, wherein: A second virtual pet is embedded in the input method application of the second user. The first user and the second user are friends. The first user and the second user interact emotionally with each other through the first virtual pet and the second virtual pet.

3. The method according to claim 2, wherein: The method further comprises: In response to the emotion category of the second user being a preset emotion category, reminder information corresponding to the preset emotion category is displayed through the first virtual pet.

4. The method according to claim 3, wherein: The method further comprises: A second text message sent by the first user to the second user based on the reminder message corresponding to the preset emotion category is detected, so that the second text message is displayed through the second virtual pet.

5. The method according to claim 2, wherein: The method further comprises: In response to the first text information including a preset emotional vocabulary, feedback information corresponding to the preset emotional vocabulary is displayed through the first virtual pet, wherein the preset emotional vocabulary and the feedback information are pre-set by the second user for the first user.

6. The method according to any one of claims 1 to 5, wherein: The method further comprises: In response to satisfying a preset reminder condition, reminder information matching the preset reminder condition is displayed through the first virtual pet.

7. The method according to any one of claims 1 to 5, wherein: The determining the emotion category of the first user based on the first text information includes: Using natural language processing technology to identify the category of words in the first text information; Based on the category of the vocabulary, an emotion category of the first user is determined.

8. A virtual pet interactive device, comprising: The implantation module is configured to obtain a first pet egg of a first virtual pet from an entry of a word count of an input method application of a first user; gradually hatching the first virtual pet based on the first pet egg; A first detection module is configured to detect first text information input by the first user through the input method application; a determination module, configured to determine an emotion category of the first user based on the first text information; an acquisition module, configured to acquire interaction information corresponding to the emotion category of the first user; A first display module, configured to display the interactive information through the first virtual pet; A third detection module is configured to detect that the number of words input by the first user through the input method application reaches a preset word count threshold; a distribution module, configured to distribute virtual food to the first virtual pet; The acceleration module is configured to accelerate the growth of the first virtual pet based on the virtual food.

9. The device according to claim 8, wherein: A second virtual pet is embedded in the input method application of the second user. The first user and the second user are friends. The first user and the second user interact emotionally with each other through the first virtual pet and the second virtual pet.

10. The device according to claim 9, wherein: The device also includes: The second display module is configured to display reminder information corresponding to the preset emotion category through the first virtual pet in response to the emotion category of the second user being a preset emotion category.

11. The device according to claim 10, wherein: The device also includes: The second detection module is configured to detect a second text message sent by the first user to the second user based on the reminder information corresponding to the preset emotion category, so that the second text message is displayed through the second virtual pet.

12. The device according to claim 9, wherein: The device also includes: The third display module is configured to display feedback information corresponding to the preset emotional vocabulary through the first virtual pet in response to the first text information including the preset emotional vocabulary, wherein the preset emotional vocabulary and the feedback information are pre-set by the second user for the first user.

13. The device according to any one of claims 8 to 12, wherein: The device also includes: The fourth display module is configured to display reminder information matching the preset reminder condition through the first virtual pet in response to the preset reminder condition being met.

14. The device according to any one of claims 8 to 12, wherein: The determination module is further configured to: Using natural language processing technology to identify the category of words in the first text information; Based on the category of the vocabulary, an emotion category of the first user is determined.

15. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

16. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method of any one of claims 1 to 7.

17. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Expression input method and device based on semantic understanding

    CN104063427A

  • Emotion output method and dialogue interaction system for virtual robot

    CN107329990A

  • Information processing method and device based on brain waves and instant messaging client

    CN112217939A

  • Multi-modal emotion interaction method, intelligent equipment, system, electronic equipment and medium

    CN112379780A

  • Human-computer interaction method and device, electronic equipment and storage medium

    CN114461775A