Pet interaction method and device, pet robot, equipment and storage medium

By displaying and interacting with electronic pets across communication-connected devices, the problem of limited interaction modes for electronic pets is solved, enabling cross-device interaction and social simulation, thus enhancing user experience and fun.

CN121349338APending Publication Date: 2026-01-16HEFEI IFLYTEK TOYCLOUD TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511444604.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-10
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

Existing electronic pet interaction modes are simplistic, have limited scope, restrict human-electronic pet interaction, and lack realism and fun.

Method used

By requesting and displaying each other's electronic pets between two connected devices, and allowing users to interact with and update the display status of the visiting electronic pet on their local device, cross-device interaction of electronic pets is achieved. Affinity values ​​and interactive behaviors are introduced to simulate social behavior.

Benefits of technology

It expands the activity range and interaction modes of electronic pets, enhances the user experience, simulates real-world social interactions, and improves the fun and realism of electronic pets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121349338A_ABST
    Figure CN121349338A_ABST
Patent Text Reader

Abstract

The invention provides a pet interaction method and device, a pet robot, equipment and a storage medium, the method is applied to second equipment, the second equipment is in communication connection with first equipment, a first electronic pet runs on the first equipment, and a second electronic pet runs on the second equipment, and the method comprises the following steps: receiving a first display request of the first equipment, displaying a first electronic pet running on the first device based on the first display request; based on the interaction instruction for the first electronic pet, updating the display state of the currently displayed first electronic pet; wherein the second electronic pet and the first electronic pet are displayed on the second equipment together, or the second electronic pet is displayed on the first equipment, so that cross-equipment interaction of the electronic pets is realized, the activity range and the interaction dimension of the electronic pets are greatly expanded, and the feeding and interaction processes of the electronic pets are closer to reality; the interestingness of the electronic pet is greatly improved, and the user experience is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of artificial intelligence, and in particular to a pet interaction method and device, a pet robot, equipment and a storage medium. BACKGROUND

[0002] Electronic pets are usually composed of electronic components and software programs. They are deeply loved by users due to their simple feeding, portability and other characteristics. An ideal electronic pet should have real pet-like life characteristics. However, in reality, cats and dogs are social animals, and their interaction is a key part of life characteristics, so it is necessary to simulate the social behavior of electronic pets.

[0003] With the development of artificial intelligence, most electronic pets today are built with intelligent agents and have certain environmental perception, decision-making and action capabilities. Their images are also more diverse, enabling them to interact with users in a variety of ways, and to some extent, restoring pet habits. However, existing electronic pets have certain defects, namely, different users' electronic pets are independent of each other, the interaction range is limited, and the interaction mode is single; and the interaction between people and electronic pets is also limited, which greatly weakens the realism and interest of electronic pets, greatly reducing the user experience. SUMMARY

[0004] The present application provides a pet interaction method, device, pet robot, equipment and storage medium, which solves the problem of limited interaction mode, single interaction range and limited interaction with people of existing electronic pets, realizes cross-device visiting and interaction of electronic pets, greatly expands the activity range and interaction mode of electronic pets, and optimizes the user experience.

[0005] The present application provides a pet interaction method applied to a second device, wherein the second device and a first device are in communication connection, the first device runs a first electronic pet, and the second device runs a second electronic pet, and the method comprises: receiving a first display request of the first device, and displaying the first electronic pet running on the first device based on the first display request; updating the display state of the currently displayed first electronic pet based on an interaction instruction for the first electronic pet; wherein the second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

[0006] According to the pet interaction method provided by the present application, the display state of the currently displayed first electronic pet is updated based on an interaction instruction for the first electronic pet, which comprises: send the interaction instruction to the first device, so that the first device updates the state of the first electronic pet based on the interaction instruction, and feeds back the updated first pet state to the second device; receive the first pet state, and update the display state of the first electronic pet currently displayed based on the first pet state.

[0007] According to the pet interaction method provided by the application, when the second electronic pet is displayed on the second device together with the first electronic pet, the method further comprises: receive the information exchange request of the first device, and perform pet information exchange based on the information exchange request to obtain the pet attribute of the first electronic pet; determine the tacit value between the first electronic pet and the second electronic pet based on the pet attribute of the first electronic pet and the pet attribute of the second electronic pet; determine the linkage performance of the first electronic pet and the second electronic pet when interacting based on the tacit value.

[0008] According to the pet interaction method provided by the application, the pet attribute comprises at least one of historical memory and / or interaction times, and age, level, personality, constellation, and occupation; The interaction instruction comprises at least one of feeding instruction, cleaning instruction, entertainment instruction, virtual item gifting instruction, and battle instruction.

[0009] According to the pet interaction method provided by the application, the second device and the first device are connected in communication by the following way: receive the communication request of the first device, wherein the communication request carries the link identification of the virtual communication link created by the first device; establish the communication connection with the first device based on the link identification.

[0010] According to the pet interaction method provided by the application, the second electronic pet is displayed on the first device by the following way: send the second display request to the first device, so that the first device displays the second electronic pet running on the second device based on the second display request.

[0011] The application further provides a pet interaction device applied to a second device, wherein the second device and a first device are connected in communication, the first device runs a first electronic pet, the second device runs a second electronic pet, and the device comprises: a display unit configured to receive a first display request of the first device and display a first electronic pet running on the first device based on the first display request; an interaction unit configured to update a display state of the first electronic pet currently displayed based on an interaction instruction for the first electronic pet; wherein the second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

[0012] The application further provides a pet robot, wherein an electronic pet runs on the pet robot, and the pet robot comprises a communication module, a processor and a display screen. The processor is configured to receive a display request of the other device and display the other electronic pet on the display screen based on the display request when the pet robot is in communication connection with the other device, and update a display state of the other electronic pet currently displayed on the display screen based on an interaction instruction for the other electronic pet, wherein the electronic pet is displayed on the display screen together with the other electronic pet, or the electronic pet is displayed on a display screen of the other device.

[0013] The application further provides an electronic device comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements the pet interaction method according to any one of the above when executing the computer program.

[0014] The application further provides a non-transitory computer readable storage medium, wherein a computer program is stored on the medium, and the computer program is executed by a processor to implement the pet interaction method according to any one of the above.

[0015] The pet interaction method, device, pet robot, equipment and storage medium provided by the application can request and display electronic pets of two devices in communication connection, and allow a user to initiate interaction with an electronic pet as a visitor on a local device and update a display state of the electronic pet, which breaks the limitation that a traditional electronic pet can only move within a device, realizes cross-device interaction of the electronic pet, greatly expands an activity range and an interaction dimension of the electronic pet, provides a new way for social interaction between users through pets, makes a feeding and interaction process of the electronic pet more realistic, and greatly improves interestingness of the electronic pet and optimizes user experience. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to make the technical solutions in the present application or prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and all other embodiments obtained by those of ordinary skill in the art without any creative work based on the embodiments in the present application shall fall into the protection scope of the present application.

[0017] Figure 1 is a flowchart of the pet interaction method provided by the present application; Figure 2 is an example diagram of the tacit agreement value provided by the present application; Figure 3 is an example diagram of the interaction type provided by the present application; Figure 4 is an example diagram of the egg coin gift interface provided by the present application; Figure 5 is an example diagram of the equipment gift interface provided by the present application; Figure 6 is an example diagram of the clothing gift interface provided by the present application; Figure 7 is an example diagram of the prop gift interface provided by the present application; Figure 8 is an example diagram of the picture transmission interface provided by the present application; Figure 9 is an example diagram of the communication connection establishment process provided by the present application; Figure 10 is a structural schematic diagram of the pet interaction device provided by the present application; Figure 11 is a structural schematic diagram of the pet robot provided by the present application; Figure 12 is a structural schematic diagram of the electronic device provided by the present application. DETAILED DESCRIPTION

[0018] In order to make the technical solutions in the present application or prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and all other embodiments obtained by those of ordinary skill in the art without any creative work based on the embodiments in the present application shall fall into the protection scope of the present application.

[0019] As a virtual toy composed of electronic components and software programs, electronic pets have been welcomed by a large number of users due to their simple feeding, portability and other characteristics. An ideal electronic pet should have life characteristics similar to real pets. However, real pets such as cats and dogs are mostly social animals, and the interaction between animals is an important part of their life characteristics. Therefore, in order to make electronic pets better meet the emotional expectations of users for the role of pets, it is necessary to simulate the social behavior of electronic pets.

[0020] With the development of artificial intelligence technology, existing electronic pets are mostly constructed through agents, and have certain perception, decision-making and action capabilities. At the same time, the image of electronic pets constructed through agents is also more diverse, and can complete diversified interaction with users, thereby simulating the habits of pets to a certain extent. However, research has found that existing electronic pets still have certain defects: on the one hand, the electronic pets of different users are usually independent of each other and are fixed in the corresponding devices, and cannot freely visit, make friends, play and even fight like real pets, and the interaction range is limited to the pet and the user of the device to which it belongs, the interaction mode is single, and lacks authenticity and interest. On the other hand, the interaction mode between people and pets is also limited. In real life, friends may tease and feed each other's pets, and this interpersonal social contact established through pets is an important source of pet-keeping fun. However, existing electronic pets usually only allow their owners to feed, clean and the like, and cannot allow friends or other users to take care of their pets, which greatly reduces the effect of electronic pets in promoting interpersonal interaction and the user experience is not good.

[0021] To this end, the present application provides a pet interaction method, which aims to break the interaction barriers between electronic pets on different devices, allowing one device to display and operate an electronic pet running on another device, realizing cross-device visiting and interaction of electronic pets, greatly expanding the activity range and interaction mode of electronic pets, so that users can not only interact with their own electronic pets, but also directly interact with friends' electronic pets, simulating the diversified pet-keeping social scene in reality, thereby greatly enriching the social attributes of electronic pets and optimizing the user experience.

[0022] Figure 1 The present application provides a pet interaction method, which aims to break the interaction barriers between electronic pets on different devices, allowing one device to display and operate an electronic pet running on another device, realizing cross-device visiting and interaction of electronic pets, greatly expanding the activity range and interaction mode of electronic pets, so that users can not only interact with their own electronic pets, but also directly interact with friends' electronic pets, simulating the diversified pet-keeping social scene in reality, thereby greatly enriching the social attributes of electronic pets and optimizing the user experience. Figure 1As shown, the method can be applied to an electronic device that has established a communication connection with other devices and that runs an electronic pet as an agent on the devices. In the following description, in order to distinguish different devices and electronic pets running thereon, the application subject of the method of the present application is referred to as a second device, the device that has established a communication connection with the second device is referred to as a first device, the electronic pet running on the first device is referred to as a first electronic pet, and the electronic pet running on the second device is referred to as a second electronic pet.

[0023] It should be noted that the first device and the second device are relative concepts and are used to refer to two different entity devices that have established a communication connection. These devices can be special pet robots or general smart devices such as smartphones, tablet computers, personal computers, smart wearable devices, etc. that have installed an electronic pet application program. As long as the device has communication capability, processing capability and display capability and can run an electronic pet application program, it can be used as the first device and the second device in the present application.

[0024] Similarly, the first electronic pet and the second electronic pet refer to virtual programs running on the first device and the second device, respectively. They are agents with autonomy, adaptability and interaction capability and have respective images, attributes and states. The running of an electronic pet on a device means that the electronic pet application program is in a started / active state on the device, and in this case, the electronic pet can be presented and interacted on the display screen of the device. The method comprises: Step 110, receiving a first display request of the first device and displaying the first electronic pet running on the first device based on the first display request; Step 120, updating the display state of the currently displayed first electronic pet based on an interaction instruction for the first electronic pet; Wherein, the second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

[0025] Specifically, before the pet interaction is performed, a communication connection between different devices needs to be established, i.e., a communication connection between the first device and the second device is established. The communication connection is the basis for information interaction between two devices. The communication connection can be established based on near field communication technology such as Bluetooth, Wi-Fi direct connection, near field communication, etc., can be established based on a wide area network, or can be established by other means, which are not limited in the embodiments of the present application.

[0026] Here, the establishment of the communication connection provides a channel for subsequent data transmission of the first electronic pet.

[0027] After that, the pet interaction can be performed. Specifically, in the embodiment of the present application, the process of the pet interaction can be that after the first device and the second device establish a communication connection, the first device can actively send a display request, i.e., a first display request, to the second device. The first display request is a kind of data signal or data packet, which aims to request the second device to display the first electronic pet. Specifically, the first display request can carry the information necessary for rendering the first electronic pet on the second device, such as the unique identifier of the first electronic pet, the image data (such as three-dimensional model, two-dimensional image, map, skeletal animation data, etc.) for depicting its appearance, its initial state data (such as initial position, posture, current expression, etc.), etc.

[0028] After the second device receives the first display request, it can analyze it and call the rendering engine to draw and display the image of the first electronic pet on the second device according to the image data, state data, etc. carried in the first display request. In this way, the first electronic pet on the first device realizes cross-device visiting and appears on the second device.

[0029] Then, after the first electronic pet is displayed on the second device, the user of the second device can interact with the first electronic pet as if operating the locally running second electronic pet. Specifically, the user's interaction operations, such as clicking, dragging, gesture input, etc., can be captured by the second device and generate corresponding interaction instructions. The interaction instructions specify the type (such as feeding, cleaning, entertainment, etc.) and target of the interaction. For example, when the user drags a virtual item icon representing "cookie" onto the first electronic pet on the second device, the second device can generate a feeding instruction for the first electronic pet.

[0030] Based on the interaction instruction, the second device needs to update the display state of the currently displayed first electronic pet. The display state here refers to the visual state of the electronic pet that can be perceived by the user on the display screen. Specifically, updating the display state of the first electronic pet can be changing the animation of the first electronic pet, such as switching from a standing animation to an eating animation, or changing its position or orientation on the display screen, or displaying special effects beside it, such as a prompt for increasing satiety, or changing its facial expression, etc., which are not limited in the embodiment of the present application.

[0031] Here, by updating the display state, the user of the second device can be provided with instant and vivid interaction feedback.

[0032] However, it is worth noting that in the above interaction process, there are two possible display situations of the second electronic pet, i.e., the second electronic pet is displayed together with the first electronic pet on the second device, or the second electronic pet is displayed on the first device.

[0033] Here, specifically, when the second electronic pet is still displayed on the second device, at this time the first electronic pet visits as a "visitor" to the second electronic device, so that the two electronic pets appear simultaneously on the display screen of the second device. This co-display mode makes the linkage interaction between the two electronic pets possible, and well simulates the scenario in reality that two pets meet in the same space.

