WO2024153027A1 - 应用显示方法和应用显示装置 - Google Patents
应用显示方法和应用显示装置 Download PDFInfo
- Publication number
- WO2024153027A1 WO2024153027A1 PCT/CN2024/072303 CN2024072303W WO2024153027A1 WO 2024153027 A1 WO2024153027 A1 WO 2024153027A1 CN 2024072303 W CN2024072303 W CN 2024072303W WO 2024153027 A1 WO2024153027 A1 WO 2024153027A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- display
- application
- screen
- display mode
- floating window
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000007667 floating Methods 0.000 claims abstract description 120
- 238000004891 communication Methods 0.000 claims abstract description 10
- 230000015654 memory Effects 0.000 claims description 25
- 230000004044 response Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present application belongs to the field of communication technology, and specifically relates to an application display method and an application display device.
- the purpose of the embodiments of the present application is to provide an application display method and an application display device, which can solve the problems of low information acquisition efficiency and complicated operations.
- an embodiment of the present application provides an application display method, the method comprising: determining an application running in the background; displaying a target floating window on the first screen according to a first display mode, and displaying the target floating window on the second screen according to a second display mode; wherein the target floating window displays application running information of the application.
- an embodiment of the present application provides an application display device, comprising: a processing module and a display module; the processing module is used to determine the application running in the background; the display module is used to display a target floating window on the first screen according to a first display mode, and to display the target floating window on the second screen according to a second display mode; wherein the target floating window displays application running information of the application.
- an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
- an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
- an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
- an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
- the application running in the background can be determined; the target floating window is displayed on the first screen according to the first display mode, and the target floating window is displayed on the second screen according to the second display mode; wherein the target floating window displays the application running information of the application.
- the target floating window can be displayed in different display modes on different screens, and the target floating window displays the application running information of the application running in the background, the user can obtain the application running information through the target floating window of any screen. In this way, the user can view the running status of all applications running in the background without performing any operation and without affecting the running of the foreground application, thereby improving the user's information acquisition efficiency.
- FIG1 is a schematic diagram of a flow chart of an application display method provided in an embodiment of the present application.
- FIG2 is one of the interface schematic diagrams of the application display method provided in the embodiment of the present application.
- FIG3 is a second schematic diagram of an interface of an application display method provided in an embodiment of the present application.
- FIG5 is a schematic diagram of the structure of an application display device provided in an embodiment of the present application.
- FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- FIG. 7 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
- first, second, etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
- the first object can be one or more.
- “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated before and after are in an "or” relationship.
- the application display method provided in the embodiment of the present application may be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the application display method.
- the devices include but are not limited to mobile phones, tablet computers, computers, cameras, wearable devices, etc.
- the application display method provided in the embodiment of the present application is described below using the electronic device as an example of the execution subject.
- an embodiment of the present application provides an application display method, which is applied to an electronic device including at least a first screen and a second screen.
- the method may include steps 101 to 102:
- Step 101 Determine the application program running in the background.
- the trigger mechanism for the electronic device to determine the application running in the background may include the following methods: one implementation method is that the electronic device can determine the application running in the background under the trigger of the user, for example, the user can make a long press input on the display screen of the electronic device, and the electronic device can determine the application running in the background in response to the long press input; another implementation method is that the electronic device can determine the application running in the background according to a preset period, for example, when the electronic device is in a bright screen state, the electronic device can determine the application running in the background according to a ten-minute detection period; another implementation method is that the electronic device can determine the application running in the background when the application running in the background is updated.
- the application currently running in the foreground is the first application
- the application running in the background is updated, and at this time, the electronic device can detect the application running in the background. It can be determined specifically according to actual usage needs, and the embodiments of the present application are not limited to this.
- the application running in the background in the embodiment of the present application refers to an application running in the background, that is, an application whose application interface is not displayed on the display screen of the electronic device but is still in a running state.
- Step 102 Display a target floating window on the first screen in a first display mode, and display the target floating window on the second screen in a second display mode.
- the target floating window displays application running information of the application running in the background.
- the application running information may include at least one of the following: application identification, task identification, task execution progress, and operation control.
- the first display mode and the second display mode may be the same, or may have at least one of the following differences: window display area, display position, and display content; wherein different window display areas correspond to different display contents.
- different window display areas may correspond to different display contents, and the larger the window display area of the target floating window is, the more display contents are in the target floating window.
- different window display areas may correspond to different display positions.
- the above-mentioned display content refers to the number of types of application running information contained in the target floating window.
- the display content in the target floating window may include application identification and task identification; when the window display area of the target floating window is display area 2, the display content in the target floating window may include application identification, task identification, task execution progress and operation controls.
- display area 1 is smaller than display area 2.
- the application identifier may be an application icon or an application name.
- the task identifier may be used to indicate the task currently being executed by the application running in the background. For example, if the application running in the background is a music player, the task identifier may be the name of the music currently being played.
- the task execution progress may be used to indicate the progress of the application running in the background. For example, if the application running in the background is an application store, the task execution progress can be an application download progress bar.
- the above operation control can be used to control whether the task continues to run. For example, the operation control can include a pause control, a run control, an end task control, etc.
- the shape of the target floating window may be a rounded rectangle, a circle, an ellipse or a three-dimensional figure, etc., which may be determined according to actual usage requirements and is not limited in this embodiment of the present application.
- the electronic device can determine the display priority of the application running in the background according to preset rules; and display the application running information of the application running in the background in the target floating window in sequence according to the display priority; wherein the preset rules may include at least one of the following: the time the application runs in the background, the power consumption of the application, and the frequency of use of the application.
- time the application runs in the background can be the start time of the application running in the background. For example, if the first application starts running in the background at 8:00, the time the application runs in the background is 8:00.
- time the application runs in the background can also be the duration of the application running in the background. For example, if the first application starts running in the background at 8:00 and the current time is 8:30, the time the application runs in the background is 30 minutes.
- the specific time can be determined according to actual usage requirements, and the embodiments of the present application are not limited to this.
- the electronic device may determine the display priority of the application running in the background in reverse chronological order. For example, if the start time when the first application runs in the background is 8:00 and the start time when the second application runs in the background is 8:05, the display priority of the second application may be higher than the display priority of the first application.
- the “time the application runs in the background” is the duration of the application running in the background
- the shorter the duration the higher the display priority of the application running in the background.
- the display priority of the first application may be higher than the display priority of the second application.
- the electronic device may display the time that the application runs in the background while displaying the application running information of the application.
- the duration only includes the time during which the application ran in the background most recently.
- the power consumption of the above application refers to the power consumption of the application running in the background per unit time.
- the electronic device may display the power consumption of the application program while displaying the application running information of the application program.
- the usage frequency of the above application refers to the number of times the application running in the background is used per unit time. The higher the usage frequency of the application running in the background, the higher the display priority of the application.
- the electronic device may display the frequency of use of the application program while displaying the application running information of the application program.
- the applications running in the background include application 1 and application 2.
- the preset rules include "power consumption of applications”
- the electronic device can first determine the power consumption of application 1 and application 2 respectively when they run continuously for 1 hour. If the power consumption of application 1 is 1.5% and the power consumption of application 2 is 0.6%, the electronic device can determine that the display priority of application 1 is higher than the display priority of application 2. After that, the electronic device can display application running information 1 of application 1 above application running information 2 of application 2.
- the electronic device can receive a first input to the target floating window in the target screen; in response to the first input, update the display mode of the target floating window on the target screen to a third display mode according to input parameters of the first input; wherein the target screen is one of the first screen and the second screen.
- the above input parameters may include at least one of the following: input position, input frequency, input pressure value, input trajectory, input duration, etc.
- the third display mode refers to a display mode different from the current display mode on the screen.
- the third display mode may be a display mode different from the first display mode; when the target screen is the second screen, the third display mode may be a display mode different from the second display mode.
- the display mode of the target floating window includes a window display area
- the target floating window includes three levels of window display areas: "small", “medium”, and "large”.
- the electronic device can display a target floating window of the "medium” level in response to the click input.
- the electronic device can display a target floating window of the "large” level in response to the long press input.
- the display mode of the target floating window on the target screen can be updated according to the input parameters of the first input, the diversity of the display mode of the target floating window can be improved to meet the personalized viewing needs of the user.
- the target floating window can be displayed in different display modes on different screens, and the target floating window displays the application running information of the application running in the background, the user can obtain the application running information through the target floating window on any screen. In this way, the user can view the running status of all the applications running in the background without performing any operation and without affecting the running of the foreground application, thereby improving the user's information acquisition efficiency.
- the first screen may be a foldable screen.
- the display area of the first screen may be larger than the display area of the second screen.
- the first screen may be an inner screen
- the second screen may be an outer screen.
- the electronic device may receive a folding input from a user on the first screen; and in response to the folding input, when the window display area of the first display mode is less than or equal to a preset display area, the target area in the second screen is folded.
- the target floating window is updated from the second display mode to the first display mode; when the window display area of the first display mode is larger than the preset display area, the target floating window in the second screen is updated from the second display mode to the fourth display mode; wherein the window display area of the fourth display mode is equal to the preset display area.
- the preset display area may be a maximum window display area adapted to the second screen.
- the target floating window includes three levels of window display areas of "small”, “medium” and “large”, and the preset display area is the window display area of the "medium” level.
- the electronic device can respond to the folding input and display the "small” level target floating window on the second screen; in the case where the "medium” level target floating window is displayed on the first screen, if the user performs a folding input operation on the first screen, the electronic device can respond to the folding input and display the "medium” level target floating window on the second screen; in the case where the "large” level target floating window is displayed on the first screen, if the user performs a folding input operation on the first screen, the electronic device can respond to the folding input and display the "medium” level target floating window on the second screen.
- the electronic device can receive a user's expansion input for the first screen; in response to the expansion input, re-display the target floating window on the first screen according to the first display mode.
- the target floating window includes three levels of window display areas of "small”, “medium” and “large”, and the preset display area is the window display area of the "medium” level.
- the electronic device can respond to the folding input and display the "medium” level target floating window on the second screen.
- the electronic device can respond to the expansion input and redisplay the "large” level target floating window on the first screen.
- the electronic device when the window display area of the first display mode is less than or equal to the preset display area, after the electronic device updates the target floating window in the second screen from the second display mode to the first display mode, if the user inputs an expansion input on the first screen, the electronic device can respond to the expansion input and display the target floating window on the first screen according to the window display area of the target floating window displayed on the second screen.
- the user can trigger the electronic device to re-display the target floating window in the first screen according to the first display mode. Therefore, the consistency of the display state of the target floating window can be ensured.
- the application display method provided in the embodiment of the present application can be executed by an application display device.
- the application display device provided in the embodiment of the present application is described by taking the application display method executed by the application display device as an example.
- the embodiment of the present application further provides an application display device 500, including: a processing module 501 and a display module 502.
- the processing module 501 is used to determine an application running in the background;
- the display module 502 is used to display a target floating window on the first screen in a first display mode, and display the target floating window on the second screen in a second display mode;
- the target floating window displays the application running information of the application.
- window display area window display area, display position, and display content; wherein different window display areas correspond to different display contents.
- the device 500 may also include a receiving module 503; the receiving module 503 is used to receive a first input to the target floating window in the target screen; the display module 502 is also used to respond to the first input and update the display mode of the target floating window on the target screen to a third display mode according to the input parameters of the first input; wherein the target screen is one of the first screen and the second screen.
- the first screen is a foldable screen, and the display area of the first screen is larger than the display area of the second screen; the receiving module 503 is also used to receive a user's folding input for the first screen; the display module 502 is also used to respond to the folding input, and when the window display area of the first display mode is less than or equal to a preset display area, update the target floating window in the second screen from the second display mode to the first display mode; when the window display area of the first display mode is larger than the preset display area, update the target floating window in the second screen from the second display mode to the fourth display mode; wherein the window display area of the fourth display mode is equal to the preset display area.
- the receiving module 503 is further used to receive a user's expansion input for the first screen; the display module 502 is further used to respond to the expansion input and re-display the target floating window on the first screen according to the first display mode.
- the processing module 501 is also used to determine the display priority of the application according to preset rules; the display module 502 is specifically used to display the application running information of the application in the target floating window in sequence according to the display priority; wherein the preset rules include at least one of the following: the time the application runs in the background, the power consumption of the application, and the frequency of use of the application.
- the target floating window can be displayed in different display modes on different screens, and the target floating window displays the application running information of the application running in the background, the user can obtain the application running information through the target floating window on any screen. In this way, the user can view the running status of all the applications running in the background without performing any operation and without affecting the running of the foreground application, thereby improving the user's information acquisition efficiency.
- the application display device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
- the electronic device can be a terminal or other devices other than a terminal.
- the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
- It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
- Network Attached Storage NAS
- PC personal computer
- TV television
- teller machine a self-service machine
- the application display device in the embodiment of the present application may be a device having an operating system.
- the operating system may be Android (Android) operating system, may be an iOS operating system, or may be other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the application display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 4, and will not be described again here to avoid repetition.
- an embodiment of the present application also provides an electronic device 600, including a processor 601 and a memory 602, and the memory 602 stores a program or instruction that can be executed on the processor 601.
- the program or instruction is executed by the processor 601
- the various steps of the above-mentioned application display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
- FIG. 7 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
- the electronic device 1000 can also include a power source (such as a battery) for supplying power to each component, and the power source can be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
- a power source such as a battery
- the electronic device structure shown in FIG7 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
- the processor 1010 is used to determine the application program running in the background.
- the display unit 1006 is used to display the target floating window on the first screen according to the first display mode, and display the target floating window on the second screen according to the second display mode; wherein the target floating window displays the application running information of the application.
- the target floating window can be displayed in different display modes on different screens, and the target floating window displays the application running information of the application running in the background, the user can obtain the application running information through the target floating window on any screen. In this way, the user can view the running status of all the applications running in the background without performing any operation and without affecting the running of the foreground application, thereby improving the user's information acquisition efficiency.
- the user input unit 1007 is used to receive a first input to the target floating window in the target screen.
- the display unit 1006 is further used to respond to the first input and update the display mode of the target floating window on the target screen to a third display mode according to the input parameters of the first input; wherein the target screen is one of the first screen and the second screen.
- the display mode of the target floating window on the target screen can be updated according to the input parameters of the first input, the diversity of the display mode of the target floating window can be improved to meet the personalized viewing needs of the user.
- the first screen is a foldable screen, and the display area of the first screen is larger than the display area of the second screen. area.
- the user input unit 1007 is further used to receive a user's folding input on the first screen.
- the display unit 1006 is also used to respond to the folding input, and when the window display area of the first display mode is less than or equal to the preset display area, update the target floating window in the second screen from the second display mode to the first display mode; when the window display area of the first display mode is greater than the preset display area, update the target floating window in the second screen from the second display mode to the fourth display mode; wherein the window display area of the fourth display mode is equal to the preset display area.
- the user input unit 1007 is further configured to receive a user input for expanding the first screen.
- the display unit 1006 is further configured to, in response to the expansion input, re-display the target floating window on the first screen in the first display mode.
- the user can trigger the electronic device to re-display the target floating window in the first screen according to the first display mode. Therefore, the consistency of the display state of the target floating window can be ensured.
- the processor 1010 is further configured to determine a display priority of the application according to a preset rule.
- the display unit 1006 is specifically used to display the application running information of the application in the target floating window in sequence according to the display priority; wherein the preset rules include at least one of the following: the time the application runs in the background, the power consumption of the application, and the frequency of use of the application.
- the display priority of applications running in the background can be determined according to preset rules, and the application running information of applications running in the background is displayed in the target floating window in sequence according to the display priority, the user can preferentially see the application running information of applications with higher display priority, which can help the user process background tasks more efficiently.
- the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode.
- the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
- the user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072.
- the touch panel 10071 is also called a touch screen.
- the touch panel 10071 may include two parts: a touch detection device and a touch controller.
- Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
- the memory 1009 can be used to store software programs and various data.
- the memory 1009 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.).
- the memory 1009 may include a volatile memory or a nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memories.
- the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
- the memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
- the processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
- An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
- a program or instruction is stored.
- each process of the above-mentioned application display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the processor is the processor in the electronic device described in the above embodiment.
- the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
- An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned application display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
- An embodiment of the present application provides a computer program product, which is stored in a storage medium.
- the program product is executed by at least one processor to implement the various processes of the above-mentioned application display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
- a storage medium such as ROM/RAM, a disk, or an optical disk
- a terminal which can be a mobile phone, a computer, a server, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种应用显示方法和应用显示装置,属于通信技术领域。应用于至少包括第一屏和第二屏的电子设备,具体方案包括:确定在后台运行的应用程序;在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。
Description
相关申请的交叉引用
本申请要求于2023年01月17日提交的申请号为202310069227.0,发明名称为“应用显示方法和应用显示装置”的中国专利申请的优先权,其通过引用方式全部并入本申请。
本申请属于通信技术领域,具体涉及一种应用显示方法和应用显示装置。
随着电子通信技术的发展,电子设备上可以安装的应用程序的种类越来越多,用户可以触发电子设备同时运行多个应用程序。
在相关技术中,当电子设备同时运行多个应用程序时,只有一个应用程序可以运行在前台,即只有一个应用程序的应用界面可以在显示屏上显示,其他应用程序则必须在后台运行。若用户想要查看在后台运行的应用程序的运行状态,则需要将该在后台运行的应用程序切换到前台运行。
然而,当后台运行的应用程序数量较多时,用户需要频繁地进行界面切换的操作,信息获取效率较低,操作繁琐。
发明内容
本申请实施例的目的是提供一种应用显示方法和应用显示装置,能够解决信息获取效率较低,操作繁琐的问题。
第一方面,本申请实施例提供了一种应用显示方法,该方法包括:确定在后台运行的应用程序;在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。
第二方面,本申请实施例提供了一种应用显示装置,包括:处理模块和显示模块;所述处理模块,用于确定在后台运行的应用程序;所述显示模块,用于在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,可以确定在后台运行的应用程序;在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。通过该方案,由于可以在不同的屏幕中以不同的显示方式显示目标悬浮窗,且该目标悬浮窗中显示有在后台运行的应用程序的应用运行信息,因此,用户可以通过任意一个屏幕的目标悬浮窗获取应用运行信息。如此,用户可以在不进行任何操作、且不影响前台应用程序运行的情况下,查看所有在后台运行的应用程序的运行状态,从而可以提高用户的信息获取效率。
图1是本申请实施例提供的应用显示方法的流程示意图;
图2是本申请实施例提供的应用显示方法的界面示意图之一;
图3是本申请实施例提供的应用显示方法的界面示意图之二;
图4是本申请实施例提供的应用显示方法的界面示意图之三;
图5是本申请实施例提供的应用显示装置的结构示意图;
图6是本申请实施例提供的电子设备的结构示意图;
图7是本申请实施例提供的电子设备的硬件示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的应用显示方法进行详细地说明。
本申请实施例提供的应用显示方法,该应用显示方法的执行主体可以为电子设备或者电子设备中能够实现该应用显示方法的功能模块或功能实体,本申请实施例提及的电子设
备包括但不限于手机、平板电脑、电脑、相机、可穿戴设备等,下面以电子设备作为执行主体为例对本申请实施例提供的应用显示方法进行说明。
如图1所示,本申请实施例提供了一种应用显示方法,应用于至少包括第一屏和第二屏的电子设备,该方法可以包括步骤101-步骤102:
步骤101、确定在后台运行的应用程序。
可选地,电子设备确定在后台运行的应用程序的触发机制可以包括以下方式:一种实现方式为,电子设备可以在用户的触发下确定在后台运行的应用程序,例如,用户可以对电子设备的显示屏进行一个长按输入,电子设备可以响应于该长按输入,确定在后台运行的应用程序;另一种实现方式为,电子设备可以按照预设周期确定在后台运行的应用程序,例如,在电子设备处于亮屏状态的情况下,电子设备可以按照十分钟的检测周期确定在后台运行的应用程序;再一种实现方式为,电子设备可以在后台运行的应用程序更新的情况下,确定在后台运行的应用程序。例如,若当前在前台运行的应用程序为第一应用,当用户触发电子设备将第一应用切换到后台运行时,在后台运行的应用程序就发生了更新,此时,电子设备可以检测在后台运行的应用程序。具体可以根据实际使用需求确定,本申请实施例对此不作限定。
需要说明的是,本申请实施例中的在后台运行的应用程序是指运行在后台的应用程序,即电子设备的显示屏中不显示应用界面,但仍处于运行状态的应用程序。
步骤102、在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗。
其中,上述目标悬浮窗中显示有在后台运行的应用程序的应用运行信息。该应用运行信息可以包括以下至少一项:应用标识、任务标识、任务执行进度以及操作控件。
可选地,上述第一显示方式与第二显示方式可以相同,也可以存在以下至少一项区别点:窗口显示面积、显示位置、显示内容;其中,不同的窗口显示面积对应不同的显示内容。
可选地,不同的窗口显示面积可以对应不同的显示内容,目标悬浮窗的窗口显示面积越大,目标悬浮窗中的显示内容越多。
可选地,不同的窗口显示面积可以对应不同的显示位置。
需要说明的是,上述显示内容是指目标悬浮窗中包含的应用运行信息的种类数量,例如,在目标悬浮窗的窗口显示面积为显示面积1的情况下,目标悬浮窗中的显示内容可以包括应用标识和任务标识;在目标悬浮窗的窗口显示面积为显示面积2的情况下,目标悬浮窗中的显示内容可以包括应用标识、任务标识、任务执行进度以及操作控件。其中,显示面积1小于显示面积2。
可选地,上述应用标识可以为应用图标或应用名称。上述任务标识可以用于指示在后台运行的应用程序当前正在运行的任务,例如,若在后台运行的应用程序为音乐播放器,则任务标识可以为当前正在播放的音乐名称。上述任务执行进度可以用于指示在后台运行
的应用程序的任务运行进度,例如,若在后台运行的应用程序为应用商店,则任务执行进度可以为应用下载进度条。上述操作控件可以用于控制任务是否继续运行,例如,操作控件可以为包括暂停控件、运行控件、结束任务控件等。
可选地,上述目标悬浮窗的形状可以为圆角矩形、圆形、椭圆形或立体图形等,具体可以根据实际使用需求确定,本申请实施例对此不作限定。
可选地,电子设备可以按照预设规则确定在后台运行的应用程序的显示优先级;并根据所述显示优先级在所述目标悬浮窗中依次显示所述在后台运行的应用程序的应用运行信息;其中,所述预设规则可以包括以下至少一项:应用程序在后台运行的时间、应用程序的耗电量以及应用程序的使用频率。
可选地,上述“应用程序在后台运行的时间”可以为应用程序在后台运行的起始时间,例如,若第一应用在8:00的时候开始在后台运行,则应用程序在后台运行的时间为8:00。上述“应用程序在后台运行的时间”也可以为应用程序在后台运行的持续时间,例如,若第一应用在8:00的时候开始在后台运行,且当前时间为8:30,则应用程序在后台运行的时间为30分钟。具体可以根据实际使用需求确定,本申请实施例对此不作限定。
可选地,在“应用程序在后台运行的时间”为应用程序在后台运行的起始时间的情况下,电子设备可以按照时间倒序确定在后台运行的应用程序的显示优先级。例如,若第一应用在后台运行的起始时间为8:00,第二应用在后台运行的起始时间为8:05,则第二应用的显示优先级可以高于第一应用的显示优先级。
可选地,在“应用程序在后台运行的时间”为应用程序在后台运行的持续时间的情况下,持续时间越短,则在后台运行的应用程序的显示优先级越高。例如,若第一应用在后台运行的持续时间为5分钟,第二应用在后台运行的持续时间为10分钟,则第一应用的显示优先级可以高于第二应用的显示优先级。
可选地,在预设规则包括“应用程序在后台运行的时间”的情况下,电子设备可以在显示应用程序的应用运行信息的同时,显示该应用程序在后台运行的时间。
需要说明的是,在“应用程序在后台运行的时间”为应用程序在后台运行的持续时间的情况下,该持续时间只包括应用程序最近一次在后台运行的时间。
可选地,上述应用程序的耗电量是指在后台运行的应用程序在单位时间内的耗电量。在后台运行的应用程序的耗电量越大,则该应用程序的显示优先级越高。
可选地,在预设规则包括“应用程序的耗电量”的情况下,电子设备可以在显示应用程序的应用运行信息的同时,显示该应用程序的耗电量。
可选地,上述应用程序的使用频率是指在后台运行的应用程序在单位时间内的使用次数。在后台运行的应用程序的使用频率越高,则该应用程序的显示优先级越高。
可选地,在预设规则包括“应用程序的使用频率”的情况下,电子设备可以在显示应用程序的应用运行信息的同时,显示该应用程序的使用频率。
示例性地,如图2所示,以在后台运行的应用程序包括应用程序1和应用程序2为例。
在预设规则包括“应用程序的耗电量”的情况下,电子设备可以先分别确定应用程序1和应用程序2持续运行1个小时的耗电量,若应用程序1的耗电量为1.5%,应用程序2的耗电量为0.6%,则电子设备可以确定应用程序1的显示优先级高于应用程序2的显示优先级,之后,电子设备可以将应用程序1的应用运行信息1显示在应用程序2的应用运行信息2的上面。
基于上述方案,由于可以按照预设规则确定在后台运行的应用程序的显示优先级;并根据显示优先级在目标悬浮窗中依次显示在后台运行的应用程序的应用运行信息,因此,用户可以优先看到显示优先级较高的应用程序的应用运行信息,如此,可以帮助用户更有效率的处理后台任务。
可选地,在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗之后,电子设备可以接收对目标屏中的目标悬浮窗的第一输入;响应于所述第一输入,根据所述第一输入的输入参数将所述目标悬浮窗在所述目标屏的显示方式更新为第三显示方式;其中,所述目标屏为所述第一屏和所述第二屏中的一个。
可选地,上述输入参数可以包括以下至少一项:输入位置、输入频次、输入压力值、输入轨迹、输入时长等。
可选地,上述第三显示方式是指与屏幕中当前显示方式不同的显示方式,例如,在目标屏为第一屏的情况下,第三显示方式可以为与第一显示方式不同的显示方式,在目标屏为第二屏的情况下,第三显示方式可以为与第二显示方式不同的显示方式。
示例性地,以目标悬浮窗的显示方式包括窗口显示面积,目标悬浮窗包括“小”、“中”、“大”三个等级的窗口显示面积为例。在电子设备当前显示“小”等级的目标悬浮窗的情况下,如图3所示,当用户对“小”等级的目标悬浮窗执行点击输入的操作后,电子设备可以响应于该点击输入,显示“中”等级的目标悬浮窗。如图4所示,当用户对“小”等级的目标悬浮窗执行长按输入的操作后,电子设备可以响应于该长按输入,显示“大”等级的目标悬浮窗。
基于上述方案,由于可以根据第一输入的输入参数更新目标悬浮窗在目标屏的显示方式,因此可以提高目标悬浮窗显示方式的多样性,以满足用户的个性化查看需求。
在本申请实施例中,由于可以在不同的屏幕中以不同的显示方式显示目标悬浮窗,且该目标悬浮窗中显示有在后台运行的应用程序的应用运行信息,因此,用户可以通过任意一个屏幕的目标悬浮窗获取应用运行信息。如此,用户可以在不进行任何操作、且不影响前台应用程序运行的情况下,查看所有在后台运行的应用程序的运行状态,从而可以提高用户的信息获取效率。
可选地,上述第一屏可以为可折叠的屏幕。第一屏的显示面积可以大于第二屏的显示面积。例如,第一屏可以为内屏,第二屏可以为外屏。
可选地,电子设备可以接收用户对第一屏的折叠输入;并响应于所述折叠输入,在所述第一显示方式的窗口显示面积小于或等于预设显示面积的情况下,将所述第二屏中的目
标悬浮窗从所述第二显示方式更新为所述第一显示方式;在所述第一显示方式的窗口显示面积大于所述预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为第四显示方式;其中,所述第四显示方式的窗口显示面积等于所述预设显示面积。
可选地,上述预设显示面积可以为与第二屏适配的最大窗口显示面积。
示例性地,以目标悬浮窗包括“小”、“中”、“大”三个等级的窗口显示面积、预设显示面积为“中”等级的窗口显示面积为例。在第一屏显示“小”等级目标悬浮窗的情况下,若用户对第一屏执行折叠输入的操作,则电子设备可以响应于该折叠输入,在第二屏显示“小”等级目标悬浮窗;在第一屏显示“中”等级目标悬浮窗的情况下,若用户对第一屏执行折叠输入的操作,则电子设备可以响应于该折叠输入,在第二屏显示“中”等级目标悬浮窗;在第一屏显示“大”等级目标悬浮窗的情况下,若用户对第一屏执行折叠输入的操作,则电子设备可以响应于该折叠输入,在第二屏显示“中”等级目标悬浮窗。
在本申请实施例中,由于在从第一屏显示目标悬浮窗切换到第二屏显示目标悬浮窗时,可以实现自然地过渡,因此,不仅可以帮助用户在两个屏切换时获取到更好的交互体验,还可以帮助用户实现信息获取的最大化。
可选地,在将所述第二屏中的目标悬浮窗从所述第二显示方式更新为第四显示方式之后,电子设备可以接收用户对所述第一屏的展开输入;响应于所述展开输入,重新按照所述第一显示方式在所述第一屏显示所述目标悬浮窗。
示例性地,仍以目标悬浮窗包括“小”、“中”、“大”三个等级的窗口显示面积、预设显示面积为“中”等级的窗口显示面积为例。在第一屏显示“大”等级目标悬浮窗的情况下,若用户对第一屏进行折叠输入,则电子设备可以响应于该折叠输入,在第二屏显示“中”等级目标悬浮窗。之后,若用户对第一屏进行展开输入,则电子设备可以响应于该展开输入,在第一屏重新显示“大”等级目标悬浮窗。
可选地,在第一显示方式的窗口显示面积小于或等于预设显示面积的情况下,电子设备将第二屏中的目标悬浮窗从第二显示方式更新为第一显示方式后,若用户对第一屏进行展开输入,则电子设备可以响应于该展开输入,按照所述第二屏显示所述目标悬浮窗的窗口显示面积在所述第一屏显示所述目标悬浮窗。
在本申请实施例中,由于将第二屏中的目标悬浮窗从第二显示方式更新为第四显示方式之后,用户可以触发电子设备重新按照所述第一显示方式在第一屏显示所述目标悬浮窗。因此,可以保证目标悬浮窗显示状态的一致性。
本申请实施例提供的应用显示方法,执行主体可以为应用显示装置。本申请实施例中以应用显示装置执行应用显示方法为例,说明本申请实施例提供的应用显示装置。
如图5所示,本申请实施例还提供一种应用显示装置500,包括:处理模块501和显示模块502。所述处理模块501,用于确定在后台运行的应用程序;所述显示模块502,用于在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;
其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。
可选地,所述第一显示方式与所述第二显示方式存在以下至少一项区别点:窗口显示面积、显示位置、显示内容;其中,不同的窗口显示面积对应不同的显示内容。
可选地,继续参考图5,所述装置500还可以包括接收模块503;所述接收模块503,用于接收对目标屏中的所述目标悬浮窗的第一输入;所述显示模块502,还用于响应于所述第一输入,根据所述第一输入的输入参数将所述目标悬浮窗在所述目标屏的显示方式更新为第三显示方式;其中,所述目标屏为所述第一屏和所述第二屏中的一个。
可选地,所述第一屏为可折叠的屏幕,所述第一屏的显示面积大于所述第二屏的显示面积;所述接收模块503,还用于接收用户对所述第一屏的折叠输入;所述显示模块502,还用于响应于所述折叠输入,在所述第一显示方式的窗口显示面积小于或等于预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为所述第一显示方式;在所述第一显示方式的窗口显示面积大于所述预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为第四显示方式;其中,所述第四显示方式的窗口显示面积等于所述预设显示面积。
可选地,所述接收模块503,还用于接收用户对所述第一屏的展开输入;所述显示模块502,还用于响应于所述展开输入,重新按照所述第一显示方式在所述第一屏显示所述目标悬浮窗。
可选地,所述处理模块501,还用于按照预设规则确定所述应用程序的显示优先级;所述显示模块502,具体用于根据所述显示优先级在所述目标悬浮窗中依次显示所述应用程序的应用运行信息;其中,所述预设规则包括以下至少一项:应用程序在后台运行的时间、应用程序的耗电量以及应用程序的使用频率。
在本申请实施例中,由于可以在不同的屏幕中以不同的显示方式显示目标悬浮窗,且该目标悬浮窗中显示有在后台运行的应用程序的应用运行信息,因此,用户可以通过任意一个屏幕的目标悬浮窗获取应用运行信息。如此,用户可以在不进行任何操作、且不影响前台应用程序运行的情况下,查看所有在后台运行的应用程序的运行状态,从而可以提高用户的信息获取效率。
本申请实施例中的应用显示装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的应用显示装置可以为具有操作系统的装置。该操作系统可以为安卓
(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的应用显示装置能够实现图1至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601和存储器602,存储器602上存储有可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述应用显示方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图7为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1010,用于确定在后台运行的应用程序。
显示单元1006,用于在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。
在本申请实施例中,由于可以在不同的屏幕中以不同的显示方式显示目标悬浮窗,且该目标悬浮窗中显示有在后台运行的应用程序的应用运行信息,因此,用户可以通过任意一个屏幕的目标悬浮窗获取应用运行信息。如此,用户可以在不进行任何操作、且不影响前台应用程序运行的情况下,查看所有在后台运行的应用程序的运行状态,从而可以提高用户的信息获取效率。
可选地,用户输入单元1007,用于接收对目标屏中的所述目标悬浮窗的第一输入。
显示单元1006,还用于响应于所述第一输入,根据所述第一输入的输入参数将所述目标悬浮窗在所述目标屏的显示方式更新为第三显示方式;其中,所述目标屏为所述第一屏和所述第二屏中的一个。
在本申请实施例中,由于可以根据第一输入的输入参数更新目标悬浮窗在目标屏的显示方式,因此可以提高目标悬浮窗显示方式的多样性,以满足用户的个性化查看需求。
可选地,所述第一屏为可折叠的屏幕,所述第一屏的显示面积大于所述第二屏的显示
面积。
用户输入单元1007,还用于接收用户对所述第一屏的折叠输入。
显示单元1006,还用于响应于所述折叠输入,在所述第一显示方式的窗口显示面积小于或等于预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为所述第一显示方式;在所述第一显示方式的窗口显示面积大于所述预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为第四显示方式;其中,所述第四显示方式的窗口显示面积等于所述预设显示面积。
在本申请实施例中,由于在从第一屏显示目标悬浮窗切换到第二屏显示目标悬浮窗时,可以实现自然地过渡,因此,不仅可以帮助用户在两个屏切换时获取到更好的交互体验,还可以帮助用户实现信息获取的最大化。
可选地,用户输入单元1007,还用于接收用户对所述第一屏的展开输入。
显示单元1006,还用于响应于所述展开输入,重新按照所述第一显示方式在所述第一屏显示所述目标悬浮窗。
在本申请实施例中,由于将第二屏中的目标悬浮窗从第二显示方式更新为第四显示方式之后,用户可以触发电子设备重新按照所述第一显示方式在第一屏显示所述目标悬浮窗。因此,可以保证目标悬浮窗显示状态的一致性。
可选地,处理器1010,还用于按照预设规则确定所述应用程序的显示优先级。
显示单元1006,具体用于根据所述显示优先级在所述目标悬浮窗中依次显示所述应用程序的应用运行信息;其中,所述预设规则包括以下至少一项:应用程序在后台运行的时间、应用程序的耗电量以及应用程序的使用频率。
在本申请实施例中,由于可以按照预设规则确定在后台运行的应用程序的显示优先级;并根据显示优先级在目标悬浮窗中依次显示在后台运行的应用程序的应用运行信息,因此,用户可以优先看到显示优先级较高的应用程序的应用运行信息,如此,可以帮助用户更有效率的处理后台任务。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072中的至少一种。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器
1009可以包括易失性存储器或非易失性存储器,或者,存储器1009可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1009包括但不限于这些和任意其它适合类型的存储器。
处理器1010可包括一个或多个处理单元;可选的,处理器1010集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述应用显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述应用显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述应用显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包
括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (16)
- 一种应用显示方法,应用于至少包括第一屏和第二屏的电子设备,所述方法包括:确定在后台运行的应用程序;在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。
- 根据权利要求1所述的应用显示方法,其中,所述第一显示方式与所述第二显示方式存在以下至少一项区别点:窗口显示面积、显示位置、显示内容;其中,不同的所述窗口显示面积对应不同的显示内容。
- 根据权利要求1所述的应用显示方法,其中,所述在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗之后,所述方法还包括:接收对目标屏中的所述目标悬浮窗的第一输入;响应于所述第一输入,根据所述第一输入的输入参数将所述目标悬浮窗在所述目标屏的显示方式更新为第三显示方式;其中,所述目标屏为所述第一屏和所述第二屏中的一个。
- 根据权利要求1所述的应用显示方法,其中,所述第一屏为可折叠的屏幕,所述第一屏的显示面积大于所述第二屏的显示面积,所述方法还包括:接收用户对所述第一屏的折叠输入;响应于所述折叠输入,在所述第一显示方式的窗口显示面积小于或等于预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为所述第一显示方式;在所述第一显示方式的窗口显示面积大于所述预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为第四显示方式;其中,所述第四显示方式的窗口显示面积等于所述预设显示面积。
- 根据权利要求4所述的应用显示方法,其中,所述将所述第二屏中的目标悬浮窗从所述第二显示方式更新为第四显示方式之后,所述方法还包括:接收用户对所述第一屏的展开输入;响应于所述展开输入,重新按照所述第一显示方式在所述第一屏显示所述目标悬浮窗。
- 根据权利要求1-5任一项所述的应用显示方法,其中,所述方法还包括:按照预设规则确定所述应用程序的显示优先级;根据所述显示优先级在所述目标悬浮窗中依次显示所述应用程序的应用运行信息;其中,所述预设规则包括以下至少一项:应用程序在后台运行的时间、应用程序的耗电量以及应用程序的使用频率。
- 一种应用显示装置,包括:处理模块和显示模块;所述处理模块,用于确定在后台运行的应用程序;所述显示模块,用于在所述第一屏按照第一显示方式显示目标悬浮窗,在所述第二屏按照第二显示方式显示所述目标悬浮窗;其中,所述目标悬浮窗中显示有所述应用程序的应用运行信息。
- 根据权利要求7所述的应用显示装置,其中,所述第一显示方式与所述第二显示方式存在以下至少一项区别点:窗口显示面积、显示位置、显示内容;其中,不同的所述窗口显示面积对应不同的显示内容。
- 根据权利要求7所述的应用显示装置,其中,所述装置还包括接收模块;所述接收模块,用于接收对目标屏中的所述目标悬浮窗的第一输入;所述显示模块,还用于响应于所述第一输入,根据所述第一输入的输入参数将所述目标悬浮窗在所述目标屏的显示方式更新为第三显示方式;其中,所述目标屏为所述第一屏和所述第二屏中的一个。
- 根据权利要求7所述的应用显示装置,其中,所述第一屏为可折叠的屏幕,所述第一屏的显示面积大于所述第二屏的显示面积;所述接收模块,还用于接收用户对所述第一屏的折叠输入;所述显示模块,还用于响应于所述折叠输入,在所述第一显示方式的窗口显示面积小于或等于预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为所述第一显示方式;在所述第一显示方式的窗口显示面积大于所述预设显示面积的情况下,将所述第二屏中的目标悬浮窗从所述第二显示方式更新为第四显示方式;其中,所述第四显示方式的窗口显示面积等于所述预设显示面积。
- 根据权利要求10所述的应用显示装置,其中,所述接收模块,还用于接收用户对所述第一屏的展开输入;所述显示模块,还用于响应于所述展开输入,重新按照所述第一显示方式在所述第一屏显示所述目标悬浮窗。
- 根据权利要求7-11任一项所述的应用显示装置,其中,所述处理模块,还用于按照预设规则确定所述应用程序的显示优先级;所述显示模块,具体用于根据所述显示优先级在所述目标悬浮窗中依次显示所述应用程序的应用运行信息;其中,所述预设规则包括以下至少一项:应用程序在后台运行的时间、应用程序的耗电量以及应用程序的使用频率。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项所述的应用显示方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6任一项所述的应用显示方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6任一项所述的应用显示方法的步骤。
- 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-6任一项所述的应用显示方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310069227.0A CN116088989A (zh) | 2023-01-17 | 2023-01-17 | 应用显示方法和应用显示装置 |
CN202310069227.0 | 2023-01-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024153027A1 true WO2024153027A1 (zh) | 2024-07-25 |
Family
ID=86200573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2024/072303 WO2024153027A1 (zh) | 2023-01-17 | 2024-01-15 | 应用显示方法和应用显示装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116088989A (zh) |
WO (1) | WO2024153027A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116088989A (zh) * | 2023-01-17 | 2023-05-09 | 维沃移动通信有限公司 | 应用显示方法和应用显示装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105549819A (zh) * | 2015-12-11 | 2016-05-04 | 努比亚技术有限公司 | 后台应用信息的显示方法及装置 |
CN105700776A (zh) * | 2016-02-25 | 2016-06-22 | 努比亚技术有限公司 | 一种后台程序的切换装置和切换方法 |
CN109508136A (zh) * | 2018-10-29 | 2019-03-22 | 维沃移动通信有限公司 | 一种应用程序的显示方法及移动终端 |
US20210216195A1 (en) * | 2018-05-28 | 2021-07-15 | Huawei Technologies Co., Ltd. | Split-Screen Display Method for Terminal and Apparatus |
CN116088989A (zh) * | 2023-01-17 | 2023-05-09 | 维沃移动通信有限公司 | 应用显示方法和应用显示装置 |
-
2023
- 2023-01-17 CN CN202310069227.0A patent/CN116088989A/zh active Pending
-
2024
- 2024-01-15 WO PCT/CN2024/072303 patent/WO2024153027A1/zh unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105549819A (zh) * | 2015-12-11 | 2016-05-04 | 努比亚技术有限公司 | 后台应用信息的显示方法及装置 |
CN105700776A (zh) * | 2016-02-25 | 2016-06-22 | 努比亚技术有限公司 | 一种后台程序的切换装置和切换方法 |
US20210216195A1 (en) * | 2018-05-28 | 2021-07-15 | Huawei Technologies Co., Ltd. | Split-Screen Display Method for Terminal and Apparatus |
CN109508136A (zh) * | 2018-10-29 | 2019-03-22 | 维沃移动通信有限公司 | 一种应用程序的显示方法及移动终端 |
CN116088989A (zh) * | 2023-01-17 | 2023-05-09 | 维沃移动通信有限公司 | 应用显示方法和应用显示装置 |
Also Published As
Publication number | Publication date |
---|---|
CN116088989A (zh) | 2023-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11972274B2 (en) | Application management method and apparatus, and electronic device | |
WO2023061280A1 (zh) | 应用程序显示方法、装置及电子设备 | |
CN112835485A (zh) | 应用界面处理方法、装置、电子设备及可读存储介质 | |
WO2022242515A1 (zh) | 界面显示方法及装置 | |
WO2022257916A1 (zh) | 推荐方法及装置 | |
WO2024164931A1 (zh) | 界面显示方法和装置 | |
CN114779977A (zh) | 界面显示方法、装置、电子设备及存储介质 | |
WO2023155877A1 (zh) | 应用图标管理方法、装置和电子设备 | |
WO2024153027A1 (zh) | 应用显示方法和应用显示装置 | |
WO2023083089A1 (zh) | 拍摄控件显示方法, 装置, 电子设备及介质 | |
CN112148167A (zh) | 控件设置方法、装置和电子设备 | |
WO2022143660A1 (zh) | 图标显示方法、装置及电子设备 | |
WO2022068721A1 (zh) | 截屏方法、装置及电子设备 | |
CN114416269A (zh) | 界面显示方法和显示设备 | |
WO2024078552A1 (zh) | 后台应用的管理方法、装置、电子设备及介质 | |
WO2024114571A1 (zh) | 信息显示方法、装置、电子设备和存储介质 | |
WO2024109635A1 (zh) | 界面显示方法及其装置 | |
WO2024114530A1 (zh) | 组件的显示方法、装置、电子设备及介质 | |
WO2024088216A1 (zh) | 内容显示方法、装置、电子设备及可读存储介质 | |
WO2023179539A1 (zh) | 视频编辑方法、装置及电子设备 | |
CN115202524B (zh) | 显示方法和装置 | |
WO2022161243A1 (zh) | 信息显示方法、装置及电子设备 | |
CN115617225A (zh) | 应用界面显示方法、装置、电子设备及存储介质 | |
CN114911389A (zh) | 屏幕显示方法、装置、电子设备和可读存储介质 | |
CN115328355A (zh) | 应用功能启动方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24744203 Country of ref document: EP Kind code of ref document: A1 |