Virtual image display method and device, terminal and storage medium

By displaying the virtual image on the virtual desktop and switching animations according to the state of the target application, the problem of insufficient expressiveness of the existing electronic pet virtual image is solved and the user experience is improved.

CN119336218AActive Publication Date: 2025-01-21GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Patent Information

Application Number
CN202310885860.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-18
Publication Date
2025-01-21
Estimated Expiration
2043-07-18

AI Technical Summary

Technical Problem

The virtual image expression of existing electronic pets is poor, resulting in poor user experience. How to enhance the virtual image expression has become a technical problem that needs to be solved urgently.

Method used

By displaying the avatar on the virtual desktop and switching the display animation when the target application is opened or returned to the desktop, the avatar can display actions associated with the target application based on the target application currently used by the user.

Benefits of technology

It improves the correlation between the virtual image and the target application, enhances the expressiveness of the virtual image, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336218A_ABST
    Figure CN119336218A_ABST
Patent Text Reader

Abstract

The invention provides a virtual image display method and device, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying first desktop wallpaper on a virtual desktop, wherein the first desktop wallpaper displays a first virtual image; in response to a starting operation on a target application, displaying an application interface of the target application, the target application being any application in the terminal, and the application interface displaying application information of the target application; in response to a desktop returning operation, the first desktop wallpaper is switched to be displayed as second desktop wallpaper, the second desktop wallpaper displays a first animation of the first virtual image, and the first animation displays an action associated with the target application, of the first virtual image. According to the scheme, the relevance between the virtual image and the target application can be improved, the expressive force of the virtual image is enhanced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, terminal and storage medium for displaying a virtual image. Background Art

[0002] With the continuous development of terminal technology, electronic pets, as a virtual pet image, are becoming more and more popular among users. Electronic pets allow users to experience the fun of raising pets without having to endure the troubles or disputes caused by raising real pets, such as the noise caused by the barking of cats and dogs, and the dirty environment caused by hair loss and feces.

[0003] At present, electronic pets are usually displayed on the desktop of the terminal, and users can interact with the electronic pets by clicking on the virtual image of the electronic pet. However, in this solution, the electronic pet can only respond to simple click operations, and the terminal displays the animation corresponding to the click operation. The expressiveness of the virtual image is poor, resulting in a poor user experience. Therefore, how to enhance the expressiveness of the virtual image is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a method, device, terminal and storage medium for displaying a virtual image, which can improve the relevance of the virtual image to the target application, enhance the expressiveness of the virtual image and improve the user experience. The technical solution is as follows:

[0005] According to one aspect of an embodiment of the present application, a method for displaying a virtual image is provided, the method comprising:

[0006] Displaying a first desktop wallpaper on the virtual desktop, wherein the first desktop wallpaper displays a first virtual image;

[0007] In response to an opening operation of a target application, an application interface of the target application is displayed, the target application being any application in the terminal, and the application interface displays application information of the target application;

[0008] In response to a return to desktop operation, the first desktop wallpaper is switched to a second desktop wallpaper, the second desktop wallpaper displays a first animation of the first virtual image, and the first animation displays an action associated with the first virtual image and the target application.

[0009] According to another aspect of an embodiment of the present application, a device for displaying a virtual image is provided, the device comprising:

[0010] A first display module, configured to display a first desktop wallpaper on a virtual desktop, wherein the first desktop wallpaper displays a first virtual image;

[0011] A second display module, configured to display an application interface of the target application in response to an opening operation of the target application, wherein the target application is any application in the terminal, and the application interface displays application information of the target application;

[0012] The first display module is further used to switch the first desktop wallpaper to a second desktop wallpaper in response to a return to desktop operation, wherein the second desktop wallpaper displays a first animation of the first virtual image, and the first animation displays an action associated with the first virtual image and the target application.

[0013] In some embodiments, the first display module includes:

[0014] a determining unit, configured to determine, in response to the return to desktop operation, the first animation based on the application type of the target application, wherein the first animation displays an action of the first virtual image associated with the application type;

[0015] The display unit is configured to display the virtual desktop in response to the return to desktop operation being completed, and to switch the first desktop wallpaper currently displayed on the virtual desktop to the second desktop wallpaper.

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

[0017] A first determining module is used to determine the application state of the target application in response to the return to desktop operation being completed, wherein the application state includes a closed state and a background running state, wherein the closed state is used to indicate that the application process of the target application is closed, and the background running state is used to indicate that the application process of the target application is running in the background;

[0018] The first display module is further configured to, when the application state is the closed state, switch the second desktop wallpaper to the first desktop wallpaper in response to a display time of the second desktop wallpaper being greater than a time threshold;

[0019] The first display module is further configured to continuously display the second desktop wallpaper on the virtual desktop when the application state is the background running state.

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

[0021] a second determining module, configured to, in response to detecting that the system state of the terminal is updated, determine a second animation of the first virtual image based on the updated system state, wherein the second animation displays an action of the first virtual image associated with the system state;

[0022] The first display module is further used to switch the first desktop wallpaper to a third desktop wallpaper, and the third desktop wallpaper displays the second animation.

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

[0024] The second determining module is further configured to, in response to detecting that weather information is updated, determine a third animation of the first virtual image based on the updated weather information, wherein the weather information is used to indicate a weather condition associated with the geographical location of the terminal, and the third animation displays an action of the first virtual image associated with the weather information;

[0025] The first display module is further used to switch the first desktop wallpaper to a fourth desktop wallpaper, and the fourth desktop wallpaper displays the third animation.

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

[0027] A third determination module is used to determine the real-time distance between the eyes of the user and the screen of the terminal based on the key points of the face of the user of the terminal when the first virtual image is in a stationary state;

[0028] The first display module is further configured to, in response to a decrease in the real-time distance when the real-time distance is not less than the first distance and not greater than the second distance, switch the first desktop wallpaper to a fifth desktop wallpaper, wherein the fifth desktop wallpaper displays a fourth animation of the first virtual image, and the fourth animation displays an action of the first virtual image approaching the screen;

[0029] The first display module is further configured to switch the first desktop wallpaper to a sixth desktop wallpaper in response to the increase in the real-time distance, wherein the sixth desktop wallpaper displays a fifth animation of the first virtual image, and the fifth animation displays an action of the first virtual image moving away from the screen.

[0030] In some embodiments, the first display module is further used to determine the difference between the initial distance between the eye and the screen and the real-time distance as the reduction value of the real-time distance in response to the reduction of the real-time distance; and is used to switch the first desktop wallpaper to the fifth desktop wallpaper when the reduction value is greater than a third distance and the real-time distance is not less than the first distance.

