CN112675535B - Display interface adjusting method, device, network equipment and storage medium - Google Patents

Display interface adjusting method, device, network equipment and storage medium Download PDF

Info

Publication number
CN112675535B
CN112675535B CN202011549802.XA CN202011549802A CN112675535B CN 112675535 B CN112675535 B CN 112675535B CN 202011549802 A CN202011549802 A CN 202011549802A CN 112675535 B CN112675535 B CN 112675535B
Authority
CN
China
Prior art keywords
screen
application program
proportion
window
program interface
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
CN202011549802.XA
Other languages
Chinese (zh)
Other versions
CN112675535A (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.)
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture Technology 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 China Mobile Communications Group Co Ltd, MIGU Interactive Entertainment Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011549802.XA priority Critical patent/CN112675535B/en
Publication of CN112675535A publication Critical patent/CN112675535A/en
Application granted granted Critical
Publication of CN112675535B publication Critical patent/CN112675535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention relates to the technical field of communication, and discloses a display interface adjusting method, which comprises the following steps: if the currently displayed application program interface of the screen is shielded by the window of the screen, acquiring the shielded type of the application program interface, wherein the shielded type comprises partial shielding and total shielding; and reducing the blocked proportion of the application program interface according to the blocked type. The embodiment of the invention also discloses a display interface adjusting device, network equipment and a storage medium. The display interface adjusting method, the device, the network equipment and the storage medium provided by the embodiment of the invention can reduce the proportion of the interface of the cloud game shielded by the window of the screen and reduce the influence on the normal operation of the cloud game by the user.

Description