[0034] When the first electronic pet is displayed on the second device, the second electronic pet can also be displayed on the first device in a similar manner. This case can be understood as that the two electronic pets have visited each other. At this time, the user of the first device can interact with the second electronic pet, and the user of the second device can interact with the first electronic pet, thereby well simulating the scenario in reality that friends exchange pet-feeding.

[0035] It should be noted that the users corresponding to the first device and the second device can be the same user or different users, and the embodiments of the present application do not make specific limitations thereon.

[0036] The pet interaction method provided by the present application breaks the limitation that the traditional electronic pet can only move within the device, realizes the cross-device interaction of the electronic pet, greatly expands the activity range and interaction dimension of the electronic pet, and provides a new way for the users to socialize through pets, makes the feeding and interaction process of the electronic pet more realistic, and greatly improves the interest of the electronic pet and optimizes the user experience.

[0037] Based on the above embodiment, step 120 comprises: sending the interaction instruction to the first device to update the state of the first electronic pet based on the interaction instruction, and feeding back the updated first pet state to the second device; receiving the first pet state, and updating the display state of the currently displayed first electronic pet based on the first pet state.

[0038] Specifically, the process of updating the display state of the currently displayed first electronic pet based on the interaction instruction for the first electronic pet specifically comprises: First, when the user performs an interaction operation (such as feeding, cleaning, entertainment, etc.) on the displayed first electronic pet, the second device can capture the interaction operation and generate a corresponding interaction instruction. The interaction instruction contains the necessary information for performing the interaction, such as the target of the interaction (i.e., the unique identifier of the first electronic pet), the type of interaction (such as feeding), the parameters used for the interaction (such as the virtual item fed is "cookies"), etc.

[0039] Subsequently, the second device will send the interaction instruction to the first device through the previously established communication connection. The first device will analyze and execute the interaction instruction after receiving it. This step is crucial because the first device is the owner of the first electronic pet, and it controls all core and underlying state data of the first electronic pet. These state data are numerical values or identifiers that describe the internal properties of the first electronic pet, such as hunger level, cleanliness, health value, experience value, list of virtual items owned, etc. The first device will update these internal state data according to the content of the interaction instruction. For example, after receiving an instruction to "feed cookies", the first device will reduce the "hunger level" of the first electronic pet. For another example, after receiving an instruction to "clean the pet", the first device will increase the "cleanliness" and "health value" of the first electronic pet.

[0040] After completing the update of the internal state of the first electronic pet, the first device will feedback the updated pet state of the first electronic pet, i.e., the first pet state, to the second device. The first pet state describes the latest situation of the first electronic pet after the interaction occurs. It can include updated internal state values such as "hunger level" 95%, "cleanliness" 80%, "health value" 95%, etc., in addition to which it can also include performance instructions that can be displayed on the second device, such as animations to be played, such as eating animation, cleaning animation, etc., special effects to be displayed, etc.

[0041] After that, the second device can receive the first pet state feedback from the first device and can analyze it, based on the analyzed internal state values, performance instructions to be executed, etc., to update the display state of the currently displayed first electronic pet on the display screen.

[0042] For example, if the received internal state values are "hunger level" 95% and the performance instructions include an eating animation, the rendering engine of the second device will load and play the eating animation, while updating the currently displayed value of "hunger level" to 95%.

[0043] In the embodiment, the management right and decision-making right of the state data of the first electronic pet are always reserved on the first device in the whole interaction process, and the second device plays a role of display and interaction, which can ensure the effectiveness of the interaction and the consistency of the state through the communication with the first device, avoiding the data conflict or state inconsistency problem possibly caused by the simultaneous interaction on multiple devices, ensuring that the user can obtain smooth and accurate visual feedback when interacting with the electronic pet as a visitor, and optimizing the overall interaction experience.

[0044] Based on the above embodiment, in the case that the second electronic pet is displayed on the second device together with the first electronic pet, the method further comprises: receiving an information exchange request of the first device, and performing pet information exchange based on the information exchange request to obtain pet attributes of the first electronic pet; determining a tacit value between the first electronic pet and the second electronic pet based on the pet attributes of the first electronic pet and the pet attributes of the second electronic pet; determining a linkage performance when the first electronic pet and the second electronic pet interact based on the tacit value.

[0045] Specifically, when the first electronic pet and the second electronic pet are displayed on the display screen of the second device together, in order to make the interaction between them no longer a simple parallel display, but simulate the social behavior when the real pets meet, in the embodiment, the linkage performance when the two interact can be determined according to the attribute matching degree, so as to better simulate the interaction behavior of the pets when they meet in the real scene, and further improve the authenticity and interest of the interaction.

