Electronic pet interaction method and device
By introducing electronic pet interaction function into the multimedia content platform, users can replace verbal interaction by interacting with electronic pets, solving the problems of monotonous user interaction methods and verbal dissonance, and improving the platform atmosphere and user experience.
Patent Information
- Application Number
- CN202510163789.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-30
AI Technical Summary
The user interaction method in the multimedia content platform is monotonous, and verbal dissonance is prone to occur, affecting the platform atmosphere and user experience.
By displaying the user's electronic pet in the client interaction area, the user can replace verbal interaction through interaction with other users' electronic pets, and express friendly behavior through the electronic pets, and update the electronic pet information to reflect the interaction results.
It enriches the user interaction form, avoids discord between users, improves the atmosphere of the multimedia platform, and improves the user experience.
Smart Images

Figure CN120075520A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of Internet technologies, and in particular, to an electronic pet interaction method, apparatus, computer device, computer-readable storage medium, and computer program product. Background Art
[0002] In a multimedia content platform, such as a video platform, the interaction methods of users are generally "like", "dislike", or "comment", and the interaction methods are relatively monotonous; moreover, sometimes there will be disharmonious phenomena in the words between users, affecting the atmosphere of the multimedia content platform and the experience of other users.
[0003] It should be noted that the above content is not necessarily prior art and does not limit the patent protection scope of the present application. Summary of the Invention
[0004] Embodiments of the present application provide an electronic pet interaction method, apparatus, computer device, computer-readable storage medium, and computer program product to solve or alleviate one or more of the above-mentioned technical problems.
[0005] One aspect of the embodiments of the present application provides an electronic pet interaction method, and the method includes: Displaying the electronic pets of each interaction user in the interaction area of the current client; When the electronic pet of the interaction user receives a first instruction, obtaining the first electronic pet information of the electronic pet of the current client and the second electronic pet information of the electronic pet that receives the first instruction, and entering an electronic pet interaction page based on the first electronic pet information and the second electronic pet information; When the electronic pet of the interaction user receives a second instruction, obtaining the second electronic pet information, and updating the second electronic pet information based on the second instruction.
[0006] Optionally, the entering the electronic pet interaction page based on the first electronic pet information and the second electronic pet information includes: Opening a web view in the current client; Loading and running a target application program for electronic pet interaction in the web view based on the first electronic pet information and the second electronic pet information.
[0007] Optionally, the target application program is an H5 format application program made based on the unity engine.
[0008] Optionally, the electronic pet information includes a plurality of electronic pet attributes; Correspondingly, the updating the second electronic pet information based on the second instruction includes: Determine the target electronic pet attribute and the attribute increment value affected by the second instruction; Increase the target electronic pet attribute based on the attribute increment value.
[0009] Optionally, the method further includes: In the case where the terminal device corresponding to the current client retreats to the desktop, display the electronic pet of the current client in the desktop in the form of a target widget.
[0010] Optionally, the method further includes: Receive the pushed target prompt information, where the target prompt information is the prompt information generated based on the received instruction when the electronic pet of the current client receives the first instruction or the second instruction sent by another client; Display the target prompt information in the target widget.
[0011] Another aspect of the embodiments of the present application provides an electronic pet interaction device, and the device includes: A display module, configured to display the electronic pets of each interaction user in the interaction area of the current client; A first interaction module, configured to, when the electronic pet of the interaction user receives the first instruction, obtain the first electronic pet information of the electronic pet of the current client and the second electronic pet information of the electronic pet that receives the first instruction, and enter the electronic pet interaction page based on the first electronic pet information and the second electronic pet information; A second interaction module, configured to, when the electronic pet of the interaction user receives the second instruction, obtain the second electronic pet information, and update the second electronic pet information based on the second instruction.
[0012] Another aspect of the embodiments of the present application provides a computer device, including: 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 as described above.
[0013] Another aspect of the embodiments of the present application provides a computer-readable storage medium, in which computer instructions are stored, and when the computer instructions are executed by a processor, the method as described above is implemented.
[0014] Another aspect of the embodiments of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method as described above is implemented.
[0015] The embodiments of the present application adopting the above technical solutions may include the following advantages: By displaying the electronic pets of each interactive user in the interaction area of the current client, when the electronic pet of the interactive user receives the first instruction, enter the electronic pet interaction page according to the pet information of the electronic pet of the current client and the pet information corresponding to the first instruction; when the electronic pet of the interactive user receives the second instruction, update the pet information corresponding to the second instruction according to the second instruction, which can allow users to replace the disharmony between words through the interaction with the electronic pets of other users, and also allow users to express friendly behaviors through the electronic pets, thereby avoiding the disharmony between users in the multimedia platform and improving the atmosphere of the multimedia content platform; at the same time, it can enrich the interaction forms of users in the multimedia platform and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings exemplarily show the embodiments and form part of the specification, and are used together with the written description of the specification to explain the exemplary embodiments of the embodiments. The shown embodiments are for illustrative purposes only and do not limit the scope of the claims. In all the drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0017] Figure 1 Schematically shows the operating environment diagram of the electronic pet interaction method according to Embodiment 1 of the present application; Figure 2 Schematically shows the flowchart of the electronic pet interaction method according to Embodiment 1 of the present application; Figure 3 Schematically shows the display of the electronic pet; Figure 4 Schematically shows Figure 2 The sub-step flowchart of step S202; Figure 5 Schematically shows the electronic pet interaction page; Figure 6 Schematically shows Figure 2 The sub-step flowchart of step S204; Figure 7 Schematically shows the new process of the electronic pet interaction method according to Embodiment 1 of the present application; Figure 8 Schematically shows the display of the electronic pet on the desktop; Figure 9 Schematically shows the block diagram of the electronic pet interaction device according to Embodiment 2 of the present application; and Figure 10 Schematically shows the hardware architecture diagram of the computer device according to Embodiment 3 of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] In order to make the objectives, technical solutions and advantages of this application more clear and understandable, the following further describes this application in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the protection scope of this application.
[0019] It should be noted that in the embodiments of this application, the descriptions involving "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by this application.
[0020] In the description of this application, it should be understood that the numerical labels before the steps do not identify the order of execution of the steps, but are only used to facilitate the description of this application and distinguish each step. Therefore, it cannot be understood as a limitation to this application.
[0021] First, the following provides the term explanations involved in this application: Unity: It is a powerful cross-platform game engine that is widely used to create 2D and 3D games, interactive experiences, virtual reality (VR) and augmented reality (AR) applications, etc. Simply put, Unity is a "toolbox" for making games. It provides a series of tools and functions that allow developers to more easily create various types of games.
[0022] Secondly, to facilitate the understanding of the technical solutions provided in the embodiments of this application by those skilled in the art, the following explains the related technologies: In a multimedia content platform, such as a video platform, the interaction methods of users are generally "liking", "disliking" or "commenting", and the interaction methods are relatively monotonous; sometimes, there may be disharmonious phenomena in words between users due to different opinions, and these disharmonious phenomena will affect the atmosphere of the multimedia content platform and the experience of other users.
[0023] To this end, the embodiments of the present application provide an electronic pet interaction technical solution. In this technical solution, it is possible to allow users to replace the disharmony between words through the interaction with the electronic pets of other users, and also allow users to express friendly behaviors through electronic pets, thereby avoiding the disharmony between users in the multimedia platform and improving the atmosphere of the multimedia content platform; at the same time, it can enrich the interaction forms of users in the multimedia platform and improve the user experience. See the following for details.
[0024] Finally, for ease of understanding, an exemplary operating environment is provided below.
[0025] As Figure 1 shown, the environmental schematic diagram includes a service platform 2, a network 4, and a client 6, where: The service platform 2 can be composed of a single or multiple computing devices. The multiple computing devices can include virtualized computing instances. The virtualized computing instances can include virtual machines, such as emulations of computer systems, operating systems, servers, etc. The computing devices can load virtual machines based on virtual images and / or other data that define specific software (e.g., operating systems, dedicated applications, servers) for emulation. As the demand for different types of processing services changes, different virtual machines can be loaded and / or terminated on one or more computing devices. A hypervisor can be implemented to manage the use of different virtual machines on the same computing device.
[0026] The service platform 2 can be configured to communicate with the client 6, etc. through the network 4. The network 4 includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and / or the like. The network 4 can include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links and their combinations, etc., or wireless links, such as cellular links, satellite links, Wi-Fi links, etc.
[0027] The service platform 2 can provide services such as storage, reading, writing, querying, deleting, etc., such as providing a service for the client to read videos.
[0028] The client 6 can be an electronic device running operating systems such as Windows, Android™, or iOS, such as a smart phone, a tablet device, a laptop computer, a virtual reality device, a gaming device, a set-top box, a vehicle-mounted terminal, a smart TV. Based on the above operating systems, various application programs can be run, such as an application program for running video viewing.
[0029] The client 6 can provide / configure a user access page for manipulating the service platform 2 or uploading objects, etc.
[0030] Note that the above devices are exemplary, and in different scenarios or according to different requirements, the number and types of devices are adjustable.
[0031] The following takes the client as the execution entity and introduces the technical solutions of this application through multiple embodiments. It should be noted that these embodiments can be implemented in various different forms and should not be construed as being limited only to the embodiments described herein.
[0032] Embodiment 1 Figure 2 The flowchart of the electronic pet interaction method according to Embodiment 1 of this application is schematically shown.
[0033] As Figure 2 shown, the electronic pet interaction method may include steps S200 to S204, where: Step S200: Display the electronic pets of each interactive user in the interaction area of the current client.
[0034] Step S202: When the electronic pet of the interactive user receives the first instruction, obtain the first electronic pet information of the electronic pet of the current client and the second electronic pet information of the electronic pet that receives the first instruction, and enter the electronic pet interaction page based on the first electronic pet information and the second electronic pet information.
[0035] Step S204: When the electronic pet of the interactive user receives the second instruction, obtain the second electronic pet information and update the second electronic pet information based on the second instruction.
[0036] The electronic pet interaction method provided in this embodiment displays the electronic pets of each interactive user in the interaction area of the current client. When the electronic pet of the interactive user receives the first instruction, it enters the electronic pet interaction page according to the pet information of the electronic pet of the current client and the pet information of the electronic pet corresponding to the first instruction; when the electronic pet of the interactive user receives the second instruction, it updates the pet information of the electronic pet corresponding to the second instruction according to the second instruction. This can allow users to replace the disharmony between words through the interaction with the electronic pets of other users, and also allow users to express friendly behaviors through the electronic pets, thereby avoiding the disharmony between users in the multimedia platform and improving the atmosphere of the multimedia content platform; at the same time, it can enrich the interaction forms of users in the multimedia platform and improve the user experience.
[0037] The following combines Figure 2 , and elaborates on each step in steps S200 to S204 and optional other steps in detail.
[0038] Step S200 , display the electronic pets of each interactive user in the interaction area of the current client.
[0039] Specifically, when the interaction records of users are displayed in the interaction area of the current client, obtain the electronic pets corresponding to each interacting user, and display the electronic pets corresponding to the interacting users at the positions corresponding to each interacting user. The electronic pets of each interacting user can receive the interaction of the current client.
[0040] Please refer to Figure 3 , which is a schematic diagram of the display of electronic pets. As shown in the figure, the video playback area is above, and the comment area (interaction area) is below. The interacting users post comments in the comment area, and the electronic pets corresponding to each interacting user are shown on the right side of each interacting user's avatar.
[0041] Step S202 , when the electronic pet of an interacting user receives a first instruction, obtain the first electronic pet information of the electronic pet of the current client and the second electronic pet information of the electronic pet that receives the first instruction, and enter the electronic pet interaction page based on the first electronic pet information and the second electronic pet information.
[0042] The first instruction can be a pre-configured specific instruction, such as instructions like clicking, double-clicking, and long-pressing on the displayed electronic pet; the first instruction can also be an instruction implemented through a specific control such as Figure 3 shown, such as an instruction implemented through a specific control like "battle", and can be specifically configured according to actual needs, and is not limited here. The electronic pet information can include information such as name, level, health value, energy value, experience, skills, etc.
[0043] Specifically, the user of the current client can impose a first instruction on the electronic pet of a certain interacting user; when the electronic pet of the interacting user receives the first instruction, obtain the electronic pet of the corresponding user of the current client and the corresponding first electronic pet information; and obtain the second electronic pet information corresponding to the electronic pet on which the first instruction is imposed by the user of the current client, and then enter the electronic pet interaction page according to the first electronic pet information and the second electronic pet information to perform the interaction between the two electronic pets.
[0044] In an alternative embodiment, as Figure 4 shown, the entering the electronic pet interaction page based on the first electronic pet information and the second electronic pet information in step S202 may include: Step S300, open a web view in the current client.
[0045] Step S302, load and run the target application program for electronic pet interaction in the web view based on the first electronic pet information and the second electronic pet information.
[0046] Among them, the target application can be a game that is pre-produced using a game engine and then exported for loading in a web page. In an alternative embodiment, the target application can be an H5 format application developed based on the unity engine. Since the H5 format application developed using the unity engine can run on various devices or platforms such as PCs and mobile devices, and there is no need for separate development and testing for different devices, the development and testing costs can be reduced. At the same time, the H5 format application can be accessed through a browser without the need to download or install additional applications, which facilitates the interaction of electronic pets.
[0047] Specifically, when the electronic pet of the interacting user receives the first instruction, a web view (WebView page) is launched on the current client, and the target application for electronic pet interaction is loaded and rendered in the web view. A schematic diagram is shown as Figure 5 shown. In the target application, the user of the current client can click on the instructions in the target application to interact between electronic pets. Optionally, only the target application for electronic pet interaction can be loaded and run on the current client. The first electronic pet of the current client is controlled by the user of the current client, and the second electronic pet performs automatic interaction. Alternatively, when the electronic pet of the interacting user receives the first instruction, the service platform sends a request to the interacting user. If the interacting user agrees to the request, a web view is opened on the corresponding client of the interacting user at the same time to load and run the target application, and both parties control their respective electronic pets to interact.
[0048] In this embodiment, by opening a web view on the current client and loading and running the target application for electronic pet interaction based on the first electronic pet information and the second electronic pet information in the web view, users do not need to download and install additional software, which reduces the threshold for entering electronic pet interaction and facilitates users to enter the interaction of electronic pets, improving the atmosphere of the multimedia platform while increasing the interaction fun.
[0049] Step S204 , when the electronic pet of the interacting user receives the second instruction, the second electronic pet information is obtained, and the second electronic pet information is updated based on the second instruction.
[0050] The second instruction can be a specific instruction pre-configured to be different from the first instruction. For example, if the first instruction is to click on the displayed electronic pet, the second instruction can be a double click. The second instruction can also be as Figure 3As shown, instructions implemented through specific controls such as "feeding" can be configured according to actual needs and are not limited here. When updating the second electronic pet information according to the second instruction, information such as level, health value, energy value, experience, skill level, etc. can be increased according to preset rules, so as to achieve the effect of expressing kindness to the interactive user.
[0051] In an alternative embodiment, the electronic pet information includes a number of electronic pet attributes. Correspondingly, as Figure 6 shown, in step S204, updating the second electronic pet information based on the second instruction may include: Step S400, determining the target electronic pet attribute and the attribute increment value affected by the second instruction.
[0052] Step S402, increasing the target electronic pet attribute based on the attribute increment value.
[0053] The electronic pet attributes may include attributes such as health value, level, energy value, experience, etc. When determining the target electronic pet attribute affected by the second instruction, it can be determined by the current client. For example, the current client can select an electronic pet attribute to apply the second instruction, then the electronic pet attribute corresponding to the applied second instruction is the target electronic pet attribute; alternatively, it can also be determined according to a predetermined rule. For example, one of the electronic pet attributes can be randomly determined as the target electronic pet attribute. Specifically, all electronic pet attributes can be used as the target electronic pet attribute. The attribute increment value can be determined according to preset rules. For example, when a second instruction is received, what the attribute increment value is.
[0054] Specifically, when the second instruction is received, determine the target electronic pet attribute and the corresponding attribute increment value corresponding to its effect, and then add the attribute increment value to the target electronic pet attribute to enhance the attribute of the second electronic pet. For example, if the target electronic pet attribute corresponding to the second instruction is the experience value and the attribute increment value is 100, then when a second instruction is received, the experience value of the second electronic pet is increased by 100.
[0055] In this embodiment, by determining the target electronic pet attribute and the attribute increment value affected by the second instruction and increasing the target electronic pet attribute based on the attribute increment value, the electronic pet attributes of the interactive user can be improved according to the interaction of the user with the electronic pet, so as to express the kindness between users and improve the atmosphere of the multimedia platform.
[0056] In an alternative embodiment, the electronic pet interaction method of the embodiment of the present application may further include: when the terminal device corresponding to the current client retreats to the desktop, displaying the electronic pet of the current client in the desktop with a target widget.
[0057] Specifically, necessary permissions can be applied for from the terminal device. When the permissions are allowed and the current client corresponding to the terminal device retreats to the desktop, the pre-developed target widget is used to display the electronic pet corresponding to the current client on the desktop.
[0058] It can be understood that displaying the electronic pet of the current client in the target widget on the desktop can facilitate the user to timely pay attention to the latest status of the electronic pet and enhance the stickiness of the users of the current client to the electronic pet and the multimedia platform.
[0059] In an alternative embodiment, as Figure 7 shown, the electronic pet interaction method of the embodiment of the present application may further include: Step S500: Receive the pushed target prompt information, where the target prompt information is the prompt information generated based on the received instruction when the electronic pet of the current client receives the first instruction or the second instruction sent by other clients.
[0060] Step S502: Display the target prompt information in the target widget.
[0061] For example, when the user of the current client posts a comment in the interaction area, other clients can see the electronic pet corresponding to the user of the current client and can interact with the electronic pet when opening the comment area. When the user of other clients applies the first instruction or the second instruction, the system generates the target prompt information according to the first instruction or the second instruction applied by other clients, pushes the generated target prompt information to the current client, and the current client displays the target prompt information in the target widget. For example, as Figure 8 shown, when the first instruction is applied to the electronic pet of the current client, the target prompt information of "Master, something bad happened. I was beaten by XX's pet" is generated and displayed in the target widget. Among them, the target prompt information can be different according to the received instruction, that is, the target prompt information corresponding to the first instruction and the second instruction is different.
[0062] In this embodiment, by receiving the pushed target prompt information, where the target prompt information is the prompt information generated based on the received instruction when the electronic pet of the current client receives the first instruction or the second instruction sent by other clients, and displaying the target prompt information in the target widget, the current client can real-time understand the interaction information of other users with the electronic pet.
[0063] Embodiment 2 Figure 9Schematically shown is a block diagram of an electronic pet interaction device according to Embodiment 2 of the present application. The device can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. As Figure 9 shown, the device 600 may include a display module 610, a first interaction module 620, and a second interaction module 630, where: The display module 610 is configured to display the electronic pets of each interacting user in the interaction area of the current client; The first interaction module 620 is configured to, when the electronic pet of the interacting user receives a first instruction, obtain the first electronic pet information of the electronic pet of the current client and the second electronic pet information of the electronic pet that receives the first instruction, and enter an electronic pet interaction page based on the first electronic pet information and the second electronic pet information; The second interaction module 630 is configured to, when the electronic pet of the interacting user receives a second instruction, obtain the second electronic pet information, and update the second electronic pet information based on the second instruction.
[0064] In an alternative embodiment, the first interaction module 620 is further configured to: Open a web view in the current client; Load and run a target application for electronic pet interaction in the web view based on the first electronic pet information and the second electronic pet information.
[0065] In an alternative embodiment, the target application is an H5 format application made based on the unity engine.
[0066] In an alternative embodiment, the electronic pet information includes several electronic pet attributes. The second interaction module 630 is further configured to: Determine the target electronic pet attribute and the attribute increment value affected by the second instruction; Increase the target electronic pet attribute based on the attribute increment value.
[0067] In an alternative embodiment, the device 600 is further configured to: When the terminal device corresponding to the current client retreats to the desktop, display the electronic pet of the current client in the desktop as a target widget.
[0068] In an alternative embodiment, the device 600 is further configured to: Receive the target prompt information pushed, where the target prompt information is the prompt information generated based on the received instruction when the electronic pet of the current client receives the first instruction or the second instruction sent by other clients; Display the target prompt information in the target widget.
[0069] Embodiment III Figure 10 Schematically shows a hardware architecture diagram of a computer device 10000 suitable for implementing the electronic pet interaction method according to Embodiment III of the present application. In some embodiments, the computer device 10000 may be a terminal device such as a smart phone, a wearable device, a tablet computer, a personal computer, a vehicle-mounted terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server or a cabinet server (including an independent server or a server cluster composed of multiple servers). As Figure 10 shown, the computer device 10000 includes, but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can be communicatively linked to each other through a system bus. Among them: The memory 10010 includes at least one type of computer-readable storage medium. The readable storage medium includes flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 10010 may be an internal storage module of the computer device 10000, such as the hard disk or memory of the computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the computer device 10000. Of course, the memory 10010 may also include both the internal storage module and the external storage device of the computer device 10000. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed on the computer device 10000, such as the program code of the electronic pet interaction method. In addition, the memory 10010 may also be used to temporarily store various data that have been output or will be output.
[0070] The processor 10020 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other chips in some embodiments. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.
[0071] The network interface 10030 may include a wireless network interface or a wired network interface. The network interface 10030 is generally used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, and establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network may be an Intranet, the Internet, the Global System of Mobile communication (abbreviated as GSM), Wideband Code Division Multiple Access (abbreviated as WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi and other wireless or wired networks.
[0072] It should be noted that Figure 10 Only the computer device with components 10010 - 10030 is shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components may be alternatively implemented.
[0073] In this embodiment, the electronic pet interaction method stored in the memory 10010 may also be divided into one or more program modules and executed by one or more processors (such as the processor 10020) to complete the embodiments of the present application.
[0074] Embodiment 4 The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the electronic pet interaction method in the embodiments are implemented.
[0075] In this embodiment, the computer-readable storage medium includes flash memory, hard disks, multimedia cards, card-type memories (such as SD or DX memories, etc.), random access memories (RAM), static random access memories (SRAM), read-only memories (ROM), electrically erasable programmable read-only memories (EEPROM), programmable read-only memories (PROM), magnetic memories, magnetic disks, optical disks, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc., equipped on the computer device. Of course, the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is generally used to store the operating system installed on the computer device and various application software, such as the program code of the electronic pet interaction method in the embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various data that have been output or will be output.
[0076] Embodiment 5 The embodiment of the present application also provides a computer program product, including a computer program, which when executed by a processor implements the method in the above embodiment.
[0077] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the embodiments of the present application can be implemented by a general computer device. They can be concentrated on a single computer device or distributed on a network composed of multiple computer devices. Optionally, they can be implemented by program codes executable by the computer device. Thus, they can be stored in a storage device and executed by the computer device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module to implement. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0078] It should be noted that the above are only the preferred embodiments of the present application, and do not limit the patent protection scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. A method for interacting with an electronic pet, characterized in that: The method comprises: Display the electronic pets of each interactive user in the interactive area of the current client; When the electronic pet of the interactive user receives the first instruction, obtaining first electronic pet information of the electronic pet of the current client and second electronic pet information of the electronic pet that receives the first instruction, and entering an electronic pet interactive page based on the first electronic pet information and the second electronic pet information; When the electronic pet of the interactive user receives the second instruction, the second electronic pet information is acquired, and the second electronic pet information is updated based on the second instruction.
2. The method according to claim 1, characterized in that The step of entering the electronic pet interaction page based on the first electronic pet information and the second electronic pet information includes: Opening a web page view on the current client; A target application for electronic pet interaction is loaded and run in the webpage view based on the first electronic pet information and the second electronic pet information.
3. The method according to claim 2, characterized in that The target application is an application in H5 format made based on the Unity engine.
4. The method according to claim 1, characterized in that: The electronic pet information includes several electronic pet attributes; Correspondingly, updating the second electronic pet information based on the second instruction includes: Determine the attributes and attribute increase value of the target electronic pet to which the second instruction acts; The target electronic pet attribute is increased based on the attribute increase value.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the terminal device corresponding to the current client exits to the desktop, the electronic pet of the current client is displayed as a target widget on the desktop.
6. The method according to claim 5, characterized in that The method further comprises: Receiving pushed target prompt information, wherein the target prompt information is prompt information generated based on the received instruction when the electronic pet of the current client receives the first instruction or the second instruction sent by other clients; The target prompt information is displayed in the target widget.
7. An electronic pet interactive device, characterized in that: The device comprises: A display module, used to display the electronic pets of each interactive user in the interactive area of the current client; A first interaction module is used to obtain, when the electronic pet of the interactive user receives the first instruction, first electronic pet information of the electronic pet of the current client and second electronic pet information of the electronic pet that has received the first instruction, and enter an electronic pet interaction page based on the first electronic pet information and the second electronic pet information; The second interaction module is used to obtain the second electronic pet information when the electronic pet of the interactive user receives the second instruction, and update the second electronic pet information based on the second instruction.
8. A computer device, characterized in that: include: at least one processor; and 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 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Pet interaction method and device, pet robot, equipment and storage medium
CN121349338A