Display interface adjusting method, device, network equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for adjusting a display interface, a network device, and a storage medium.
Background
Cloud gaming refers to gaming implemented based on cloud computing technology, where cloud gaming is run on a remote server, where an end user can operate the cloud gaming on the remote server without downloading or installing, as long as there is a network connection to the remote server.
However, when a user plays a cloud game, the cloud game often has some other pop-up window blocked from the normal game interface, which affects the normal operation of the cloud game by the user.
Disclosure of Invention
The embodiment of the invention aims to provide a display interface adjusting method, a device, network equipment and a storage medium, which can reduce the proportion of the interface of a cloud game blocked by a window of a screen and reduce the influence on the normal operation of the cloud game by a user.
In order to solve the above technical problems, an embodiment of the present invention provides a method for adjusting a display interface, including: if the currently displayed application program interface of the screen is shielded by the window of the screen, acquiring the shielded type of the application program interface, wherein the shielded type comprises partial shielding and total shielding; and reducing the blocked proportion of the application program interface according to the blocked type.
The embodiment of the invention also provides a display interface adjusting device, which comprises: the acquisition module is used for acquiring the type of the blocked application program interface when the application program interface currently displayed by the screen is blocked by the window of the screen, wherein the blocked type comprises partial blocking and full blocking; and the first adjusting module is used for reducing the blocked proportion of the application program interface according to the blocked type.
The embodiment of the invention also provides a network device, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the display interface adjustment method described above.
The embodiment of the invention also provides a computer readable storage medium which stores a computer program, and the computer program realizes the display interface adjustment method when being executed by a processor.
Compared with the related art, the method reduces the ratio of the blocked application program interface according to the application program interface when the application program interface currently displayed on the screen is blocked by the window of the screen; since the proportion of the cloud game interface which is occluded can be reduced according to the type of the cloud game interface (application interface) which is occluded, the influence on the normal operation of the cloud game by the user is reduced.
In addition, reducing the proportion of the application program interface which is blocked according to the blocked type comprises the following steps: if the type of the blocked screen is partial blocking, acquiring the size information of the window of the screen; and adjusting at least one of the first proportion and the second proportion according to the size information of the window of the screen, and/or increasing the distance between the center of the application program interface and the center of the window of the screen so as to reduce the blocked proportion of the application program interface, wherein the first proportion is the proportion of the application program interface to the screen, and the second proportion is the proportion of the window of the screen to the screen.
In addition, the size information includes a width of a window of the screen; at least one of the first proportion and the second proportion is adjusted according to the size information of the window of the screen, specifically: at least one of the first ratio and the second ratio is adjusted according to a ratio of a width of a window of the screen to the width of the screen.
In addition, the application program interface is an interface of a cloud game; adjusting at least one of the first ratio and the second ratio according to the ratio of the width of the window of the screen to the width of the screen, including: according toAdjusting a first ratio, wherein ratio is the first ratio, w is the width of the window, sw is the width of the screen, X i The adjustment proportion of the ith user of the cloud game is set, and n is the total number of users of the cloud game.
In addition, reducing the proportion of the application program interface which is blocked according to the blocked type comprises the following steps: if the types of the occlusion are all occlusion, the application program interface is set on the top of the screen so as to reduce the proportion of the application program interface which is occluded.
In addition, the application program interface is an interface of a cloud game, and the method further comprises: if the types of the blocked are all the blocked, acquiring an operation instruction matched with the cloud game according to the current time node of the cloud game; executing an operation instruction at a terminal where the screen is positioned; and stopping executing the operation instruction when the application program interface is monitored to be restored to the top layer of the screen. By acquiring and executing the operation instruction when the cloud game interface is completely shielded, and controlling by the user after the cloud game interface is restored, seamless connection before and after the cloud game interface is shielded can be realized, and the influence of the window of the screen on the normal operation of the user on the cloud game is reduced.
In addition, reducing the proportion of the application program interface which is blocked according to the blocked type comprises the following steps: and reducing the blocked proportion of the effective interfaces in the application program interface according to the blocked type.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings.
Fig. 1 is a flowchart of a method for adjusting a display interface according to a first embodiment of the present invention;
fig. 2 is a flow chart of a display interface adjustment method according to a second embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of an adjusted effect of the display interface adjustment method according to the second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for adjusting a display interface according to a third embodiment of the present invention;
fig. 5 is a schematic block diagram of a display interface adjusting device according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network device according to a fifth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a display interface adjusting method, which is used for acquiring the type of the blocked application program interface when the application program interface currently displayed on a screen is blocked by a window of the screen, and reducing the blocked proportion of the application program interface according to the blocked type; since the proportion of the cloud game interface which is blocked can be reduced according to the blocked type of the cloud game interface (application program interface), the influence on the normal operation of the cloud game by the user can be reduced.
It should be noted that, the execution body of the display interface adjustment method provided in the embodiment of the present invention may be a terminal where a server or a screen of an application corresponding to an application interface is located, where the server may be implemented by a single server or a cluster formed by multiple servers, and the terminal may be a terminal such as a mobile phone, a tablet computer, or a notebook computer, which will be described below by taking the terminal as an example.
The specific flow of the display interface adjustment method provided by the embodiment of the invention is shown in fig. 1, and specifically comprises the following steps:
s101: if the application program interface currently displayed by the screen is blocked by the window of the screen, the blocked type of the application program interface is obtained, wherein the blocked type comprises partial blocking and full blocking.
The application program interface currently displayed by the screen is an interface of an application program currently operated in the foreground of the terminal where the screen is positioned. The windows of the screen may include various popup or hover windows displayed on the screen, such as notification windows of the system, advertisement windows of the application, and the like.
Optionally, when judging whether the application program interface currently displayed on the screen is partially blocked by the window of the screen, the terminal can judge whether the window of the screen exists, for example, the terminal monitors the window of the screen, and when monitoring the window with the screen, the terminal judges that the interface of the application program currently displayed is partially blocked by the window; the size of the currently displayed application program interface can be compared with the size of the application program interface to be displayed, and if the currently displayed application program interface is smaller than the application program interface to be displayed, the currently displayed application program interface is judged to be blocked by the window part of the screen.
Taking an application program interface of a cloud game as an example, a terminal can firstly acquire the length and the width of a currently displayed cloud game image frame from a frame buffer of a terminal system, and the two conditions are divided according to the distinction between a horizontal screen and a vertical screen: 1. if the application program interface of the current cloud game is a horizontal screen and the width of the currently displayed game image frame is smaller than the width of the screen minus the height of the status bar or the height of the currently displayed game image frame is smaller than the height of the screen, judging that the application program interface of the cloud game is partially blocked by the window of the screen; 2. if the current cloud game application program interface is a vertical screen and the height of the currently displayed game image frame is smaller than the height of the screen minus the height of the status bar, or the width of the currently displayed game image frame is smaller than the width of the screen, judging that the cloud game application program interface is partially blocked by the window of the screen.
For another example, the terminal may first obtain a screen shot of the current screen, obtain an application program interface from the screen shot, and then compare the obtained screen shot with an application program interface (for example, a current screen of a cloud game) that should be displayed, and if the obtained screen shot and the obtained screen shot are different, determine that the currently displayed application program interface is partially blocked by a window of the screen.
Since the user is often acceptable when the terminal pops up a notification window, for example, a WeChat information window, it is possible to determine that the application interface is partially blocked when it is determined that there are a plurality of terminal system notification windows (windows of the screen). Specifically, the terminal may notify the increased notification enqueueNotification function of the manager Notification manager through the Hook monitoring system, and if the notification list of query Notification manager service is not empty, traverse the notification list to obtain the number of notification windows. In practical application, the notification delay function of the notification manager of the terminal system can be called, and the window in the notification list is set to display after the currently displayed application program interface is finished, so that the influence of the window of the screen on the currently displayed application program interface is reduced.
Optionally, when the terminal judges whether the application program interface is completely blocked by the window of the screen, the terminal can judge by a method of judging partial blocking, or can judge by monitoring that the interface where the current cloud game plug flow is located receives an Activity life cycle onstate event, and if the onstate event is monitored, the terminal judges that the application program interface is completely blocked by the window of the screen. Since a user click may also cause an onstate event, such as a user pulling down a screen, a determination may be added when determining that all occlusion is by listening for an onstate event, and not when the onstate event is caused by a user click.
S102: and reducing the blocked proportion of the application program interface according to the blocked type.
When adjusting the window of the application program interface and/or the screen according to the type of the occlusion, only one of the windows of the application program interface or the screen can be adjusted, for example, the window of the application program interface or the screen is reduced; two windows of the application program interface or the screen can be adjusted at the same time, for example, the windows of the application program interface or the screen can be reduced at the same time, and/or the distance between the two windows can be pulled, specifically, the two windows can be set according to actual needs, as long as the ratio of the application program interface to be blocked can be reduced, and the embodiment of the invention does not limit the ratio.
Since the application program interface may include blank areas without information, background areas with little information or areas that have no effect on the operation of the current user in spite of the information, the meaning of reducing the proportion of these areas that are blocked in the application program is not very great, and thus, in a specific example, reducing the proportion of the application program interface that is blocked according to the type of blocked includes: and reducing the blocked proportion of the effective interfaces in the application program interface according to the blocked type.
The effective interface refers to an area which has an influence on the operation of the current user. Alternatively, the effective interfaces of the application program interfaces can be preset for each application program interface, and when the proportion of the blocked application program interfaces is reduced according to the blocked type, the proportion of the blocked application program interfaces with the effective interfaces in the application program interfaces is reduced.
It should be noted that, the display interface adjustment method provided by the embodiment of the invention can be applied to a cloud game scene mentioned in the background technology, and can also be applied to scenes of other application programs, and when the application program interface is blocked by a window of a screen, the technical effect of reducing the proportion of the blocked application program interface can be realized, so that the interference of the window of the screen to the operation of a user is reduced, and the operation experience of the user is improved.
Compared with the related art, the display interface adjusting method provided by the embodiment of the invention reduces the blocked proportion of the application program interface according to the application program interface when the application program interface currently displayed on the screen is blocked by the window of the screen; since the proportion of the cloud game interface which is occluded can be reduced according to the type of the cloud game interface (application interface) which is occluded, the influence on the normal operation of the cloud game by the user is reduced.
A second embodiment of the present invention relates to a display interface adjustment method. The second embodiment is substantially the same as the first embodiment, and differs mainly in that: in an embodiment of the present invention, reducing the proportion of the application program interface that is blocked according to the blocked type includes: if the type of the blocked window is partial blocking, acquiring size information of the window; and adjusting at least one of the first proportion and the second proportion according to the size information of the window, and/or increasing the distance between the center of the application program interface and the center of the window so as to reduce the blocked proportion of the application program interface, wherein the first proportion is the proportion of the application program interface to the screen, and the second proportion is the proportion of the window to the screen.
The specific flow of the display interface adjustment method provided by the embodiment of the invention is shown in fig. 2, and specifically comprises the following steps:
s201: if the application program interface currently displayed by the screen is blocked by the window of the screen, the blocked type of the application program interface is obtained, wherein the blocked type comprises partial blocking and full blocking.
In the step S201, the same as S101 in the first embodiment, please refer to the related description in the first embodiment, and in order to avoid repetition, a detailed description is omitted here.
S202: and if the type of the blocked screen is partial blocking, acquiring the size information of the window of the screen.
The size information of the window of the screen may include information of length, width, area, etc.
S203: and adjusting at least one of the first proportion and the second proportion according to the size information of the window of the screen, and/or increasing the distance between the center of the application program interface and the center of the window of the screen so as to reduce the blocked proportion of the application program interface, wherein the first proportion is the proportion of the application program interface to the screen, and the second proportion is the proportion of the window of the screen to the screen.
It will be appreciated that S203 may specifically include the following adjustments:
1. adjusting the first proportion according to the size information of the window of the screen, for example, reducing the first proportion according to the size information of the window of the screen, namely reducing the proportion of the application program interface to the screen; because the ratio of the blocked application program interface is not reduced after the first ratio is reduced, the distance between the center of the application program interface and the center of the window of the screen can be increased, the application program interface and the window of the screen are staggered to be displayed as much as possible, and the ratio of the blocked application program interface is reduced.
2. The second scale is adjusted according to the size information of the window, for example, the second scale is reduced, that is, the proportion of the window to the screen is reduced. Since the ratio of the application program interface blocked after the second scaling is reduced with a high probability, the distance between the center of the application program interface and the center of the window of the screen may not be increased. However, it should be understood that the second scaling may not necessarily reduce the ratio of the application program interface to be blocked, for example, the application program interface is not displayed in full screen, but the window of the screen is not overlapped with the application program interface to form a blocking before scaling, and when the window of the screen is scaled down, the reduced window is all within the scope of the application program interface, the ratio of the application program interface to be blocked may be increased, and at this time, the distance between the center of the application program interface and the center of the window of the screen may be increased to reduce the ratio of the application program interface to be blocked.
3. The first scale and the second scale are adjusted according to the size information of the window, for example, the first scale and the second scale are reduced simultaneously, or the first scale is enlarged (when not displayed in full screen) while the second scale is reduced simultaneously, etc. Similarly, the ratio of the blocked application program interface may or may not be reduced when the first ratio and the second ratio are simultaneously adjusted, so that if the ratio of the blocked application program interface is reduced after the first ratio and the second ratio are simultaneously adjusted, the distance between the center of the application program interface and the center of the screen may not be increased; if the first proportion and the second proportion are adjusted at the same time, and the proportion of the application program interface which is blocked is not reduced, the distance between the center of the application program interface and the center of the window of the screen can be increased so as to reduce the proportion of the application program interface which is blocked.
4. The distance between the center of the application interface and the center of the screen is increased. For example, when the application program interface is not displayed in full screen, increasing the center distance between the two can reduce the ratio of the application program interface to be blocked. At least one of the first ratio and the second ratio may also be adjusted on the basis of increasing the center distance of both.
It should be noted that, in the above adjustment, if the ratio of the blocked application program interface after the adjustment is reduced, the distance between the center of the application program interface and the center of the window of the screen may be increased, so as to further reduce the ratio of the blocked application program interface.
When the first proportion or the second proportion is adjusted, the adjusted proportion can be set according to actual needs, and the method is not limited. After at least one of the first proportion and the second proportion is adjusted, if the sum of the first proportion and the second proportion is smaller than or equal to 1, that is, the area of the currently displayed application program interface and the area of the window of the screen are smaller than or equal to the area of the screen, the currently displayed application program interface and the window of the screen can be displayed in two completely different areas of the screen, so that the staggered display effect is achieved, for example, as shown in fig. 3, the application program interface (game interface) and the window (other interfaces) of the screen are displayed in two completely different areas. However, it should be understood that, after at least one of the first proportion or the second proportion is adjusted according to the size information of the window of the screen, the window of the screen and the currently displayed application program interface do not need to be displayed in a staggered manner, and an overlapping portion may be included, so long as the proportion of the adjusted application program interface that is blocked is reduced. For example, by reducing the second proportion, the window of the screen occupies only one or a few pixels of the screen, and at this time, even if the window of the screen and the currently displayed application program interface have an overlapping portion, the proportion that the application program interface is blocked is greatly reduced, and the window of the screen basically does not cause any visual influence.
Since the size information of the window of the screen may be information such as a width, a height, or an area of the window of the screen, when the first ratio or the second ratio is adjusted according to the size information of the window of the screen, the adjustment may be performed according to one or more of the information such as the width, the height, or the area of the window of the screen. In a specific example, the size information of the window of the screen includes the width of the window, and S203 may specifically be: at least one of the first and second ratios is adjusted according to the ratio of the width of the window to the width of the screen. Optionally, the application program interface is a cloud game interface, and the adjusting at least one of the first proportion and the second proportion according to the proportion of the width of the window to the width of the screen includes:
the first ratio is adjusted with the following equation:
wherein ratio is a first ratio, w is the width of the window of the screen, sw is the width of the screen, X i The adjustment proportion of the ith user of the cloud game is set, and n is the total number of users of the cloud game. It should be noted that, if the currently displayed application program interface is a horizontal screen display, the width of the screen refers to the dimension corresponding to the longer side of the screen; if the currently displayed application program interface is a vertical screen display, the width of the screen refers to the dimension corresponding to the shorter side of the screen.The display method can also be directly replaced by an initial value, and the initial value is 0.75 according to different modes of horizontal screen display and vertical screen display, for example, if the display method is horizontal screen display; if the display is vertical screen display, the initial value is 0.5.
Alternatively, the second ratio is adjusted to 1-first ratio, i.e., 1-ratio, when the first ratio is adjusted.
Compared with the related art, the display interface adjusting method provided by the embodiment of the invention adjusts the proportion of the application program interface to the screen and/or the proportion of the window to the screen according to the size information of the window of the screen when the application program interface currently displayed by the screen is partially blocked by the window of the screen, and/or increases the distance between the center of the application program interface and the center of the window of the screen, thereby achieving the purpose of reducing the blocked proportion of the application program interface and reducing the influence of the window of the screen on the normal operation of a user.
A third embodiment of the present invention relates to a display interface adjustment method. The third embodiment is substantially the same as the first embodiment, and differs mainly in that: in an embodiment of the present invention, the application program interface is an interface of a cloud game, and the display interface adjustment method further includes: if the types of the occlusion are all occlusion, acquiring an operation instruction matched with the cloud game according to the current time node of the cloud game, and executing the operation instruction at a terminal where the screen is located; and stopping executing the operation instruction when the application program interface is monitored to be restored to the top layer of the screen.
The specific flow of the display interface adjustment method provided by the embodiment of the invention is shown in fig. 4, and specifically comprises the following steps:
s301: if the cloud game interface currently displayed by the screen is blocked by the window of the screen, the type of the blocked cloud game interface is obtained, wherein the blocked type comprises partial blocking and full blocking.
S302: and if the types of the blocked are all the blocked, acquiring an operation instruction matched with the cloud game according to the current time node of the cloud game.
S303: executing an operation instruction at the terminal where the screen is located.
S304: and stopping executing the operation instruction when the application program interface is monitored to be restored to the top layer of the screen.
In particular, S301 is the same as S101 in the first embodiment, and reference may be made to the description related to the first embodiment, so that the description is omitted here for avoiding repetition.
For S302-S304, the following is detailed:
when the cloud game interface currently displayed on the screen is completely shielded by the window of the screen, an operation instruction matched with the current time node of the cloud game can be acquired, and the acquired operation instruction is sent to a terminal where the cloud game interface is positioned by a server of the cloud game to execute operation, wherein the operation instruction can be derived from operation instruction input big data training models of other cloud game players in the same history period; and then the terminal judges whether the application program interface is positioned at the top layer of the screen, if the application program interface is monitored to be restored to the top layer of the screen, the execution of the operation instruction is stopped, and the operation by the user is restored, so that the seamless connection of the cloud game process can be realized.
It should be noted that the above describes how to deal with the case where the application interface is completely blocked in the scene of the cloud game interface, in practice, for a general scene, when the application interface is completely blocked, the adjustment method in the second embodiment when the application interface is partially blocked may be used for adjustment, and the following manner may be used for adjustment:
when the application program interface currently displayed by the screen is completely shielded by the window of the screen, the application program interface is set on top, so that the application program interface is not shielded.
It will be appreciated that the above-described manner may also be used to make adjustments when the application interface is partially obscured by a window of the screen.
Optionally, since all the blocked pop-up windows may be windows of emergency events such as telephone, the terminal may determine before the application program interface is set up, and if the windows do not belong to the emergency events, then the application program interface is set up again. In addition, since the window of the screen is generally important when all the screen is blocked, the terminal may set the application program interface to be set at the top after a preset time (for example, after several seconds) passes, so that the user can browse the general content of the window.
Compared with the related art, in the display interface adjustment method provided by the embodiment of the invention, when the cloud game interface currently displayed on the screen is completely blocked by the window of the screen, the operation instruction matched with the current cloud game is acquired according to the current time node of the cloud game to execute the operation on the terminal, and when the application program interface is restored to the top layer of the screen, the execution of the operation instruction is stopped. By acquiring and executing the operation instruction when the cloud game interface is completely shielded, and controlling by the user after the cloud game interface is restored, seamless connection before and after the cloud game interface is shielded can be realized, and the influence of the window of the screen on the normal operation of the user on the cloud game is reduced.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they contain the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A fourth embodiment of the present invention relates to a display interface adjustment device 400, as shown in fig. 5, comprising: the functions of the acquisition module 401 and the adjustment module 402 are described in detail as follows:
an obtaining module 401, configured to obtain, when an application program interface currently displayed by a screen is blocked by a window of the screen, a blocked type of the application program interface, where the blocked type includes partial blocking and total blocking;
a first adjustment module 402, configured to reduce a proportion of the application program interface that is occluded according to the type of occlusion.
Further, the first adjustment module 402 is further configured to obtain size information of a window of the screen when the type of the occlusion is partial occlusion; and adjusting at least one of the first proportion and the second proportion according to the size information of the window of the screen, and/or increasing the distance between the center of the application program interface and the center of the window of the screen so as to reduce the blocked proportion of the application program interface, wherein the first proportion is the proportion of the application program interface to the screen, and the second proportion is the proportion of the window of the screen to the screen.
Further, the size information includes a width of a window of the screen, and the first adjustment module 402 is further configured to: at least one of the first ratio and the second ratio is adjusted according to a ratio of a width of a window of the screen to the width of the screen.
Further, the application program interface is an interface of a cloud game, and the first adjustment module 402 is further configured to: according toAdjusting a first ratio, wherein ratio is the first ratio, w is the width of the window, sw is the width of the screen, X i The adjustment proportion of the ith user of the cloud game is set, and n is the total number of users of the cloud game.
Further, the first adjustment module 402 is further configured to set the application program interface on top of the screen when the type of the occlusion is all occlusion, so as to reduce the proportion of the application program interface that is occluded.
Further, the application program interface is an interface of a cloud game, and the display interface adjustment device 400 provided in the embodiment of the present invention further includes a second adjustment module, where the second adjustment module is configured to:
when the types of the blocked are all the blocking, acquiring an operation instruction matched with the cloud game according to the current time node of the cloud game;
executing an operation instruction at a terminal where the screen is positioned;
and stopping executing the operation instruction when the application program interface is monitored to be restored to the top layer of the screen.
Further, the first adjustment module 402 is further configured to:
and reducing the blocked proportion of the effective interfaces in the application program interface according to the blocked type.
It is to be noted that this embodiment is an example of a device corresponding to the foregoing embodiment, and can be implemented in cooperation with the foregoing embodiment. The related technical details mentioned in the foregoing embodiments are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the related technical details mentioned in the present embodiment can also be applied to the foregoing embodiments.
It should be noted that each module in this embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units that are not so close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but this does not indicate that other units are not present in the present embodiment.
A fifth embodiment of the invention relates to a network device, as shown in fig. 6, comprising at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501 to enable the at least one processor 501 to perform the display interface adjustment method described above.
Where the memory 502 and the processor 501 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors 501 and the memory 502. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 501 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that implementing all or part of the steps in the methods of the embodiments described above may be accomplished by a program stored in a storage medium, including several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (8)