[0031] In some embodiments, the first display module is further used to determine, in response to the increase in the real-time distance, the difference between the real-time distance and the initial distance between the eye and the screen as the increase value of the real-time distance; when the increase value is greater than a third distance and the real-time distance is not greater than the second distance, switch the first desktop wallpaper to the sixth desktop wallpaper.

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

[0033] a fourth determining module, configured to determine a state of the first virtual image in response to a triggering operation on the first virtual image;

[0034] The first display module is further configured to switch the first desktop wallpaper to a seventh desktop wallpaper when the first virtual image is in a stationary state, wherein the seventh desktop wallpaper displays a sixth animation of the first virtual image, and the sixth animation displays an action of associating the first virtual image with the real-time time of the terminal;

[0035] The first display module is further used to switch the first desktop wallpaper to an eighth desktop wallpaper when the first virtual image is not in the static state, the eighth desktop wallpaper displays a seventh animation of the first virtual image, and the seventh animation displays an action associated with a current action of the first virtual image.

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

[0037] The fourth determining module is further configured to, in response to a continuous click operation on the first virtual image, determine an eighth animation of the first virtual image based on the real time of the terminal when the number of continuous clicks on the first virtual image is greater than a number threshold, wherein the eighth animation displays an action of the first virtual image associated with the real time;

[0038] The first display module is further configured to switch the first desktop wallpaper to a ninth desktop wallpaper in response to the completion of the continuous clicking operation, wherein the ninth desktop wallpaper displays the eighth animation.

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

[0040] The fourth determining module is further configured to determine a second virtual image from a virtual image set when the total number of clicks on the first virtual image within a time threshold is greater than a number threshold, the virtual image set including a plurality of different virtual images, the second virtual image being any virtual image in the virtual image set except the first virtual image;

[0041] The first display module is further used to switch the first desktop wallpaper to a tenth desktop wallpaper, wherein the tenth desktop wallpaper displays a ninth interactive animation, and the ninth interactive animation displays actions of the first virtual image and the second virtual image interacting with each other.

[0042] According to another aspect of an embodiment of the present application, a terminal is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the method for displaying a virtual image as described in the above aspect.

[0043] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for displaying a virtual image as described in the above aspects.

[0044] According to another aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement the method for displaying a virtual image described in the above aspects.

[0045] According to another aspect of an embodiment of the present application, a computer program product is provided, wherein the computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for displaying a virtual image described in the above aspect.

[0046] The embodiment of the present application provides a method for displaying a virtual image, and when a start operation of a target application is detected, the terminal can display the application interface of the target application. And when an operation of returning from the application interface to the desktop is detected, the terminal switches the currently displayed first desktop wallpaper to a second desktop wallpaper displaying a first interactive animation of the first virtual image, so that the first virtual image can display actions associated with the target application according to the target application currently used by the user, thereby improving the relevance of the virtual image to the target application, enhancing the expressiveness of the virtual image, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 It is a schematic diagram of an implementation environment of a method for displaying a virtual image provided by an embodiment of the present application;

[0049] Figure 2 is a flow chart of a method for displaying a virtual image provided by an embodiment of the present application;

[0050] Figure 3 is a flow chart of another method for displaying a virtual image provided by an embodiment of the present application;

[0051] Figure 4 is a schematic diagram of a first desktop wallpaper provided in an embodiment of the present application;

[0052] Figure 5 is a schematic diagram of a second desktop wallpaper provided in an embodiment of the present application;

[0053] Figure 6 is a schematic diagram of a third desktop wallpaper provided in an embodiment of the present application;

[0054] Figure 7 is a schematic diagram of a fourth desktop wallpaper provided in an embodiment of the present application;

[0055] Figure 8 is a schematic diagram of a seventh desktop wallpaper provided in an embodiment of the present application;

[0056] Fig. 9 is a schematic diagram of an eighth desktop wallpaper provided in an embodiment of the present application;

[0057] Fig.10 It is a structural schematic diagram of a virtual image display device provided in an embodiment of the present application;

[0058] Fig.11 is a schematic structural diagram of another virtual image display device provided in an embodiment of the present application;

[0059] Fig.12 It is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0061] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0062] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the desktop wallpaper, application information, weather information, and facial key points of the user involved in this application are all obtained with full authorization.

[0063] The method for displaying a virtual image provided by the embodiment of the present application can be executed by a terminal. Figure 1 Schematic diagram of an implementation environment of a method for displaying a virtual image provided by an embodiment of the present application. Figure 1 The implementation environment includes a terminal 101 and a server 102. The terminal 101 can be directly or indirectly connected to the server 102 through wired or wireless communication, which is not limited in this application.

[0064] In some embodiments, the terminal 101 is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart watch, an intelligent voice interaction device, a vehicle-mounted terminal, etc., but is not limited thereto. A client supporting electronic pets is installed and running on the terminal 101. Schematically, the terminal 101 is a terminal used by a user, and the user can select a virtual image of the electronic pet through the client on the terminal 101. Based on the solution disclosed in the present application, the terminal 101 can also display the virtual image on the desktop wallpaper, and the animation of the virtual image is associated with the application that the user is using.

[0065] In some embodiments, the server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server 102 is used to provide background services for clients that support electronic pets.

[0066] In some embodiments, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.

[0067] Figure 2 is a flow chart of a method for displaying a virtual image provided by an embodiment of the present application. The method is executed by a terminal, see Figure 2 , the method comprising:

[0068] 201. Display a first desktop wallpaper on a virtual desktop, wherein the first desktop wallpaper displays a first virtual image.

[0069] In an embodiment of the present application, a first desktop wallpaper is displayed on the virtual desktop of the terminal, and the first desktop wallpaper displays a first virtual image. The first virtual image can be any virtual image, such as a kitten, a puppy, a bird, etc. The user can select the corresponding virtual image according to his or her preferences. Among them, the first desktop wallpaper can display a static first virtual image, and can also display a dynamic first virtual image, which is not limited by the embodiment of the present application. For example, when the terminal displays the first desktop wallpaper for the first time, the first virtual image displayed by the first desktop wallpaper can show corresponding actions, such as a waving welcome action. When the first desktop wallpaper is not displayed for the first time, if the user's triggering operation on the first virtual image is not detected, the first virtual image remains stationary, that is, the first desktop wallpaper displays a static first virtual image.

[0070] 202. In response to an opening operation on a target application, an application interface of the target application is displayed. The target application is any application in the terminal. The application interface displays application information of the target application.