[0046] In detail, here can be when the two electronic pets are displayed in the same frame, in order to enable them to interact based on their attributes such as personality, background, occupation, etc., the embodiment can first exchange information to understand each other. That is, the first device can first initiate an information exchange request. The request aims to exchange the relevant information of the respective electronic pets with the second device. After receiving the request, the second device will exchange pet information with the first device. That is, the second device will send the pet attributes of the second electronic pet stored locally to the first device, and at the same time, as an exchange, it will also receive the pet attributes of the first electronic pet sent by the first device. Thus, the second device obtains the pet attributes of the first electronic pet.

[0047] Next, the second device calls a preset matching algorithm or model to calculate the relationship closeness between the two electronic pets according to the pet attributes of the first electronic pet obtained and the pet attributes of the second electronic pet originally stored, and the result of the quantification is the tacit understanding value. The calculation of the tacit understanding value can comprehensively consider multiple dimensions of attributes. For example, the age difference, whether the personalities are complementary, the constellation matching degree, whether the occupations are related, and the familiarity between the two (the familiarity can be determined based on the interaction times and / or historical memories of the two) of the two pets can be compared, and a comprehensive tacit understanding value is obtained through a weighted summation algorithm.

[0048] Figure 2 is an example diagram of the tacit understanding value provided by the present application, as Figure 2 shown, the tacit understanding value can be a visual score, such as the tacit understanding values of each attribute dimension and the comprehensive tacit understanding value presented in percentage form. Among them, the tacit understanding values of each attribute dimension (such as age, level, personality, constellation, occupation, and familiarity) jointly determine the final comprehensive tacit understanding value. For example, if the constellation matching degree of the two electronic pets is very high (such as 90%), and the personality matching degree is low (such as 10%), these will be counted into the comprehensive tacit understanding value according to different weights.

[0049] After that, the second device can determine the reaction and performance of the two electronic pets when interacting according to the calculated tacit understanding value. Here, specifically, the second device can perform matching mapping according to a preset rule base or state machine to find the corresponding linkage performance from the rule base according to the calculated tacit understanding value, or automatically map to the corresponding linkage performance through the state machine, and the linkage performance is the linkage performance determined by the second device when the two electronic pets interact. Here, the linkage performance refers to a series of visual behaviors that the two electronic pets jointly participate in and mutually influence, which can be their standby animation when there is no user operation, or a coordinated response to a specific event.

[0050] As a preferred embodiment of the present application, the linkage performance can include emotional ways and behavior patterns. For example, when the tacit understanding value is low, the linkage performance can be that the two electronic pets keep a distance and stand back to back on the display screen, or when one electronic pet approaches the other, the latter will make a disgusted and evasive expression and action.

[0051] For another example, when the tacit understanding value is medium, the linkage performance can be that the two electronic pets approach each other and chat, the symbols or words can be displayed through the bubble frame on the head when chatting, and they can nod to each other, or perform simple preliminary friendly behaviors such as mutual virtual gift.

[0052] For example, when the tacit value is high, the linkage performance can be more intimate and positive, for example, two electronic pets stand close together, with love special effects popping up on their bodies, or perform a preset synchronized dance, hug, and other two-person interaction animations, showing the user that they are in a harmonious relationship and a happy mood.

[0053] In the embodiments of the present application, the tacit value based on the pet attribute is introduced, and the linkage performance between the pets is determined accordingly, which gives the electronic pets dynamic and developable social relationships, so that the interaction between the electronic pets is no longer a simple in-frame display, but a full of emotional and logical interaction, greatly enhancing the authenticity and immersion of pet interaction.

[0054] Based on the above embodiments, the pet attribute includes at least one of history memory and / or interaction times, age, level, personality, zodiac, and occupation. The interaction instruction includes at least one of feeding instruction, cleaning instruction, entertainment instruction, virtual item gifting instruction, and battle instruction.

[0055] Specifically, the pet attribute of the electronic pet can include two categories of dynamic attribute and static / semi-static attribute, wherein the history memory and / or interaction times belong to the dynamic attribute. The interaction times directly record the number of interactions between the corresponding electronic pet and other electronic pets, and the more interaction times, the more familiar they are. The history memory stores the previous interaction events of the corresponding electronic pet, such as "once played a team game with a certain electronic pet" and "once defeated the opponent in a PK challenge", etc. These memories can provide a basis for determining the degree of familiarity, tacit value and even the final linkage performance, so that the linkage performance between the electronic pets is more realistic and reasonable.

[0056] The age, level, personality, zodiac and occupation belong to the static / semi-static attribute. Among them, the age and level reflect the growth stage and strength of the corresponding electronic pet, and the pets with similar age and level can be more likely to resonate. Personality is a key attribute that affects the behavior pattern of the corresponding electronic pet. For example, an outgoing personality and a quiet and introverted personality may have complementary or conflicting effects when matched, thereby affecting the calculation of tacit value.

[0057] Zodiac and occupation are attributes that add interest and role-playing depth to electronic pets. For example, a set of zodiac matching rules can be preset to calculate the tacit value between different zodiacs, or different tacit values can be set for different combinations of occupations, thereby guiding users to explore different combinations of electronic pets.