1. A display interface adjustment method, comprising:
if the currently displayed application program interface of the screen is shielded by the window of the screen, acquiring the shielded type of the application program interface, wherein the shielded type comprises partial shielding and total shielding;
reducing the blocked proportion of the application program interface according to the blocked type;
if the type of the blocked window is partial blocking, acquiring the size information of the window;
at least one of a first proportion and a second proportion is adjusted according to the size information of the window, and/or the distance between the center of the application program interface and the center of the window is increased so as to reduce the blocked proportion of the application program interface, wherein the first proportion is the proportion of the application program interface to the screen, and the second proportion is the proportion of the window to the screen;
if the types of the blocked are all the blocking, the application program interface is set on the top of the screen so as to reduce the blocked proportion of the application program interface;
the window is various popup windows or floating windows displayed on the screen and at least comprises one of a notification window of a system and an advertisement window of an application program.
2. The display interface adjustment method according to claim 1, wherein the size information includes a width of the window;
at least one of the first proportion and the second proportion is adjusted according to the size information of the window, specifically:
and adjusting at least one of the first proportion and the second proportion according to the proportion of the width of the window to the width of the screen.
3. The display interface adjustment method according to claim 2, wherein the application program interface is an interface of a cloud game;
the adjusting at least one of the first proportion and the second proportion according to the proportion of the width of the window to the width of the screen comprises:
according toAdjusting said first ratio, wherein said ++>For said first ratio, said w is the width of said window, said +.>For the width of the screen, the +.>And (3) adjusting the proportion of the ith user of the cloud game, wherein n is the total number of users of the cloud game.
4. The display interface adjustment method according to claim 1, wherein the application program interface is an interface of a cloud game, the method further comprising:
if the types of the blocked are all the blocking, acquiring an operation instruction matched with the cloud game according to the current time node of the cloud game;
executing the operation instruction at the terminal where the screen is located;
and stopping executing the operation instruction when the application program interface is monitored to be restored to the top layer of the screen.
5. The display interface adjustment method according to any one of claims 1 to 4, characterized in that the reducing the proportion of the application program interface that is occluded according to the type of occlusion comprises:
and reducing the blocked proportion of the effective interfaces in the application program interface according to the blocked type.
6. A display interface adjustment device, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the type of the blocked application program interface when the application program interface currently displayed by the screen is blocked by a window of the screen, and the blocked type comprises partial blocking and full blocking;
the window is various popup windows or suspension windows displayed on the screen and at least comprises one of a notification window of a system and an advertisement window of an application program;
the first adjusting module is used for reducing the blocked proportion of the application program interface according to the blocked type;
if the type of the shielding is partial shielding, acquiring the size information of the window of the screen; at least one of a first proportion and a second proportion is adjusted according to the size information of the window of the screen, and/or the distance between the center of the application program interface and the center of the window of the screen is increased so as to reduce the proportion of the application program interface which is blocked, wherein the first proportion is the proportion of the application program interface to the screen, and the second proportion is the proportion of the window of the screen to the screen;
if the type of the occlusion is complete occlusion, the application program interface is set on the screen to reduce the proportion of the application program interface which is occluded.
7. A network device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the display interface adjustment method of any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the display interface adjustment method according to any one of claims 1 to 5.
CN202011549802.XA 2020-12-24 2020-12-24 Display interface adjusting method, device, network equipment and storage medium Active CN112675535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011549802.XA CN112675535B (en) 2020-12-24 2020-12-24 Display interface adjusting method, device, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011549802.XA CN112675535B (en) 2020-12-24 2020-12-24 Display interface adjusting method, device, network equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112675535A CN112675535A (en) 2021-04-20
CN112675535B true CN112675535B (en) 2023-08-01