[0071] In the embodiment of the present application, the target application is any application in the terminal, and the target application can be an audio application, a video application, a camera application, a picture application, etc., which is not limited by the embodiment of the present application. Optionally, a shortcut entry of the target application is displayed on the virtual desktop. By triggering the shortcut entry, the terminal can open the target application and display the application interface of the target application. The application interface displays the application information of the target application. For example, the target application is an atlas application, and the application information of the target application includes the type of atlas, the number of multimedia resources in each atlas, etc.

[0072] 203. In response to a return to desktop operation, the first desktop wallpaper is switched to a second desktop wallpaper, the second desktop wallpaper displays a first animation of the first virtual image, and the first animation displays an action associated with the first virtual image and the target application.

[0073] In an embodiment of the present application, after the target application is turned on, the terminal can obtain a first animation of the first virtual image, and the first animation displays the action of the first virtual image associated with the target application. For example, when the target application is a music application, the first animation displays the action of the first virtual image wearing headphones and listening to music. When the target application is a camera application, the first animation displays the action of the first virtual image taking a photo with its back to the screen. Therefore, when the user performs an operation of returning from the application interface of the target application to the virtual desktop, the terminal can display the virtual desktop and switch the first desktop wallpaper currently displayed on the virtual desktop to a second desktop wallpaper for displaying the first animation of the first virtual image.

[0074] The embodiment of the present application provides a method for displaying a virtual image, and when a start operation of a target application is detected, the terminal can display the application interface of the target application. And when an operation of returning from the application interface to the desktop is detected, the terminal switches the currently displayed first desktop wallpaper to a second desktop wallpaper displaying a first interactive animation of the first virtual image, so that the first virtual image can display actions associated with the target application according to the target application currently used by the user, thereby improving the relevance of the virtual image to the target application, enhancing the expressiveness of the virtual image, and improving the user experience.

[0075] Figure 3 is a flowchart of another method for displaying a virtual image provided by an embodiment of the present application. The method is executed by a terminal, see Figure 3 , the method comprising:

[0076] 301. Display a first desktop wallpaper on a virtual desktop, wherein the first desktop wallpaper displays a first virtual image.

[0077] In an embodiment of the present application, a first desktop wallpaper is displayed on the virtual desktop of the terminal, and the first desktop wallpaper displays a first virtual image. The first virtual image can be any virtual image, such as a kitten, a puppy, a bird, etc. The user can select the corresponding virtual image according to his or her preferences. Among them, the first desktop wallpaper can display a static first virtual image, and can also display a dynamic first virtual image, which is not limited by the embodiment of the present application. For example, when the terminal displays the first desktop wallpaper for the first time, the first virtual image displayed by the first desktop wallpaper can show corresponding actions, such as a waving welcome action. When the first desktop wallpaper is not displayed for the first time, if the user's triggering operation on the first virtual image is not detected, the first virtual image remains stationary, that is, the first desktop wallpaper displays a static first virtual image.

[0078] For example, Figure 4 Schematic diagram of a first desktop wallpaper provided in an embodiment of the present application. Figure 4As shown, the first virtual image displayed by the first desktop wallpaper is a virtual image of a bird, and at this time the first virtual image is in a static state.

[0079] It should be noted that the terminal can switch the first desktop wallpaper to other desktop wallpapers through various schemes. For the specific content of scheme 1, please refer to steps 302-304 below, for the specific content of scheme 2, please refer to steps 305-306 below, for the specific content of scheme 3, please refer to steps 307-308 below, and for the specific content of scheme 4, please refer to steps 309-311 below.

[0080] 302. In response to an opening operation on a target application, an application interface of the target application is displayed. The target application is any application in the terminal. The application interface displays application information of the target application.

[0081] In the embodiment of the present application, the target application is any application in the terminal, and the target application can be an audio application, a video application, a camera application, a picture application, etc., which is not limited by the embodiment of the present application. Optionally, a shortcut entry of the target application is displayed on the virtual desktop. By triggering the shortcut entry, the terminal can open the target application and display the application interface of the target application. The application interface displays the application information of the target application. For example, the target application is an atlas application, and the application information of the target application includes the type of atlas, the number of multimedia resources in each atlas, etc.

[0082] 303. In response to a return to desktop operation, determine a first animation of the first virtual image based on an application type of the target application, wherein the first animation displays an action associated with the first virtual image and the application type.

[0083] In an embodiment of the present application, when the terminal returns to the virtual desktop from the application interface of the target application in response to the return to desktop operation, the terminal can determine the first animation of the first virtual image based on the application type of the target application, and the first animation displays the action of the first virtual image associated with the application type. For example, for music applications, the first animation displays the action of the first virtual image wearing headphones to listen to music. For video applications, the first animation displays the action of the first virtual image facing the computer to watch a video. For camera applications, the first animation displays the action of the first virtual image taking a photo with its back to the screen.

[0084] 304. In response to the return to desktop operation being completed, the virtual desktop is displayed, and the first desktop wallpaper currently displayed on the virtual desktop is switched to a second desktop wallpaper, where the second desktop wallpaper displays the first animation.

[0085] In the embodiment of the present application, when the return to desktop operation is completed, the terminal can display the virtual desktop and switch the first desktop wallpaper currently displayed on the virtual desktop to the second desktop wallpaper for displaying the first animation.

[0086] For example, Figure 5 is a schematic diagram of a second desktop wallpaper provided in an embodiment of the present application. Figure 5 As shown, the first virtual image is a virtual image of a bird. When the target application is a communication application, when returning to the virtual desktop from the application interface of the target application, the terminal can display the second desktop wallpaper 501 on the virtual desktop, and the first animation displayed by the second desktop wallpaper 501 is the action of the first virtual image holding a mobile phone and making a call. When the target application is a music or video application, when returning to the virtual desktop from the application interface of the target application, the terminal can display the second desktop wallpaper 502 on the virtual desktop, and the first animation displayed by the second desktop wallpaper 502 is the action of the first virtual image wearing headphones to listen to music and watch videos. When the target application is an album or picture application, when returning to the virtual desktop from the application interface of the target application, the terminal can display the second desktop wallpaper 503 on the virtual desktop, and the first animation displayed by the second desktop wallpaper 503 is the action of the first virtual image taking a photo with its back to the screen.