[0058] Correspondingly, Figure 3 is an example diagram of the interaction type provided by the present application, such as Figure 3As shown, after the second device establishes a communication connection with the first device, the user corresponding to the second device can feed the first electronic pet, and can also send egg coins (virtual currency) to the first electronic pet, send props to the first electronic pet, send costumes to the first electronic pet, transmit pictures to the first electronic pet, and initiate a challenge to the first electronic pet. That is, the interaction instruction for the first electronic pet can include any one or more of a feeding instruction, a cleaning instruction, an entertainment instruction, a virtual item sending instruction, and a battle instruction.

[0059] The feeding instruction is the most basic interaction instruction. The feeding function realized through the feeding instruction can simulate the behavior of feeding a pet in reality. For example, the user can feed virtual food (such as cookies, bread, ham, water, milk, beverages, etc.) to the first electronic pet to increase the satiety or pleasure of the first electronic pet.

[0060] The cleaning instruction can realize a cleaning function. For example, the first electronic pet can be bathed through the cleaning instruction to improve the cleanliness of the electronic pet.

[0061] The entertainment instruction is an instruction for playing and interacting with the first electronic pet. For example, a virtual frisbee or ball can be thrown to the first electronic pet to trigger a play animation of the first electronic pet, thereby improving the pleasure of the first electronic pet.

[0062] The virtual item sending instruction can include an egg coin sending instruction, a costume sending instruction, a prop sending instruction, a picture transmitting instruction, etc. Figure 4 is an example diagram of an egg coin sending interface provided by the present application, as shown in Figure 4 The user can select how many egg coins to send to the first electronic pet in the egg coin sending interface. Figure 5 is an example diagram of an equipment sending interface provided by the present application, Figure 6 is an example diagram of a costume sending interface provided by the present application, as shown in Figure 5 and Figure 6 The user can select what equipment and costumes to send to the first electronic pet in the equipment sending interface and the costume sending interface, respectively. Figure 7 is an example diagram of a prop sending interface provided by the present application, as shown in Figure 7 The user can select which prop to send to the first electronic pet in the prop sending interface, such as a "star language mushroom" that can increase intelligence and physical strength. Figure 8 is an example diagram of a picture transmitting interface provided by the present application, as shown in Figure 8 The user can select a picture to transmit to the first electronic pet in the picture transmitting interface.

[0063] The battle instruction is an instruction for realizing competitive interaction with the first electronic pet. For example, a PK challenge can be initiated to the first electronic pet, so that the two electronic pets can have a virtual battle according to their respective levels and attributes, thereby increasing the excitement and interest of pet interaction.

[0064] Based on the above embodiment, the communication connection between the second device and the first device is established by the following way: receiving a communication request of the first device, the communication request carrying a link identifier of a virtual communication link created by the first device; establishing a communication connection with the first device based on the link identifier.

[0065] Specifically, the communication understanding between the first device and the second device can be achieved by the following way: Firstly, the second device receives a communication request of the first device, the communication request carrying a link identifier of a virtual communication link created by the first device. The virtual communication link here can be understood as a temporary and private interactive session channel created by the first device. The first device as the initiator is responsible for creating and maintaining this exclusive channel for pet interaction. The link identifier is a string of codes for uniquely identifying the virtual communication link. The identifier can be a group of numbers, letters or a combination of numbers and letters. As preferred, in the embodiment of the application, the virtual communication link can be a virtual room created by the first device, and the link identifier can be the room number of the virtual room.

[0066] Figure 9 is an example diagram of the communication connection establishment process provided by the application, as Figure 9 shown, the establishment process of the communication connection between the first device and the second device is as follows: The user corresponding to the first device can first initiate a creation request in the room page of the first device, such as clicking the “create room” button. After receiving the creation request, the first device will create a virtual room and generate a room number of the virtual room, such as “3567”. Then, the first device can send a communication request to the second device, the communication request carrying the room number.

[0067] After receiving the communication request, the second device can parse it to obtain the room number, and can input the room number in the room page, such as clicking the “join room” button and inputting the room number in the page jumped to, so as to join the virtual room corresponding to the room number, and further realize the communication connection with the first device.

[0068] In the embodiment of the application, the connection is established by the link identifier, which ensures the security of the connection and makes it difficult for non-intended devices to access, effectively protecting the privacy and interaction experience of the user, and is particularly suitable for private interaction scenarios between friends. At the same time, using a short and easy-to-remember “room number” as a link identifier greatly simplifies the operation process compared to pairing a complex Bluetooth name or inputting an IP address, and improves the ease of use and user experience.

[0069] Based on the above embodiment, the second electronic pet is displayed on the first device in the following manner: sending a second display request to the first device, so that the first device displays the second electronic pet running on the second device based on the second display request.

