CN111142827A - Application display method and device, storage medium and electronic equipment - Google Patents

Application display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111142827A
CN111142827A CN201911406787.0A CN201911406787A CN111142827A CN 111142827 A CN111142827 A CN 111142827A CN 201911406787 A CN201911406787 A CN 201911406787A CN 111142827 A CN111142827 A CN 111142827A
Authority
CN
China
Prior art keywords
area
temporary
application
screen
screens
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.)
Granted
Application number
CN201911406787.0A
Other languages
Chinese (zh)
Other versions
CN111142827B (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.)
Mgjia (beijing) Technology Co Ltd
Original Assignee
Mgjia (beijing) 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 Mgjia (beijing) Technology Co Ltd filed Critical Mgjia (beijing) Technology Co Ltd
Priority to CN201911406787.0A priority Critical patent/CN111142827B/en
Publication of CN111142827A publication Critical patent/CN111142827A/en
Application granted granted Critical
Publication of CN111142827B publication Critical patent/CN111142827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to an application display method and apparatus, a storage medium, and an electronic device, the method including: creating a temporary area in the graphics buffer in response to an operation of application movement; rendering the application in the temporary area; determining a plurality of target screens from a plurality of screens and a region range on the temporary region for mapping to each of the target screens according to a moving direction and a moving distance value of the application; and aiming at each area range, displaying the application display interface corresponding to the area range on the target screen corresponding to the area range. Thus, the problem that the cross-screen display application is difficult to realize is solved.

Description

Application display method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to an application display method and apparatus, a storage medium, and an electronic device.
Background
The cross-screen display is a method for simultaneously displaying the same application on a plurality of screens, the current default screen display processing behavior is that each screen display area is taken as a single individual, and the situation that layers are shared on a plurality of screens is not considered, so that the cross-screen display application is difficult to realize.
In the related art, in order to solve the problem that cross-screen display application is difficult to implement, a mode of splicing multiple screens is adopted, specifically, when mobile application is detected and the application needs to be displayed in a cross-screen mode, a rectangle with the minimum area and capable of containing multiple screens is created, a Graphics Processing Unit (GPU for short) renders the whole created rectangle, then the created rectangle is split according to an application moving distance value to obtain an area range displayed on each screen, a coordinate system of each area range is subjected to window matching with a relative coordinate system inside each screen, and finally cross-screen display application is achieved. The cross-screen display method increases the image area processed by the graphics processor and greatly increases the burden of the graphics processor.
Disclosure of Invention
The disclosure aims to provide an application display method and device, a storage medium and an electronic device, so as to solve the problem that cross-screen display application is difficult to realize.
In order to achieve the above object, a first aspect of the present disclosure provides an application display method, including:
creating a temporary area in the graphics buffer in response to an operation of application movement;
rendering the application in the temporary area;
determining a plurality of target screens from a plurality of screens and a region range on the temporary region for mapping to each of the target screens according to a moving direction and a moving distance value of the application;
and aiming at each area range, displaying the application display interface corresponding to the area range on the target screen corresponding to the area range.
Optionally, the temporary area is a block, and the size of the temporary area coincides with the largest screen of the plurality of screens;
and if the size of the target screen is smaller than that of the temporary area, reducing the temporary area according to the proportion.
Optionally, the scaling down the temporary region comprises:
calculating a length ratio of the target screen to the temporary region and a width ratio of the target screen to the temporary region;
the temporary region is narrowed down by a smaller ratio of the length ratio and the width ratio.
Optionally, the temporary area is a plurality of temporary areas, the number of the temporary areas is the same as the number of the plurality of screens, and the size of each temporary area is respectively consistent with one screen of the plurality of screens.
Optionally, the displaying an application display interface corresponding to each of the area ranges is a partial interface of a complete display interface of the application, and displaying the application display interface corresponding to the area range on a target screen corresponding to the area range for each of the area ranges includes:
calculating the area ratio between the application display interface corresponding to each region range and the complete display interface of the application aiming at each region range;
and if the numerical value of the area ratio exceeds a preset threshold value, displaying the complete display interface of the application on a target screen corresponding to the area range.
A second aspect of the present disclosure provides an application display apparatus, the apparatus comprising:
a creation module for creating a temporary area in the graphics buffer in response to an operation of application movement;
a rendering module to render the application in the temporary area;
a determining module, configured to determine, according to the moving direction and the moving distance value of the application, a plurality of target screens from a plurality of screens and a region range on the temporary region for mapping to each of the target screens;
and the display module is used for displaying the application display interface corresponding to each area range on the target screen corresponding to the area range.
Optionally, the creating module includes: a first creating sub-module for creating a temporary area having a size corresponding to a maximum screen among the plurality of screens;
a scale-down submodule for scaling down the temporary region when the size of the target screen is smaller than the size of the temporary region.
Optionally, the scaling-down submodule includes: a calculating subunit, configured to calculate a length ratio of the target screen to the temporary region and a width ratio of the target screen to the temporary region;
an execution subunit operable to narrow down the temporary region according to a smaller ratio of the length ratio and the width ratio.
Optionally, the creating module includes: and a second creating submodule, configured to create a plurality of temporary regions, where the number of temporary regions is the same as the number of screens, and the size of each temporary region is respectively consistent with one screen of the screens.
Optionally, the display module includes:
the calculation submodule is used for calculating the area ratio between the application display interface corresponding to each region range and the complete display interface of the application aiming at each region range, wherein the application display interface corresponding to each region range is a partial interface of the complete display interface of the application;
and the display sub-module is used for displaying the complete display interface of the application on a target screen corresponding to the area range when the numerical value of the area ratio exceeds a preset threshold value.
A third aspect of the disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.
A fourth aspect of the present disclosure provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of any of the above methods.
The technical scheme can at least achieve the following technical effects:
the method comprises the steps of creating a temporary area, rendering the temporary area, further determining a target screen and an area range used for being mapped to each target screen on the temporary area in a plurality of screens according to a moving direction and a moving distance value, and finally displaying an application display interface corresponding to the area range on the target screen corresponding to the area range aiming at each area range. Therefore, on the basis of not changing bottom layer display, the method can be applied to cross-screen display on a plurality of screens, the display flexibility is improved, a blank unused area does not exist, the rendering area of the image processor is smaller, and the burden of the image processor is reduced.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a schematic diagram illustrating an application display method according to an exemplary embodiment of the related art.
Fig. 2 is a flowchart illustrating an application display method according to an exemplary embodiment of the present disclosure.
Fig. 3a is a schematic diagram illustrating an application display method according to an exemplary embodiment of the present disclosure.
Fig. 3b is a schematic diagram illustrating an application display method according to an exemplary embodiment of the present disclosure.
Fig. 3c is a schematic diagram illustrating an application display method according to another exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating an application display method according to another exemplary embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating an application display method according to another exemplary embodiment of the present disclosure.
Fig. 6 is a flowchart illustrating an application display method according to another exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating an application display apparatus according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
In the related art, although the cross-screen display application can be realized, if the sizes of the screens are different, the created rectangular area will be larger than the sum of the areas of the screens, as shown in fig. 1, the mobile application is displayed on a screen a, a screen B, a screen C and a screen D, wherein the screen a is 12.2cm long, 10.2cm wide and 124.44cm in area2The screen B and the screen C are both 10.2cm long, 8.9cm wide and 90.78cm in area2The screen D is 8.9cm long, 7.6cm wide and 67.64cm in area2. Rectangle A created as the smallest area containing 4 screens, rectangle A being 22.4cm long, 17.8cm wide, and 398.72cm in area2The created rectangle A comprises the unused area of the rectangle, and the graphics processor renders the whole created rectangle A when rendering, so that the area of the image processed by the graphics processor is large, and the rendered area is 398.72cm2Total area of 373.64cm greater than 4 screens2The image area processed by the graphics processor is increased, and the burden of the graphics processor is greatly increased.
To solve the above technical problem, the present disclosure provides an application display method, as shown in fig. 2, the method including:
s101, responding to the operation of application movement, and creating a temporary area in a graphic buffer area;
s102, rendering the application in a temporary area;
s103, determining a plurality of target screens and an area range which is used for mapping to each target screen on the temporary area from the plurality of screens according to the applied moving direction and the moving distance value;
and S104, aiming at each area range, displaying the application display interface corresponding to the area range on the target screen corresponding to the area range.
Specifically, in response to an operation of the user moving on the screen of the original display application, for example, clicking a setting button of the multi-screen display on the original display screen, or selecting an application drag on the screen of the original display application, or the like, a temporary region is created in the graphics buffer for storing the application, and the image processor renders the application to the temporary region.
Further, a plurality of target screens are determined from the plurality of screens according to the moving direction and the moving distance value of the application, for example, as shown in fig. 3a, the application 350 is 10cm long and 9cm wide, and is displayed on the screen 310, and the screen 310 is 12.2cm long and 10.2cm wide. As shown in fig. 3b, the screen 320 is determined to be one of the target screens according to the operation of the user moving the application 350 to the left and the moving distance value is 5 cm. And if the application 350 is displayed on the screen 310 in a full screen mode and a part of the screen 320 cannot be displayed after being moved, it is determined that the part of the screen 320 which cannot be displayed is required to be displayed, and the screen 330 is also one of the target screens. The application 350 does not move out of the screen 310 according to the movement distance value of 5cm, so the screen 310 is also one of the target screens. Wherein, the screen 320 and the screen 330 are both 10.2cm long and 8.9cm wide, and the left moving distance value is 5cm, the application 350 will not exceed the screen 320 and the screen 330.
According to the leftward movement distance value of 5cm, the application 350 enters the screen 320 with a length of 5cm and a width of 8cm as a region range for mapping to the screen 320 on the temporary region, and the application 350 enters the screen 330 with a length of 5cm and a width of 1cm as a region range for mapping to the screen 330 on the temporary region. The remaining 5cm long and 9cm wide portion of the screen 310 of the application 350 is the area range for mapping to the screen 310 on the temporary area.
As yet another example, as shown in FIG. 3a, the application 350 is displayed on the screen 310, the screen 310 is 12.2cm long and 10.2cm wide, and as shown in FIG. 3c, it is determined that both the screen 320 and the screen 340 are one of the target screens according to the user's operation of moving the application 350 to the left and to the lower side, and the leftward movement distance value is 5cm and the downward movement distance value is 3 cm. And if the application 350 is displayed on the screen 310 in a full screen mode and a part of the screen 320 cannot be displayed after being moved, it is determined that the part of the screen 320 which cannot be displayed is required to be displayed, and the screen 330 is also one of the target screens. The application 350 does not move out of the screen 310 by moving the distance value 5cm to the left by moving the distance value 3cm to the down, so the screen 310 is also one of the target screens. Wherein, the screen 320 and the screen 330 are both 10.2cm long and 8.9cm wide, and the left moving distance value is 5cm, the application 350 will not exceed the screen 320 and the screen 330. The screen 340 is 8.9cm long by 7.6cm wide, and is moved down a distance value of 3cm, without the application 350 exceeding the screen 340.
According to the leftward movement distance value of 5cm, the downward movement distance value of 3cm, the application 350 enters the screen 320 with a length of 5cm, a width 5cm portion is an area range on the temporary area for mapping to the screen 320, the application 350 enters the screen 330 with a length of 5cm, a width 4cm portion is an area range on the temporary area for mapping to the screen 330, the application 350 enters the screen 340 with a length of 5cm, and a width 3cm portion is an area range on the temporary area for mapping to the screen 340. The remaining 5cm long and 6cm wide portion of the screen 310 of the application 350 is the area range for mapping to the screen 310 on the temporary area.
Finally, for each area range, displaying an application display interface corresponding to the area range on a target screen corresponding to the area range, for example, in the case of moving the distance value to the left by 5cm, creating a display window with a length of 5cm and a width of 9cm on the screen 310, creating a display window with a length of 5cm and a width of 8cm on the screen 320, and creating a display window with a length of 5cm and a width of 1cm on the screen 330 according to the area to be displayed of each screen covered by the computing application 350. And mapping an application display interface corresponding to the temporary region calculated by the image processor on a canvas (Surface) of a display window, and finally displaying the application display interface on a target screen.
Alternatively, if there is a magnification of the application 350 while displaying across screens, the display window is created in a magnified scale. For example, in the case of moving the distance value 5cm to the left and 3cm to the down, if the magnification is 1.25 times, a display window 6.25cm long and 7.5cm wide is created on the screen 310, a display window 6.25cm long and 6.25cm wide is created on the screen 320, a display window 6.25cm long and 5cm wide is created on the screen 330, and a display window 6.25cm long and 3.75cm wide is created on the screen 340. And mapping an application display interface corresponding to the temporary region calculated by the image processor on a canvas (Surface) of a display window, and finally displaying the application display interface on a target screen.
According to the technical scheme, the temporary area is created and rendered, further, the area ranges used for mapping to each target screen on the target screen and the temporary area are determined in the multiple screens according to the moving direction and the moving distance value, and finally, the application display interface corresponding to the area ranges is displayed on the target screen corresponding to the area ranges. Therefore, on the basis of not changing bottom layer display, the method can be applied to cross-screen display on a plurality of screens, the display flexibility is improved, a blank unused area does not exist, the rendering area of the image processor is smaller, and the burden of the image processor is reduced.
In a possible implementation manner, the temporary area is a block, and the size of the temporary area is consistent with the largest screen in the plurality of screens;
fig. 4 is a flowchart illustrating an application display method according to another exemplary embodiment of the present disclosure. As shown in fig. 4, the method includes:
s401, responding to the operation of application movement, creating a temporary area in a graphic buffer area, wherein the size of the temporary area is consistent with the maximum screen in a plurality of screens;
s402, rendering the application in a temporary area;
s403, determining a plurality of target screens and an area range used for mapping to each target screen on the temporary area from the plurality of screens according to the moving direction and the moving distance value of the application;
s404, aiming at each area range, displaying the application display interface corresponding to the area range on the target screen corresponding to the area range.
Alternatively, if one of the screens is the largest, that is, the screen is longer than the other screens and is wider than the other screens, when creating a temporary region, the size of the temporary region coincides with the largest screen of the screens, that is, the length of the temporary region coincides with the length of the largest screen, and the temporary region coincides with the length of the largest screenIs consistent with the width of the largest screen. For example, as shown in FIG. 5, a user wants to display an application on 4 screens, of which four screens, screen 310 is 12.2cm long, 10.2cm wide, and 124.44cm in area2The screen 320 and the screen 330 are both 10.2cm long, 8.9cm wide and 90.78cm in area2The screen 340 is 8.9cm long, 7.6cm wide and 67.64cm in area2. The length value of 12.2cm of the screen 310 is the largest among 4 screens, the width value of 10.2cm is the largest among 4 screens, the size of the temporary region created in the graphics buffer is consistent with the size of the screen 310, the temporary region is also 12.2cm in length and 10.2cm in width, and the rendering area is 124.44cm2. Compared with the related art, the rendering area is greatly reduced, the application burden of the image processor is reduced, and resources are effectively saved.
Alternatively, if the length value of one screen is the largest and the width value of the other screen is the largest among the plurality of screens, the size of the temporary area coincides with a rectangle made up of the longest side and the widest side. For example, the user wants to display an application on 4 screens, of the four screens, the screen 310 is 12.2cm long and 10.2cm wide, the screen 320 is 11.1cm long and 11.1cm wide, the length value of the screen 310 is the largest, and the width value of the screen 320 is the largest, and the size of the temporary area coincides with a rectangle made up of the longest side 12.2cm and the widest side 11.1 cm. That is, the temporary region is 12.2cm long and 11.1cm wide, and the rendering area is 135.42cm2
According to the technical scheme, the temporary region is created and rendered, and the size of the temporary region is consistent with the maximum screen of the screens, so that the rendering area of the image processor is reduced, the application burden of the image processor is reduced, and resources are effectively saved.
Alternatively, if the size of the target screen is smaller than the size of the temporary area, the temporary area is scaled down.
It is understood that the created temporary region coincides with the largest screen among the plurality of screens, and other screens may not be able to display the region range for mapping to each target screen on the temporary region except for the largest screen, and the temporary region is scaled down. In this way, display incompleteness can be avoided.
Optionally, the scaling down the temporary region comprises:
calculating a length ratio of the target screen to the temporary region and a width ratio of the target screen to the temporary region;
the temporary region is narrowed down by a smaller ratio of the length ratio and the width ratio.
Illustratively, the size of the temporary area is 12.2cm long by 10.2cm wide, and the size of the screen 340 is 8.9cm long by 7.6cm wide, then the ratio of the length of the screen 340 to the temporary area is calculated: 8.9 ÷ 12.2 ═ 0.73, the ratio of the width of the screen 340 to the temporary area is calculated: if the length ratio 0.73 is smaller than the width ratio 0.75, the temporary area is narrowed by the length ratio 0.73, if 7.6 ÷ 10.2 ÷ 0.75.
In another possible implementation manner, the temporary area is a plurality of blocks, the number of the temporary areas is the same as that of the plurality of screens, and the size of each temporary area is respectively consistent with one screen of the plurality of screens.
Fig. 6 is a flowchart illustrating an application display method according to another exemplary embodiment of the present disclosure. As shown in fig. 6, the method includes:
s601, responding to the operation of application movement, creating a plurality of temporary areas in a graphic buffer area, wherein the number of the temporary areas is the same as that of the plurality of screens, and the size of each temporary area is respectively consistent with one screen in the plurality of screens;
s602, rendering the temporary area by the application;
s603, determining a plurality of target screens and an area range used for mapping to each target screen on the temporary area from the plurality of screens according to the moving direction and the moving distance value of the application;
s604, aiming at each area range, displaying the application display interface corresponding to the area range on the target screen corresponding to the area range.
Specifically, in response to an operation of user application movement, if there are 4 screens, 4 temporary regions are created in the graphics buffer, which are temporary region 1#, temporary region 2#, temporary region 3#, and temporary region 4#, respectively, where the size of temporary region 1# is consistent with that of screen 310, the size of temporary region 2# is consistent with that of screen 320, the size of temporary region 3# is consistent with that of screen 330, and the size of temporary region 4# is consistent with that of screen 340. The graphics processor renders the 4 temporary regions, respectively, and the application 350 to the 4 temporary regions. Therefore, the area rendered by the graphics processor is the same as the sum of the areas of the actual screens, the occurrence of unused areas is avoided, and the burden of the graphics processor is reduced.
Optionally, the displaying an application display interface corresponding to each area range is a partial interface of a complete display interface of an application, and displaying the application display interface corresponding to the area range on a target screen corresponding to the area range for each area range includes:
calculating the area ratio between the application display interface corresponding to each region range and the complete display interface of the application for each region range;
and if the numerical value of the area ratio exceeds a preset threshold value, displaying the applied complete display interface on a target screen corresponding to the area range.
Specifically, the area of each region range and the area of the entire display interface of the application are calculated, for example, the region range area displayed on the screen 310 is 80cm2The area of the applied complete display interface is 90cm2And further calculating the area ratio between the application display interface corresponding to the area range and the full display interface of the application, namely 80 ÷ 100 ═ 7/10. If the numerical value of the area ratio exceeds the preset threshold, the full display interface of the application is displayed on the target screen corresponding to the area range, for example, if the preset threshold is 75%, 8/10 × 100% is 80%, and if the area ratio 80% between the application display interface corresponding to the area range and the full display interface of the application is greater than the preset threshold and is 75%, the full display interface of the application is displayed on the screen 310.
Fig. 7 is a block diagram illustrating an application display apparatus according to an exemplary embodiment. As shown in fig. 6, the apparatus 700 includes: a creation module 710, a rendering module 720, a determination module 730, and a display module 740.
A creating module 710 for creating a temporary area in the graphic buffer in response to an operation of application movement;
a rendering module 720 for rendering the application in the temporary area;
a determining module 730, configured to determine a plurality of target screens from a plurality of screens and a region range on the temporary region for mapping to each of the target screens according to the moving direction and the moving distance value of the application;
the display module 740 is configured to, for each of the area ranges, display an application display interface corresponding to the area range on a target screen corresponding to the area range.
The device establishes the temporary area, renders the temporary area, further determines the target screen and the area range used for mapping to each target screen on the temporary area in a plurality of screens according to the moving direction and the moving distance value, and finally displays the application display interface corresponding to the area range on the target screen corresponding to the area range aiming at each area range. Therefore, on the basis of not changing bottom layer display, the method can be applied to cross-screen display on a plurality of screens, the display flexibility is improved, a blank unused area does not exist, the rendering area of the image processor is smaller, and the burden of the image processor is reduced.
Optionally, the creating module 710 includes: a first creating sub-module for creating a temporary area having a size corresponding to a maximum screen among the plurality of screens;
a scale-down submodule for scaling down the temporary region when the size of the target screen is smaller than the size of the temporary region.
Optionally, the scaling-down submodule includes: a calculating subunit, configured to calculate a length ratio of the target screen to the temporary region and a width ratio of the target screen to the temporary region;
an execution subunit operable to narrow down the temporary region according to a smaller ratio of the length ratio and the width ratio.
Optionally, the creating module 710 includes: and a second creating submodule, configured to create a plurality of temporary regions, where the number of temporary regions is the same as the number of screens, and the size of each temporary region is respectively consistent with one screen of the screens.
Optionally, the display module 740 includes:
the calculation submodule is used for calculating the area ratio between the application display interface corresponding to each region range and the complete display interface of the application aiming at each region range, wherein the application display interface corresponding to each region range is a partial interface of the complete display interface of the application;
and the display sub-module is used for displaying the complete display interface of the application on a target screen corresponding to the area range when the numerical value of the area ratio exceeds a preset threshold value.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an electronic device 800 in accordance with an example embodiment. The application display device 800 described above can be applied to the electronic apparatus 800. As shown in fig. 8, the electronic device 800 may include: a processor 810, a memory 820. The electronic device 800 may also include one or more of a multimedia component 830, an input/output (I/O) interface 840, and a communications component 850.
The processor 810 is configured to control the overall operation of the electronic device 800, so as to complete all or part of the steps of the application display method. The memory 820 is used to store various types of data to support operation of the electronic device 800, such as instructions for any application or method operating on the electronic device 800 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and the like. The Memory 820 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia components 830 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may further be stored in the memory 820 or transmitted through the communication component 850. The audio assembly also includes at least one speaker for outputting audio signals. I/O interface 840 provides an interface between processor 810 and other interface modules, such as a keyboard, mouse, buttons, and the like. These buttons may be virtual buttons or physical buttons. The communication component 850 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 850 may thus include: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the Application display method described above.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the application display method described above. For example, the computer readable storage medium may be the memory 820 described above that includes program instructions that are executable by the processor 810 of the electronic device 800 to perform the application display method described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. An application display method, comprising:
creating a temporary area in the graphics buffer in response to an operation of application movement;
rendering the application in the temporary area;
determining a plurality of target screens from a plurality of screens and a region range on the temporary region for mapping to each of the target screens according to a moving direction and a moving distance value of the application;
and aiming at each area range, displaying the application display interface corresponding to the area range on the target screen corresponding to the area range.
2. The method according to claim 1, wherein the temporary area is a block, and the size of the temporary area coincides with a largest screen among the plurality of screens;
and if the size of the target screen is smaller than that of the temporary area, reducing the temporary area according to the proportion.
3. The method of claim 2, wherein the scaling down the temporary region comprises:
calculating a length ratio of the target screen to the temporary region and a width ratio of the target screen to the temporary region;
the temporary region is narrowed down by a smaller ratio of the length ratio and the width ratio.
4. The method according to claim 1, wherein the temporary area is a plurality of temporary areas, the number of temporary areas is the same as the number of screens, and the size of each temporary area corresponds to one screen of the plurality of screens.
5. The method according to any one of claims 1 to 4, wherein the application display interface corresponding to each of the area ranges is a partial interface of a complete display interface of the application, and the displaying the application display interface corresponding to the area range on the target screen corresponding to the area range for each of the area ranges comprises:
calculating the area ratio between the application display interface corresponding to each region range and the complete display interface of the application aiming at each region range;
and if the numerical value of the area ratio exceeds a preset threshold value, displaying the complete display interface of the application on a target screen corresponding to the area range.
6. An application display apparatus, characterized in that the apparatus comprises:
a creation module for creating a temporary area in the graphics buffer in response to an operation of application movement;
a rendering module to render the application in the temporary area;
a determining module, configured to determine, according to the moving direction and the moving distance value of the application, a plurality of target screens from a plurality of screens and a region range on the temporary region for mapping to each of the target screens;
and the display module is used for displaying the application display interface corresponding to each area range on the target screen corresponding to the area range.
7. The apparatus of claim 6, wherein the creation module comprises:
a first creating sub-module for creating a temporary area having a size corresponding to a maximum screen among the plurality of screens;
a scale-down submodule for scaling down the temporary region when the size of the target screen is smaller than the size of the temporary region.
8. The apparatus of claim 6, wherein the scaling-down submodule comprises:
a calculating subunit, configured to calculate a length ratio of the target screen to the temporary region and a width ratio of the target screen to the temporary region;
an execution subunit operable to narrow down the temporary region according to a smaller ratio of the length ratio and the width ratio.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 5.
CN201911406787.0A 2019-12-31 2019-12-31 Application display method and device, storage medium and electronic equipment Active CN111142827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911406787.0A CN111142827B (en) 2019-12-31 2019-12-31 Application display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911406787.0A CN111142827B (en) 2019-12-31 2019-12-31 Application display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111142827A true CN111142827A (en) 2020-05-12
CN111142827B CN111142827B (en) 2021-04-13

Family

ID=70522426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911406787.0A Active CN111142827B (en) 2019-12-31 2019-12-31 Application display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111142827B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103988164A (en) * 2011-12-09 2014-08-13 索尼电脑娱乐公司 Image processing apparatus and image processing method
US20160091720A1 (en) * 2014-02-21 2016-03-31 Sony Computer Entertainment Inc. Realtime lens aberration correction from eye tracking
CN107408011A (en) * 2015-03-27 2017-11-28 谷歌公司 Multiple screens are dynamically merged into a viewport
WO2018026730A1 (en) * 2016-08-01 2018-02-08 Facebook, Inc. Adaptive parameters in image regions based on eye tracking information
CN108021346A (en) * 2017-12-26 2018-05-11 歌尔科技有限公司 VR helmets show method, VR helmets and the system of image
CN108920538A (en) * 2018-06-12 2018-11-30 广州坚和网络科技有限公司 A method of it is laterally shown across screen information in information flow list
CN209640811U (en) * 2019-04-26 2019-11-15 上海临奇智能科技有限公司 Virtual screen all-in-one machine

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103988164A (en) * 2011-12-09 2014-08-13 索尼电脑娱乐公司 Image processing apparatus and image processing method
US20160091720A1 (en) * 2014-02-21 2016-03-31 Sony Computer Entertainment Inc. Realtime lens aberration correction from eye tracking
CN107408011A (en) * 2015-03-27 2017-11-28 谷歌公司 Multiple screens are dynamically merged into a viewport
WO2018026730A1 (en) * 2016-08-01 2018-02-08 Facebook, Inc. Adaptive parameters in image regions based on eye tracking information
CN108021346A (en) * 2017-12-26 2018-05-11 歌尔科技有限公司 VR helmets show method, VR helmets and the system of image
CN108920538A (en) * 2018-06-12 2018-11-30 广州坚和网络科技有限公司 A method of it is laterally shown across screen information in information flow list
CN209640811U (en) * 2019-04-26 2019-11-15 上海临奇智能科技有限公司 Virtual screen all-in-one machine

Also Published As

Publication number Publication date
CN111142827B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US11054986B2 (en) Apparatus including a touch screen under a multi-application environment and controlling method thereof
US10185456B2 (en) Display device and control method thereof
US20130120294A1 (en) Apparatus with touch screen for preloading multiple applications and method of controlling the same
US9313451B2 (en) Video communication method and electronic device for processing method thereof
CN111641797B (en) Video call interface display control method and device, storage medium and equipment
US20230236708A1 (en) Menu display method and apparatus, electronic device, and storage medium
CN110928614B (en) Interface display method, device, equipment and storage medium
KR20140040401A (en) Method for providing one hand control mode and an electronic device thereof
KR101145936B1 (en) Multi-tiled Display System Controlled by Mobile Controller and Operating Method thereof
KR20140113056A (en) Method and apparatus for controlling zoom function in an electronic device
CN113110906B (en) Display control method and electronic equipment
CN114518822A (en) Application icon management method and device and electronic equipment
KR20160001429A (en) Method for displaying an image by using a remote controller and apparatus thereof
CN113885749A (en) Icon display method and device and electronic equipment
CN111142827B (en) Application display method and device, storage medium and electronic equipment
WO2023151659A1 (en) Application icon display method and device
CN109521980B (en) Method, device, medium and electronic equipment for determining display content of entity display screen
JP2022511144A (en) Screen display device, screen display control method, screen display control device and storage medium
US20230418447A1 (en) Page display method, electronic device and storage medium
CN114416269A (en) Interface display method and display device
KR101374386B1 (en) Apparatus and Method for Creating Background Display based on Grid
CN114265526B (en) Map scaling method and device, storage medium and electronic equipment
KR102097696B1 (en) Method of controlling touch function and an electronic device thereof
CN109542327B (en) Method and device for processing cells and computer readable medium
WO2024041023A9 (en) Application card adjustment method and apparatus, and terminal device and storage medium

Legal Events

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