[0087] In some embodiments, after the terminal returns to the virtual desktop, it can display the corresponding desktop wallpaper according to the application state of the target application. Accordingly, in response to the end of the return to desktop operation, the application state of the target application is determined, and the application state includes a closed state and a background running state. The closed state is used to indicate that the application process of the target application is closed, and the background running state is used to indicate that the application process of the target application is running in the background; when the application state is the closed state, in response to the display time of the second desktop wallpaper being greater than the time threshold, the second desktop wallpaper is switched to be displayed as the first desktop wallpaper; when the application state is the background running state, the second desktop wallpaper is continuously displayed on the virtual desktop. Among them, after the terminal returns to the virtual desktop from the application interface, the target application can be in a closed state or in a background running state. Since the second desktop wallpaper is displayed on the virtual desktop at this time, the first animation displayed by the second desktop wallpaper shows the action of the first virtual image associated with the target application. Therefore, when the application state of the target application is the closed state, it indicates that the user has ended the use of the target application. Therefore, when the display time of the second desktop wallpaper is greater than the time threshold, the terminal can switch the second desktop wallpaper to be displayed as the first desktop wallpaper. When the application state of the target application is the background running state, it indicates that the user has not ended the use of the target application. Therefore, the terminal can continuously display the second desktop wallpaper on the virtual desktop. After the target application is closed, the terminal will not immediately stop displaying the second desktop wallpaper, but will switch to display the first desktop wallpaper after the second desktop wallpaper is displayed for the first time, so as to avoid the user not seeing the actions associated with the previously used target application displayed by the first virtual image when returning to the desktop, thereby enhancing the expressiveness of the virtual image and improving the user experience.

[0088] 305. In response to detecting that the system state of the terminal is updated, determine a second animation of the first virtual image based on the updated system state, wherein the second animation displays an action of the first virtual image associated with the system state.

[0089] In an embodiment of the present application, when the terminal detects that the system status has been updated, the terminal can determine, based on the updated system status, a second animation showing the action of the first virtual image associated with the system status. The system status of the terminal includes low battery, charging, and restarting. When the updated system status is low battery, the second animation shows the action of the first virtual image lying prone and tired. When the updated system status is charging, the second animation shows the action of the first virtual image exercising. When the updated system status is restarting, the second animation shows the action of the first virtual image standing and waving.

[0090] 306. Switch the first desktop wallpaper to a third desktop wallpaper, where the third desktop wallpaper displays the second animation.

[0091] In the embodiment of the present application, after acquiring the second animation of the first virtual image, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to a third desktop wallpaper for displaying the second animation. When the system state of the terminal changes, by displaying the third desktop wallpaper on the virtual desktop, the user can watch the actions associated with the system state displayed by the first virtual image, thereby enhancing the expressiveness of the virtual image and improving the user experience.

[0092] For example, Figure 6 is a schematic diagram of a third desktop wallpaper provided in an embodiment of the present application. Figure 6 As shown, the first virtual image is a virtual image of a bird. At this time, the updated system state is that the terminal is charging, and the terminal displays the third desktop wallpaper on the virtual desktop. The second animation displayed by the third desktop wallpaper shows the first virtual image doing fitness.

[0093] 307. In response to detecting that weather information is updated, a third animation of the first virtual image is determined based on the updated weather information, the weather information is used to indicate weather conditions associated with the geographical location of the terminal, and the third animation displays an action of the first virtual image associated with the weather information.

[0094] In an embodiment of the present application, when the terminal detects that the weather information has been updated, the terminal can determine, based on the updated weather information, a third animation showing the action of the first virtual image associated with the weather information. The weather information of the terminal is used to indicate the weather conditions associated with the geographical location of the terminal, such as sunny, rainy, snowy, windy, dusty, etc. For example, when the weather condition indicated by the updated weather information is raining, the third animation shows the action of the first virtual image holding an umbrella or wiping the glass. When the weather condition indicated by the updated weather information is snowing, the third animation shows the action of the first virtual image making a snowman.

[0095] 308. Switch the first desktop wallpaper to a fourth desktop wallpaper, where the fourth desktop wallpaper displays a third animation.

[0096] In the embodiment of the present application, after obtaining the third animation of the first virtual image, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to the fourth desktop wallpaper for displaying the third animation. When the terminal changes the weather information, by displaying the fourth desktop wallpaper on the virtual desktop, the user can watch the action associated with the weather information displayed by the first virtual image, thereby enhancing the expressiveness of the virtual image and improving the user experience.

[0097] For example, Figure 7 is a schematic diagram of a fourth desktop wallpaper provided in an embodiment of the present application. Figure 7 As shown, the first virtual image is a virtual image of a bird. At this time, the updated weather information is raining, and the terminal displays the fourth desktop wallpaper 701 or the fourth desktop wallpaper 702 on the virtual desktop. The third animation displayed by the fourth desktop wallpaper shows the action of the first virtual image holding an umbrella or cleaning the glass.

[0098] 309. When the first virtual image is in a stationary state, determine the real-time distance between the eyes of the user and the screen of the terminal based on key points of the face of the user of the terminal.

[0099] In an embodiment of the present application, when the first virtual image displayed by the first desktop wallpaper is in a stationary state, the terminal can turn on the front camera to detect the user of the terminal. Among them, the front camera is a somatosensory camera, which can detect and analyze the posture and movement of the user. The user is a user who uses the terminal. In the process of the user watching the screen of the terminal, the front camera can capture the facial information of the user in real time to determine multiple facial key points of the user. Among them, the facial key points include eyebrows, eyes, pupils, nose and mouth. Based on the facial key points of the user, the terminal can determine the eye key points of the user, and then determine the distance between the eyes of the user and the screen. The distance is a real-time distance and can change with the movement of the user or the movement of the screen.

[0100] 310. When the real-time distance is not less than the first distance and not greater than the second distance, in response to a decrease in the real-time distance, the first desktop wallpaper is switched to a fifth desktop wallpaper, the fifth desktop wallpaper displays a fourth animation of the first virtual image, and the fourth animation displays an action of the first virtual image approaching the screen.

[0101] In an embodiment of the present application, the first distance is the closest distance at which the front camera can detect the user object, and the second distance is the farthest distance at which the front camera can detect the user object. Among them, the first distance can be 15 cm, and the second distance can be 60 cm. When the real-time distance between the user's eyes and the screen is not less than the first distance and not greater than the second distance, it indicates that the front camera can detect the user's face at this time, and determine the real-time distance between the eyes and the screen based on the collected facial information. Therefore, when it is detected that the real-time distance is reduced, it indicates that the user's eyes are close to the screen, and the terminal can obtain the fourth animation of the first virtual image, which shows the action of the first virtual image approaching the screen. Correspondingly, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to the fifth desktop wallpaper showing the fourth animation. When the terminal detects that the human eye is close to the screen, by displaying the fifth desktop wallpaper on the virtual desktop, the user can see the action of the first virtual image approaching the screen while approaching the screen. The interaction between the user and the virtual image can be achieved without the user clicking on the first virtual image, which enhances the expressiveness of the virtual image and improves the user experience.