[0070] Specifically, after the first device and the second device establish a communication connection, the second device can actively send a display request, i.e., a second display request, to the first device in addition to receiving the first display request sent by the first device. The second display request is similar to the first display request in terms of data structure and functional principle, but the direction is reversed. It is a data signal or data packet generated and sent by the second device, and its purpose is to request the first device to display the second electronic pet. In order to achieve this purpose, the second display request can carry information necessary for rendering the second electronic pet on the first device, such as a unique identifier of the second electronic pet, image data (such as a three-dimensional model, a two-dimensional image, a map, skeleton animation data, etc.) for depicting its appearance, initial state data (such as initial position, posture, current expression, etc.) of the second electronic pet, etc.

[0071] After receiving the second display request, the first device parses the request and calls its rendering engine to draw and display the image of the second electronic pet on the first device according to the image data, state data, etc. carried in the second display request. In this way, the second electronic pet on the second device realizes cross-device visiting and appears on the first device.

[0072] In the embodiment of the present application, by actively sending a second display request to the first device from the second device, a two-way, peer-to-peer pet visiting mechanism is realized, not only the first electronic pet can access the second device, but also the second electronic pet can visit the first device, thereby building a complete, two-way interactive social scene. This symmetrical interaction mode greatly enriches the interactive play between users, for example, two users can simultaneously take care of each other's pets on their respective devices, or let two pets meet in the device of either party, making the social experience more in-depth and interesting, and perfecting the function of cross-device pet interaction.

[0073] The pet interaction device provided by the present application is described below. The pet interaction device described below can be referred to in conjunction with the pet interaction method described above.

[0074] Figure 10 is a structural schematic diagram of the pet interaction device provided by the present application, as Figure 10 shown, the device is applied to a second device, the second device and a first device are in communication connection, the first device runs a first electronic pet, the second device runs a second electronic pet, and the device comprises: The display unit 1010 is configured to receive a first display request of the first device, and display the first electronic pet running on the first device based on the first display request. The interaction unit 1020 is configured to update the display state of the currently displayed first electronic pet based on an interaction instruction for the first electronic pet. The second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

[0075] The pet interaction device provided by the application breaks the limitation that the traditional electronic pet can only move within the device, realizes the cross-device interaction of the electronic pet, greatly expands the activity range and interaction dimension of the electronic pet, provides a new way for the users to interact with each other through the pets, makes the feeding and interaction process of the electronic pet more realistic, and greatly improves the interest of the electronic pet and optimizes the user experience.

[0076] Based on the above embodiment, the interaction unit 1020 is configured to: send the interaction instruction to the first device, so that the first device updates the state of the first electronic pet based on the interaction instruction, and feeds back the updated first pet state to the second device; receive the first pet state, and update the display state of the currently displayed first electronic pet based on the first pet state.

[0077] Based on the above embodiment, in the case that the second electronic pet is displayed on the second device together with the first electronic pet, the interaction unit 1020 is further configured to: receive an information exchange request of the first device, and perform pet information exchange based on the information exchange request to obtain the pet attribute of the first electronic pet; determine the tacit understanding value between the first electronic pet and the second electronic pet based on the pet attribute of the first electronic pet and the pet attribute of the second electronic pet; determine the linkage performance of the first electronic pet and the second electronic pet when interacting based on the tacit understanding value.

[0078] Based on the above embodiment, the pet attribute includes at least one of historical memory and / or interaction times, and age, level, personality, zodiac, and occupation; The interaction instruction includes at least one of feeding instruction, cleaning instruction, entertainment instruction, virtual item gifting instruction, and battle instruction.

[0079] Based on the above embodiment, the apparatus further comprises a communication unit configured to: receive a communication request of the first device, the communication request carrying a link identification of a virtual communication link created by the first device; establish a communication connection with the first device based on the link identification.

[0080] Based on the above embodiment, the interaction unit 1020 is further configured to: send a second display request to the first device, so that the first device displays a second electronic pet running on the second device based on the second display request.

[0081] The application further provides a pet robot, Figure 11 which is a structural schematic diagram of a pet robot provided by the application, as Figure 11 shown, the pet robot runs an electronic pet, and the pet robot comprises a communication module 1110, a processor 1120 and a display screen 1130; the communication module 1110 is configured to establish a communication connection between the pet robot and other devices running other electronic pets; the processor 1120 is configured to, in the case that the pet robot is in communication connection with the other devices, receive a display request of the other devices and display the other electronic pets on the display screen 1130 based on the display request; and update the display state of the other electronic pet currently displayed on the display screen 1130 based on an interaction instruction for the other electronic pet; wherein the electronic pet is displayed on the display screen together with the other electronic pet, or the electronic pet is displayed on the display screen of the other device.

[0082] Figure 12 an example of an entity structural schematic diagram of an electronic device, as Figure 12As shown, the electronic device can include a processor 1210, a communications interface 1220, a memory 1230, and a communications bus 1240, wherein the processor 1210, the communications interface 1220, and the memory 1230 complete communications with each other through the communications bus 1240. The processor 1210 can invoke a logical instruction in the memory 1230 to execute a pet interaction method applied to a second device, the second device being communicatively connected with a first device, the first device running a first electronic pet, the second device running a second electronic pet, the method including: receiving a first display request of the first device, and displaying the first electronic pet running on the first device based on the first display request; updating a display state of the first electronic pet currently displayed based on an interaction instruction for the first electronic pet; wherein the second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