Family

ID=75452465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011549802.XA Active CN112675535B (en) 2020-12-24 2020-12-24 Display interface adjusting method, device, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112675535B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016709B (en) * 2022-08-09 2022-12-09 荣耀终端有限公司 Display method of application interface, electronic equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2798148A1 (en) * 2010-05-04 2011-11-10 Timocco Ltd. System and method for tracking and mapping an object to a target
US9600150B1 (en) * 2013-05-06 2017-03-21 Kabam, Inc. System and method for providing promotions to users during idle time
KR102384311B1 (en) * 2014-10-31 2022-04-08 삼성전자주식회사 Device for managing user information based on image and method thereof
CN105278910B (en) * 2015-11-24 2019-07-30 努比亚技术有限公司 A kind of display methods and device
CN106792101B (en) * 2017-01-03 2019-09-20 青岛海信电器股份有限公司 Home interface method of adjustment, device and smart television
CN110389692A (en) * 2018-04-17 2019-10-29 中兴通讯股份有限公司 A kind of display methods of status bar, device and storage medium
CN110647368A (en) * 2018-06-26 2020-01-03 联想移动通信科技有限公司 Method and device for controlling application program to execute operation and electronic equipment
CN109375983B (en) * 2018-12-20 2022-01-07 广东金赋科技股份有限公司 Method for automatically adjusting input method window in terminal
CN110582027B (en) * 2019-08-22 2022-04-12 聚好看科技股份有限公司 Method and related device for displaying message on smart television
CN111638818B (en) * 2020-04-29 2022-05-10 维沃移动通信有限公司 Window position adjusting method and device and electronic equipment