[0102] In some embodiments, the terminal can switch to display the desktop wallpaper only when the reduction value of the real-time distance is greater than a certain distance. Accordingly, in response to the reduction of the real-time distance, the difference between the initial distance between the eye and the screen and the real-time distance is determined as the reduction value of the real-time distance; when the reduction value is greater than the third distance and the real-time distance is not less than the first distance, the first desktop wallpaper is switched to display the fifth desktop wallpaper. Among them, the initial distance is the initial distance when the distance between the eyes of the user and the screen of the terminal has not changed. The third distance is the minimum distance for triggering the switching display of the desktop wallpaper, and the third distance can be 5cm. Therefore, when the difference between the initial distance and the current real-time distance is greater than the third distance and the current real-time distance is not less than the first distance, it indicates that the reduction value of the real-time distance is greater than the third distance and the reduced real-time distance is not less than the closest distance at which the front camera can detect the user. Therefore, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to display the fifth desktop wallpaper with the fourth animation.

[0103] 311. In response to the real-time distance increasing, the first desktop wallpaper is switched to a sixth desktop wallpaper, the sixth desktop wallpaper displays a fifth animation of the first virtual image, and the fifth animation displays a movement of the first virtual image moving away from the screen.

[0104] In an embodiment of the present application, when an increase in the real-time distance is detected, indicating that the eyes of the user are away from the screen, the terminal can obtain the fifth animation of the first virtual image, which shows the action of the first virtual image moving away from the screen. Correspondingly, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to the sixth desktop wallpaper showing the fifth animation. When the terminal detects that the human eyes are away from the screen, by displaying the sixth desktop wallpaper on the virtual desktop, the user can see the action of the first virtual image moving away from the screen while moving away from the screen. The interaction between the user and the virtual image can be achieved without the user clicking on the first virtual image, which enhances the expressiveness of the virtual image and improves the user experience.

[0105] In some embodiments, the terminal can switch to display the desktop wallpaper only when the increase value of the real-time distance is greater than a certain distance. In response to the increase in real-time distance, the difference between the real-time distance and the initial distance between the eye and the screen is determined as the increase value of the real-time distance; when the increase value is greater than the third distance and the real-time distance is not greater than the second distance, the first desktop wallpaper is switched to display the sixth desktop wallpaper. Among them, the initial distance is the initial distance when the distance between the eyes of the user and the screen of the terminal has not changed. The third distance is the minimum distance for triggering the switching display of the desktop wallpaper, and the third distance can be 5cm. Therefore, when the difference between the initial distance and the current real-time distance is greater than the third distance and the current real-time distance is not greater than the second distance, it indicates that the increase value of the real-time distance is greater than the third distance and the increased real-time distance is not greater than the farthest distance at which the front camera can detect the user. Therefore, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to display the sixth desktop wallpaper with the fifth animation.

[0106] In some embodiments, the terminal can switch to display different desktop wallpapers according to the state of the virtual image when the virtual image is triggered. Accordingly, in response to the triggering operation of the first virtual image, the state of the first virtual image is determined; when the first virtual image is in a stationary state, the first desktop wallpaper is switched to display the seventh desktop wallpaper, the seventh desktop wallpaper displays the sixth animation of the first virtual image, and the sixth animation displays the action of the first virtual image associated with the real-time time of the terminal; when the first virtual image is not in a stationary state, the first desktop wallpaper is switched to display the eighth desktop wallpaper, the eighth desktop wallpaper displays the seventh animation of the first virtual image, and the seventh animation displays the action associated with the current action of the first virtual image. Wherein, when the first virtual image displayed by the first desktop wallpaper is in a stationary state, it indicates that the first virtual object remains stationary and is not showing an action. At this time, the terminal can determine the sixth animation of the first virtual image based on the real-time time of the terminal, and the sixth animation displays the action associated with the first virtual image and the real-time time. Accordingly, in response to the user's triggering operation on the stationary first virtual image, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to the seventh desktop wallpaper displaying the sixth animation.

[0107] On the contrary, when the first virtual image displayed by the first desktop wallpaper is not in a static state, it indicates that the first virtual object is showing an action. At this time, the terminal can obtain the seventh animation of the first virtual image, and the seventh animation shows an action associated with the currently displayed action of the first virtual image. Accordingly, in response to the user's triggering operation on the static first virtual image, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to the eighth desktop wallpaper showing the seventh animation. When the user clicks on the first virtual image, the terminal allows the first virtual image to show an action associated with the real time when the first virtual image is static. Alternatively, when the first virtual image shows an action, allowing the first virtual image to show other actions associated with the currently displayed action can enhance the expressiveness of the virtual image, enhance the interactive experience between the user and the virtual image, and further improve the efficiency of human-computer interaction.

[0108] For example, Figure 8 is a schematic diagram of a seventh desktop wallpaper provided in an embodiment of the present application. Figure 8 As shown, the first virtual image is a virtual image of a bird. When the real time is 7:30 to 11:00 in the morning, the sixth animation displayed by the seventh desktop wallpaper 801 shows the action of the first virtual image jumping happily. When the real time is 11:00 to 1:30 in the morning or 5:30 to 7:00 in the afternoon, the sixth animation displayed by the seventh desktop wallpaper 802 shows the action of the first virtual image eating. When the real time is 1:30 to 2:30 in the afternoon or 10:00 to 7:30 in the evening, the sixth animation displayed by the seventh desktop wallpaper 803 shows the action of the first virtual image sleeping. When the real time is 2:30 to 5:30 in the afternoon, the sixth animation displayed by the seventh desktop wallpaper 804 shows the action of the first virtual image reading a book. When the real time is 7:00 to 10:00 in the evening, the sixth animation displayed by the seventh desktop wallpaper 805 shows the action of the first virtual image playing with toys.

[0109] For example, Fig. 9 is a schematic diagram of an eighth desktop wallpaper provided in an embodiment of the present application. Fig. 9 As shown, the first virtual image is a virtual image of a bird. When the action currently displayed by the first virtual image is reading a book, after clicking the first virtual image in the first desktop wallpaper 901, the terminal can switch the first desktop wallpaper 901 to the eighth desktop wallpaper 902. The eighth desktop wallpaper 902 displays an action associated with the reading action of the first virtual image, that is, the action of the first virtual image playing with toys.

[0110] In some embodiments, the terminal can trigger the virtual image to display a special action by continuously clicking on the virtual image. Accordingly, in response to the continuous click operation on the first virtual image, when the number of continuous clicks on the first virtual image is greater than the number threshold, the eighth animation of the first virtual image is determined based on the real-time time of the terminal, and the eighth animation displays the action of the first virtual image associated with the real-time time; in response to the end of the continuous click operation, the first desktop wallpaper is switched to the ninth desktop wallpaper, and the ninth desktop wallpaper displays the eighth animation. Among them, when the user continuously clicks on the first virtual image displayed by the first desktop wallpaper, the terminal can determine whether it is daytime or night based on the current time of the terminal when the number of continuous clicks is greater than the number threshold, and then obtain the eighth animation associated with daytime or night. Continuously click the first virtual image during the day, and the eighth animation displays the first virtual image in an excited state, and virtual fireworks bloom around the first virtual image. Continuously click the first virtual image at night, and the eighth animation displays the first virtual image in an angry state, and the first virtual image will show the action of leaving the screen in anger. After the continuous click operation ends, the terminal can switch the first desktop wallpaper currently displayed on the virtual desktop to the ninth desktop wallpaper displaying the eighth animation. When the user continuously clicks on the first virtual image, the first virtual image can be made to display special actions associated with real time, thereby enhancing the expressiveness of the virtual image and improving the interactive experience between the user and the virtual image.

[0111] In some embodiments, in addition to displaying the first virtual image, the terminal can also display the first virtual image and other virtual images for interaction. Accordingly, when the total number of clicks on the first virtual image within the duration threshold is greater than the number threshold, the second virtual image is determined from the virtual image set, the virtual image set includes multiple different virtual images, and the second virtual image is any virtual image in the virtual image set except the first virtual image; the first desktop wallpaper is switched to the tenth desktop wallpaper, the tenth desktop wallpaper displays the ninth interactive animation, and the ninth interactive animation displays the actions of the first virtual image and the second virtual image when interacting. Among them, when the total number of clicks on the first virtual image within the duration threshold is greater than the number threshold, it indicates that the user has a high frequency of interaction with the first virtual image within the duration threshold, and the "visiting mechanism" can be triggered at this time, that is, the terminal can select another virtual image from the virtual image set, that is, the second virtual image interacts with the first virtual image. Correspondingly, the terminal switches the first desktop wallpaper currently displayed on the virtual desktop to the tenth desktop wallpaper displayed with the ninth animation. The ninth animation displays the actions of the first virtual image and the second virtual image when interacting. When the total number of times the user clicks on the first virtual image within a period of time is greater than a threshold number of times, by showing the actions of the first virtual image interacting with other virtual images, the expressiveness of the virtual image can be enhanced, thereby improving the interactive experience of the user with the virtual image.

[0112] In some implementations, when the terminal displays the animation of the first virtual image on the desktop wallpaper, the terminal plays audio data associated with the action when displaying the action of the first virtual image. For example, when displaying the action of the first virtual image holding an umbrella, the sound of rain can be played. When displaying the action of the first virtual image listening to music with headphones, the sound of humming music can be played.

[0113] In some implementations, when the user clicks on the first virtual image, the terminal can vibrate while clicking on the first virtual image.

[0114] It should be noted that the animation of the first virtual image displayed on the desktop wallpaper in the present application can be an animation composed of multiple static images played continuously; it can also be a two-dimensional animation generated by shooting the first virtual image in three-dimensional space, and the terminal plays the two-dimensional animation through the desktop wallpaper; or, the desktop wallpaper is a three-dimensional space wallpaper, the first virtual image can move in the three-dimensional space, and the desktop wallpaper is used to display the activities of the first virtual image in the three-dimensional space. This application does not impose any restrictions on this.

[0115] The embodiment of the present application provides a method for displaying a virtual image, and when a start operation of a target application is detected, the terminal can display the application interface of the target application. And when an operation of returning from the application interface to the desktop is detected, the terminal switches the currently displayed first desktop wallpaper to a second desktop wallpaper displaying a first interactive animation of the first virtual image, so that the first virtual image can display actions associated with the target application according to the target application currently used by the user, thereby improving the relevance of the virtual image to the target application, enhancing the expressiveness of the virtual image, and improving the user experience.

[0116] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0117] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0118] Fig.10 is a schematic diagram of the structure of a virtual image display device provided in an embodiment of the present application. Fig.10 , the device comprises:

[0119] A first display module 1001 is used to display a first desktop wallpaper on a virtual desktop, where the first desktop wallpaper displays a first virtual image;

[0120] The second display module 1002 is used to display an application interface of the target application in response to an opening operation of the target application, where the target application is any application in the terminal, and the application interface displays application information of the target application;

[0121] The first display module 1001 is further used to switch the first desktop wallpaper to a second desktop wallpaper in response to a return to desktop operation, wherein the second desktop wallpaper displays a first animation of the first virtual image, and the first animation displays an action associated with the first virtual image and the target application.

[0122] In some embodiments, Fig.11 is a schematic diagram of the structure of another virtual image display device provided in an embodiment of the present application. Fig.11 , the first display module 1001 includes:

[0123] A determining unit 1101 is configured to determine, in response to a return to desktop operation, a first animation based on an application type of a target application, wherein the first animation displays an action associated with a first virtual image and an application type;

[0124] The display unit 1102 is configured to display the virtual desktop in response to the return to desktop operation being completed, and switch the first desktop wallpaper currently displayed on the virtual desktop to the second desktop wallpaper.

[0125] In some embodiments, see Fig.11 , the device further comprises:

[0126] The first determining module 1003 is used to determine the application state of the target application in response to the return to desktop operation being completed, where the application state includes a closed state and a background running state, where the closed state is used to indicate that the application process of the target application is closed, and the background running state is used to indicate that the application process of the target application is running in the background;

[0127] The first display module 1001 is further configured to, when the application state is closed, switch the second desktop wallpaper to the first desktop wallpaper in response to the display time of the second desktop wallpaper being greater than a time threshold;

[0128] The first display module 1001 is further configured to continuously display the second desktop wallpaper on the virtual desktop when the application is in the background running state.

[0129] In some embodiments, see Fig.11 , the device further comprises:

[0130] A second determining module 1004 is configured to determine, in response to detecting that the system state of the terminal is updated, a second animation of the first virtual image based on the updated system state, the second animation showing an action of the first virtual image associated with the system state;

[0131] The first display module 1001 is further used to switch the first desktop wallpaper to a third desktop wallpaper, where the third desktop wallpaper displays a second animation.

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

[0133] The second determining module 1004 is further configured to determine, in response to detecting that the weather information is updated, a third animation of the first virtual image based on the updated weather information, the weather information being used to indicate the weather conditions associated with the geographical location of the terminal, and the third animation showing an action of the first virtual image associated with the weather information;