[0083] In addition, the logical instruction in the memory 1230 described above can be implemented in the form of a software functional unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.

[0084] In another aspect, the present application also provides a computer program product, which comprises a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the pet interaction method provided by any of the above methods, the method being applied to a second device, the second device being communicatively connected with a first device, the first device running a first electronic pet, the second device running a second electronic pet, the method comprising: receiving a first display request of the first device, and displaying the first electronic pet running on the first device based on the first display request; updating a display state of the first electronic pet currently displayed based on an interaction instruction for the first electronic pet; wherein the second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

[0085] In another aspect, the present application also provides a computer program product, which comprises a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the pet interaction method provided by any of the above methods, the method being applied to a second device, the second device being communicatively connected with a first device, the first device running a first electronic pet, the second device running a second electronic pet, the method comprising: receiving a first display request of the first device, and displaying the first electronic pet running on the first device based on the first display request; updating a display state of the first electronic pet currently displayed based on an interaction instruction for the first electronic pet; wherein the second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

[0086] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the present embodiment scheme according to actual needs. Those skilled in the art can understand and implement it without creative labor.

[0087] Those skilled in the art can clearly understand the technical solutions of the various embodiments from the above description of the embodiments, and the various embodiments can be implemented by means of software with the necessary general hardware platforms, and of course, can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that makes a contribution, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

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

Claims

1. A pet interaction method characterized by, The method is applied to a second device, the second device and a first device are in communication connection, the first device runs a first electronic pet, and the second device runs a second electronic pet, and the method comprises: receiving a first display request of the first device, and displaying the first electronic pet running on the first device based on the first display request; updating a display state of the first electronic pet currently displayed based on an interaction instruction for the first electronic pet; wherein the second electronic pet is displayed on the second device together with the first electronic pet, or the second electronic pet is displayed on the first device.

2. The pet interaction method of claim 1, wherein, The updating of the display state of the first electronic pet currently displayed based on the interaction instruction for the first electronic pet comprises: sending the interaction instruction to the first device, so that the first device updates the state of the first electronic pet based on the interaction instruction, and feeds back the updated first pet state to the second device; receiving the first pet state, and updating the display state of the first electronic pet currently displayed based on the first pet state.

3. The pet interaction method of claim 1, wherein, In the case that the second electronic pet is displayed on the second device together with the first electronic pet, the method further comprises: receiving an information exchange request of the first device, and exchanging pet information based on the information exchange request to obtain pet attributes of the first electronic pet; determining a tacit understanding value between the first electronic pet and the second electronic pet based on the pet attributes of the first electronic pet and the pet attributes of the second electronic pet; determining a linkage performance when the first electronic pet and the second electronic pet interact based on the tacit understanding value.

4. The pet interaction method according to claim 3, wherein: the pet attributes comprise at least one of historical memory and / or interaction times, and age, level, personality, zodiac sign, and occupation; the interaction instruction comprises at least one of feeding instruction, cleaning instruction, entertainment instruction, virtual item gifting instruction, and battle instruction.

5. The pet interaction method according to any one of claims 1 to 4, characterized in that, The communication connection between the second device and the first device is established by the following method: receiving a communication request of the first device, the communication request carrying a link identifier of a virtual communication link created by the first device; establishing a communication connection with the first device based on the link identifier.

6. The pet interaction method according to any one of claims 1 to 4, characterized in that, The second electronic pet is displayed on the first device by the following method: sending a second display request to the first device, so that the first device displays the second electronic pet running on the second device based on the second display request.

7. A pet interaction device, characterized in that The method is applied to a second device, the second device and a first device are in communication connection, the first device runs a first electronic pet, and the second device runs a second electronic pet, and the method comprises: a display unit configured to receive a first display request of the first device, and display the first electronic pet running on the first device based on the first display request; a display unit configured to receive a first display request of the first device, and display the first electronic pet running on the first device based on the first display request; An interaction unit is configured to update a display state of the first electronic pet currently displayed based on an interaction instruction for the first electronic pet. The second electronic pet is displayed together with the first electronic pet on the second device, or the second electronic pet is displayed on the first device.

8. A pet robot, characterized by The pet robot runs an electronic pet, and the pet robot comprises a communication module, a processor and a display screen. The communication module is configured to establish a communication connection between the pet robot and another device running another electronic pet. The processor is configured to receive a display request of the other device when the pet robot is in communication connection with the other device, and display the other electronic pet on the display screen based on the display request.

9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The display state of the other electronic pet currently displayed on the display screen is updated based on an interaction instruction for the other electronic pet. 10.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The processor executes the computer program to implement the pet interaction method of any one of claims 1 to 6. The computer program is executed by the processor to implement the pet interaction method of any one of claims 1 to 6.