Human-computer interaction method and device, equipment, storage medium and program product
By adding travel functions to electronic pets and simulating the travel process, the problem of lack of realism in existing electronic pet interaction methods is solved, and the spirituality and intelligence of electronic pets are improved, and the user's companionship experience is enhanced.
Patent Information
- Application Number
- CN202411522374.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-02-14
AI Technical Summary
Existing electronic pets lack realism in their interaction modes and are less intelligent, and cannot provide a spiritual and companionship experience similar to animal pets.
By adding a travel function to electronic pets, users can choose the destination travel location, and electronic pets simulate the travel process and prohibit responding to interactions that are not related to the travel function during the trip, enhancing the realism and companionship intimacy of the interaction.
It improves the spirituality and intelligence of electronic pets, makes the interaction between users and electronic pets more realistic, and increases the companionship and intimacy between electronic pets and users.
Smart Images

Figure CN119440355A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a human-computer interaction method, device, equipment, storage medium and program product. Background Art
[0002] With the rapid development of the economy, when material needs are met, more and more people seek spiritual comfort, such as raising pets. However, some families may not be suitable for raising animals due to various reasons (such as busy work, allergies, etc.), so they choose electronic pets to seek spiritual comfort. Electronic pets are electronic toys composed of electronic components (hardware and software), and now also refer to specific programs running on computers or Internet servers. Electronic pets are popular because they are easy to feed and portable.
[0003] In addition to simulated feeding, current electronic pets can also provide users with virtual assistant functions, such as responding to user voice commands to execute certain programs, such as playing songs, telling stories, answering encyclopedia questions, etc. However, this interactive method lacks the spirituality of animal pets and is less intelligent. Summary of the invention
[0004] In view of the above problems, the present application provides a human-computer interaction method, device, equipment, storage medium and program product to improve the spirituality of electronic pets, make the interaction between users and electronic pets more realistic, and increase the companionship and intimacy between electronic pets and users. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a human-computer interaction method, which is applied to an electronic device, and the method comprises:
[0006] In response to a selection operation for a target travel destination, a travel function corresponding to the target travel destination is executed to simulate the electronic pet traveling to the target travel destination; the target travel destination is any one of a plurality of travel destinations;
[0007] During the operation of the travel function, if a target interaction operation input by the user is obtained, and the target interaction operation requests interaction with the electronic pet that is unrelated to the travel function, it is prohibited to respond to the target interaction operation.
[0008] In a possible implementation, the method further includes:
[0009] Outputting prompt information, wherein the prompt information indicates that the electronic pet has traveled to the target travel destination and cannot respond to the target interactive operation.
[0010] In a possible implementation, the target interactive operation requests a first type of interaction with the electronic pet, and the first type of interaction is an interaction related to the physiological growth of the electronic pet.
[0011] In a possible implementation, the obtaining of the target interaction operation input by the user includes:
[0012] Obtaining interactive information input by the user in voice mode;
[0013] The interaction information requests a first type of interaction or a second type of interaction with the electronic pet; the first type of interaction is an interaction related to the physiological growth of the electronic pet, and the second type of interaction is an interaction related to the electronic pet as a virtual assistant.
[0014] In a possible implementation, the method further includes:
[0015] In response to an interactive menu display instruction triggered by a user, an interactive menu is displayed; the interactive menu displays multiple interactive interfaces of functions unrelated to the travel function;
[0016] In the case of obtaining a selection operation for any interactive interface, if the any interactive interface is an interactive interface corresponding to the first type of interaction, responding to the selection operation is prohibited; otherwise, a function corresponding to the any interactive interface and unrelated to the travel function is run.
[0017] In a possible implementation, during the operation of the travel function, a letter sent by the electronic pet from the target travel destination is received, and the letter includes at least one of the following contents: text, picture, video.
[0018] In a possible implementation, the electronic device is an embedded device, and the method further includes:
[0019] Obtaining a viewing instruction for the letter;
[0020] In response to the viewing instruction, the content of the letter is output; wherein, if the letter includes a video, the video is output in the following manner:
[0021] Synthesizing images in the video into a dynamic picture, and extracting audio from the video;
[0022] The dynamic picture and the audio are output synchronously.
[0023] A second aspect of the present application provides a human-computer interaction device for use in an electronic device, the device comprising:
[0024] The interactive module is used for responding to the selection operation of the target travel destination and running the travel function corresponding to the target travel destination to simulate the electronic pet traveling to the target travel destination; the target travel destination is any one of the multiple travel destinations;
[0025] The control module is used for, during the operation of the travel function, if a target interaction operation input by the user is obtained, the target interaction operation requests interaction with the electronic pet that is unrelated to the travel function, and prohibiting response to the target interaction operation.
[0026] A third aspect of the present application provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the human-computer interaction method of the first aspect or any implementation of the first aspect.
[0027] A fourth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0028] The memory is used to store computer programs;
[0029] The processor is used to execute the computer program so that the electronic device can implement the human-computer interaction method of the first aspect or any implementation manner of the first aspect.
[0030] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the human-computer interaction method of the first aspect or any implementation method of the first aspect.
[0031] By means of the above technical scheme, the human-computer interaction method, device, equipment, storage medium and program product provided by the present application respond to the selection operation for the target travel destination, run the travel function corresponding to the target travel destination, so as to simulate the electronic pet traveling to the target travel destination; the target travel destination is any one of multiple travel destinations; in the process of running the travel function, if a target interaction operation input by the user is obtained, the target interaction operation requests an interaction with the electronic pet that is not related to the travel function, and prohibits responding to the target interaction operation. Based on the present application, the electronic pet has a travel function. During the travel of the electronic pet, it is equivalent to the electronic pet leaving the user and can no longer respond to the interaction input by the user that is not related to the travel function, making the travel of the electronic pet appear more real, improving the spirituality of the electronic pet, making the interaction between the user and the electronic pet more realistic, increasing the companionship and intimacy between the electronic pet and the user, and making the electronic pet more intelligent. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0033] Figure 1 A flowchart for implementing the human-computer interaction method provided in this application;
[0034] Figure 2 An example diagram of an interactive menu provided for this application;
[0035] Figure 3 A schematic diagram of the structure of the human-computer interaction device provided by this application;
[0036] Figure 4 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0037] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0038] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0039] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0040] The human-computer interaction method and device provided by the present application can be applied to an electronic device, in which an electronic pet is installed. The electronic device can be a pet robot, that is, an electronic device with a bionic appearance, such as a dog-shaped robot (also called a robot dog), a cat-shaped robot (also called a robot cat), a panda robot, etc. An electronic pet, also called a digital pet, refers to a specific program running on a computer or an Internet server.
[0041] As an example, the hardware structure of the pet robot may include: a body, and controllable components located on the body. As an example, the body may be used to imitate the trunk of an animal pet, and the controllable components may be used to imitate other components of the animal pet except the trunk.
[0042] For example, a pet robot has: a main body for imitating an animal's body, a first type of controllable component located on the main body and shaped like the limbs of an animal pet (used to imitate the "limbs" of an animal pet), a second type of controllable component located on the main body and shaped like the ears of an animal pet (used to imitate the "ears" of an animal pet), and a display screen located on the main body (used to imitate the "face" of an animal pet), so that the shape and movement of an animal pet can be imitated based on the main body, the first type of controllable component and the second type of controllable component, and the expression of an animal pet can be imitated based on the display screen. For example, a cat-shaped robot, a dog-shaped robot, a pig-shaped robot, etc. Of course, a pet robot may also not have a display screen, in which case the pet robot cannot simulate the expression of an animal pet.
[0043] For example, a pet robot may have: a main body for imitating an animal's body, a first type of controllable component located on the main body and shaped like the wings of an animal pet (used to imitate the "wings" of an animal pet), and a second type of controllable component located on the main body and shaped like the legs of an animal pet (used to imitate the "legs" of an animal pet). In this example, the pet robot imitates a bird pet, such as a robot parrot, a robot lark, etc.
[0044] Of course, the electronic device in the present application may not be a pet robot, but a general-purpose device, such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.
[0045] As an example, an electronic pet as a virtual assistant may have at least one of the following functions: providing users with encyclopedia knowledge questions and answers, answering questions and doubts, telling stories, interpreting picture books, playing music, and interactive games, etc.
[0046] The inventor of the present application has found through research that existing electronic pets, whether used as pets or virtual assistants, lack the spirituality of real pets and have low intelligence.
[0047] In order to improve the intelligence of electronic pets, to increase the spirituality of pet robots, and to increase the companionship and intimacy between electronic pets and users, the solution of this application is proposed.
[0048] like Figure 1 As shown, a flowchart of an implementation of the human-computer interaction method provided in an embodiment of the present application may include:
[0049] Step S101: In response to a selection operation for a target travel destination, a travel function corresponding to the target travel destination is executed to simulate the electronic pet traveling to the target travel destination. The target travel destination is any one of a plurality of travel destinations.
[0050] The electronic pet of the present application has a travel function, based on which multiple virtual travel destinations (referred to as travel destinations) are set, and the user can select any one of the multiple travel destinations, and then interact with the electronic pet corresponding to the selected travel destination. As an example, the multiple travel destinations may include but are not limited to: Elf Market, Rainbow Waterfall, Sky Castle, Moonlight Lake, Magic Library, Valley of the Wind, Candy Town, Time Maze, etc.
[0051] The travel functions corresponding to the target travel destination may include but are not limited to the following aspects:
[0052] The electronic pet and the user keep in touch through letters. The electronic pet can send letters to the user from time to time, and the content of the letter includes at least one of the following: text, pictures, videos, etc. The content of the letter can describe the electronic pet's experience at the target travel destination. The user can view the letters sent back by the electronic pet.
[0053] The electronic pet sends gifts back to the user.
[0054] After the electronic pet travels, it will bring back local specialties of the destination for the user.
[0055] Step S102: During the operation of the travel function, if a target interactive operation input by the user is obtained, and the target interactive operation requests an interaction with the electronic pet that is not related to the travel function, responding to the target interactive operation is prohibited.
[0056] In the process of the electronic pet running the travel function, that is, the electronic pet traveling, the present application considers that the electronic pet is not with the user, and cannot obtain the interactive operation input by the user that is not related to the travel function. Therefore, the user and the electronic pet cannot interact with each other that is not related to the travel function, that is, the user cannot achieve functions other than the travel function by interacting with the electronic pet. Therefore, in the case of obtaining a request input by the user to interact with the electronic device that is not related to the travel function, the target interactive operation will not be responded to.
[0057] The human-computer interaction method provided by the present application is that the electronic pet has a travel function. During the electronic pet's travel, it is equivalent to the electronic pet leaving the user and can no longer respond to the user's input interactive operations unrelated to the travel function, which makes the electronic pet's travel appear more real, improves the electronic pet's spirituality, makes the interaction between the user and the electronic pet more realistic, increases the companionship and intimacy between the electronic pet and the user, and makes the electronic pet more intelligent.
[0058] In an optional embodiment, in order to enhance the user's interactive experience, on the basis of prohibiting the response to the target interactive operation, a prompt message can also be output, which indicates that the electronic pet has traveled to the target travel destination and cannot respond to the target interactive operation, that is, the function corresponding to the target interactive operation cannot be realized.
[0059] Furthermore, after the travel function corresponding to the target travel destination is completed, that is, after the electronic pet returns, if a target interaction operation input by the user is obtained, the target interaction operation is responded to to implement the function unrelated to travel corresponding to the target interaction operation.
[0060] In an optional embodiment, the target interactive operation requests a first type of interaction with the electronic pet, and the first type of interaction is an interaction related to the physiological growth of the electronic pet.
[0061] As an example, the interactions related to the physical growth of the electronic pet may include but are not limited to: feeding the electronic pet, giving water to the electronic pet, cleaning the electronic pet, treating the sick electronic pet, etc. That is, in the process of running the travel function corresponding to the target travel destination, it is impossible to perform feeding interactions such as feeding, watering, cleaning, and treating the electronic pet. The interactions related to the physical growth of the electronic pet can be called interactions directly related to the electronic pet.
[0062] In addition to the interactions related to the physical growth of the electronic pet, there are other types of interactions, such as the interaction between the electronic pet and the user when it serves as a virtual assistant, which is recorded as the second type of interaction.
[0063] In this application, electronic pets can be used as virtual assistants, and electronic devices can also be used as virtual assistants. Based on this, there are two ways for users to use the virtual assistant function:
[0064] One implementation method is that the user interacts with the electronic pet through voice, thereby realizing the function of the electronic pet as a virtual assistant.
[0065] Another implementation method is that the electronic device provides an interactive menu, and the user selects different interactive interfaces in the interactive menu to implement different functions of the electronic device as a virtual assistant.
[0066] During the electronic pet's travel, the application cannot use the function of the virtual assistant by voice interaction with the electronic pet, but can only use the function of the virtual assistant through the interactive menu provided by the electronic device. Based on this, one implementation method of the above-mentioned target interactive operation of obtaining user input can be:
[0067] The interactive information input by the user in the form of voice is obtained. That is, the electronic device can collect audio information in real time, and after collecting the user's voice, perform voice recognition on the collected voice to obtain the interactive information in the form of text.
[0068] The interactive information requests a first type of interaction or a second type of interaction with the electronic pet.
[0069] The first type of interaction refers to the interaction related to the physical growth of the electronic pet, that is, the user can perform the first type of interaction with the electronic pet through voice.
[0070] The second type of interaction refers to the interaction between the electronic pet and the user when the electronic pet is used as a virtual assistant. The interaction between the electronic pet and the user when the electronic pet is used as a virtual assistant can be called an interaction indirectly related to the electronic pet.
[0071] When the electronic pet is in the traveling state, it will no longer respond to the interactive information related to the first type of interaction and the second type of interaction input by the user. In other words, during the electronic pet's travel, functions that require the electronic pet to perform (such as feeding) or functions that can only be completed with the help of the electronic pet (such as virtual assistant) are no longer supported by the user.
[0072] Furthermore, when the electronic pet is in the travel state, if the interactive menu display instruction triggered by the user is obtained, the interactive menu is displayed, and the interactive menu displays a plurality of interactive interfaces unrelated to the travel function. Figure 2 As shown, it is an example diagram of an interactive menu provided in an embodiment of the present application. In this example, except for the "travel" interactive interface which is an interactive interface related to the travel function, the other interactive interfaces are all interactive interfaces unrelated to the travel function.
[0073] As an example, the user may trigger the electronic device to generate an interactive menu display instruction through voice, or may trigger the electronic device to generate an interactive menu display instruction by operating a preset interface provided by the electronic device.
[0074] After the interactive menu is displayed, the user can select any interactive interface. When a selection operation is obtained for any interactive interface, if the interactive interface is an interactive interface corresponding to the first type of interaction (such as Figure 2 In the interactive interface related to the physiological growth of the electronic pet, such as "food", "drinking water", "going to the toilet", "bathing", and "treatment", it is forbidden to respond to the above selection operation; otherwise, the function unrelated to the travel function corresponding to any interactive interface is run (for example, learning, games, checking the money tree, checking the breeding manual, etc.).
[0075] In the present application, the interaction related to the electronic pet's physiological growth can also be achieved through the interactive menu. However, when the electronic pet is in a traveling state, the interaction related to the electronic pet's physiological growth can neither be achieved through voice nor through the interactive menu. In other words, when the electronic pet is in a traveling state, the user is prohibited from feeding the electronic pet.
[0076] In the embodiment of the present application, the electronic device may be an embedded device, for example, an electronic device using a single-chip microcomputer system. Since the embedded device does not support video playback, in order to achieve the video playback effect in the embedded device, the human-computer interaction method provided by the present application may also include:
[0077] Get the viewing instruction for the letter. For example, the user clicks on the letter, or the user triggers the letter viewing instruction with voice.
[0078] In response to the above viewing instruction, the content in the letter is output.
[0079] If the letter contains text and / or pictures, the text and / or pictures can be directly output. If the letter contains a video, the video can be output in the following ways:
[0080] Combine images in the video into dynamic pictures (for example, pictures in gif format) and extract audio from the video;
[0081] Output the dynamic image and extracted audio synchronously.
[0082] Based on this application, the effect of playing videos in embedded devices is achieved.
[0083] Corresponding to the method embodiment, the present application also provides a human-computer interaction device. Figure 3 As shown, a schematic diagram of a structure of a human-computer interaction device provided in an embodiment of the present application may include:
[0084] Interaction module 301 and control module 302;
[0085] The interactive module 301 is used to respond to the selection operation of the target travel destination and run the travel function corresponding to the target travel destination to simulate the electronic pet traveling to the target travel destination; the target travel destination is any one of the multiple travel destinations;
[0086] The control module 302 is used to prohibit responding to a target interactive operation if a target interactive operation input by a user is obtained during the operation of the travel function. The target interactive operation requests an interaction with the electronic pet that is not related to the travel function.
[0087] The human-computer interaction device provided in the embodiment of the present application responds to the selection operation for the target travel destination and runs the travel function corresponding to the target travel destination to simulate the electronic pet traveling to the target travel destination; the target travel destination is any one of multiple travel destinations; in the process of running the travel function, if a target interaction operation input by the user is obtained, the target interaction operation requests an interaction with the electronic pet that is not related to the travel function, and the response to the target interaction operation is prohibited. Based on the present application, the electronic pet has a travel function. During the electronic pet's travel, it is equivalent to the electronic pet leaving the user and can no longer respond to the user's input interaction that is not related to the travel function, making the electronic pet's travel more real, improving the spirituality of the electronic pet, making the interaction between the user and the electronic pet more realistic, and increasing the companionship and intimacy between the electronic pet and the user, making the electronic pet more intelligent.
[0088] In an optional embodiment, it also includes:
[0089] The output module is used to output prompt information, wherein the prompt information indicates that the electronic pet has traveled to the target travel destination and cannot respond to the target interactive operation.
[0090] In an optional embodiment, the target interactive operation requests a first type of interaction with the electronic pet, and the first type of interaction is an interaction related to the physiological growth of the electronic pet.
[0091] In an optional embodiment, the target interaction operation of obtaining user input includes:
[0092] Obtaining interactive information input by the user in voice mode;
[0093] The interaction information requests a first type of interaction or a second type of interaction with the electronic pet; the first type of interaction is an interaction related to the physiological growth of the electronic pet, and the second type of interaction is an interaction related to the electronic pet as a virtual assistant.
[0094] In an optional embodiment, the control module 302 is further configured to:
[0095] In response to an interactive menu display instruction triggered by a user, an interactive menu is displayed; the interactive menu displays multiple interactive interfaces of functions unrelated to the travel function;
[0096] In the case of obtaining a selection operation for any interactive interface, if the any interactive interface is an interactive interface corresponding to the first type of interaction, responding to the selection operation is prohibited; otherwise, a function corresponding to the any interactive interface and unrelated to the travel function is run.
[0097] In an optional embodiment, the interactive module 301 receives a letter sent by the electronic pet from the target travel destination during the operation of the travel function, wherein the letter includes at least one of the following contents: text, picture, video.
[0098] In an optional embodiment, the electronic device is an embedded device, and the interaction module 301 is further used for:
[0099] Obtaining a viewing instruction for the letter;
[0100] In response to the viewing instruction, the content of the letter is output; wherein, if the letter includes a video, the video is output in the following manner:
[0101] Synthesizing images in the video into a dynamic picture, and extracting audio from the video;
[0102] The dynamic picture and the audio are output synchronously.
[0103] The present application also provides an electronic device in an embodiment. Figure 4 As shown, it shows a structural schematic diagram of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application can be a pet robot, or it can be an electronic device capable of running an electronic pet program. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0104] like Figure 4 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 to a random access memory (RAM) 403. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 403. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0105] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a memory card, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0106] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any human-computer interaction method provided in the embodiment of the present application.
[0107] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any human-computer interaction method provided in the embodiment of the present application.
[0108] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0109] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0110] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. Professionals and technicians may use different methods to implement the described functions for each specific solution, but such implementation should not be considered beyond the scope of this application.
[0111] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0112] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0113] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A human-computer interaction method, characterized in that: Applied to electronic equipment, the method comprises: In response to a selection operation for a target travel destination, a travel function corresponding to the target travel destination is executed to simulate the electronic pet traveling to the target travel destination; the target travel destination is any one of a plurality of travel destinations; During the operation of the travel function, if a target interaction operation input by the user is obtained, and the target interaction operation requests interaction with the electronic pet that is unrelated to the travel function, it is prohibited to respond to the target interaction operation.
2. The method according to claim 1, characterized in that Also includes: Outputting prompt information, wherein the prompt information indicates that the electronic pet has traveled to the target travel destination and cannot respond to the target interactive operation.
3. The method according to claim 1, characterized in that The target interactive operation requests a first type of interaction with the electronic pet, where the first type of interaction is an interaction related to the physiological growth of the electronic pet.
4. The method according to claim 1, characterized in that: The target interaction operation of obtaining user input includes: Obtaining interactive information input by the user in voice mode; The interaction information requests a first type of interaction or a second type of interaction with the electronic pet; the first type of interaction is an interaction related to the physiological growth of the electronic pet, and the second type of interaction is an interaction related to the electronic pet as a virtual assistant.
5. The method according to claim 4, characterized in that Also includes: In response to an interactive menu display instruction triggered by a user, an interactive menu is displayed; the interactive menu displays multiple interactive interfaces of functions unrelated to the travel function; In the case of obtaining a selection operation for any interactive interface, if the any interactive interface is an interactive interface corresponding to the first type of interaction, prohibiting responding to the selection operation; Otherwise, execute a function corresponding to any one of the interactive interfaces and unrelated to the travel function.
6. The method according to claim 1, characterized in that During the operation of the travel function, a letter sent by the electronic pet from the target travel destination is received, wherein the letter includes at least one of the following contents: text, picture, video.
7. The method according to claim 6, characterized in that The electronic device is an embedded device, and the method further includes: Obtaining a viewing instruction for the letter; In response to the viewing instruction, the content of the letter is output; wherein, if the letter includes a video, the video is output in the following manner: Synthesizing images in the video into a dynamic picture, and extracting audio from the video; The dynamic picture and the audio are output synchronously.
8. A human-computer interaction device, characterized in that: For use in electronic equipment, the device comprises: The interactive module is used for responding to the selection operation of the target travel destination and running the travel function corresponding to the target travel destination to simulate the electronic pet traveling to the target travel destination; the target travel destination is any one of the multiple travel destinations; The control module is used for, during the operation of the travel function, if a target interaction operation input by the user is obtained, the target interaction operation requests interaction with the electronic pet that is unrelated to the travel function, and prohibiting response to the target interaction operation.
9. A computer program product, characterized in that It comprises computer-readable instructions, and when the computer-readable instructions are executed on an electronic device, the electronic device implements the human-computer interaction method as claimed in any one of claims 1 to 7.
10. An electronic device, characterized in that: The electronic device comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the human-computer interaction method as described in any one of claims 1 to 7.
11. A computer storage medium, characterized in that: The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the human-computer interaction method as described in any one of claims 1 to 7.