Application switching method, projection device and computer readable storage medium
By displaying a zoom-out animation of the current application and a zoom-in animation of the target application when switching applications on the projection terminal, the problem of users finding it difficult to perceive a smooth transition is solved, thus improving the user experience of application switching.
Patent Information
- Application Number
- CN202211652392.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-21
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-12-21
AI Technical Summary
During the switching of applications on the projection terminal, users find it difficult to perceive a smooth transition, resulting in noticeable black or white screens during page transitions, which affects the user experience.
By displaying a zoom-out animation of the current application and a zoom-in animation of the target application when switching applications, users can perceive the application switching process and achieve a smooth transition.
By showcasing animated effects, users can clearly perceive the process of switching between applications, improving the smoothness of application switching and the user experience.
Smart Images

Figure CN115774594B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of application management, and more specifically, to an application switching method, a projection device, and a computer-readable storage medium. Background Technology
[0002] A projection terminal, also known as a projector, is a device that projects images or videos onto a screen. After installing an operating system, a projection terminal can install various software applications, such as movie apps, live streaming apps, game apps, and music apps. Users often need to switch between applications while using a projection terminal, meaning they need to open another application while using one. Typically, when switching applications, users need to exit the current application, return to the home screen, and then select the application to launch. During application switching, a flashing white screen (e.g., a noticeable black or white screen) may appear, making it difficult for users to clearly perceive the transition between applications and resulting in a poor user experience. Summary of the Invention
[0003] This application discloses an application switching method, a projection device, and a computer-readable storage medium, which can solve the problem of difficulty in achieving a smooth transition during application switching.
[0004] In a first aspect, this application relates to an application switching method applied to a projection device. The method includes: responding to an application switching command, determining a first application currently displayed in a display area and a second application corresponding to the application switching command; playing a zoom-out animation corresponding to the first application, and controlling the playback duration of the zoom-out animation according to the playback time of the zoom-in animation corresponding to the second application; playing the zoom-in animation according to the playback time of the zoom-in animation; and displaying the application interface of the second application after the zoom-in animation ends.
[0005] In some embodiments, playing the shrinking animation corresponding to the first application includes: playing the shrinking animation corresponding to the first application on a first window corresponding to the display area of the projection device;
[0006] Playing the magnified animation includes: loading the magnified animation corresponding to the second application onto the second window corresponding to the display area of the projection device; after the magnified animation is loaded in the second window, covering the first window with the second window, and playing the magnified animation in the second window. In some embodiments, playing the zoom-out animation corresponding to the first application includes: playing the zoom-out animation corresponding to the first application on the first display area of the projection device;
[0007] Playing the magnified animation includes: playing the magnified animation corresponding to the second application in the second display area of the projection device.
[0008] In some embodiments, the method further includes: the second display area begins to cover the entire display area corresponding to the projection device until the magnified animation is displayed in the entire display area.
[0009] In some embodiments, before displaying the zoom-out animation corresponding to the first application, the method further includes: generating a zoom-out animation corresponding to the first application based on the current display interface of the first application.
[0010] In some embodiments, the method further includes: displaying an application navigation interface on the display area of the projection device, wherein at least one application icon is displayed in the application navigation interface; and generating an application switching instruction based on the user's click on an application icon in the application navigation interface.
[0011] In some embodiments, before playing the zoom-in animation corresponding to the second application, the method further includes: generating a zoom-in animation corresponding to the second application based on the application corresponding to the application switching instruction.
[0012] In some embodiments, before displaying the application navigation interface, the method further includes: determining the target application corresponding to the projection device; and generating an application icon corresponding to the application based on a screenshot of the target application's page.
[0013] In some embodiments, the method further includes: when an event is detected that any application has started running in the background, obtaining a screenshot of the target application based on the application interface of the application when the background running event is started.
[0014] In a second aspect, this disclosure also provides a projection device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the application switching method of the first aspect described above.
[0015] Thirdly, this disclosure also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute an application switching method.
[0016] This application relates to an application switching method, a projection device, and a storage medium. The method, during application switching, displays a zoomed-out animation of the first application corresponding to the current interface and a zoomed-in animation of the second application corresponding to the application switching command, allowing the user to perceive the process of switching from the first application to the second application, thus achieving a smooth transition during the application switching process. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of an application navigation interface provided in an embodiment of this application.
[0019] Figure 2 This is a schematic diagram of a scenario for displaying an application navigation interface, provided in an embodiment of this application.
[0020] Figure 3 This is a flowchart illustrating an application switching method provided in an embodiment of this application.
[0021] Figure 4 This is a scene diagram of a zoom-out animation provided in an embodiment of this application.
[0022] Figure 5 This is a scene diagram of a magnified animation provided in an embodiment of this application.
[0023] Figure 6 This is a schematic diagram of an application navigation interface provided in an embodiment of this application.
[0024] Figure 7 This is a scene illustration of an animation provided in an embodiment of this application.
[0025] Figure 8 This is a scene illustration of an animation provided in an embodiment of this application.
[0026] Figure 9 This is a schematic diagram of the projection device provided in an embodiment of this application. Detailed Implementation
[0027] In the following description, the terms "first," "second," etc., are used for descriptive purposes only, to distinguish different devices, modules, or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules, or units, nor should they be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of this application, words such as "exemplary," "or," and "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary," "or," and "for example" is intended to present related concepts in a specific manner. "Including" and its variations are open-ended inclusion, i.e., "including but not limited to." The term "based on" means "at least partially based on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments." Definitions of other terms will be given in the following description.
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used in this application's specification is for the purpose of describing particular embodiments only and is not intended to limit the application. It should be understood that, unless otherwise stated, " / " in this application means "or". For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. "At least one" means one or more. "More than one" means two or more. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, and a, b, and c. It should be understood that the various steps described in the method embodiments of this disclosure can be performed in different orders and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0029] A projection terminal, also known as a projector, is a device that projects images or videos onto a screen. After installing an operating system, a projection terminal can install various software applications, such as video apps, live streaming apps, games, and music apps. Users often encounter scenarios where they need to switch applications while using a projection terminal—that is, when using one application and needing to open another. For example, a user might be using a music app and need to open a video app. Typically, users switch applications by exiting the current app, returning to the home screen, and then selecting the app to launch. During this application switching process, a flashing white screen may occur, such as a noticeable black or white screen, making it difficult for users to clearly perceive the transition between applications and achieving a smooth transition.
[0030] To address the technical problem of difficulty in achieving a smooth transition during application switching, embodiments of this application provide an application switching method, an electronic device, and a computer-readable storage medium. By displaying a zoom-out animation of the first application corresponding to the current interface and a zoom-in animation of the second application corresponding to the application switching command during application switching, users can perceive the process of switching from the first application to the second application, thus achieving a smooth transition during application switching.
[0031] The application switching method provided in this application can be applied to one or more electronic devices. The electronic device is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored computer-readable instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc. The electronic device can be any electronic product capable of human-computer interaction, such as a projection device, personal computer, server, production equipment, tablet computer, smartphone, etc. One or more applications can be installed on the electronic device, including video applications, live streaming applications, game applications, music applications, etc. Users can enjoy services provided by the corresponding service providers, such as video playback services and audio playback services, by opening the applications installed on the electronic device. In this application embodiment, a projection device is used as an example for illustration.
[0032] To make the purpose, technical solution, and advantages of the application switching method provided in the embodiments of this application clearer, the embodiments disclosed in this application will be described in more detail below with reference to the accompanying drawings. Although some embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the content of this application. It should be understood that the accompanying drawings and embodiments disclosed in this application are for illustrative purposes only and are not intended to limit the scope of protection of this application. The names of the messages or information interacted between multiple devices in the embodiments of this application are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0033] To better illustrate the application switching method provided in this application embodiment, the application scenarios involved in this application embodiment will be described below.
[0034] Figure 1 This is a schematic diagram illustrating an application navigation interface provided in an embodiment of this application. Users can trigger application switching commands through the application navigation interface. The application navigation interface is a system-wide application list interface, and it may include application icons corresponding to one or more applications. The application navigation interface may display application icons corresponding to all background applications, or it may display application icons corresponding to a preset target application. The type of application icons displayed on the application navigation interface can be set according to the user's actual needs and is not limited here.
[0035] Assume that the projection device is running three applications in the background: application A, application B, and application C, such as Figure 1 As shown, the application navigation interface displays the icons for applications A, B, and C.
[0036] When the application navigation interface is set to display application icons corresponding to background-running applications, in some embodiments of this application, to ensure that the application navigation interface contains a sufficient number of application icons, a preset list of loaded applications can be obtained after the projection device is powered on, and a process can be started to load the applications corresponding to the list of loaded applications, and the loaded applications can be controlled to run in the background. The user is unaware of the loading process of the applications corresponding to the list of loaded applications; the user can identify the loaded applications through the application navigation interface. Through the above embodiments, by pre-loading applications, the speed at which the user can access the loaded applications can be improved, which is equivalent to reducing the waiting time for the user to open the applications.
[0037] The application icon can be the official icon of the application, i.e., the icon provided by the application's supplier. The application icon can also be a thumbnail generated based on the application interface diagram. The content contained in the icon can be the same as the content contained in the application interface diagram, or it can be a portion of the application interface. The application interface diagram is used to illustrate the application interface corresponding to the application. In some embodiments of this application, when an application is detected to start running in the background, a screenshot of the application's page is obtained based on the application interface at the time the background running event is initiated, and this screenshot is determined as the application interface diagram. The background running event is used to move the application to the system background and prevent it from being displayed in the foreground, i.e., not in the display area corresponding to the electronic device. For example, a screenshot of the application's page can be obtained by taking a screenshot of the application interface. To facilitate subsequent reading of the obtained application interface diagram, the obtained application interface diagram can be stored in a preset storage space with the application information as the filename. The application interface diagram can then be retrieved from the preset storage space based on the application information. The application information may include the application name, application process ID, and other identification information used to identify the application. The storage of the application interface diagram can include two methods: lossless resolution storage and lossy resolution storage. The storage method for the application interface diagram can be determined based on the user's choice.
[0038] To better represent the application interface with the application icon, in some embodiments of this application, the application interface rendering data corresponding to the current application can be obtained at preset time intervals, and a new application interface schematic diagram can be generated based on the application interface rendering data; the application icon is then updated based on the newly generated application interface schematic diagram. The application interface rendering data refers to the rendering data corresponding to the application interface when the application is displayed in the display area corresponding to the projection device. The display area corresponding to the projection device is the projection area corresponding to the projection device. Through the above embodiments, the application icon can be updated periodically based on the application interface rendering data, making the application icon as consistent as possible with the application interface when the application is displayed in the display area corresponding to the projection device.
[0039] In one embodiment of this application, when any application is displayed on the display area corresponding to the projection device, the application navigation interface is simultaneously displayed on the display area. For example, the application navigation interface can be displayed above, below, or to the sides of the display area corresponding to the projection device. Figure 2 This is a schematic diagram illustrating a scenario for displaying an application navigation interface, provided as an embodiment of this application. For example... Figure 2As shown, the application navigation interface can be displayed below the application interface of application A. The application navigation interface can also be hidden above, below, or to the sides of the display area according to instructions. If the cursor moves to the hidden area of the application navigation interface, the application navigation interface can appear above, below, or to the sides of the display area; if the cursor leaves the hidden area of the application navigation interface, the application navigation interface will hide again.
[0040] In some embodiments of this application, users can interact with the projection device via commands through a terminal device. For example, when a user clicks a designated button on the terminal device (e.g., a terminal device remote control), a navigation display command is triggered, and the application navigation interface is displayed in the corresponding display area of the projection device. The terminal remote control can be a physical remote control, such as the control remote control that comes with the projection device, a button set on the projection device, or a virtual remote control installed in the terminal device. No limitation is made to the terminal remote control here. The designated button is used to control the display of the application navigation interface.
[0041] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating an application switching method provided in an embodiment of this application. The application switching method is applied to a projection device, which has at least two applications installed to enable switching between different applications. Figure 3 As shown, the application switching method includes:
[0042] 301, In response to a navigation display command, an application navigation interface is displayed on the display area of the electronic device. The application navigation interface displays at least one application icon.
[0043] In some embodiments of this application, an application navigation interface can be displayed on the display area of the electronic device according to a system preset program. For example, when the electronic device is turned on, the application navigation interface can be displayed on the display area of the electronic device according to a system preset program.
[0044] For descriptions of navigation display commands and application navigation interfaces, please refer to the relevant descriptions above, which will not be repeated here.
[0045] 302. Generate an application switching instruction based on the user's operation instruction on an application icon in the application navigation interface.
[0046] The operation instructions include instructions for operating on the application icon, such as clicking or selecting.
[0047] Application switching commands are used to switch between applications. Each application switching command corresponds to a target application to be switched to. When the projection device receives an application switching command, it will switch the current application to the target application. The current application is the application corresponding to the currently displayed application interface.
[0048] 303, in response to the application switching command, determine the first application currently displayed in the display area and the second application corresponding to the application switching command.
[0049] The first application is the application currently displayed on the display area of the electronic device, that is, the application currently displayed on the front end. The second application is the application corresponding to the application icon clicked by the user on the application navigation interface.
[0050] 304. Based on the current display interface of the first application, generate a shrinking animation corresponding to the first application.
[0051] The shrinking animation is used to depict the exit process of the first application. The shrinking animation can represent the exit process of the first application by the size of its current display interface within the animation. For example, the size of the first application's current display interface in the animation can gradually shrink over time. Figure 4 This is a scene illustration of a zoom-out animation provided as an embodiment of this application. For example... Figure 4 As shown, the current display interface of the first application becomes smaller and smaller as time increases. It is understood that the above exit process of the first application is merely an example and does not constitute any limitation; the exit process of the first application can also be represented in other forms. The duration and content of the shrinking animation can be set according to actual conditions and are not limited here.
[0052] 305. On the display area of the electronic device, a zoom-out animation corresponding to the first application is played.
[0053] After exiting the first application, a shrinking animation corresponding to the first application is played on the display area of the electronic device.
[0054] In some embodiments of this application, playing the shrinking animation corresponding to the first application includes: controlling the playback duration of the shrinking animation based on the playback time of the zooming animation corresponding to the second application, so that the time interval between the end time of the shrinking animation and the start time of the zooming animation is less than a preset threshold, thereby achieving seamless switching between the shrinking animation and the zooming animation corresponding to the second application. The end time of the shrinking animation may be earlier or later than the start time of the zooming animation, and different settings can be made according to the actual situation, without any limitation here.
[0055] The playback time of the zoom-in animation can be determined by the loading time of the zoom-in animation corresponding to the second application. For example, the playback time of the zoom-in animation can be determined by the completion time of the loading time of the zoom-in animation, or the playback time of the zoom-in animation can be determined by adding a preset time interval to the completion time of the loading time of the zoom-in animation.
[0056] In some embodiments of this application, the shrinking animation can be delayed based on the playback time of the zoom-in animation corresponding to the second application, so as to extend the playback time of the processed shrinking animation. Delaying the shrinking animation may include increasing the playback duration of each frame of the shrinking animation.
[0057] 306. On the display area of the electronic device, a magnified animation corresponding to the second application is played.
[0058] Play the zoom-in animation according to its playback time.
[0059] The zoom-in animation is used to demonstrate the opening process of the second application. The zoom-in animation can represent the display process of the second application by the size of its current display interface in the animation. For example, the size of the second application's current display interface in the animation can gradually increase over time. Figure 5 This is a scene illustration of a magnified animation provided in an embodiment of this application. Figure 5 As shown, the current display interface of the second application grows larger over time. It is understood that the above display process of the second application is merely illustrative and does not constitute any limitation; the display process of the second application can also be represented in other forms.
[0060] In some embodiments of this application, a zoom-in animation corresponding to the second application can be generated after the application switching instruction is generated. The duration of the zoom-in animation can be set according to actual conditions and is not limited here. In addition, in other embodiments, corresponding zoom-out animations and / or zoom-in animations can be pre-generated for each application in the application navigation interface. The zoom-out animation and zoom-in animation can present different effects in different embodiments. For example, the brightness can decrease during the zoom-out process and the brightness can increase during the zoom-in process. Or, the transparency can decrease during the zoom-out process and the transparency can increase during the zoom-in process. In practical applications, it is not limited to these.
[0061] 307. After the zoom-in animation finishes playing, the application interface of the second application is displayed.
[0062] There are various implementation scenarios when executing steps 305 and 306. The following examples illustrate some of these scenarios.
[0063] Example 1
[0064] On the display area of the electronic device, a zoom-out animation corresponding to the first application is played; after the zoom-out animation finishes playing, on the display area of the electronic device, a zoom-in animation corresponding to the second application is played.
[0065] In some embodiments of this application, a zoom-out animation corresponding to the first application is played on a first window corresponding to the display area of the electronic device; and a zoom-in animation corresponding to the second application is loaded on a second window corresponding to the display area of the electronic device; when the zoom-in animation is loaded in the second window, the second window covers the first window, and the zoom-in animation is played in the second window.
[0066] Before the second window covers the first window, the second window is a layer below the first window. The user can see the content shown in the first window in the display area and is unaware of the content of the second window. For example, if the first window is the top-level window and the second window is the bottom-level window, when both windows are open simultaneously, the first window will cover the second window. After the second window covers the first window, the first window will be closed, and the user can see the content shown in the second window in the display area. In this embodiment, by first playing the shrinking animation of the first application, and then playing the enlarged animation of the second application after the shrinking animation of the first application has finished playing, the user can clearly perceive the process of switching from the current application (first application) to the second application, achieving a smooth transition during application switching.
[0067] In the application scenario shown in Example 1, the playback duration of the zoom-out animation can be controlled according to the playback time of the zoom-in animation corresponding to the second application, so that when the end time of the zoom-out animation is earlier than the start time of the zoom-in animation, the time difference between the two is less than a preset time threshold. The preset time threshold can be determined based on the user's perception ability. Within the determined preset threshold, the user is unaware of the playback pause between the zoom-out animation and the zoom-in animation, thereby achieving a seamless switch between the zoom-out animation and the zoom-in animation corresponding to the second application.
[0068] Example 2
[0069] On the display area of the electronic device, a zoom-out animation corresponding to the first application is played; after the zoom-out animation finishes playing, an application navigation interface is displayed; after the application navigation interface is displayed, a zoom-in animation corresponding to the second application is played.
[0070] The application navigation interface includes a first icon corresponding to the first application and a second icon corresponding to the second application. The first icon is generated based on the current display interface of the first application; the second icon is generated based on a schematic diagram of the display interface of the second application. Figure 6 This is a schematic diagram illustrating a scenario of an application navigation interface provided in an embodiment of this application. For example... Figure 6 As shown, the application navigation interface includes icons for application A and application B, where the icon for application A is a schematic diagram of the application interface of application A, such as the schematic diagram of the application interface generated by the current display interface of the first application, and the icon for application B is a schematic diagram of the application interface of application B.
[0071] In this embodiment, by displaying an application navigation interface containing icons of the first and second applications between the zoom-out animation of the first application and the zoom-in animation of the corresponding second application, users can better understand the relationship between the first and second applications and more clearly perceive the process of switching from the first application to the second application, thus achieving a smooth transition during the application switching process.
[0072] In the application scenario shown in Embodiment 2, the playback duration of the zoom-out animation can be controlled based on the playback time of the zoom-in animation corresponding to the second application, so that the end time of the zoom-out animation is later than the start time of the zoom-in animation, and the difference between the end time of the zoom-out animation and the display time of the application navigation interface is less than a preset time threshold. The preset time threshold can be determined based on the user's perception. Within the determined preset threshold, the user is unaware of the playback pause between the zoom-out animation and the application navigation interface, thus achieving a seamless switch between the zoom-out animation and the application navigation interface. In some embodiments, the display duration of the application navigation interface can be controlled based on the playback time of the zoom-in animation corresponding to the second application, thereby achieving a seamless switch between the application navigation interface and the zoom-in animation corresponding to the second application.
[0073] Example 3
[0074] On the display area of the electronic device, a zoom-out animation corresponding to the first application and a zoom-in animation corresponding to the second application are played simultaneously. Specifically, the zoom-out animation corresponding to the first application is played in the first display area of the electronic device, and the zoom-in animation corresponding to the second application is played in the second display area of the electronic device.
[0075] The display size and position of the first and second display areas can be determined according to the actual situation, and no restrictions are imposed here. Figure 7 This is a schematic diagram of a scene displaying animation provided in an embodiment of this application. For example... Figure 7As shown, the first display area and the second display area can have the same display size, and the first display area can be above the second display area.
[0076] In this embodiment, by simultaneously playing the zoom-out animation corresponding to the first application and the zoom-in animation corresponding to the second application on the display area of the electronic device, a contrast effect is achieved, allowing users to directly experience the different changes between the first and second applications. This allows them to more clearly perceive the process of switching from the first application to the second application based on the changes, further achieving a smooth transition during application switching.
[0077] In the application scenario shown in Embodiment 3, the playback duration of the shrinking animation can be controlled according to the playback time of the zoom-in animation corresponding to the second application, so that the end time of the shrinking animation is later than the start time of the zoom-in animation, thereby enabling the shrinking animation and the zoom-in animation to be played simultaneously in the display area.
[0078] Example 4
[0079] On the display area of the electronic device, a zoom-out animation corresponding to the first application and a zoom-in animation corresponding to the second application are played simultaneously. Specifically, the zoom-out animation corresponding to the first application is played in the first display area of the electronic device, and the zoom-in animation corresponding to the second application is played in the second display area of the electronic device. The second display area begins to cover the entire display area of the electronic device until the zoom-in animation is played in the entire display area.
[0080] The second display area becomes larger and larger as the zoom-in animation plays, while the first display area becomes smaller and smaller as the zoom-out animation plays, until the first display area disappears. The display area corresponding to the projection device then only contains the second display area, meaning the zoom-in animation plays across the entire display area. Figure 8 This is a schematic diagram of a scene displaying animation provided in an embodiment of this application. For example... Figure 8 As shown, a zoom-out animation corresponding to the first application is played in the first display area; a zoom-in animation corresponding to the second application is played in the second display area. The second display area becomes larger and larger as the zoom-in animation plays, while the first display area becomes smaller and smaller as the zoom-out animation plays, until the first display area disappears. The display area corresponding to the projection device only includes the second display area.
[0081] In some embodiments of this application, displaying the application interface of the second application after playing the magnified animation may include: displaying the application interface of the second application after the magnified animation has been played over the entire display area.
[0082] In this embodiment, by simultaneously playing a zoom-out animation corresponding to the first application and a zoom-in animation corresponding to the second application on the display area of the electronic device, a contrast effect is achieved. This allows the user to directly perceive the different changes between the first and second applications, thus more clearly understanding the process of switching from the first application to the second application, further achieving a smooth transition during application switching. Simultaneously, by adjusting the size of the display area, the effect of switching from the first application to the second application can be further emphasized, further achieving a smooth transition during application switching.
[0083] The application switching method provided in the above embodiments displays a zoom-out animation of the first application corresponding to the current interface and a zoom-in animation of the second application corresponding to the application switching command when switching applications, so that users can perceive the process of switching from the first application to the second application and achieve a smooth transition during the application switching process.
[0084] In the application scenario shown in Embodiment 4, the playback duration of the shrinking animation can be controlled according to the playback time of the zoom-in animation corresponding to the second application, so that the end time of the shrinking animation is later than the start time of the zoom-in animation, thereby enabling the shrinking animation and the zoom-in animation to be played simultaneously in the display area.
[0085] In some embodiments, the application switching method described above can be implemented as a computer program that can run on a projection device. Figure 9 This is a schematic diagram of a projection device provided in an embodiment of this application. The following is in conjunction with… Figure 9 The architecture of the hardware device implementing the application switching method is described. It is understood that the embodiments are for illustrative purposes only and are not limited to this structure in the scope of the patent application.
[0086] See Figure 9 The diagram shown is a structural schematic of the projection device provided in an embodiment of this application.
[0087] The projection device 200 includes a projection unit 210 and a drive unit 220 for driving the projection unit 210. The projection unit 210 can form an optical image and project the optical image onto an imaging medium SC.
[0088] The projection unit 210 includes a light source unit 211, a light modulator 212, and an optical system 213. The driving unit 220 includes a light source driving unit 221 and a light modulator driving unit 222.
[0089] The light source unit 211 may include solid-state light sources such as light-emitting diodes (LEDs), lasers, and pump lamps. The light source unit 211 may include optical elements such as lenses and polarizers for improving the optical characteristics of the projected light, as well as dimming elements for adjusting the luminous flux.
[0090] The light source driving unit 221 can control the operation of the light source in the light source unit 211, including turning it on and off, according to the instructions of the control unit 250.
[0091] The light modulator 212 includes a display panel 215, which can be a transmissive liquid crystal display (LCD), a reflective liquid crystal on silicon (LCOS), or a digital micromirror device (DMD).
[0092] The optical modulator 212 is driven by the optical modulator driver unit 222, which is connected to the image processing unit 245.
[0093] The image processing unit 245 inputs image data to the light modulator driving unit 222. The light modulator driving unit 222 converts the input image data into a data signal suitable for the operation of the display panel 215. Based on the converted data signal, the light modulator driving unit 222 applies voltage to each pixel of each display panel 215 and draws an image on the display panel 215.
[0094] The optical system 213 includes a lens or mirror that causes the incident image light PLA to form an image on the imaging medium SC. The optical system 213 may also include a zoom mechanism that magnifies or reduces the image projected onto the imaging medium SC and a focus adjustment mechanism that performs focus adjustment.
[0095] The projection device 200 also includes an operation unit 231, a signal receiving unit 233, an input interface 235, a storage unit 237, a data interface 241, an interface unit 242, a frame memory 243, an image processing unit 245, and a control unit 250. The input interface 235, storage unit 237, data interface 241, interface unit 242, image processing unit 245, and control unit 250 can communicate with each other via an internal bus 207.
[0096] The operation unit 231 can generate corresponding operation signals based on the operation of various buttons and switches on the surface of the projection device 200 housing, and output them to the input interface 235. The input interface 235 includes circuitry that outputs the operation signals input from the operation unit 231 to the control unit 250.
[0097] After receiving signals (such as infrared signals or Bluetooth signals) sent from the control device 5 (such as a remote control), the signal receiving unit 233 can decode the received signals to generate corresponding operation signals. The signal receiving unit 233 outputs the generated operation signals to the input interface 235. The input interface 235 outputs the received operation signals to the control unit 250.
[0098] Storage unit 237 may be a magnetic recording device such as a hard disk drive (HDD), or a storage device using semiconductor storage elements such as flash memory. Storage unit 237 stores programs executed by control unit 250, data processed by control unit 250, image data, etc.
[0099] Data interface 241 includes a connector and interface circuitry, enabling wired connection with other electronic devices 100. Data interface 241 can also be a communication interface for communicating with other electronic devices 100. Data interface 241 receives image data, sound data, etc., from other electronic devices 100. In this embodiment, the image data can be content images.
[0100] Interface unit 242 is a communication interface for communicating with other electronic devices 100 according to the Ethernet standard. Interface unit 242 includes a connector and interface circuitry for processing signals transmitted by the connector. Interface unit 242 is an interface substrate including the connector and interface circuitry and is connected to the main substrate of control unit 250, which is a substrate on which processor 253 and other components are mounted. The connector and interface circuitry constituting interface unit 242 are mounted on the main substrate of control unit 250. Interface unit 242 can receive setting information or instruction information transmitted by other electronic devices 100.
[0101] The control unit 250 includes a memory 251 and a processor 253.
[0102] Memory 251 is a storage device that non-volatilely stores programs and data executed by processor 253. Memory 251 is composed of semiconductor storage elements such as magnetic storage devices, flash read-only memory (ROM), or other types of non-volatile storage devices. Memory 251 may also include random access memory (RAM) that constitutes the working area of processor 253. Memory 251 stores data processed by control unit 250 and control programs executed by processor 253.
[0103] The processor 253 can be a single processor or a combination of multiple processors. The processor 253 executes a control program to control various parts of the projection device 200. For example, the processor 253 executes corresponding interactive application switching based on the operation signal generated by the operation unit 231, and outputs the parameters used in the interactive application switching (such as parameters for keystone correction of the image) to the image processing unit 245. Additionally, the processor 253 can control the light source in the light source unit 211 to turn on, off, or adjust its brightness by controlling the light source drive unit 221.
[0104] The image processing unit 245 and the frame memory 243 can be constructed from integrated circuits. Integrated circuits include large-scale integrated circuits (LSI), application-specific integrated circuits (ASIC), and programmable logic devices (PLD), where PLD may include field-programmable gate arrays (FPGA). Integrated circuits may also include a portion of analog circuitry, or a combination of a processor and integrated circuits. Combinations of processors and integrated circuits are referred to as microcontroller units (MCU), system-on-chips (SoC), system LSIs, chipsets, etc.
[0105] The image processing unit 245 can store the image data received from the data interface 241 in the frame memory 243. The frame memory 243 includes multiple memory banks, each containing storage capacity for writing one frame of image data. The frame memory 243 can be constructed from synchronous dynamic random access memory (SDRAM) or dynamic random access memory (DRAM).
[0106] The image processing unit 245 can interactively switch between image data stored in the frame memory 243, including resolution conversion, size adjustment, distortion correction, shape correction, digital zoom, image tone adjustment, and image brightness adjustment.
[0107] The image processing unit 245 can also convert the input frame frequency of the vertical synchronization signal into a drawing frequency and generate a vertical synchronization signal with a drawing frequency. The generated vertical synchronization signal is called the output synchronization signal. The image processing unit 245 then outputs the above-mentioned output synchronization signal to the optical modulator driver unit 222.
[0108] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, and the method implemented when the program instructions are executed can be referred to the various embodiments of the application switching method of this application.
[0109] The computer-readable storage medium can be an internal storage unit of the electronic device described in the foregoing embodiments, such as a hard disk or memory of the electronic device. Alternatively, the computer-readable storage medium can be an external storage device of the electronic device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device.
[0110] Furthermore, the computer-readable storage medium may primarily include a program storage area and a data storage area, wherein the program storage area may store the operating system, at least one application program required for a function, etc.; and the data storage area may store data created based on the use of the electronic device, etc.
[0111] The projection device and computer-readable storage medium provided in the foregoing embodiments, by displaying a zoom-out animation of the first application corresponding to the current interface and a zoom-in animation of the second application corresponding to the application switching command when switching applications, enable users to perceive the process of switching from the first application to the second application, and achieve a smooth transition during the application switching process.
[0112] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0113] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0114] Although the subject matter has been described using language specific to the method's logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims. Regarding the apparatus in the above embodiments, the specific manner in which the various modules perform their operations has been described in detail in the embodiments relating to the method, and will not be elaborated upon here.
Claims
1. An application switching method applied to a projection device, characterized in that, The method comprises: in response to an application switching instruction, determining a first application currently displayed by a display area and a second application corresponding to the application switching instruction; playing a shrinking animation corresponding to the first application, comprising: playing the shrinking animation corresponding to the first application on a first window corresponding to the display area of the projection device, and controlling the playing time length of the shrinking animation according to the playing time of an enlarging animation corresponding to the second application; playing the enlarging animation according to the playing time of the enlarging animation, comprising: loading the enlarging animation corresponding to the second application on a second window corresponding to the display area of the projection device; when the loading of the enlarging animation on the second window is completed, covering the second window on the first window, and playing the enlarging animation on the second window; after the playing of the enlarging animation is completed, displaying an application interface of the second application.
2. The application switching method according to claim 1, wherein the playing of the shrinking animation corresponding to the first application comprises: playing the shrinking animation corresponding to the first application on a first display area of the projection device; the playing of the enlarging animation comprises: playing the enlarging animation corresponding to the second application on a second display area of the projection device.
3. The application switching method of claim 2, wherein, The method further comprises: the second display area starts to cover the entire display area corresponding to the projection device until the enlarging animation is displayed on the entire display area.
4. The application switching method of claim 1, wherein, Before the displaying of the shrinking animation corresponding to the first application, the method further comprises: generating the shrinking animation corresponding to the first application according to a current display interface of the first application.
5. The application switching method of claim 1, wherein, The method further comprises: displaying an application guide interface on the display area of the projection device, and at least one application icon is displayed in the application guide interface; generating the application switching instruction according to a click of a user on an application icon in the application guide interface.
6. The application switching method of claim 5, wherein, Before the displaying of the application guide interface, the method further comprises: determining a target application corresponding to the projection device; generating an application icon corresponding to the target application according to a page screenshot of the target application.
7. The application switching method of claim 6, wherein, The method further comprises: when detecting any application starting a background running event, obtaining the page screenshot of the target application according to an application interface of the any application at the time of starting the background running event.
8. The application switching method of claim 1, wherein, The method further comprises: when the projection device is started, obtaining a target application list; loading applications corresponding to the target application list.
9. A projection apparatus, characterized by, The projection device comprises: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the application switching method in any one of claims 1 to 8.
10. A computer storage medium, characterized in that, A computer program is stored thereon, and the computer program is loaded by a processor to execute the application switching method in any one of claims 1 to 8.
Citation Information
Patent Citations
Processing method and device of split-screen exiting, storage medium and electronic equipment
CN108549575A
Application starting method and device, electronic equipment and storage medium
CN110162343A
Animation display method, terminal and computer readable storage medium
CN111324407A
Application switching method and device, storage medium and touch terminal
CN111371949A