CN110007818B - Single-machine screen resource layout method and related device - Google Patents

Single-machine screen resource layout method and related device Download PDF

Info

Publication number
CN110007818B
CN110007818B CN201910159430.0A CN201910159430A CN110007818B CN 110007818 B CN110007818 B CN 110007818B CN 201910159430 A CN201910159430 A CN 201910159430A CN 110007818 B CN110007818 B CN 110007818B
Authority
CN
China
Prior art keywords
screen
sub
resolution
window
user
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
CN201910159430.0A
Other languages
Chinese (zh)
Other versions
CN110007818A (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 Weier Vision Technology Co ltd
Original Assignee
Shenzhen Weier Vision 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 Shenzhen Weier Vision Technology Co ltd filed Critical Shenzhen Weier Vision Technology Co ltd
Priority to CN201910159430.0A priority Critical patent/CN110007818B/en
Publication of CN110007818A publication Critical patent/CN110007818A/en
Application granted granted Critical
Publication of CN110007818B publication Critical patent/CN110007818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

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

Abstract

The invention discloses a single-machine screen resource layout method, which divides a screen into a plurality of preset resolution modes, wherein each preset resolution mode divides the screen into one or more sub-screens with preset resolution, carries out grade correlation on a user sub-window and the preset resolution mode according to the preset resolution mode and the requested resolution of the user sub-window, and distributes the user sub-window to the sub-screen under the corresponding preset resolution mode according to the grade correlation result, so that the utilization rate of screen resources is maximum, reasonable layout of a plurality of user sub-windows with different resolutions on the screen is realized, the number of concurrent users of a cloud server system is increased, and the operation cost of cloud service is reduced.

Description

Single-machine screen resource layout method and related device
Technical Field
The invention relates to the field of desktop resource layout, in particular to a method, a device, equipment and a storage medium for single-machine screen resource layout.
Background
With the development of cloud service technology, it is a trend that a plurality of users run their own programs on the same cloud server through a network, for example, in the gaming industry, various types of games are endless, the hardware devices of some individual users cannot be well adapted to the game to be played due to configuration reasons, and cloud games enable a plurality of users to be connected via a network, different types of games are run on the cloud server of an operator, and in a cloud game system, game pictures need to be rendered on a virtual or physical screen, the screen content is captured and then encoded and output, in order to increase the number of concurrent games on a single machine, more game windows need to be displayed on one screen as much as possible, however, since the game windows of the users cannot be overlapped, the desktops of all the users need to be tiled on the screen of the cloud server, therefore, the screen layout method is an important factor for limiting the number of concurrent users of the cloud game system.
Therefore, there is a need for a method for arranging screen resources on a screen that allows for maximum utilization of screen resources and that requires reasonable arrangement of multiple game windows with different resolutions.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, the invention aims to provide a screen resource layout method, a device, equipment and a storage medium for reasonably arranging a plurality of game windows with different resolutions on a screen.
The technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for laying out desktop screen resources, comprising the steps of:
dividing a screen into a plurality of predetermined resolution modes, each of said predetermined resolution modes dividing said screen into one or more sub-screens having a predetermined resolution;
according to the preset resolution mode and the received request resolution of the user sub-window, carrying out level correlation on the user sub-window and the preset resolution mode;
and distributing the user sub-window to a corresponding sub-screen in a preset resolution mode according to the result of the grade correlation.
Further, the screen includes a large-resolution physical screen or a large-resolution virtual screen.
Further, the rank correlation means: and searching the sub-screen with the resolution similar to the requested resolution of the user sub-window, and associating the user sub-window with the screen level corresponding to the sub-screen, wherein the similarity refers to that the resolution of the sub-screen is the same as the requested resolution of the user sub-window or the resolution of the sub-screen is greater than the requested resolution of the user sub-window.
Further, when an aspect ratio type of a requested resolution of the user sub-window is not consistent with the sub-screen, the user sub-window is rotated in a 90-degree rotation manner, the aspect ratio type including an aspect ratio greater than 1 and an aspect ratio less than 1.
Further, when the user sub-window is allocated to the sub-screen in the corresponding preset resolution mode, a column-by-column allocation mode is adopted.
In a second aspect, the present invention further provides a standalone screen resource layout apparatus, including:
the device comprises a sub-screen dividing module, a resolution determining module and a resolution adjusting module, wherein the sub-screen dividing module is used for dividing a screen into a plurality of predetermined resolution modes, and each predetermined resolution mode divides the screen into one or more sub-screens with predetermined resolution;
the grade correlation module is used for carrying out grade correlation on the user sub-window and the preset resolution mode according to the preset resolution mode and the received request resolution of the user sub-window;
And the user sub-window distribution module is used for distributing the user sub-window to the corresponding sub-screen in the preset resolution mode according to the result related to the grade.
In a third aspect, the present invention provides a standalone screen resource layout device, comprising:
at least one processor, and a memory communicatively coupled to the at least one processor;
wherein the processor is adapted to perform the method of any of the first aspects by invoking a computer program stored in the memory.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any of the first aspects.
The invention has the beneficial effects that:
according to the method and the device, the screen is divided into a plurality of preset resolution modes, each preset resolution mode divides the screen into one or more sub-screens with preset resolution, the user sub-windows and the preset resolution modes are subjected to level correlation according to the preset resolution modes and the requested resolution of the user sub-windows, and the user sub-windows are distributed to the sub-screens under the corresponding preset resolution modes according to the level correlation results, so that the screen resource utilization rate is maximum, reasonable layout of the user sub-windows with different resolutions on the screen is realized, the number of concurrent users of a cloud server system is increased, and the operation cost of the cloud service is reduced.
Drawings
FIG. 1 is a flowchart illustrating an implementation of a single-screen resource layout method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating pre-partitioning of a single-screen resource layout method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a layout sequence of sub-windows on a sub-screen according to an embodiment of the method for laying out resources of a single-screen display;
FIG. 4 is a block diagram of a desktop screen resource layout apparatus according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The first embodiment is as follows:
the invention realizes reasonable layout of a plurality of game windows with different resolutions on the screen according to the maximization standard of the screen resource utilization rate.
Fig. 1 is a flowchart illustrating an implementation of a single-computer screen resource layout method according to an embodiment of the present invention, as shown in fig. 1, in this embodiment, a single-computer multi-window refers to multiple user request screens to allocate user sub-windows, each user corresponds to one user sub-window, each user sub-window is not overlapped and is tiled on the screen, the screen of this embodiment includes a large-resolution physical screen or a large-resolution virtual screen, in this embodiment, the virtual screen is used as much as possible, and a virtual screen with the maximum resolution is selected, for example, a 4K resolution (3840x2160) and the like, and the following all take the 4K resolution as an example to describe an implementation process of the single-computer screen resource layout method according to this embodiment.
The method comprises the following steps:
s1: the screen pre-division refers to dividing a screen into a plurality of predetermined resolution modes, each of which divides the screen into one or more sub-screens having a predetermined resolution.
For example, in the present embodiment, the 4K resolution (3840 × 2160) is divided into 4 predetermined resolution modes, which are: 1x1, 2x2, 3x3, 4x4, etc., corresponding to screen ranks 1 rank, 2 rank, 3 rank, and 4 rank, respectively.
Fig. 2 is a schematic diagram of the screen pre-division of the present embodiment.
Wherein, the 1x1 predetermined resolution mode for setting the screen level to level 1 comprises one sub-screen, namely 1 sub-screen with 3840x2160 resolution;
the 2x2 predetermined resolution mode with the screen level of 2 comprises four sub-screens, namely 4 tiled sub-screens with the resolution of 1920x 1080;
the 3x3 predetermined resolution mode, which sets the screen level to 3, includes nine sub-screens, that is, 9 tiled sub-screens each having a resolution of 1280x 720;
the 4x4 predetermined resolution mode, which sets the screen level to 4, includes nine sub-screens, i.e., 16 tiled sub-screens each having a resolution of 960x 540.
S2: and performing level correlation, namely performing level correlation on the user sub-window and the preset resolution mode according to the preset resolution mode and the received request resolution of the user sub-window.
S3: and allocating the sub-screen to the sub-screen in the corresponding preset resolution mode according to the grade correlation result.
Specifically, in step S2, the rank correlation means: and searching a sub-screen with the resolution similar to the requested resolution of the user sub-window, and associating the user sub-window with the screen level corresponding to the sub-screen, wherein the similarity refers to that the resolution of the sub-screen is the same as the requested resolution of the user sub-window, or the resolution of the sub-screen is greater than the requested resolution of the user sub-window.
For example, in this embodiment, a user requests a user sub-window for a game, and when the game supports setting of resolution, a screen level may be set as needed, and if the game of the user is set to 4K, the screen level associated with the current user sub-window is set to 1 level, and the user window is assigned to a sub-screen in a 1x1 predetermined resolution mode corresponding to the 1 level.
When the resolution setting is not supported by the user sub-window requested by the user, the closest sub-screen resolution is matched, for example, the resolution required by the user sub-window of the user is 1024x576, and since the currently divided sub-screen does not have a sub-screen with the same resolution, it needs to be allocated to a sub-screen with a resolution greater than that of the currently divided sub-screen, for example, 1280x720, that is, the screen level associated with the current user sub-window is set to 3 levels, which can be summarized as upwards to take the proper resolution, so as to ensure that the user sub-window is at the resolution which is clearest to use.
In addition, the screen aspect ratio types include an aspect ratio greater than 1 and an aspect ratio less than 1, and the divided sub-screens in this embodiment all belong to the landscape mode, and the aspect ratios thereof are all the 16:9 modes greater than 1, so that when the aspect ratio type of the requested resolution of the user sub-window is not identical to the sub-screen, the user sub-window is rotated in a 90-degree rotation manner. For example, some mobile phone games have an aspect ratio smaller than 1, and the game is used in the vertical screen state of the mobile phone, so in this case, it is necessary to rotate the sub-window requested by the user by 90 ° to change it to the horizontal screen display state with an aspect ratio larger than 1 to match the sub-screen.
In this embodiment, each predetermined resolution mode includes at least one sub-screen, so that it is necessary to consider which sub-screen the user sub-window is allocated on, and generally adopt an idle allocation principle, that is, allocate the sub-screen to a sub-screen with an idle position, but in consideration of the efficiency of screen acquisition and encoding, a column allocation manner is adopted in layout, and even when a plurality of users all adopt a sub-screen in a predetermined resolution mode, the area occupied by a plurality of sub-screens is as rectangular as possible, so as to improve the encoding efficiency.
Fig. 3 is a schematic diagram of a layout sequence of sub-windows on a sub-screen in this embodiment, where the diagram shows a possible manner of a sub-screen distribution sequence when a plurality of users all use a sub-screen in a predetermined resolution mode, and corresponds to the screen pre-division schematic diagram shown in fig. 2, where the diagram shows that in four screen distribution modes, the sub-screens are sorted in a column sequence of 0 to 15, and a column-by-column distribution manner is adopted during distribution to ensure that an area occupied by the sub-screens is as rectangular as possible.
The above describes the process of the method for laying out resources of a single-screen display in this embodiment, and the following describes the second embodiment of the present invention.
Example two:
as shown in fig. 4, a block diagram of a stand-alone screen resource layout device according to the present invention includes:
the device comprises a sub-screen dividing module, a resolution determining module and a resolution adjusting module, wherein the sub-screen dividing module is used for dividing a screen into a plurality of predetermined resolution modes, and each predetermined resolution mode divides the screen into one or more sub-screens with predetermined resolution;
the grade correlation module is used for carrying out grade correlation on the user sub-window and the preset resolution mode according to the preset resolution mode and the requested resolution of the user sub-window;
And the user sub-window distribution module is used for distributing the user sub-window to the corresponding sub-screen in the preset resolution mode according to the result related to the grade.
In addition, the invention also provides a stand-alone screen resource layout device, which comprises:
at least one processor, and a memory communicatively coupled to the at least one processor;
wherein the processor is configured to perform the method according to embodiment one by calling the computer program stored in the memory.
In addition, the present invention also provides a computer-readable storage medium, which stores computer-executable instructions for causing a computer to perform the method according to the first embodiment.
According to the method and the device, the screen is divided into a plurality of preset resolution modes, each preset resolution mode divides the screen into one or more sub-screens with preset resolution, the user sub-windows and the preset resolution modes are subjected to level correlation according to the preset resolution modes and the requested resolution of the user sub-windows, and the user sub-windows are distributed to the sub-screens under the corresponding preset resolution modes according to the level correlation results, so that the screen resource utilization rate is maximum, reasonable layout of the user sub-windows with different resolutions on the screen is realized, the number of concurrent users of a cloud server system is increased, and the operation cost of the cloud service is reduced.
The above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same, although the present invention is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (8)

1. A stand-alone screen resource layout method is characterized by comprising the following steps:
dividing a screen into a plurality of predetermined resolution modes, each of said predetermined resolution modes dividing said screen into one or more sub-screens having a predetermined resolution;
according to the preset resolution mode and the received request resolution of the user sub-window, carrying out level correlation on the user sub-window and the preset resolution mode;
and distributing the user sub-window to a corresponding sub-screen in a preset resolution mode according to the result of the grade correlation.
2. The stand-alone screen resource layout method according to claim 1, wherein the screen comprises a high-resolution physical screen or a high-resolution virtual screen.
3. The stand-alone screen resource layout method according to claim 1, wherein the level correlation means: and searching the sub-screen with the resolution similar to the requested resolution of the user sub-window, and associating the user sub-window with the screen level corresponding to the sub-screen, wherein the similarity refers to that the resolution of the sub-screen is the same as the requested resolution of the user sub-window or the resolution of the sub-screen is greater than the requested resolution of the user sub-window.
4. The stand-alone screen resource layout method of claim 3, wherein when the aspect ratio type of the requested resolution of the user sub-window is inconsistent with the sub-screen, the user sub-window is rotated by 90 degrees, the aspect ratio type comprises an aspect ratio greater than 1 and an aspect ratio less than 1.
5. The stand-alone screen resource layout method according to claim 1, wherein a column-wise allocation is adopted when the user sub-window is allocated to the sub-screen in the corresponding predetermined resolution mode.
6. A standalone screen resource placement device, comprising:
the device comprises a sub-screen dividing module, a resolution determining module and a resolution adjusting module, wherein the sub-screen dividing module is used for dividing a screen into a plurality of predetermined resolution modes, and each predetermined resolution mode divides the screen into one or more sub-screens with predetermined resolution;
the grade correlation module is used for carrying out grade correlation on the user sub-window and the preset resolution mode according to the preset resolution mode and the received request resolution of the user sub-window;
and the user sub-window distribution module is used for distributing the user sub-window to the corresponding sub-screen in the preset resolution mode according to the result related to the grade.
7. A stand-alone screen resource layout apparatus, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the processor is adapted to perform the method of any one of claims 1 to 5 by invoking a computer program stored in the memory.
8. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 5.
CN201910159430.0A 2019-03-04 2019-03-04 Single-machine screen resource layout method and related device Active CN110007818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910159430.0A CN110007818B (en) 2019-03-04 2019-03-04 Single-machine screen resource layout method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910159430.0A CN110007818B (en) 2019-03-04 2019-03-04 Single-machine screen resource layout method and related device

Publications (2)

Publication Number Publication Date
CN110007818A CN110007818A (en) 2019-07-12
CN110007818B true CN110007818B (en) 2022-08-12

Family

ID=67166309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910159430.0A Active CN110007818B (en) 2019-03-04 2019-03-04 Single-machine screen resource layout method and related device

Country Status (1)

Country Link
CN (1) CN110007818B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686064A (en) * 2012-08-31 2014-03-26 杭州海康威视数字技术股份有限公司 Picture segment display method and client-side
CN103942024A (en) * 2014-04-11 2014-07-23 广东威创视讯科技股份有限公司 Method and system for opening window of high resolution touch screen
CN104407779A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Arrangement display method and device for graphical interface
CN106910479A (en) * 2017-02-27 2017-06-30 武汉华星光电技术有限公司 Flexible display panels and its display methods
CN109068172A (en) * 2018-08-01 2018-12-21 威创集团股份有限公司 Processor windowing method, device, equipment and readable storage medium storing program for executing

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000324437A (en) * 1999-05-13 2000-11-24 Fuurie Kk Video database system
EP2153430A2 (en) * 2007-05-16 2010-02-17 Koninklijke Philips Electronics N.V. Dynamic power control for display screens
CN101527865B (en) * 2009-01-05 2010-09-01 清华大学 Projection type high-resolution multi-view auto-stereo display system
CN102074178A (en) * 2010-07-16 2011-05-25 邓波 Information processing method, and playing terminal, management terminal and system using same
CN103338340B (en) * 2013-06-18 2016-06-22 北京汉博信息技术有限公司 Realize picture-in-picture module and the method for the multiple video strems self-defined combination of frame picture
CN105373358A (en) * 2014-08-29 2016-03-02 中兴通讯股份有限公司 Screen resolution adjustment method and mobile terminal
CN105302864A (en) * 2015-09-22 2016-02-03 努比亚技术有限公司 Picture loading apparatus and method according to screen resolution
CN105812887A (en) * 2016-03-18 2016-07-27 深圳创维-Rgb电子有限公司 Multi-screen display television and multi-screen play method
CN105933726A (en) * 2016-05-13 2016-09-07 乐视控股(北京)有限公司 Virtual reality terminal and video resolution adaptation method and device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686064A (en) * 2012-08-31 2014-03-26 杭州海康威视数字技术股份有限公司 Picture segment display method and client-side
CN103942024A (en) * 2014-04-11 2014-07-23 广东威创视讯科技股份有限公司 Method and system for opening window of high resolution touch screen
CN104407779A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Arrangement display method and device for graphical interface
CN106910479A (en) * 2017-02-27 2017-06-30 武汉华星光电技术有限公司 Flexible display panels and its display methods
CN109068172A (en) * 2018-08-01 2018-12-21 威创集团股份有限公司 Processor windowing method, device, equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN110007818A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
US10347023B2 (en) Data drawing method and apparatus, terminal, and storage medium
US9857936B2 (en) Method for simulating screen sharing for multiple applications running concurrently on a mobile platform
US9736395B2 (en) Dynamic display layout
JP6503061B2 (en) Image synthesizing method, image chip and image device
CN110025957B (en) Cloud game server end architecture, client and system
US20100247064A1 (en) Systems and Methods of Variable Frame Rate Playback
CN109840114A (en) Page processing method and mobile terminal
CN104813393B (en) Displaying applications on a fixed orientation display
CN103679813B (en) The construction method of three-dimensional digital earth and three-dimensional digital earth system
CN106982388B (en) Picture display method and device
CN104065953B (en) The method and device controlled based on the visualization display of display device multi views
CN111158874A (en) Data processing method and device, electronic equipment and storage medium
CN108074210B (en) Object acquisition system and method for cloud rendering
CN111902824A (en) Controlling image display by pixel value to pixel mapping
Lai et al. A service based lightweight desktop virtualization system
CN106658142A (en) Interface configuration method and device
CN110019464A (en) Page processing method and device
CN106844008A (en) A kind of method of data manipulation, equipment and system
CN112153459A (en) Method and device for screen projection display
KR20210104143A (en) Image acquisition methods, devices, servers and storage media
CN110007818B (en) Single-machine screen resource layout method and related device
CN116523729B (en) Graphics processing device, graphics rendering pipeline distribution method and related devices
CN103188554A (en) Image coding method and image coding system
US20200211422A1 (en) Processing Method of Address-Associated Data, User Terminal And Server
CN117519874A (en) Picture updating method and device, electronic equipment 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 building 101, No. 1, building 10 (M-10, Central District, high tech Zone), Maling Industrial Zone, Maling community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: Shenzhen Weier Vision Technology Co.,Ltd.

Address before: 519125 floors 1-2, tefa information technology building, Qiongyu Road, Science Park, Nanshan District, Shenzhen, Guangdong Province

Applicant before: SHENZHEN WEIER VISUAL SENSE MEDIUM Co.,Ltd.

GR01 Patent grant
GR01 Patent grant