[0134] The first display module 1001 is further used to switch the first desktop wallpaper to a fourth desktop wallpaper, where the fourth desktop wallpaper displays a third animation.

[0135] In some embodiments, see Fig.11 , the device further comprises:

[0136] The third determination module 1005 is used to determine the real-time distance between the eyes of the user and the screen of the terminal based on the key points of the face of the user of the terminal when the first virtual image is in a stationary state;

[0137] The first display module 1001 is further configured to, in response to a decrease in the real-time distance when the real-time distance is not less than the first distance and not greater than the second distance, switch the first desktop wallpaper to a fifth desktop wallpaper, wherein the fifth desktop wallpaper displays a fourth animation of the first virtual image, and the fourth animation displays an action of the first virtual image approaching the screen;

[0138] The first display module 1001 is further configured to switch the first desktop wallpaper to a sixth desktop wallpaper in response to an increase in the real-time distance, wherein the sixth desktop wallpaper displays a fifth animation of the first virtual image, and the fifth animation displays a movement of the first virtual image moving away from the screen.

[0139] In some embodiments, the first display module 1001 is also used to determine the difference between the initial distance between the eye and the screen and the real-time distance as the reduction value of the real-time distance in response to the reduction of the real-time distance; and to switch the first desktop wallpaper to the fifth desktop wallpaper when the reduction value is greater than the third distance and the real-time distance is not less than the first distance.

[0140] In some embodiments, the first display module 1001 is also used to determine the difference between the real-time distance and the initial distance between the eye and the screen as the increase value of the real-time distance in response to the increase in real-time distance; when the increase value is greater than the third distance and the real-time distance is not greater than the second distance, the first desktop wallpaper is switched to be displayed as the sixth desktop wallpaper.

[0141] In some embodiments, see Fig.11 , the device further comprises:

[0142] A fourth determining module 1006, configured to determine a state of the first virtual image in response to a triggering operation on the first virtual image;

[0143] The first display module 1001 is further configured to, when the first virtual image is in a stationary state, switch the first desktop wallpaper to display a seventh desktop wallpaper, wherein the seventh desktop wallpaper displays a sixth animation of the first virtual image, and the sixth animation displays an action of associating the first virtual image with the real-time time of the terminal;

[0144] The first display module 1001 is further used to switch the first desktop wallpaper to an eighth desktop wallpaper when the first virtual image is not in a static state, wherein the eighth desktop wallpaper displays a seventh animation of the first virtual image, and the seventh animation displays an action associated with a current action of the first virtual image.

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

[0146] The fourth determining module 1006 is further configured to, in response to a continuous click operation on the first virtual image, determine an eighth animation of the first virtual image based on the real time of the terminal when the number of continuous clicks on the first virtual image is greater than a number threshold, wherein the eighth animation displays an action of the first virtual image associated with the real time;

[0147] The first display module 1001 is further configured to, in response to the completion of the continuous click operation, switch the first desktop wallpaper to a ninth desktop wallpaper, wherein the ninth desktop wallpaper displays the eighth animation.

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

[0149] The fourth determining module 1006 is further configured to determine a second virtual image from the virtual image set when the total number of clicks on the first virtual image within the time threshold is greater than the number threshold, the virtual image set including a plurality of different virtual images, and the second virtual image being any virtual image in the virtual image set except the first virtual image;

[0150] The first display module 1001 is further used to switch the first desktop wallpaper to a tenth desktop wallpaper, wherein the tenth desktop wallpaper displays a ninth interactive animation, and the ninth interactive animation displays the actions of the first virtual image and the second virtual image interacting with each other.

[0151] The embodiment of the present application provides a display device for a virtual image, and when a start operation of a target application is detected, the terminal can display the application interface of the target application. And when an operation of returning from the application interface to the desktop is detected, the terminal switches the currently displayed first desktop wallpaper to a second desktop wallpaper displaying a first interactive animation of the first virtual image, so that the first virtual image can display actions associated with the target application according to the target application currently used by the user, thereby improving the relevance of the virtual image to the target application, enhancing the expressiveness of the virtual image, and improving the user experience.

[0152] It should be noted that the device provided in the above embodiment, when implementing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0153] An embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement a method for displaying a virtual image as provided in the above-mentioned various method embodiments.

[0154] Fig.12 It is a block diagram of a terminal 1200 provided according to an embodiment of the present application. In some embodiments, the terminal 1200 is a smart phone, a tablet computer, a computer with wireless communication function, or a wearable device. The terminal 1200 in the present application includes at least one or more of the following components: a processor 1210, a memory 1220, and at least two wireless links 1230.

[0155] In some embodiments, the processor 1210 includes one or more processing cores. The processor 1210 uses various interfaces and lines to connect various parts of the entire terminal 1200, and executes various functions and processes data of the terminal 1200 by running or executing program codes stored in the memory 1220, and calling data stored in the memory 1220. In some embodiments, the processor 1210 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1210 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1210, but may be implemented by a separate chip.

[0156] In some embodiments, the processor 1210 is used to control the working conditions of at least two wireless links 1230. Accordingly, the processor 1210 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip, etc.

[0157] In some embodiments, the memory 1220 includes a random access memory (RAM), and in some embodiments, the memory 1220 includes a read-only memory (ROM). In some embodiments, the memory 1220 includes a non-transitory computer-readable storage medium. The memory 1220 can be used to store program codes. The memory 1220 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal 1200 (such as audio data, a phone book), etc.

[0158] In some embodiments, the memory 1220 stores reception schemes for receiving beacon frames of different wireless links 1230, as well as identifiers of access nodes connected to different wireless links 1230, identifiers of wireless links 1230, and the like.

[0159] The at least two wireless links 1230 are used to connect different access points (APs) to receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.

[0160] In some embodiments, the terminal 1200 also includes a display screen. The display screen is a display component that displays a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen. In some embodiments, the display screen is usually arranged on the front panel of the terminal 1200. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.

[0161] In addition, those skilled in the art will appreciate that the structure of the terminal 1200 shown in the above drawings does not limit the terminal 1200, and the terminal 1200 includes more or fewer components than shown in the drawings, or combines certain components, or arranges components differently. For example, the terminal 1200 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.

[0162] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the virtual image display method shown in the above embodiments.

[0163] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the display method of the virtual image shown in the above embodiments.

[0164] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the virtual image display method shown in the above embodiments.

[0165] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0166] Those skilled in the art can understand that all or part of the steps in the method for displaying a virtual image in the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete the steps. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. The above is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for displaying a virtual image, characterized in that: The method comprises: Displaying a first desktop wallpaper on the virtual desktop, wherein the first desktop wallpaper displays a first virtual image; In response to an opening operation of a target application, an application interface of the target application is displayed, the target application being any application in the terminal, and the application interface displays application information of the target application; In response to a return to desktop operation, the first desktop wallpaper is switched to a second desktop wallpaper, the second desktop wallpaper displays a first animation of the first virtual image, and the first animation displays an action associated with the first virtual image and the target application.

2. The method according to claim 1, characterized in that In response to the return to desktop operation, switching the first desktop wallpaper to display the second desktop wallpaper includes: In response to the return to desktop operation, determining the first animation based on the application type of the target application, the first animation showing an action of the first virtual image associated with the application type; In response to the return to desktop operation being completed, the virtual desktop is displayed, and the first desktop wallpaper currently displayed on the virtual desktop is switched to the second desktop wallpaper.

3. The method according to claim 1, characterized in that The method further comprises: In response to the return to desktop operation being completed, determining an application state of the target application, the application state comprising a closed state and a background running state, the closed state being used to indicate that the application process of the target application is closed, and the background running state being used to indicate that the application process of the target application is running in the background; When the application state is the closed state, in response to the display time of the second desktop wallpaper being greater than a time threshold, switching the second desktop wallpaper to display the first desktop wallpaper; When the application state is the background running state, the second desktop wallpaper is continuously displayed on the virtual desktop.

4. The method according to claim 1, characterized in that: The method further comprises: In response to detecting that the system state of the terminal is updated, determining a second animation of the first virtual image based on the updated system state, the second animation showing an action of the first virtual image associated with the system state; The first desktop wallpaper is switched to be displayed as a third desktop wallpaper, and the third desktop wallpaper displays the second animation.

5. The method according to claim 1, characterized in that The method further comprises: In response to detecting that weather information is updated, determining a third animation of the first virtual image based on the updated weather information, the weather information being used to indicate a weather condition associated with a geographic location of the terminal, the third animation displaying an action of the first virtual image associated with the weather information; The first desktop wallpaper is switched to be displayed as a fourth desktop wallpaper, and the fourth desktop wallpaper displays the third animation.

6. The method according to claim 1, characterized in that The method further comprises: When the first virtual image is in a stationary state, determining a real-time distance between the eyes of the user and the screen of the terminal based on key points of the face of the user of the terminal; In a case where the real-time distance is not less than the first distance and not greater than the second distance, in response to the real-time distance being reduced, the first desktop wallpaper is switched to a fifth desktop wallpaper, the fifth desktop wallpaper displays a fourth animation of the first virtual image, and the fourth animation displays an action of the first virtual image approaching the screen; In response to the increase in the real-time distance, the first desktop wallpaper is switched to a sixth desktop wallpaper, the sixth desktop wallpaper displays a fifth animation of the first virtual image, and the fifth animation displays an action of the first virtual image moving away from the screen.

7. The method according to claim 6, characterized in that In response to the real-time distance being reduced, switching the first desktop wallpaper to display a fifth desktop wallpaper includes: In response to the real-time distance being reduced, determining a difference between an initial distance between the eye and the screen and the real-time distance as a reduced value of the real-time distance; When the reduction value is greater than the third distance and the real-time distance is not less than the first distance, the first desktop wallpaper is switched to be displayed as the fifth desktop wallpaper.

8. The method according to claim 6, characterized in that In response to the real-time distance increasing, switching the first desktop wallpaper to display a sixth desktop wallpaper includes: In response to the real-time distance increasing, determining a difference between the real-time distance and an initial distance between the eye and the screen as an increase value of the real-time distance; When the increase value is greater than the third distance and the real-time distance is not greater than the second distance, the first desktop wallpaper is switched to be displayed as the sixth desktop wallpaper.

9. The method according to claim 1, characterized in that: The method further comprises: In response to a triggering operation on the first virtual image, determining a state of the first virtual image; When the first virtual image is in a stationary state, switching the first desktop wallpaper to a seventh desktop wallpaper, wherein the seventh desktop wallpaper displays a sixth animation of the first virtual image, and the sixth animation displays an action of associating the first virtual image with the real-time time of the terminal; When the first virtual image is not in the static state, the first desktop wallpaper is switched to an eighth desktop wallpaper, the eighth desktop wallpaper displays a seventh animation of the first virtual image, and the seventh animation displays an action associated with a current action of the first virtual image.

10. The method according to claim 1, characterized in that The method further comprises: In response to a continuous click operation on the first virtual image, when the number of continuous clicks on the first virtual image is greater than a number threshold, determining an eighth animation of the first virtual image based on the real time of the terminal, the eighth animation showing an action of the first virtual image associated with the real time; In response to the completion of the continuous clicking operation, the first desktop wallpaper is switched to a ninth desktop wallpaper, and the ninth desktop wallpaper displays the eighth animation.

11. The method according to claim 1, characterized in that: The method further comprises: When the total number of clicks on the first virtual image within the duration threshold is greater than the number threshold, determining a second virtual image from the virtual image set, the virtual image set including a plurality of different virtual images, the second virtual image being any virtual image in the virtual image set except the first virtual image; The first desktop wallpaper is switched to be displayed as a tenth desktop wallpaper, the tenth desktop wallpaper displays a ninth interactive animation, and the ninth interactive animation displays actions when the first virtual image and the second virtual image interact.

12. A virtual image display device, characterized in that: The device comprises: A first display module, configured to display a first desktop wallpaper on a virtual desktop, wherein the first desktop wallpaper displays a first virtual image; A second display module, configured to display an application interface of the target application in response to an opening operation of the target application, wherein the target application is any application in the terminal, and the application interface displays application information of the target application; The first display module is further used to switch the first desktop wallpaper to a second desktop wallpaper in response to a return to desktop operation, wherein the second desktop wallpaper displays a first animation of the first virtual image, and the first animation displays an action associated with the first virtual image and the target application.

13. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the virtual image display method as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the virtual image display method as described in any one of claims 1 to 11.

15. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the chip runs on a terminal, it is used to implement the method for displaying a virtual image as described in any one of claims 1 to 11.

16. A computer program product comprising a computer program, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the method for displaying a virtual image as described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Dynamic desktop control method and device, storage medium and electronic device

    CN114116105A

  • Dynamic desktop control method and device, storage medium and electronic device

    CN114296853A

  • Desktop display method and electronic equipment

    CN114721567A

  • Interaction method of interactive wallpaper, electronic equipment and computer readable storage medium

    CN115793938A

  • Virtual image-based data processing method and apparatus, computer device, and storage medium

    WO2023071556A1

Cited By

  • Interaction method for display object, and electronic device

    WO2026179806A1