Also Published As

Publication number Publication date
CN112675535A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN111045816B (en) Performance optimization method and related device
US9075789B2 (en) Methods and apparatus for interleaving priorities of a plurality of virtual processors
US20220058772A1 (en) Image Processing Method and Device
CN112464095B (en) Message pushing method, device, terminal and storage medium
CN113055742A (en) Video display method, device, terminal and storage medium
CN112675535B (en) Display interface adjusting method, device, network equipment and storage medium
CN108693948B (en) Frame rate adjusting method and device, terminal equipment and storage medium
CN108628429B (en) Frame rate adjusting method and device, terminal equipment and storage medium
CN105611316A (en) Method, device and system for adjusting frame rate
CN114419229A (en) Image rendering method and device, computer equipment and storage medium
CN113038273B (en) Video frame processing method and device, storage medium and electronic equipment
CN112804527B (en) Image output method, image output device and computer-readable storage medium
CN112217608B (en) Data rate adjusting method and device, computer readable medium and electronic equipment
CN111767136B (en) Process management method, terminal and device with storage function
CN108011860B (en) Method, device and terminal for processing broadcast message
EP3985988A1 (en) Detection method for still picture of video, terminal, and computer-readable storage medium
CN110543384B (en) Memory write-back method, device, terminal and storage medium
CN109939437B (en) Game program operation optimization method and device
CN113127780A (en) Page loading method and device and electronic equipment
CN110611739B (en) Video color ring playing method, terminal and computer readable storage medium
CN110604921B (en) Display content switching method, server and storable medium
CN108777810B (en) Video data storage method, device, equipment and storage medium
CN109905614B (en) Video controller, video controller on-load control method, display system, and storage medium
CN108712556B (en) Frame rate adjusting method and device, terminal equipment and storage medium
CN111614526A (en) Method, device, storage medium and terminal for rapidly maintaining HINOC link

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