CN114168031B - Display optimization method and device for hole digging screen and storage medium - Google Patents

Display optimization method and device for hole digging screen and storage medium Download PDF

Info

Publication number
CN114168031B
CN114168031B CN202210127537.9A CN202210127537A CN114168031B CN 114168031 B CN114168031 B CN 114168031B CN 202210127537 A CN202210127537 A CN 202210127537A CN 114168031 B CN114168031 B CN 114168031B
Authority
CN
China
Prior art keywords
desktop
application
screen
interface
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210127537.9A
Other languages
Chinese (zh)
Other versions
CN114168031A (en
Inventor
刘雅坤
肖坊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210127537.9A priority Critical patent/CN114168031B/en
Publication of CN114168031A publication Critical patent/CN114168031A/en
Application granted granted Critical
Publication of CN114168031B publication Critical patent/CN114168031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware

Abstract

The embodiment of the application provides a display optimization method, equipment and a storage medium of a hole digging screen, which are applied to electronic equipment for configuring the hole digging screen, and the method comprises the following steps: displaying an application interface, and displaying a shielding image of a top area and/or a side area of the hole digging screen, wherein the application interface is not matched with the hole digging screen; responding to user operation, and switching to a desktop of the electronic equipment from an application interface; and hiding the shielding image before switching to the desktop of the electronic equipment. According to the scheme, the shielding image is hidden before the electronic equipment is switched to the desktop, so that the time difference between the time when the shielding image is hidden and the time when the shielding image returns to the desktop is shortened, the visual blockage of the electronic equipment when the electronic equipment returns to the desktop from an application interface of the unadapted hole digging screen is relieved, and the use experience of a user is improved.

Description

Display optimization method and device for hole digging screen and storage medium
Technical Field
The application relates to the technical field of screen display, in particular to a display optimization method and device for a hole digging screen and a storage medium.
Background
Some electronic devices may currently display an occlusion image in the top and side regions of the screen to occlude the corresponding regions (e.g., a black border of a certain width is displayed on the top and side) so that the unoccluded region matches the currently displayed application interface.
When the electronic device switches between different interfaces, the shielding image needs to be adjusted to be displayed or not according to whether the switched interface is matched with the screen or not. The existing electronic equipment generally adjusts the shielding image after the switching of the interface is completed, so that the time difference between the moment of adjusting the shielding image and the moment of switching the interface is long, and poor use experience is caused for a user.
Disclosure of Invention
The application provides a display optimization method and device for a hole digging screen and a storage medium, so that visual experience of electronic equipment when adjusting a shielding image is improved.
In order to achieve the above object, the present application provides the following technical solutions:
the application provides a display optimization method of a hole digging screen in a first aspect, which is applied to electronic equipment configured with the hole digging screen and comprises the following steps:
when the electronic equipment displays an application interface which is not matched with the hole digging screen, displaying the application interface, and simultaneously displaying a shielding image in the top area and/or the side area of the hole digging screen so as to enable the part which is not shielded on the screen to be matched with the application interface;
as an example, the occlusion image may be a black bar in the top and side areas of the hole-cutting screen;
responding to the desktop returning operation executed by the user during the display of the application interface, and switching from the application interface to the desktop of the electronic equipment;
and hiding the shielding image before the interface displayed on the screen of the electronic equipment is switched to be the desktop.
According to the scheme, the shielding image is hidden before the electronic equipment is switched to the desktop, so that the time difference between the time when the shielding image is hidden and the time when the shielding image returns to the desktop is shortened, the visual blockage of the electronic equipment when the electronic equipment returns to the desktop from an application interface of the unadapted hole digging screen is relieved, and the use experience of a user is improved.
In some alternative embodiments, the way of hiding the occlusion image may be:
and gradually reducing the size of the shielding image until the shielding image disappears.
In some optional embodiments, the way of hiding the occlusion image may also be:
and gradually improving the transparency of the shielding image until the shielding image disappears.
The sheltered image is hidden in a mode of gradually reducing the size or improving the transparency, so that a smoother visual effect can be obtained, and the use experience of a user is improved.
In some optional embodiments, the operating system of the electronic device comprises a window management service module and a system user interface;
a displayed occlusion image comprising:
the window management service module inquires an occlusion image display strategy of the application to which the application interface belongs;
the method comprises the steps that an applied shielding image display strategy is used for indicating whether an application interface of the application is matched with a hole digging screen or not and displaying an area needing to display a shielding image when the application interface which is not matched with the hole digging screen is displayed;
and the window management service module informs the system user interface to display the occlusion image according to the occlusion image display strategy of the application to which the application interface belongs.
Illustratively, the window management service module determines that an occlusion image needs to be displayed on the top of the hole-digging screen when the application interface is displayed by querying an occlusion image display policy of the application, and notifies the system user interface so that the system user interface displays the occlusion image (e.g., black bars) on the top of the hole-digging screen.
In some optional embodiments, the operating system of the electronic device comprises an input management module and a desktop;
the responding to the user operation, switching from the application interface to the desktop of the electronic equipment, including:
the input management module reports a slide-up gesture to the desktop;
the desktop determines a desktop returning instruction according to the upglide gesture;
the desktop play application returns an animation effect of the desktop.
In some optional embodiments, the hiding the occlusion image before switching to the desktop of the electronic device includes:
before the desktop playing application returns the animation effect of the desktop, the desktop informs the window management service module to return to the desktop;
the window management service module informs the system user interface to hide the occlusion image;
and responding to the notice of the window management service module, and hiding the occlusion image by the system user interface.
In some optional embodiments, the desktop notifying the window management service module to return to the desktop includes:
and the desktop calls a return desktop monitoring event registered in advance by the window management service module to inform the window management service module of returning to the desktop.
The window management service module can register and return the desktop monitoring event to the desktop after the application is started, and can also register and return the desktop monitoring event to the desktop when the electronic equipment is started.
Invoking a return to desktop listening event to notify the window management service has the benefit of reducing the latency of passing messages so that the electronic device can begin hiding the occluded image more quickly.
In some optional embodiments, the desktop notifying the window management service module to return to the desktop includes:
and the desktop broadcasts the returned desktop events to the window management service module.
A second aspect of the present application provides an electronic device comprising a hole-digging screen, a memory, and one or more processors.
The memory is for storing a computer program.
The one or more processors are configured to execute the computer program, and in particular, to implement the display optimization method for a hole-digging screen provided in any one of the first aspect of the present application.
A third aspect of the present application provides a computer storage medium for storing a computer program, which, when executed, is particularly adapted to implement the display optimization method for a hole-digging screen provided in any one of the first aspects of the present application.
The embodiment of the application provides a display optimization method, equipment and a storage medium of a hole digging screen, which are applied to electronic equipment for configuring the hole digging screen, and the method comprises the following steps: displaying an application interface, and displaying a shielding image of a top area and/or a side area of the hole digging screen, wherein the application interface is not matched with the hole digging screen; responding to user operation, and switching to a desktop of the electronic equipment from an application interface; and hiding the shielding image before switching to the desktop of the electronic equipment. According to the scheme, the shielding image is hidden before the electronic equipment is switched to the desktop, so that the time difference between the time when the shielding image is hidden and the time when the shielding image returns to the desktop is shortened, the visual blockage of the electronic equipment when the electronic equipment returns to the desktop from an application interface of the unadapted hole digging screen is relieved, and the use experience of a user is improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2a is a schematic view of a user interface of an electronic device according to an embodiment of the present application;
FIG. 2b is a schematic diagram of a user interface of another electronic device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a technical architecture of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a timing chart of a display optimization method for a hole-digging screen according to an embodiment of the present disclosure;
fig. 5 is a signaling diagram of a display optimization method for a hole digging screen according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a display optimization method for a hole-digging screen according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the embodiments of the present application, "one or more" means one, two, or more than two; "and/or" describes the association relationship of the associated objects, indicating that three relationships may exist; for example, a and/or B, may represent: a exists singly, A and B exist simultaneously, and B exists singly, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
To facilitate understanding of the present application, terms to which the present application may relate will first be described.
The full-screen device is an electronic device which obtains a higher screen occupation ratio by reducing the size of a frame, the screen occupation ratio is a ratio of the area of a screen to the area of the front face of the electronic device (generally, the face where the screen is located is the front face), and the screen occupation ratio of the full-screen device can reach about 80% to 90% by reducing the width of the frame.
Waterfall screen equipment is a product after further improvement on the basis of comprehensive screen equipment. The side edge of the screen of the waterfall screen equipment has a certain radian, so that compared with the full screen equipment, the waterfall screen equipment can completely cancel the frames on the two sides of the screen, and the screen occupation ratio is further improved, so that the screen occupation ratio of the waterfall screen equipment can reach more than 90%.
Generally, a hole digging area can be arranged on a screen of the full-screen and waterfall screen equipment, the hole digging area can be in a circular shape, a rounded rectangle shape or other irregular shapes, the hole digging area can be located at one corner of the screen (generally located at a position close to the upper left corner) or at the center of the top of the screen, and the position and the shape of the hole digging area are not limited in the embodiment. Devices on the electronic equipment that need to be mounted on the front surface, such as a front-facing camera, a proximity light sensor, etc., may be mounted within the hollowed-out area. Such a screen provided with a digging area may be referred to as a digging screen, and an electronic device to which the digging screen is applied may be referred to as a digging screen device (including the full screen and the waterfall screen described above).
The embodiment of the application provides an electronic device 100, which may specifically be a mobile phone, a tablet computer, or the like.
As shown in fig. 1, the electronic device 100 may include: a processor 110, an external memory 120, an internal memory (also referred to as "internal memory") 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a communication processor (CP, which may also be referred to as a modem), a Graphics Processing Unit (GPU), and the like.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The camera 193 may include one or more cameras, for example, the camera 193 may include one or more rear cameras mounted on the rear surface of the electronic device, and one or more front cameras mounted on the front surface (the surface on which the screen is located) of the electronic device.
Screen 194 may comprise one or more screens. The electronic device displays video, images, and a series of graphical user interfaces via a screen. In some embodiments, the screen 194 may be combined with the touch sensor 180K as a touch screen, where a user may interact with the electronic device by clicking or sliding (with a finger or stylus) on the touch screen.
The above is a detailed description of the embodiments of the present application taking the electronic device 100 as an example. It should be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. Electronic device 100 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device provided in the embodiment of the present application may be a User Equipment (UE), and for example, may be a mobile terminal (e.g., a user mobile phone), a tablet computer, a desktop computer, a laptop computer, a handheld computer, a netbook, a Personal Digital Assistant (PDA), and other devices.
For a full screen device or a waterfall screen device, some third party applications installed thereon (e.g., chat, navigation, and gaming applications that a user downloads from an application marketplace and installs) may not fully adapt the screen of the electronic device. When a user opens such an application that does not fit the screen properly, the application interface cannot be used to fill the entire screen. To improve the user experience, when the user opens an incompletely-adapted application on a full-screen device or a waterfall screen device, the electronic device may display an occlusion image at a top area and a side area of the screen to occlude the corresponding areas, so that the unoccluded areas match the currently displayed application interface.
The occlusion image is used to refer to the image displayed by the electronic device in the top area and the side area of the excavation screen when the excavation screen displays an application interface that does not fit the excavation screen. The style, size, color, and the like of the occlusion image may be determined according to default settings of the system, or may be determined according to user settings, which is not limited in this embodiment.
As an example, please refer to fig. 2a, which is a schematic diagram of an occlusion image provided in an embodiment of the present application. The top of the display screen of the electronic device is provided with a hole digging area 205, and when the currently displayed application interface is not adapted to the hole digging screen, the side black bar 202 displayed on the side area 201 of the hole digging screen and the top black bar 204 displayed on the top area 203 of the hole digging screen by the electronic device can be regarded as an occlusion image.
The positions of the top area and the side area can be seen in (1) of fig. 2 b.
Next, when the full-screen mobile phone is used, the process of adjusting the occlusion image by the electronic device will be described by taking an example of returning to the use scene of the desktop from the application in the landscape mode.
Please refer to fig. 2b, which is a schematic view of a user interface of an electronic device according to an embodiment of the present disclosure.
As shown in (1) of fig. 2b, when the mobile phone is in the landscape state, the video application plays the video specified by the user in the landscape mode. It can be seen that the video application in the landscape mode is not adapted to the full screen, that is, the video application in the landscape mode cannot occupy the screen of the full-screen mobile phone, and if the video application is not blocked, the area not occupied by the video application on the screen may display wallpaper or other images of the desktop, resulting in poor visual experience. So during the user's viewing of the video in landscape mode, the handset displays an occlusion image at the top of the screen, i.e. the top black bar 204 of the top area 203 shown in (1) of fig. 2 b.
During use of the video application, the user may perform a swipe up operation shown in (1) of fig. 2b to return to the desktop.
Due to the difference between the operating system and the user setting, different mobile phones may or may not play different animation effects when returning from the application to the desktop.
For example, in this embodiment, the animation effect of returning to the desktop from the application may include that the mobile phone reduces the current application interface to an application icon of the application as shown in (2) of fig. 2b, then reduces the larger application icon shown in (2) of fig. 2b to a normal size, when the application icon is reduced to the normal size, the animation effect of returning to the desktop from the application is ended, and the mobile phone displays the desktop as shown in (3) of fig. 2 b. The normal size refers to the size of an application icon displayed on the desktop.
The desktop can be adapted to the full screen of the mobile phone, so when the mobile phone returns to the desktop from the video application in the horizontal screen mode, the top black bar needs to be hidden, in combination with (1) and (3) of fig. 2b, when the mobile phone displays the interface of the video application in the horizontal screen mode, the mobile phone displays the top black bar on the top of the full screen, and when the mobile phone displays the desktop, the top black bar disappears.
Fig. 2b is only an example of a scenario in which the present application is applicable. In practical use, the display optimization method provided by the application can be suitable for any scene that the hole digging screen equipment returns to the desktop from the application of the unadapted hole digging screen. For example, the method of display optimization provided herein may also be applied when a dug-screen device returns to a desktop from an application that does not fit in the portrait mode of the dug-screen.
Although fig. 2b illustrates a top black bar of a dug screen, the present application is also applicable to displaying or hiding an occlusion image of a side of a dug screen (e.g., a waterfall screen).
In the process that the current hole-digging screen equipment returns to a desktop from an application which is not adapted to a hole-digging screen, the top black bar is usually hidden after the animation effect of the application returning to the desktop is played, so that the time difference between the moment when the top black bar is hidden and the moment when the top black bar returns to the desktop is long, the click and pause feeling on the visual effect can be generated, and poor use experience is caused for a user.
Aiming at the problem, the application provides a display optimization method of the hole digging screen, so that the blocking and pause feeling of the hole digging screen equipment when the hole digging screen equipment returns to a desktop from the application of the hole digging screen which is not adapted to the hole digging screen is relieved, and the use experience of the hole digging screen equipment is improved.
For further explaining the display optimization method for the hole-digging screen provided in the present application, please refer to fig. 3, which is a schematic diagram of a technical architecture of an electronic device according to an embodiment of the present application.
The electronic device may include a hardware layer and a software layer, where, for example, in an Android system, the software layer may adopt a layered architecture, that is, the software layer may include an application layer, an application framework layer, and a kernel layer.
The application layer may include a series of application packages, such as navigation applications, music applications, video applications, and the like. As shown in fig. 3, the application packages may include a video application, a desktop (launcher), and a system user interface (SystemUI).
Navigation, music and video applications are used to provide corresponding navigation, music and video services to users.
The desktop is used for displaying application icons of part or all of applications installed on the electronic device, a user can open a corresponding application by clicking the application icons, for example, the desktop displays application icons of video applications, and the user can open the video applications by clicking the icons of the video applications.
The system UI is used for managing a User Interface (UI) of the electronic device, and in the present application, the system UI is used for managing display and hiding of a blocking image in a top area and a side area of the hole-digging screen.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 3, the Application framework layer may include a Window Management Service (WMS) module, an Input management module (also referred to as Input), an Application Management Service (AMS) module, and the like.
WMS is used to manage window programs. The window manager can obtain the size of the screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. In the application, the WMS may create and manage a window corresponding to an application.
The AMS is used to launch a specific application according to a user's operation. For example, when a user clicks a video application icon of a desktop, the AMS sets the video application to a foreground operating state, and creates an application stack corresponding to the video application, so that the video application can operate normally.
The kernel layer is a layer between hardware and software. In the present application, the kernel layer at least includes a touch driving module and a display driving module.
The display driving module is used for displaying corresponding images on the touch screen according to the image data provided by the modules of the application framework layer and the application programs of the application layer. For example, a video application transfers image data of one frame of a video to a display driving module, and the display driving module displays an image of one frame of the video on the touch screen according to the image data. The system UI transmits the image data of the shielding image to the display driving module, and the display driving module displays the shielding image in the area designated by the hole digging screen according to the image data of the shielding image.
The touch driving module is used for monitoring capacitance values of all areas of the touch screen. When a user clicks or slides on the touch screen, the capacitance value of the clicked or slid area changes, the touch driving module can monitor the change of the capacitance value of each area on the touch screen and send a capacitance value change message to the input management module, and the capacitance value change message carries information such as the change amplitude of the capacitance value (or a capacitance sampling value) of each area of the touch screen, the time of the change and the like.
The input management module can determine touch operation according to the reported capacitance value change message, and then sends the identified touch operation to other modules. The touch operation herein may include a click operation, a drag operation, and a specific gesture operation (e.g., a slide-up gesture, a slide-down gesture, etc.).
For example, in (1) of fig. 2b, after the user slides up from the bottom of the screen, the input management module recognizes the slide-up gesture according to the reported capacitance value change message, and then reports the slide-up gesture to the desktop, thereby triggering a process of returning to the desktop.
Although the Android system is taken as an example for description in the embodiments of the present application, the basic principle is also applicable to electronic devices based on an os such as iOS or Windows.
The above technical architecture lists modules and devices in an electronic device that the present application may relate to. In practical applications, the electronic device may include all or part of the modules and devices of the above technical architecture, and other modules and devices not mentioned in the above technical architecture, and of course, may also include only the modules and devices of the above technical architecture, which is not limited in this embodiment.
In order to clearly understand some modules in the above technical architecture, please refer to fig. 4, which is a timing chart of a display optimization method for a hole-digging screen according to an embodiment of the present application.
And the application management service module (hereinafter referred to as AMS) responds to the user operation, executes the step A01 and starts the application.
When the electronic equipment is used, a user can click an application icon of any application on a desktop, after the user clicks one application icon, an input management module identifies clicking operation of the user, then the clicking operation is reported to the desktop, the desktop determines the clicked application icon according to the clicking operation of the user, then an application identifier of the corresponding application is found according to the clicked application icon, and then the application identifier is sent to the AMS, so that the AMS executes the step A01 and starts the corresponding application.
As before, in step a01, the AMS may specifically switch the application corresponding to the clicked application icon to foreground operation, and create an application stack corresponding to the application.
Illustratively, a user clicks an icon of a video application on a desktop, the desktop recognizes that the icon of the video application is clicked according to reported clicking operations, then sends an application identifier (for example, an application name) of the video application to an AMS, and after receiving the application identifier, the AMS executes step a01, switches the video application to foreground operation, and creates an application stack of the video application.
After the AMS starts the application, step a02 is executed to a window management service module (hereinafter abbreviated as WMS) to notify the start of the window.
In a02, the AMS may send a window start notification to the WMS, where the notification carries an application identifier of the application started by the AMS. After receiving the notification, the WMS may create a window corresponding to the started application according to the carried application identifier, and execute step a03 to query the occluded image display policy of the application.
After the window corresponding to the application is started, the application which is switched to the foreground operation sends the image data of the application interface to the display driving module, and the display driving module can display the application interface of the started application on the touch screen according to the image data of the application interface.
The WMS records an occlusion image display strategy of each application installed in the electronic equipment, the applied occlusion image display strategy is used for indicating whether the interface of the application is matched with a hole digging screen of the electronic equipment, and the WMS can determine whether occlusion images need to be displayed in the top area and the side area of the hole digging screen when the application interface is displayed by inquiring the applied occlusion image display strategy.
For the application supporting the horizontal screen mode and the vertical screen mode, the interface applied to the horizontal screen mode and the interface applied to the vertical screen mode are often different, so that the shielding image display strategy of the application can simultaneously include whether the interface applied to the horizontal screen mode is matched with the hole digging screen or not and whether the interface applied to the vertical screen mode is matched with the hole digging screen or not.
For an application supporting a landscape mode and a portrait mode, in step a03, the WMS may determine whether the interface after the application is started is the interface in the landscape mode or the interface in the portrait mode according to whether the electronic device is currently in the landscape state or the portrait state, so as to query corresponding occluded image display strategies in different modes of the application.
If the application interface displayed after the application is started is not matched with the hole digging screen, displaying a shielding image in the top area and/or the side area of the hole digging screen when the application interface is displayed; and if the application interface displayed after the application is started is matched with the hole digging screen, hiding the shielding image on the hole digging screen when the application interface is displayed.
In some optional embodiments, for an application interface not adapted to the excavation screen, the applied occlusion image display policy may specifically indicate an area where an occlusion image needs to be displayed, and the WMS controls the occlusion image at the corresponding position to be displayed and hidden according to the occlusion image display policy.
For example, for a waterfall screen, an occlusion image display policy of an application may indicate that an interface tail of a landscape mode of the application is adapted to an excavated screen and indicates that an occlusion image needs to be displayed in a top area.
Continuing with the foregoing example, the AMS sends a window start notification carrying an application identifier of the video application to the WMS, and after receiving the notification, the WMS creates a window of the video application and executes step a03 to query an occluded image display policy of the video application.
The shielding image display strategy of the video application can be that the video application is adapted to the hole digging screen in the interface of the vertical screen mode, the video application is not adapted to the hole digging screen in the interface of the horizontal screen mode, and when the video application is displayed in the interface of the horizontal screen mode, the shielding image needs to be displayed in the top area of the screen.
After receiving the notification of starting the window of the video application, the WMS determines that the video application is started in the landscape mode according to the current state of the electronic device, and then determines that a black bar as shown in (1) of fig. 2b needs to be displayed at the top of the screen when displaying the interface of the landscape mode of the video application based on the above-mentioned occluded image display policy of the video application.
The applied occlusion image display policy may be determined in various ways, and the specific determination way is not limited in this embodiment.
As an example, the WMS may determine the applied occlusion image display policy as follows:
the WMS can obtain the adaptation condition of the interface of the application to the hole digging screen through the interface of the application after the application is installed. After the application is installed, the WMS can obtain information of each Activity of the application through the application interface, namely task information (activityInform), wherein the task information comprises the adaptation condition of the interface corresponding to the Activity to the hole digging screen, namely whether the interface corresponding to each Activity is adapted to the hole digging screen or not is obtained.
For an application interface that does not fit into a dug screen, the WMS may determine the area where the occluded image needs to be displayed based on the default configuration information of the system. For example, the configuration information may be that a black border needs to be displayed in a top area when an application interface of the unadapted hole digging screen is displayed, or the black border needs to be displayed in the top area and a side area when the application interface of the unadapted hole digging screen is displayed, or the black border needs to be displayed in the side area when the application interface of the unadapted hole digging screen is displayed.
In summary, the WMS may determine the occlusion image display policy of the application according to the adaptation condition of the interface corresponding to Activity in the task information of the application and the default configuration information.
After determining that the occlusion image needs to be displayed in step a03, the WMS executes step a04 to notify the system user interface to display the occlusion image. In step a04, the WMS notifies the system user interface of the area where the occlusion image needs to be displayed, and then the system user interface displays a preset occlusion image in the area designated by the WMS in response to the notification.
As described above, the system user interface may send the occlusion image data to be displayed to the display driver module of the kernel layer, and the display driver module displays the occlusion image in the corresponding region according to the occlusion image data.
Continuing with the previous example, after the WMS determines that the black bar needs to be displayed at the top of the screen when the WMS determines that the video application is displayed on the interface in the landscape mode, the WMS sends a notification to the system user interface to display the top black bar, the system user interface sends the image data of the top black bar to the display driver module in response to the notification, and the display driver module displays the top black bar as shown in (1) of fig. 2b on the screen according to the image data of the top black bar.
It will be appreciated that in other embodiments, if the WMS determines that the top black bar and the side black bar need to be displayed simultaneously when displaying an application interface, the WMS sends a notification to the system user interface that the top black bar and the side black bar are displayed, such that the system user interface displays the black bars at both the top and the side of the screen.
In some optional embodiments, the style, size, and the like of the occlusion image displayed on the top and the side of the screen may adopt a default configuration of the system, and may also be adjusted according to a setting of a user, which is not limited in this embodiment.
As an example, the occlusion image may be a black bar of the top area as shown in (1) of fig. 2 b.
After determining that the occlusion image needs to be displayed, the WMS further performs step a05 on the desktop, registering to return to the desktop listening event.
The execution sequence of steps a04 and a05 may be set according to actual situations, and this embodiment does not limit this.
It should be noted that, after the electronic device is powered on, the return desktop monitoring event only needs to be registered once. That is, after determining that the blocking image needs to be displayed, if the WMS has not registered a return desktop listening event with the desktop, step a05 is performed, and if the return desktop listening event has been registered, step a05 does not need to be performed.
In some alternative embodiments, the WMS may also perform step a05 after the electronic device is powered on, and need not be performed after determining that the occlusion image needs to be displayed.
As described above, during the running of the application, the touch driver module may report a message to the input management module, and the input management module identifies the touch operation performed by the user according to the reported message and then reports the identified touch operation to the desktop.
When the user makes a slide-up gesture as shown in (1) of fig. 2b, the input management module performs step a06 on the desktop, and reports the slide-up gesture. And B, after the desktop receives the slide-up gesture, executing the step A07, and determining a desktop return instruction according to the slide-up gesture.
The input management module may be configured with an identifier for indicating each touch operation, and when the input management module recognizes that the user performs an operation of a slide-up gesture, the input management module sends a message carrying the identifier corresponding to the slide-up gesture to the desktop, and the slide-up gesture can be reported to the desktop in this way.
The desktop is configured with a corresponding relationship between the gesture operation and the instruction to be executed, for example, the up-sliding gesture corresponds to a command to return to the desktop, the right-side horizontal-sliding gesture corresponds to a command to be switched to the latest application, and the like, and the corresponding relationship may be automatically set by the electronic device in a default manner, or may be set individually according to a user requirement, which is not limited in this embodiment.
Based on the corresponding relation between the gesture operation and the command to be executed, after the reported upward sliding gesture is received, the desktop can determine to return to the desktop command, that is, the desktop needs to be switched from the current application interface.
In some optional embodiments, the gesture corresponding to returning to the desktop may also be other gestures, such as a slide gesture, and the specific gesture of returning to the desktop is not limited in this embodiment.
Continuing with the foregoing example, when the electronic device runs the video application in the foreground in the landscape mode, the screen displays the interface shown in (1) in fig. 2b, at this time, the user performs the slide-up gesture shown in (1) in fig. 2b on the screen, the input management module recognizes the slide-up gesture and reports the slide-up gesture to the desktop, and the desktop determines that the video application needs to be returned from the interface to the desktop according to the slide-up gesture.
After the desktop determines that the desktop needs to be returned, step a08 is executed for the WMS, and the return of the desktop is notified. After receiving the notification of the desktop, the WMS executes step a10 to notify the system that the user interface hides the occlusion image. The system user interface executes step a11 to hide the occlusion image in response to the notification from the WMS.
In step a08, the desktop may notify the WMS of the message returned to the desktop in various manners, and this embodiment does not limit the specific notification manner.
For example, the desktop may broadcast a message to return to the desktop, and after receiving the message broadcasted from the desktop, the WMS may determine that the system is returning to the desktop from the current application interface. When step a08 is performed in this manner, the WMS may not register with the desktop to return to the desktop event, i.e., step a05 may not be performed.
For example, the desktop may call a return desktop event registered in a05 by the WMS, and after the return desktop event is called, the WMS may obtain a message to return to the desktop.
The benefit of invoking the return desktop event to notify the WMS is that the time required for notification can be shortened, i.e., the time from the desktop sending a message to return to the desktop to the WMS obtaining the message, so that the WMS notifies the system user interface more quickly to hide the occluded image, further shortening the time difference between the time the occluded image disappears and the time the screen displays the desktop.
In step a11, the system user interface may hide the occlusion image on the screen when the application interface is displayed in a plurality of ways, and the specific way is not limited in this embodiment.
In some alternative embodiments, the system user interface may hide all of the occlusion images displayed on the screen immediately after receiving notification from the WMS.
In some optional embodiments, the system user interface may also gradually reduce the size of the occlusion image displayed on the screen after receiving the notification of the WMS, that is, reduce the size of the occlusion image at regular intervals after receiving the notification of the WMS until the occlusion image completely disappears.
In some optional embodiments, the system user interface may further successively increase the transparency of the occlusion image displayed on the screen after receiving the notification of the WMS, that is, reduce the size of the occlusion image at regular intervals after receiving the notification of the WMS until the occlusion image is completely transparent.
The shielding image is hidden by gradually reducing the size and gradually improving the transparency, so that the sudden feeling caused by the sudden disappearance of the shielding image can be avoided, and the visual experience of a user is improved.
After the desktop executes step a07, step a09 is also executed, and the playing application returns the animation effect of the desktop.
In step a09, the desktop can play any form of animation effect according to the user configuration or the default setting of the system, which is not limited in this embodiment.
As an example, the A09 desktop can play animation effects as shown in (2) of FIG. 2 b.
In this embodiment of the present application, step a08 may be executed at any time before the application returns to the desktop to play the animation effect, so the execution sequence of step a08 and step a09 may be that step a08 is executed first, and then step a09 is executed, or a08 and a09 are executed simultaneously, or a flow of playing the animation effect of the application returning to the desktop is started first, and step a08 is executed immediately when the flow is started.
It should be noted that the occlusion image in the above embodiment may include black bars at the top of the hole-digging screen and black bars at the sides of the hole-digging screen. That is, in addition to the example of hiding the scene of the black bar at the top of the hole-digging screen when the video application returns to the desktop, the method provided by the application can also be applied to hiding the black bar at the top and the side of the hole-digging screen when the application returns to the desktop, and can also be applied to hiding the black bar at the side of the hole-digging screen when the application returns to the desktop.
The embodiment has the following beneficial effects:
when the electronic equipment returns to the desktop from the application interface which is not matched with the hole digging screen, the time difference between the moment when the shielding image is hidden and the moment when the shielding image returns to the desktop is shortened by hiding the shielding image before the animation effect of the application returned to the desktop is played, so that the visual blocking of the electronic equipment when the application interface which is not matched with the hole digging screen returns to the desktop is relieved, and the use experience of a user is improved.
Generally, the interaction between modules in an electronic device and the implementation of the functions of the modules themselves depend on the calling of functions in the system. In order to further understand the display optimization method provided by the present application, a process of returning the electronic device from the video application interface in the landscape mode to the desktop as shown in fig. 2b is taken as an example, and a function call relationship inside the electronic device in the process is described below.
Please refer to fig. 5, which is a signaling diagram of a display optimization method for a hole-digging screen according to an embodiment of the present application.
As shown in fig. 5, the WMS may specifically include the following components:
a first activity task management service component, also called activity task manager service; activity record component, also known as ActivityRecord; a display content component, also known as DisplayContent; the remote animation component, also called RemoteAnimation, the second activity task management service component, also called ActivityTaskManagerServiceEx, the phone window management component, also called PhoneWindowManager.
When recognizing that the user executes the slide-up gesture, the input management module calls B1, a touch event, which is also called onTouchEvent (), and by calling the touch event, the input management module transmits an identifier representing the slide-up gesture to the desktop (i.e., launcher).
That is, invoking the touch event can be regarded as a specific implementation of step a06 in fig. 4.
After the desktop obtains the upglide gesture, B2 is called, and the desktop can determine an instruction corresponding to the reported gesture operation by calling the function, in this embodiment, after the upglide gesture is obtained, the desktop determines that the user intends to return to the desktop from the current application interface by calling the gesture recognition function.
Call B2 corresponds to a specific implementation of step a07 in fig. 4.
After the desktop is determined to be returned, the desktop calls B3 to start a recent task function, which is also called startRecentrtActivity (), and the desktop triggers a first active task management service component of the WMS to start a window corresponding to the desktop by calling and starting the recent task function.
And after the first activity task management service component starts the window corresponding to the desktop, calling B4, namely a visualization function (also called MakeVisable ()). After the visualization function is called, the activity recording component sets the window corresponding to the desktop as the window visible on the screen.
After the window corresponding to the desktop is set to be visible, the activity recording component calls B5, a spin function, also called applyRotation (). The display content component converts the electronic device from a landscape display mode to a portrait display mode by invoking an applicable rotate function.
With reference to fig. 2B, in this embodiment, B5 is called because the video application originally running in the foreground runs in the landscape mode, the corresponding interface is also in the landscape mode, and when the video application returns to the desktop, the desktop only has an interface in the portrait mode, so that B5 needs to be called to convert the landscape display into the portrait display.
If in an actual application scene, the application running in the foreground before returning to the desktop also runs in the vertical screen mode, rotation is not needed, at this time, B5 may not be called, and the activity recording component notifies the display content component through other modes that the display content component needs to return to the desktop.
And after the display content component converts the display mode of the screen from the horizontal screen mode to the vertical screen mode, calling B6 to start an animation function, namely startAnimation (), and informing the remote animation component to start remote animation play by calling the start animation function.
After the remote animation component obtains the notification of starting the remote animation playing, B11 is called, a remote animation function, also called startRemoteanimation (), is started, and by calling B11, the remote animation component controls the Launcher to start playing the animation effect returned from the application to the desktop. That is, the animation effect returned from the application to the desktop starts playing from the time of calling B11.
In this embodiment, the calling process for the functions B3 to B6 and B11 may be regarded as a specific implementation manner of the step a09 in the embodiment shown in fig. 4.
After the B3 is called, the desktop further calls B7 to notify a desktop behavior function, which may be regarded as a desktop return monitoring event registered by the WMS in the embodiment shown in fig. 4, and after the function is called, the second active task management service component may obtain a notification that the current electronic device returns to the desktop from the application interface.
The moment of invoking B7 by the desktop may be before B11 is invoked, that is, the desktop may invoke B7 immediately after invoking B3, or invoke B7 first and then invoke B3, and this embodiment does not limit the order in which B3 and B7 are invoked.
In this embodiment, the call B7 may be regarded as a specific implementation manner of the step a08 shown in fig. 4.
After the second active task management service component obtains the notification of returning to the desktop, B8 is called to confirm that the window covers a top area function, which is also called iswindownedlayoutbelownotch (), where the position of the top area is shown in (1) of fig. 2B, and by calling B8, the second active task management service component declares to the phone window management component that an interface to be displayed (for example, a system desktop shown in fig. 2B) occupies the top area of the screen of the electronic device.
And after the telephone window management component obtains the statement that the top area needs to be occupied, B9 is called, a top area available function, namely CanLayoutInCutout () is called, and the telephone window management component sets the top area of the screen where the shielding image is located to be in an available state by calling the top area visible function.
After the top area is set to be available, the phone window management component calls B10 to notify the hidden animation function, also called notifydeanimation (), and by calling the notification hidden animation function, the phone window management component notifies the system user interface to start hiding the occlusion image, that is, hiding the top black bar shown in (1) of fig. 2B.
In this embodiment, the calling process of the functions B8 to B10 may be regarded as a specific implementation manner of the step a10 in the embodiment shown in fig. 4.
After obtaining the notification of starting to hide the occlusion image, the system user interface calls B12 to start a hidden animation function, which is also called startfadeoanimation (), and by calling B12, the system user interface hides the black bar displayed at the top of the screen in a predetermined hiding manner, and after the hiding is completed, calls B13 to hide an animation completion function, which is also called fadeaanimation (), so as to notify that the black bar at the top of the desktop is completely hidden.
In this embodiment, the calling process of the functions B12 and B13 can be regarded as a specific implementation manner of step a11 in the embodiment shown in fig. 4, that is, when B12 is called, the black bar at the top of the screen starts to disappear, and when B13 is called, the black bar at the top of the screen completely disappears.
The calling relationship between the components and the functions shown in fig. 5 is only an example of a scenario in which the method provided by the present application is applied to a part of an operating system (e.g., android system) to return to a desktop from a video application interface in a landscape mode. The calling relationship of the function involved when the electronic equipment based on other operating systems returns to the desktop from the application interface of the unadapted hole digging screen can be the same as or different from the calling relationship shown in FIG. 5, and the names and functions of various functions and components can also be the same as or different from those shown in FIG. 5. The function call relation in actual application, and related functions, components and the like are not limited in the application.
In this embodiment, the desktop calls notifyfideanimation () to notify the WMS of returning to the desktop before the application starts playing the animation effect returned to the desktop, so that the WMS triggers the system user interface to start hiding the blocking image before the application finishes playing the animation effect returned to the desktop, thereby shortening or even eliminating the time difference between the moment when the electronic device returns to the desktop and the moment when the blocking image disappears, and improving the visual effect of the hole-digging screen when the application returns to the desktop from the landscape mode.
Fig. 6 is a flowchart of a display optimization method for a hole-digging screen according to an embodiment shown in fig. 4.
And S601, displaying the application interface and the shielding image of the hole digging screen.
The application interface is not adapted to a hole digging screen.
After a user clicks an application icon on an electronic device, for example, a desktop of a mobile phone, the electronic device starts a corresponding application, and an application interface of the application is displayed on a screen of the electronic device.
Since the application interface is not adapted to the hole digging screen, the electronic device needs to display the shielding image in the area not occupied by the application interface, such as the top area and the side area, on the screen while displaying the application interface.
In some alternative embodiments, the specific implementation of step S601 may include steps a01 to a05 shown in fig. 4.
S602, switching from the application interface to the desktop.
When the user performs a preset gesture of returning to the desktop, such as a swipe gesture, the electronic device may switch back to the desktop of the system from the application interface, for example, fig. 2b, i.e. switch from (1) of fig. 2b to (3) of fig. 2 b. In the switching process, the electronic device can play a preset animation effect of the application returning to the desktop.
In some alternative embodiments, step S602 may include steps a06, a07, and a09 shown in fig. 4.
S603, before switching to the desktop of the electronic equipment, hiding the shielding image.
In step S603, hiding the occlusion image is started before the electronic device is completely switched to the desktop. The occlusion image can be completely hidden before the electronic device completes the switching from the application interface to the desktop, can also be completely hidden after the electronic device completes the switching from the application interface to the desktop, and can also be completely hidden when the electronic device completes the switching from the application interface to the desktop. This embodiment is not limited to this.
In some alternative embodiments, step S603 may include steps a08, a10 to a11 shown in fig. 4.
The display optimization method for the hole digging screen provided by the embodiment has the beneficial effects of the previous embodiment, and the description is omitted here.
An embodiment of the present application provides an electronic device including a memory and one or more processors.
The memory is for storing a computer program.
The one or more processors are configured to execute a computer program, and in particular, to implement a display optimization method for a dug screen provided in any embodiment of the present application.
The embodiment of the present application further provides a computer storage medium for storing a computer program, and when the computer program is executed, the computer program is specifically used for implementing the display optimization method for the hole digging screen provided in any embodiment of the present application.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The embodiments of the present application refer to a plurality of the same or greater than two. It should be noted that, in the description of the embodiments of the present application, the terms "first", "second", and the like are used for distinguishing the description, and are not to be construed as indicating or implying relative importance or order.

Claims (6)

1. A display optimization method of a hole digging screen is applied to electronic equipment for configuring the hole digging screen, an operating system of the electronic equipment comprises an input management module, a desktop, a window management service module and a system user interface, and the method comprises the following steps:
displaying an application interface and an occlusion image, wherein the application interface is not adapted to the hole digging screen, and the occlusion image is positioned in the top area and/or the side area of the hole digging screen;
the window management service module registers to the desktop and returns a desktop monitoring event;
the desktop determines a desktop returning instruction according to the upglide gesture reported by the input management module;
the desktop calls the returned desktop monitoring event to inform the window management service module of returning to the desktop, so that the window management service module triggers the system user interface to hide the shielding image;
the desktop play application returns an animation effect of the desktop.
2. The method of claim 1, wherein said concealing said occlusion image comprises:
and gradually reducing the size of the shielding image until the shielding image disappears.
3. The method of claim 1, wherein said concealing said occlusion image comprises:
and gradually improving the transparency of the shielding image until the shielding image disappears.
4. The method of any one of claims 1 to 3, wherein an operating system of the electronic device includes a window management service module and a system user interface;
displaying an occlusion image, comprising:
the window management service module inquires an occlusion image display strategy of the application to which the application interface belongs;
and the window management service module informs the system user interface to display the occlusion image according to the occlusion image display strategy of the application to which the application interface belongs.
5. An electronic device comprising a hole-digging screen, a memory, and one or more processors;
the memory is used for storing a computer program;
the one or more processors are configured to execute the computer program, in particular to implement the display optimization method of a excavation screen according to any of claims 1 to 4.
6. A computer storage medium storing a computer program for implementing, when executed, a method for display optimization of a dig screen in accordance with any of claims 1-4.
CN202210127537.9A 2022-02-11 2022-02-11 Display optimization method and device for hole digging screen and storage medium Active CN114168031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210127537.9A CN114168031B (en) 2022-02-11 2022-02-11 Display optimization method and device for hole digging screen and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210127537.9A CN114168031B (en) 2022-02-11 2022-02-11 Display optimization method and device for hole digging screen and storage medium

Publications (2)

Publication Number Publication Date
CN114168031A CN114168031A (en) 2022-03-11
CN114168031B true CN114168031B (en) 2023-03-31

Family

ID=80489755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210127537.9A Active CN114168031B (en) 2022-02-11 2022-02-11 Display optimization method and device for hole digging screen and storage medium

Country Status (1)

Country Link
CN (1) CN114168031B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114637451B (en) * 2022-05-06 2023-06-20 荣耀终端有限公司 Display optimization method, device and storage medium during application switching
CN114947418A (en) * 2022-06-01 2022-08-30 安徽省徽派家私有限责任公司 Dual-purpose table of intelligence official working meeting
CN117590982A (en) * 2022-08-09 2024-02-23 荣耀终端有限公司 Display method of application interface, electronic equipment and storage medium
CN115361468B (en) * 2022-10-21 2023-02-28 荣耀终端有限公司 Display optimization method and device during screen rotation and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480502A (en) * 2017-09-07 2017-12-15 广东欧珀移动通信有限公司 Fingerprint identification method, device, mobile terminal and storage medium
CN113407270A (en) * 2021-06-02 2021-09-17 Oppo广东移动通信有限公司 Display method and device of electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589950B2 (en) * 2011-01-05 2013-11-19 Blackberry Limited Processing user input events in a web browser
CN106202217B (en) * 2016-06-28 2019-12-03 北京金山安全软件有限公司 Webpage link access method and device and mobile terminal
US9959027B1 (en) * 2017-07-03 2018-05-01 Essential Products, Inc. Displaying an image on an irregular screen
CN108984082A (en) * 2018-07-09 2018-12-11 维沃移动通信有限公司 A kind of image display method and mobile terminal
CN110874177A (en) * 2018-08-29 2020-03-10 中兴通讯股份有限公司 Display method of display screen, electronic equipment and storage medium
CN109885373B (en) * 2019-02-27 2021-11-23 腾讯科技(深圳)有限公司 Rendering method and device of user interface
CN112748894A (en) * 2019-10-30 2021-05-04 北京小米移动软件有限公司 Hole digging screen display method and device
CN113923296B (en) * 2020-06-24 2024-04-02 中兴通讯股份有限公司 Interface display method, device and computer readable storage medium
CN111857699A (en) * 2020-07-20 2020-10-30 Oppo广东移动通信有限公司 Fillet image display method and device, electronic equipment and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480502A (en) * 2017-09-07 2017-12-15 广东欧珀移动通信有限公司 Fingerprint identification method, device, mobile terminal and storage medium
CN113407270A (en) * 2021-06-02 2021-09-17 Oppo广东移动通信有限公司 Display method and device of electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114168031A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN114168031B (en) Display optimization method and device for hole digging screen and storage medium
CN110661917B (en) Display method and electronic equipment
WO2021063074A1 (en) Method for split-screen display and electronic apparatus
CN107526494B (en) Keyboard display method, device, terminal and storage medium
WO2020038169A1 (en) Icon display method and apparatus, terminal and storage medium
CN110602321B (en) Application program switching method and device, electronic device and storage medium
CN109157839B (en) Frame rate regulation and control method, device, storage medium and terminal
CN115297199A (en) Touch method of equipment with folding screen and folding screen equipment
CN114637451B (en) Display optimization method, device and storage medium during application switching
EP4024184A1 (en) Method for establishing application combination, and electronic device
US11132123B2 (en) Key display method, terminal, and non-transitory computer-readable medium
CN110147191B (en) Method and device for controlling window and storage medium
US20210247888A1 (en) Method and device for controlling a touch screen, terminal and storage medium
WO2020181956A1 (en) Method for displaying application identifier, and terminal apparatus
WO2022206130A1 (en) Method for controlling limited time use of application, and electronic device
EP3680765A1 (en) Navigation bar control method and device
CN111258683A (en) Detection method, detection device, computer equipment and storage medium
EP4134793A1 (en) Method and apparatus for controlling input function, and storage medium
US20220210260A1 (en) Volume Adjustment Method and Apparatus, Terminal Device, and Storage Medium
EP4250088A1 (en) Screen projection method and electronic device
WO2021018248A1 (en) Interface display method and electronic device
US11614953B2 (en) Method and apparatus for implementing OSD
CN114442789A (en) Dark screen control method, device, equipment and storage medium
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN115361468B (en) Display optimization method and device during screen rotation and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant