CN114003156B - Display method, display device, storage medium and electronic equipment - Google Patents

Display method, display device, storage medium and electronic equipment

Info

Publication number
CN114003156B
CN114003156B CN202111200116.6A CN202111200116A CN114003156B CN 114003156 B CN114003156 B CN 114003156B CN 202111200116 A CN202111200116 A CN 202111200116A CN 114003156 B CN114003156 B CN 114003156B
Authority
CN
China
Prior art keywords
menu
target
sub
resolution
display
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
CN202111200116.6A
Other languages
Chinese (zh)
Other versions
CN114003156A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111200116.6A priority Critical patent/CN114003156B/en
Publication of CN114003156A publication Critical patent/CN114003156A/en
Application granted granted Critical
Publication of CN114003156B publication Critical patent/CN114003156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses a display method, a device, a storage medium and electronic equipment, and relates to the technical field of Internet, wherein the method comprises the following steps: acquiring layout parameters corresponding to a preset display menu through a system service layer; dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for a target cache in the system service layer based on the plurality of sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution; and based on the target cache and the plurality of sub-region menus, performing resolution improvement processing on the preset display menu to obtain a menu with the target resolution for display. The application improves the display resolution of the menu with low system consumption, and has small workload and low risk.

Description

Display method, display device, storage medium and electronic equipment
Technical Field
The present application relates to the field of display technologies, and in particular, to a display method, a device, a storage medium, and an electronic apparatus.
Background
With the trend of higher and larger video resolution and larger display screen, the menu in the display device is difficult to display with high resolution, so that the menu is often displayed with a large amount of jaggies and unclear.
Currently, in the related art, when a high resolution menu is displayed, for example, when a 4k menu is played on a 2k screen, a low-level layer manager (SEVICE VIEW) is forced to be opened to apply for a cache or a power-on animation (bootanimation) is used to control the high resolution display, so that the overall performance consumed by the system is high, the workload is large, and a certain risk exists.
Disclosure of Invention
The embodiment of the application provides a scheme which can improve the display resolution of the menu with low system consumption, and has small workload and low risk.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a display method includes: acquiring layout parameters corresponding to a preset display menu through a system service layer; dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for a target cache in the system service layer based on the plurality of sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution; and based on the target cache and the plurality of sub-region menus, performing resolution improvement processing on the preset display menu to obtain a menu with the target resolution for display.
In some embodiments of the present application, based on the target cache and the plurality of sub-region menus, performing resolution enhancement processing on a preset display menu to obtain a menu with the target resolution, where the method includes: splicing the sub-region menus into a spliced menu of target layout parameters; performing resolution improvement processing on the spliced menu based on the target cache to obtain a menu with the target resolution; and displaying and playing the menu with the target resolution.
In some embodiments of the present application, the target screen includes a specific screen position and a target screen position for rotating the play menu; splicing the plurality of sub-region menus into a spliced menu of target layout parameters, including: monitoring the pixel change of the specific screen position to determine whether the initial menu played at the specific screen position disappears; when the fact that the initial menu played at the specific screen position disappears is determined, the sub-region menus are spliced into spliced menus of target layout parameters; displaying and playing the menu with the target resolution, wherein the method comprises the following steps: and switching the menu with the target resolution to the target screen position for display and play.
In some embodiments of the present application, the layout parameters include layout parameters to be spliced corresponding to at least one piece of position information; the splicing the sub-region menus into the spliced menu of the target layout parameters comprises the following steps: acquiring display position information of a preset display menu through a system service layer, wherein the display position information comprises target position information corresponding to a target screen position; determining the layout parameters to be spliced corresponding to the target position information from the layout parameters to be spliced corresponding to the at least one position information to form the target layout parameters; and splicing the sub-menu areas into a spliced menu of the target layout parameters.
In some embodiments of the present application, the layout parameters include preset layout parameters of the preset display menu itself; the dividing the preset display menu into a plurality of sub-region menus according to the layout parameters comprises the following steps: and dividing the preset display menu into a plurality of sub-region menus according to the preset layout parameters.
In some embodiments of the present application, each sub-region menu applies to a corresponding sub-cache in a system service layer after being split; the applying for the target cache in the system service layer based on the sub-region menus comprises the following steps: and superposing the sub-caches applied by each sub-region menu in the system service layer to form the target cache.
In some embodiments of the present application, performing resolution enhancement processing on the spliced menu based on the target cache to obtain the menu with the target resolution, including: and carrying out resolution improvement on the spliced menu in the target cache according to a preset resolution improvement strategy until the target cache is filled, and generating the menu with the target resolution.
In some embodiments of the application, the screen resolution of the target screen displaying the menu of target resolution is 2k and the target resolution is 4k.
According to an embodiment of the present application, a display apparatus of a menu, the apparatus includes: the parameter acquisition module is used for acquiring layout parameters corresponding to a preset display menu through the system service layer; the clipping module is used for dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for target cache in the system service layer based on the sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution; and the display module is used for carrying out resolution improvement processing on the preset display menu based on the target cache and the plurality of sub-region menus to obtain the menu with the target resolution for display.
According to another embodiment of the present application, a storage medium has a computer program stored thereon, which when executed by a processor of a computer, causes the computer to perform the method of the embodiment of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method of the embodiment of the application.
In the embodiment of the application, when the menu is displayed, the layout parameters corresponding to the preset display menu are acquired through the system service layer; dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for a target cache in the system service layer based on the plurality of sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution; and based on the target cache and the plurality of sub-region menus, performing resolution improvement processing on the preset display menu to obtain a menu with the target resolution for display.
In this way, by acquiring the layout parameters corresponding to the preset display menu, the system service layer can automatically apply for the buffer meeting the resolution improvement condition in the system service layer after obtaining a plurality of sub-region menus according to the division of the preset display menu, and can perform resolution improvement processing and display on the preset display menu based on the buffer, so that the situation that a low-layer system manager (SEVICE VIEW) is forced to apply for a large buffer or a startup animation (bootanimation) is used for controlling high-resolution display is avoided, the display resolution of the menu is further improved with low system consumption, and the workload of improving the display effect is small and the risk is low.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a schematic diagram of a system to which embodiments of the application may be applied.
Fig. 2 shows a flow chart of a display method according to an embodiment of the application.
Fig. 3 shows a layout structure diagram of a menu of one embodiment.
Fig. 4 shows a layout structure diagram of a menu of another embodiment.
Fig. 5 shows a block diagram of a display device according to an embodiment of the application.
Fig. 6 shows a block diagram of an electronic device according to an embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
In the description that follows, specific embodiments of the application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the memory system of the computer, which may be reconfigured or otherwise altered in ways well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the above text and are not meant to be limiting, and those of skill in the art will appreciate that various of the steps and operations described below may also be implemented in hardware.
Fig. 1 shows a schematic diagram of a system 100 in which embodiments of the application may be applied. As shown in fig. 1, system 100 may include a display device 101. The display device 101 may include a television, a tablet computer, a mobile phone, an electronic reader, a remote controller, a Personal computer (Personal Computer, PC), a notebook computer, a Personal Digital Assistant (PDA), a vehicle-mounted device, a wearable device, or the like having a product with a display interface.
The display device 101 in one embodiment of the present example may: acquiring layout parameters corresponding to a preset display menu through a system service layer; dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for a target cache in the system service layer based on the plurality of sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution; and based on the target cache and the plurality of sub-region menus, performing resolution improvement processing on the preset display menu to obtain a menu with the target resolution for display.
It should be noted that, in addition to the display device 101, the system 100 according to the embodiment of the present application may further include other devices, for example: a server (not shown in fig. 1). The server may be a server cluster or a cloud service, etc. The server may be directly or indirectly connected to the display device 101 by a wired or wireless connection. In an alternative embodiment of the present application, the display device 101 may obtain the preset display menu and the layout parameters corresponding to the preset display menu from the server. The embodiment of the present application is not limited to the type and number of devices that the system 100 may include.
Fig. 2 schematically shows a flow chart of a display method according to an embodiment of the application. The execution subject of the display method may be any device, such as the display device 101 shown in fig. 1.
As shown in fig. 2, the display method may include steps S210 to S240.
Step S210, obtaining layout parameters corresponding to a preset display menu through a system service layer;
Step S220, dividing the preset display menu into a plurality of sub-region menus according to layout parameters, so as to apply for target cache in a system service layer based on the plurality of sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution;
step S230, based on the target cache and the plurality of sub-region menus, performing resolution improvement processing on the preset display menu, and displaying the menu with the target resolution.
The system service layer is a service layer relative to the application layer in the operating system. Related applications (such as television applications in smart televisions) in the display device can acquire a preset display menu and layout parameters corresponding to the preset display menu, and transfer the preset display menu and the layout parameters corresponding to the preset display menu to a system service layer. And further, acquiring layout parameters corresponding to a preset display menu through a system service layer of the display equipment.
The preset display menu is a pre-designed menu interface (UI), and the layout parameters may include preset layout parameters of the preset display menu itself, where the preset layout parameters of the preset display menu itself describe a structure of the preset display menu (e.g. the preset display menu is composed of a plurality of regions, the size of each region is what, etc.), and the preset layout parameters are parameters set according to the resolution improvement requirement.
After the system service layer obtains the layout parameters corresponding to the preset display menu, the preset display menu is divided into a plurality of sub-area menus according to the layout parameters. Meanwhile, a target buffer meeting the preset display menu to be lifted to the target resolution is applied to a system service layer based on a plurality of sub-area menus, for example, in one example, the sum of buffers automatically applied when all the sub-area menus are segmented is used as the target buffer meeting the preset display menu to be lifted to the target resolution, and in another example, the sum of buffers automatically applied when a certain sub-area menu is segmented is used as the target buffer meeting the preset display menu to be lifted to the target resolution.
After the target cache is applied to the system service layer according to the requirements, resolution improvement can be performed, meanwhile, a plurality of sub-region menus can be spliced and combined, for example, the spliced menu shown in fig. 4 is spliced, then, the resolution of the spliced menu is improved (for example, the effect of 4k resolution can be met based on the cache, the menu can be improved from 2k resolution to 4 k) to be displayed, and further, resolution improvement processing is performed on a preset display menu based on the target cache and the plurality of sub-region menus to obtain the menu with the target resolution to be displayed.
In this way, based on step S210 to step S230, by acquiring the layout parameters corresponding to the preset display menu, the system service layer can automatically apply for the buffer meeting the resolution improvement condition in the system service layer after obtaining the multiple sub-region menus according to the division of the preset display menu by the layout parameters, and based on the buffer, the resolution improvement processing and display can be performed on the preset display menu, so as to avoid the forced opening of the low-layer system manager (SEVICE VIEW) to apply for the large buffer or the use of the startup animation (bootanimation) to control the high-resolution display, thereby improving the display resolution of the menu with low system consumption, and the workload of improving the display effect is small and the risk is low.
The specific procedure of each step performed when the menu is displayed is described below.
In step S210, the system service layer obtains layout parameters corresponding to the preset display menu.
In this example embodiment, the system service layer is the service layer in the operating system relative to the application layer. Related applications (such as a television application in a smart television) in the display device can acquire a preset display menu and layout parameters corresponding to the preset display menu (for example, the preset display menu and the layout parameters corresponding to the preset display menu are transmitted to a system service layer in the television application or the server is dynamically issued to the television application). And further, acquiring layout parameters corresponding to the preset display menu through a system service layer of the display equipment.
The preset display menu is a pre-designed menu interface (UI), and the layout parameters may include preset layout parameters of the preset display menu itself, where the preset layout parameters of the preset display menu itself describe an arrangement layout structure of the preset display menu (e.g. the preset display menu is composed of a plurality of regions, and the size of each region is what is, etc.), where the preset layout parameters are parameters set according to the resolution improvement requirement. The preset display menu, such as the menu shown in fig. 3, may include left (778×780+778×300) +right (778×1080).
In step S220, the preset display menu is divided into a plurality of sub-area menus according to the layout parameters, so as to apply for a target cache in the system service layer based on the plurality of sub-area menus, where the target cache is used to satisfy the preset display menu and promote to the target resolution.
In this exemplary embodiment, after the system service layer obtains the layout parameters corresponding to the preset display menu, the preset display menu may be divided into a plurality of sub-area menus according to the layout parameters, for example, the menu shown in fig. 3 may be divided into a sub-area menu of 778×780, a sub-area menu of 778×300, and a sub-area menu of 778×1080 according to the preset layout parameters in the layout parameters.
Based on the application of the plurality of sub-area menus to the target cache meeting the requirement that the preset display menu is lifted to the target resolution in the system service layer, for example, in one example, the sum of caches automatically applied when all the sub-area menus are segmented is taken as the target cache meeting the requirement that the preset display menu is lifted to the target resolution, and in another example, the sum of caches automatically applied when a certain number of sub-area menus are segmented is taken as the target cache meeting the requirement that the preset display menu is lifted to the target resolution.
In one embodiment, the layout parameters include preset layout parameters of a preset display menu itself; in step S220, the dividing the preset display menu into a plurality of sub-region menus according to the layout parameters includes: dividing a preset display menu into a plurality of sub-region menus according to preset layout parameters.
The preset layout parameters of the preset display menu describe the arrangement layout structure of the preset display menu (such as which area the preset display menu is composed of, the size of each area, etc.), and the preset layout parameters are parameters set according to the resolution improvement requirement. The preset display menu, such as the menu shown in fig. 3, may include left (778×780+778×300) +right (778×1080). The menu shown in fig. 3 is divided into a 778×780 sub-region menu, a 778×300 sub-region menu and a 778×1080 sub-region menu according to preset layout parameters in the layout parameters.
In one embodiment, each sub-region menu applies to a corresponding sub-cache in the system service layer after being split; in step S220, applying for the target cache in the system service layer based on the multiple sub-region menus includes: and superposing the sub-caches applied by each sub-area menu in the system service layer to form a target cache.
After the sub-area menu is obtained by segmentation, the corresponding sub-caches can be automatically applied to the system service layer, and as the caches with large resolution improvement requirements cannot be directly applied to the low-resolution equipment, the target caches meeting resolution improvement conditions can be indirectly formed by superposing the sub-caches applied to the system service layer by the sub-area menu.
In one embodiment, each sub-region menu applies to a corresponding sub-cache in the system service layer after being split; in step S220, applying for the target cache in the system service layer based on the multiple sub-region menus includes: and superposing the sub-caches applied by the target sub-area menu in the system service layer to form a target cache.
The target sub-area menu in the sub-area menu can be a certain number of sub-area menus in all sub-area menus, if the total number of the sub-area menus is large, the embodiment can select a certain number of sub-area menus meeting the requirements, such as the area or the length, to form the target sub-area menu. And superposing sub-caches applied in a system service layer based on the target sub-area menu to form a target cache meeting resolution improvement conditions.
In step S230, resolution enhancement processing is performed on the preset display menu based on the target cache and the plurality of sub-region menus, so as to obtain a menu with target resolution for display.
In this example embodiment, after a request is applied to a target cache meeting a resolution improvement condition in a system service layer according to a requirement, resolution improvement may be performed, and meanwhile, a plurality of sub-region menus may be spliced and combined, for example, spliced into a spliced menu shown in fig. 4, and then, the resolution of the spliced menu is improved (for example, based on the effect that the cache can meet a resolution of 4k, the menu may be improved from the resolution of 2k to the resolution of 4 k) to display, and further, based on the cache and the plurality of sub-region menus, resolution improvement processing is performed on a preset display menu to obtain a menu with the target resolution to display.
In one embodiment, step S230, based on the target cache and the plurality of sub-region menus, performs resolution enhancement processing on the preset display menu, and displays the menu with the target resolution, where the step includes:
Splicing the sub-region menus into a spliced menu of target layout parameters; performing resolution improvement treatment on the spliced menu based on the target cache to obtain a menu with target resolution; and displaying and playing the menu with the target resolution.
The target layout parameters, that is, menu structure parameters under the display requirement after resolution improvement, for example, a plurality of sub-region menus are spliced into a spliced menu with target layout parameters 778×2160 as shown in fig. 4, the spliced menu can effectively match the display requirement with the resolution of 4k, and further, resolution improvement processing is performed on the spliced menu based on the target cache, so that the display effect of the menu with the target resolution can be obtained, and the display effect of the menu form and the pixel quality can be simultaneously improved.
In one embodiment, the target screen includes a specific screen position and a target screen position for rotating the play menu; splicing the plurality of sub-region menus into a spliced menu of target layout parameters, comprising: monitoring the pixel change of the specific screen position to determine whether the initial menu played at the specific screen position disappears; and when the fact that the initial menu played at the specific screen position disappears is determined, splicing the plurality of sub-region menus into a spliced menu of the target layout parameters. Displaying and playing the menu with the target resolution, wherein the method comprises the following steps: and switching the menu with the target resolution to the target screen position for display and play.
The alternate play effect of the menu can be set on the target screen, for example, the menu switches play left and right on the screen, etc. And then a specific screen position and a target screen position of the alternate play menu can be set on the screen.
Through the pixel change of the specific screen position, whether the initial menu played at the specific screen position disappears or not can be determined, and further, when the initial menu played at the specific screen position disappears, the spliced menu with a plurality of sub-area menus spliced into the target layout parameters is triggered to carry out resolution improvement processing, and the menu with the target resolution obtained after resolution improvement is switched to the target screen position to be displayed and played, so that the resolution improvement playing effect under the position switching of the menu is realized.
Compared with the mode of monitoring and switching based on switching time in the related art, the time of single circulation is different on different platforms or different id and model devices, and is difficult to determine by the switching time. Meanwhile, if an interface mode or an attribute transmission mode is used, delay is also caused, and the menu switching position is easy to be disordered when playing.
In one embodiment, the layout parameters include layout parameters to be spliced corresponding to at least one piece of position information; splicing the plurality of sub-region menus into a spliced menu of target layout parameters, comprising:
acquiring display position information of a preset display menu through a system service layer, wherein the display position information comprises target position information corresponding to a target screen position; determining the layout parameters to be spliced corresponding to the target position information from the layout parameters to be spliced corresponding to the at least one position information to form target layout parameters; and splicing the plurality of sub-menu areas into a spliced menu of the target layout parameters.
The position corresponding to the target screen position can be determined from at least one position information, and the layout parameter to be spliced corresponding to the determined position, namely the layout parameter to be spliced corresponding to the target position information, so that the target layout parameter is obtained, and a plurality of sub-menu areas can be spliced into a spliced menu of the target layout parameter.
The position information is the position information on the target screen, each position information is set with the corresponding layout parameters to be spliced, and the spliced menu of the corresponding layout structure can be spliced according to each position, so that the resolution of the menu in the switching position scene is further improved, and the playing effect is further improved.
In one embodiment, resolution enhancement processing is performed on a spliced menu based on a target cache to obtain a menu with a target resolution, including: and carrying out resolution improvement on the spliced menu in the target cache according to a preset resolution improvement strategy until the target cache is filled, and generating a menu with target resolution.
The resolution enhancement processing is performed on the initial pixels of the spliced menu by enhancement, the buffer memory is continuously filled, the resolution enhancement processing cannot be performed after the target buffer memory is filled, and then the menu with the target resolution after the resolution enhancement is generated after the target buffer memory is filled.
In one embodiment, the screen resolution of the target screen displaying the menu of the target resolution in the foregoing embodiment is 2k, and the target resolution is 4k. This allows a menu of 4k resolution to be displayed on the 2k resolution target screen based on the previous embodiment.
In order to facilitate better implementation of the display method provided by the embodiment of the application, the embodiment of the application also provides a display device based on the display method. Where the meaning of a noun is the same as in the display method described above, specific implementation details may be referred to in the description of the method embodiments. Fig. 5 shows a block diagram of a display device according to an embodiment of the application.
As shown in fig. 5, the display device 300 may include a parameter acquisition module 310, a clipping module 320, and a display module 330.
The parameter obtaining module 310 may be configured to obtain, by using a system service layer, layout parameters corresponding to a preset display menu; the clipping module 320 may be configured to divide the preset display menu into a plurality of sub-region menus according to the layout parameters, so as to apply for a target cache in the system service layer based on the plurality of sub-region menus, where the target cache is used to satisfy that the preset display menu is lifted to a target resolution; the display module 330 may be configured to perform resolution enhancement processing on the preset display menu based on the target cache and the multiple sub-region menus, so as to obtain a menu with the target resolution for display.
In some embodiments of the present application, the display module 330 includes: the splicing unit is used for splicing the plurality of sub-region menus into a spliced menu of target layout parameters; the lifting unit is used for carrying out resolution lifting processing on the spliced menu based on the target cache to obtain a menu with the target resolution; and displaying and playing the menu with the target resolution.
In some embodiments of the present application, the target screen includes a specific screen position and a target screen position for rotating the play menu; a splice unit comprising: a monitoring subunit, configured to monitor a pixel change of the specific screen position, so as to determine whether an initial menu played at the specific screen position disappears; a splicing subunit, configured to splice the plurality of sub-area menus into a spliced menu of the target layout parameters when it is determined that the initial menu played at the specific screen position disappears; a display unit for: and switching the menu with the target resolution to the target screen position for display and play.
In some embodiments of the present application, the layout parameters include layout parameters to be spliced corresponding to at least one piece of position information; and a splice subunit configured to: acquiring display position information of a preset display menu through a system service layer, wherein the display position information comprises target position information corresponding to a target screen position; determining the layout parameters to be spliced corresponding to the target position information from the layout parameters to be spliced corresponding to the at least one position information to form the target layout parameters; and splicing the sub-menu areas into a spliced menu of the target layout parameters.
In some embodiments of the present application, the layout parameters include preset layout parameters of the preset display menu itself; the clipping module 320 includes: and the dividing unit is used for dividing the preset display menu into a plurality of sub-region menus according to the preset layout parameters.
In some embodiments of the present application, each sub-region menu applies to a corresponding sub-cache in a system service layer after being split; the clipping module 320 includes: and the superposition unit is used for superposing the sub-caches applied by each sub-region menu in the system service layer to form the target cache.
In some embodiments of the application, the lifting unit is for: and carrying out resolution improvement on the spliced menu in the target cache according to a preset resolution improvement strategy until the target cache is filled, and generating the menu with the target resolution.
In some embodiments of the application, the screen resolution of the target screen displaying the menu of target resolution is 2k and the target resolution is 4k.
In this way, based on the display device 300, by acquiring the layout parameters corresponding to the preset display menu, the system service layer can automatically apply for the buffer meeting the resolution improvement condition in the system service layer after obtaining the multiple sub-region menus according to the division of the preset display menu, and based on the buffer, the resolution improvement processing and display can be performed on the preset display menu, so that the situation that the low-layer manager (SEVICE VIEW) is forced to apply for a large buffer or the high-resolution display is controlled by using the startup animation (bootanimation) is avoided, the display resolution of the menu is further improved with low system consumption, and the workload of improving the display effect is small and the risk is low.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the present application further provides an electronic device, which may be a terminal or a server, as shown in fig. 6, which shows a schematic structural diagram of the electronic device according to the embodiment of the present application, specifically:
The electronic device may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, power supply 403, and input unit 404, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
The processor 401 is a control center of the electronic device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user page, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 404, which input unit 404 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 executes the computer programs stored in the memory 402, so as to implement various functions, for example, the processor 401 may perform the following steps:
Acquiring layout parameters corresponding to a preset display menu through a system service layer; dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for a target cache in the system service layer based on the plurality of sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution; and based on the target cache and the plurality of sub-region menus, performing resolution improvement processing on the preset display menu to obtain a menu with the target resolution for display.
In some embodiments of the present application, based on the target cache and the plurality of sub-region menus, when performing resolution enhancement processing on a preset display menu to obtain the menu with the target resolution for display, the processor 401 may execute: splicing the sub-region menus into a spliced menu of target layout parameters; performing resolution improvement processing on the spliced menu based on the target cache to obtain a menu with the target resolution; and displaying and playing the menu with the target resolution.
In some embodiments of the present application, the target screen includes a specific screen position and a target screen position for rotating the play menu; when the sub-region menus are spliced into the spliced menu of the target layout parameters, the processor 401 may perform: monitoring the pixel change of the specific screen position to determine whether the initial menu played at the specific screen position disappears; when the fact that the initial menu played at the specific screen position disappears is determined, the sub-region menus are spliced into spliced menus of target layout parameters; when the menu with the target resolution is displayed and played, the processor 401 may execute: and switching the menu with the target resolution to the target screen position for display and play.
In some embodiments of the present application, the layout parameters include layout parameters to be spliced corresponding to at least one piece of position information; the processor 401 may execute, when the sub-region menus are spliced into the spliced menu of the target layout parameters: acquiring display position information of a preset display menu through a system service layer, wherein the display position information comprises target position information corresponding to a target screen position; determining the layout parameters to be spliced corresponding to the target position information from the layout parameters to be spliced corresponding to the at least one position information to form the target layout parameters; and splicing the sub-menu areas into a spliced menu of the target layout parameters.
In some embodiments of the present application, the layout parameters include preset layout parameters of the preset display menu itself; the processor 401 may execute, when dividing the preset display menu into a plurality of sub-area menus according to the layout parameters: and dividing the preset display menu into a plurality of sub-region menus according to the preset layout parameters.
In some embodiments of the present application, each sub-region menu applies to a corresponding sub-cache in a system service layer after being split; the processor 401 may execute, when applying for the target cache in the system service layer based on the plurality of sub-area menus: and superposing the sub-caches applied by each sub-region menu in the system service layer to form the target cache.
In some embodiments of the present application, when resolution enhancement processing is performed on the spliced menu based on the target cache to obtain the menu with the target resolution, the processor 401 may execute: and carrying out resolution improvement on the spliced menu in the target cache according to a preset resolution improvement strategy until the target cache is filled, and generating the menu with the target resolution.
In some embodiments of the application, the screen resolution of the target screen displaying the menu of target resolution is 2k and the target resolution is 4k.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application also provides a storage medium in which a computer program is stored, the computer program being capable of being loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps of any one of the methods provided in the embodiments of the present application may be executed by the computer program stored in the storage medium, so that the beneficial effects that can be achieved by the methods provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the application is not limited to the embodiments which have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (8)

1.A display method, comprising:
acquiring layout parameters corresponding to a preset display menu through a system service layer;
Dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for a target cache in the system service layer based on the plurality of sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution;
Based on the target cache and the plurality of sub-region menus, performing resolution improvement processing on the preset display menu to obtain a menu with the target resolution for display;
The step of performing resolution improvement processing on a preset display menu based on the target cache and the plurality of sub-region menus to obtain a menu with the target resolution for display includes:
Splicing the sub-region menus into spliced menus of target layout parameters, wherein a target screen comprises a specific screen position and a target screen position of a rotation play menu; performing resolution improvement processing on the spliced menu based on the target cache to obtain a menu with the target resolution; displaying and playing the menu with the target resolution;
the splicing the sub-region menus into the spliced menu of the target layout parameters comprises the following steps:
Monitoring the pixel change of the specific screen position to determine whether the initial menu played at the specific screen position disappears; when the fact that the initial menu played at the specific screen position disappears is determined, the sub-region menus are spliced into spliced menus of target layout parameters;
correspondingly, the displaying and playing the menu with the target resolution comprises the following steps:
and switching the menu with the target resolution to the target screen position for display and play.
2. The method of claim 1, wherein the layout parameters include layout parameters to be spliced corresponding to at least one piece of position information; the splicing the sub-region menus into the spliced menu of the target layout parameters comprises the following steps:
acquiring display position information of a preset display menu through the system service layer, wherein the display position information comprises target position information corresponding to a target screen position;
Determining the layout parameters to be spliced corresponding to the target position information from the layout parameters to be spliced corresponding to the at least one position information to form the target layout parameters;
and splicing the sub-menu areas into a spliced menu of the target layout parameters.
3. The method according to claim 1, wherein the layout parameters include preset layout parameters of the preset display menu itself;
The dividing the preset display menu into a plurality of sub-region menus according to the layout parameters comprises the following steps:
And dividing the preset display menu into a plurality of sub-region menus according to the preset layout parameters.
4. The method of claim 1, wherein each of the sub-region menus applies to a corresponding sub-cache in the system service layer after splitting; the applying for the target cache in the system service layer based on the sub-region menus comprises the following steps:
And superposing the sub-caches applied by each sub-region menu in the system service layer to form the target cache.
5. The method of claim 1, wherein the performing resolution enhancement processing on the spliced menu based on the target cache to obtain the menu with the target resolution includes:
and carrying out resolution improvement on the spliced menu in the target cache according to a preset resolution improvement strategy until the target cache is filled up, so as to generate the menu with the target resolution.
6. A display device, comprising:
The parameter acquisition module is used for acquiring layout parameters corresponding to a preset display menu through the system service layer;
the clipping module is used for dividing the preset display menu into a plurality of sub-region menus according to the layout parameters so as to apply for target cache in the system service layer based on the sub-region menus, wherein the target cache is used for meeting the requirement that the preset display menu is lifted to target resolution;
the display module is used for carrying out resolution improvement processing on the preset display menu based on the target cache and the plurality of sub-region menus to obtain a menu with the target resolution for display;
the display module includes: the splicing unit is used for splicing the plurality of sub-region menus into a spliced menu of target layout parameters; the lifting unit is used for carrying out resolution lifting processing on the spliced menu based on the target cache to obtain a menu with the target resolution; the display unit is used for displaying and playing the menu with the target resolution;
The target screen comprises a specific screen position and a target screen position of a rotation play menu; the splice unit includes: a monitoring subunit, configured to monitor a pixel change of the specific screen position, so as to determine whether an initial menu played at the specific screen position disappears; a splicing subunit, configured to splice the plurality of sub-area menus into a spliced menu of the target layout parameters when it is determined that the initial menu played at the specific screen position disappears; the display unit is used for: and switching the menu with the target resolution to the target screen position for display and play.
7. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 5.
8. An electronic device, comprising: a memory storing a computer program; a processor reading the computer program stored in the memory to perform the method of any one of claims 1 to 5.
CN202111200116.6A 2021-10-14 Display method, display device, storage medium and electronic equipment Active CN114003156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111200116.6A CN114003156B (en) 2021-10-14 Display method, display device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111200116.6A CN114003156B (en) 2021-10-14 Display method, display device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114003156A CN114003156A (en) 2022-02-01
CN114003156B true CN114003156B (en) 2024-07-09

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000908A (en) * 2020-10-28 2020-11-27 湖南新云网科技有限公司 Picture loading method, device and system, electronic equipment and readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000908A (en) * 2020-10-28 2020-11-27 湖南新云网科技有限公司 Picture loading method, device and system, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US11223880B2 (en) Picture generation method and apparatus, device, and storage medium
CN102368779B (en) Supersized image loading and displaying method used for mobile internet device
CN104932659B (en) Image display method and display system
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN110020300B (en) Browser page synthesis method and terminal
WO2021008427A1 (en) Image synthesis method and apparatus, electronic device, and storage medium
DE112012005223T5 (en) Energy management of the display controller
CN111816109B (en) Display method and device and display equipment
CN103514924A (en) Method and device for playing videos in mobile terminal Widget, and player
CN108549575B (en) Processing method and device for quitting split screen, storage medium and electronic equipment
CN114003156B (en) Display method, display device, storage medium and electronic equipment
CN111726666A (en) Video display control method and device
CN109951737B (en) Video processing method, video processing device, electronic equipment and computer-readable storage medium
CN105324766A (en) Application control of embedded web content execution
US20220335568A1 (en) Material display method and apparatus, terminal, and storage medium
CN108415746B (en) Application interface display method and device, storage medium and electronic equipment
CN111225242A (en) Video playing disaster tolerance method and device and computer storage medium
CN114003156A (en) Display method, display device, storage medium and electronic equipment
CN113986168A (en) Image display method, device, equipment and readable storage medium
CN109636724A (en) A kind of display methods of list interface, device, equipment and storage medium
CN113296849B (en) Application loading optimization method and device and electronic equipment
CN114896011B (en) Method and device for playing dynamic content in page, electronic equipment and storage medium
CN113713375B (en) Interface element display method, device, terminal and storage medium
CN118132184A (en) Component display method and device, electronic equipment and storage medium
CN117899472A (en) Object rendering method, device, medium and equipment

Legal Events

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