CN113296662A - Method for realizing multi-screen virtual display by single physical screen and storage medium - Google Patents
Method for realizing multi-screen virtual display by single physical screen and storage medium Download PDFInfo
- Publication number
- CN113296662A CN113296662A CN202110401869.7A CN202110401869A CN113296662A CN 113296662 A CN113296662 A CN 113296662A CN 202110401869 A CN202110401869 A CN 202110401869A CN 113296662 A CN113296662 A CN 113296662A
- Authority
- CN
- China
- Prior art keywords
- screen
- touch
- display range
- preset display
- preset
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004590 computer program Methods 0.000 claims description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R11/00—Arrangements for holding or mounting articles, not otherwise provided for
- B60R11/02—Arrangements for holding or mounting articles, not otherwise provided for for radio sets, television sets, telephones, or the like; Arrangement of controls thereof
- B60R11/0229—Arrangements for holding or mounting articles, not otherwise provided for for radio sets, television sets, telephones, or the like; Arrangement of controls thereof for displays, e.g. cathodic tubes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to the technical field of split screen display, in particular to a method for realizing multi-screen virtual display by a single physical screen and a storage medium, wherein the method mainly comprises the following steps: s1, adjusting the original display content of the physical screen to be displayed in a first preset display range; s2, creating a new screen in a second preset display range, and adding a new thread for the new screen; and S3, displaying the content of the preset video source by the newly added screen. The invention mainly solves the problems that the amount of information acquirable by a driver at the same time is less and the driving experience is influenced when the existing vehicle-mounted display screen only realizes the display of a single physical screen.
Description
Technical Field
The invention relates to the technical field of split screen display, in particular to a method for realizing multi-screen virtual display by a single physical screen and a storage medium.
Background
The principle of the split-screen display of the central control liquid crystal screen is that two video signals are transmitted on the same screen, different filters are arranged according to different angles between a driver and a front passenger, one of the signals can be filtered, and the effect of displaying one picture at a certain position is achieved. And the two pictures have stronger directivity, so that the talents on different seats can respectively get the needs without mutual interference.
The existing vehicle-mounted display screen is only one, and the other vehicle-mounted display screen is used as an instrument display, so that the problem that the driving experience is influenced because the required information of a driver cannot be acquired simultaneously when the current vehicle-mounted display screen only realizes the display of a single physical screen is solved.
Disclosure of Invention
The invention provides a method for realizing multi-screen virtual display by a single physical screen and a storage medium, and mainly solves the problems that the amount of information available for a driver at the same time is less and the driving experience is influenced when the conventional vehicle-mounted display screen only realizes single physical screen display.
The invention provides a method for realizing multi-screen virtual display by a single physical screen, which comprises the following steps:
s1, adjusting the original display content of the physical screen to be displayed in a first preset display range;
s2, creating a new screen in a second preset display range, and adding a new thread for the new screen;
s3, displaying the content of the preset video source by the newly added screen;
in the steps S1 and S2, the first preset display range and the second preset display range respectively follow the physical screen flow and the virtual screen flow;
in the steps S1 and S2, a sum of the first preset display range and the second preset display range is at most equal to an original display range of the physical screen.
Preferably, after the step S3, there is provided the step of:
and S4, acquiring the position of the current touch point, judging whether the current touch action is directed at the physical screen or the newly added screen, and correspondingly controlling the physical screen or the newly added screen to react.
Preferably, the step S4 specifically includes:
s41, acquiring the position of the current touch point;
and S42, judging whether the touch point belongs to the first preset display range or the second preset display range, if so, controlling the physical screen to react, otherwise, controlling the newly added screen to react.
Preferably, after the step S3 and before the step S41, a step S40 is provided, which determines whether the current touch action is a single-point touch or a drag touch, if the touch action is the single-point touch, the step S41 is executed, otherwise, the step S43 is executed;
after the step S42, a step S43 is provided, in which the first contact point of the drag touch is determined to belong to a first preset display range or a second preset display range, and the moving route of the drag touch is continuously monitored;
and S44, acquiring whether the end point of the dragging touch belongs to the current preset display range, if so, executing a control instruction of the dragging touch, otherwise, adjusting the end point of the dragging touch to be the boundary of the current preset display range, and executing the control instruction of the current dragging touch.
Preferably, in step S40, it is determined whether the current touch action is a single-point touch or a dragging touch, specifically, it is determined whether a time difference between adjacent touch points is greater than a preset value, if so, it is determined that the touch action is the single-point touch, and if not, it is determined that the touch action is the dragging touch.
Preferably, in the steps S1 and S2, the first preset display range and the second preset display range are both reduced in proportion to the original display range of the physical screen.
Preferably, the first preset display range and the second preset display range are arranged side by side and are arranged in a close fit manner.
The invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the method for implementing multi-screen virtual display by using a single physical screen according to any one of claims 1 to 7.
From the above, the following beneficial effects can be obtained by applying the technical scheme provided by the invention:
firstly, in the technical scheme provided by the invention, the display content of the current display screen is enlarged by creating the new screen, and the original display content is kept, namely the content of two video sources can be displayed on the physical screen in the application, so that the information displayed on the current display screen at the same moment is enlarged, the information obtaining efficiency of a driver is ensured, and the driving experience is improved;
secondly, the technical scheme provided by the invention adds a thread to the newly added screen, namely the physical screen and the newly added screen belong to different threads, namely the displayable content of the physical screen is retained to a great extent under the condition of thread death, and the rerun of the two threads is realized through restarting under the allowable condition.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for implementing multi-screen virtual reality with a single physical screen in an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
When the existing vehicle-mounted display screen only realizes the display of a single physical screen, the quantity of information available to a driver at the same time is less, and the driving experience is influenced.
As shown in fig. 1, in order to solve the above problem, the present embodiment provides a method for implementing multi-screen virtual display by using a single physical screen, which mainly includes the following steps:
s1, adjusting the original content of the physical screen to be displayed in a first preset display range;
s2, creating a new screen in a second preset display range, wherein no new screen adding thread is added;
and S3, displaying the content of the preset video source by the newly added screen.
In step S1 and step S2, the first preset display range and the second preset display range respectively follow the physical screen flow and the virtual screen flow;
in steps S1 and S2, the sum of the first predetermined display range and the second predetermined display range is at most equal to the original display range of the physical screen.
Preferably, but not limited to, a third predetermined display range may be further provided in the embodiment, and the third predetermined display range may be displayed in a manner of being overlapped on the first predetermined display range and the second predetermined display range, or may be distributed independently from the first predetermined display range and the second predetermined display range, and so on.
Preferably, but not limited to, the newly added thread in this embodiment is mainly used to manage the display content of the second preset display range and the specific touch response, and is independent from the thread of the original physical screen.
Preferably, but not limited to, in this embodiment, the first preset display range and the second preset display range are respectively a left half and a right half of an original display range of the physical screen.
Preferably, but not limited to, in this embodiment, a specific source of the display content of the newly added screen is not limited, and the display content may be a display page of another application, or a display page of an external video input source, and the like.
More specifically, after step S3, there is provided the step of:
and S4, acquiring the position of the current touch point, judging whether the current touch action is directed at the physical screen or the newly added screen, and correspondingly controlling the physical screen or the newly added screen to react.
It should be emphasized that step S4 in this embodiment specifically includes:
s41, acquiring the position of the current touch point;
and S42, judging whether the touch point belongs to the first preset display range or the second preset display range, if so, controlling the physical screen to react, otherwise, controlling the newly added screen to react.
Preferably, but not limited to, in this embodiment, the first preset display range and the second preset display range may be calibrated in a coordinate range, so that when the coordinate information of the touch point is acquired, it can be intuitively determined that the current touch point belongs to the first preset display range or the second preset display range.
Preferably, but not limited to, in this embodiment, when the physical screen/the newly added screen is controlled to react, whether a display page of the physical screen/the newly added screen changes or not should be monitored, if the page changes, the control information is considered to be executed normally, and if the page does not react, the control information is considered to be executed incorrectly, and at this time, the thread re-execution may be performed on the physical screen or the newly added screen, so as to restart the current physical screen or the newly added screen, and implement correct execution of the subsequent touch forest.
More specifically, after step S3 and before step S41, step S40 is provided, in which it is determined whether the current touch action is a single-point touch or a drag touch, if the touch action is the single-point touch, step S41 is executed, otherwise step S43 is executed;
after the step S42, a step S43 is provided to determine that the first contact point of the drag touch belongs to the first preset display range or the second preset display range, and continuously monitor the moving route of the drag touch;
and S44, acquiring whether the end point of the dragging touch belongs to the current preset display range, if so, executing a control instruction of the dragging touch, otherwise, adjusting the end point of the dragging touch to be the boundary of the current preset display range, and executing the control instruction of the dragging touch.
Preferably, but not limited to, in step S40 in this embodiment, it is determined whether the current touch action is a single-point touch or a drag touch, specifically, it is determined whether a time difference between adjacent touch points is greater than a preset value, if so, it is determined that the touch action is the single-point touch, and if not, it is determined that the touch action is the drag touch.
Preferably, but not limited to, in the present embodiment, the detection of the adjacent touch points in step S40 is based on the fact that the adjacent touch points are touch points with position deviation, and in this case, it is determined that the drag touch is determined when a time difference exists between the adjacent touch points.
Preferably, but not limited to, in this embodiment, the moving route of the drag touch is monitored in step S43, that is, the moving route may be used to monitor whether the current drag touch action crosses the screen, if so, modify the end point of the current drag touch, and execute the modified drag touch instruction, otherwise, the moving route may be controlled to implement a corresponding control result according to the monitored drag touch action; and when the release exists between the touch points, canceling the monitored dragging touch moving route.
Preferably, but not limited to, in steps S1 and S2, the long sides of the first preset display range and the second preset display range are both reduced in proportion to the long side of the original display range of the physical screen.
Preferably, but not limited to, the reduced first preset display range and the display range of the original physical screen are reduced, and the display content of the reduced first preset display range and the display range of the original physical screen can be adjusted to be enlarged or reduced or unchanged according to actual use settings so as to meet the use requirements of the driver.
Preferably, but not limited to, in the present embodiment, the first preset display range and the second preset display range are arranged side by side and are closely attached to each other.
In this embodiment, the first preset display range and the second preset display range that are arranged side by side and in close contact with each other can ensure that the display range of the current physical screen is maximized, and the first preset display range and the second preset display range that are arranged vertically are not changed much on the basis of the display content of the original physical screen, so that the driver can adapt to the display easily.
The embodiment also provides a storage medium for carrying a program for implementing the method for implementing the multi-screen virtual display by using the single physical screen, and the storage medium can be a mobile hard disk, a mobile memory and the like.
The above-described embodiments do not limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the above-described embodiments should be included in the protection scope of the technical solution.
Claims (8)
1. A method for realizing multi-screen virtual display by a single physical screen is characterized by comprising the following steps:
s1, adjusting the original display content of the physical screen to be displayed in a first preset display range;
s2, creating a new screen in a second preset display range, and adding a new thread for the new screen;
s3, displaying the content of the preset video source by the newly added screen;
in the steps S1 and S2, the first preset display range and the second preset display range respectively follow the physical screen flow and the virtual screen flow;
in the steps S1 and S2, a sum of the first preset display range and the second preset display range is at most equal to an original display range of the physical screen.
2. A method for implementing multi-screen virtual display by using a single physical screen according to claim 1, wherein after the step S3, there are provided steps of:
and S4, acquiring the position of the current touch point, judging whether the current touch action is directed at the physical screen or the newly added screen, and correspondingly controlling the physical screen or the newly added screen to react.
3. The method according to claim 2, wherein the step S4 specifically includes:
s41, acquiring the position of the current touch point;
and S42, judging whether the touch point belongs to the first preset display range or the second preset display range, if so, controlling the physical screen to react, otherwise, controlling the newly added screen to react.
4. The method of claim 3, wherein the single physical screen is used for implementing multi-screen virtual display, and the method comprises the following steps:
after the step S3 and before the step S41, a step S40 is provided, in which it is determined whether the current touch action is a single-point touch or a drag touch, if the touch action is the single-point touch, the step S41 is executed, otherwise, the step S43 is executed;
after the step S42, a step S43 is provided, in which the first contact point of the drag touch is determined to belong to a first preset display range or a second preset display range, and the moving route of the drag touch is continuously monitored;
and S44, acquiring whether the end point of the dragging touch belongs to the current preset display range, if so, executing a control instruction of the dragging touch, otherwise, adjusting the end point of the dragging touch to be the boundary of the current preset display range, and executing the control instruction of the current dragging touch.
5. The method of claim 4, wherein the single physical screen is used for implementing multi-screen virtual display, and the method comprises the following steps: in step S40, it is determined whether the current touch action is a single-point touch or a dragging touch, specifically, it is determined whether a time difference between adjacent touch points is greater than a preset value, if so, it is determined that the touch action is the single-point touch, and if not, it is determined that the touch action is the dragging touch.
6. A method for realizing multi-screen virtual display through a single physical screen according to any one of claims 1 to 5, wherein: in the steps S1 and S2, the long sides of the first preset display range and the second preset display range are both reduced in proportion to the long side of the original display range of the physical screen.
7. The method of claim 6, wherein the single physical screen is used for implementing multi-screen virtual display, and the method comprises the following steps: the first preset display range and the second preset display range are arranged side by side and are arranged in a close fit mode.
8. A computer-readable storage medium characterized by: the computer-readable storage medium comprises a stored computer program, wherein when the computer program runs, the computer-readable storage medium is controlled by a device to execute the method for realizing the multi-screen virtual display by the single physical screen according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110401869.7A CN113296662A (en) | 2021-04-14 | 2021-04-14 | Method for realizing multi-screen virtual display by single physical screen and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110401869.7A CN113296662A (en) | 2021-04-14 | 2021-04-14 | Method for realizing multi-screen virtual display by single physical screen and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113296662A true CN113296662A (en) | 2021-08-24 |
Family
ID=77319881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110401869.7A Pending CN113296662A (en) | 2021-04-14 | 2021-04-14 | Method for realizing multi-screen virtual display by single physical screen and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113296662A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115061620A (en) * | 2022-06-17 | 2022-09-16 | 重庆长安汽车股份有限公司 | Touch screen splitting method and system, electronic device and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5347624A (en) * | 1987-03-05 | 1994-09-13 | Hitachi, Ltd. | Method and apparatus for display control |
CN105389149A (en) * | 2015-11-03 | 2016-03-09 | 惠州Tcl移动通信有限公司 | Method and system for implementing multi-screen operation of smart device |
CN106933523A (en) * | 2015-12-30 | 2017-07-07 | 阿里巴巴集团控股有限公司 | A kind of multi-screen interaction method and device |
CN110659010A (en) * | 2019-09-20 | 2020-01-07 | 青岛海信移动通信技术股份有限公司 | Picture-in-picture display method and display equipment |
CN110851220A (en) * | 2019-10-30 | 2020-02-28 | 维沃移动通信有限公司 | Information output method and electronic equipment |
CN112202967A (en) * | 2020-09-01 | 2021-01-08 | 武汉卡比特信息有限公司 | Split screen display method based on mobile phone interconnection |
-
2021
- 2021-04-14 CN CN202110401869.7A patent/CN113296662A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5347624A (en) * | 1987-03-05 | 1994-09-13 | Hitachi, Ltd. | Method and apparatus for display control |
CN105389149A (en) * | 2015-11-03 | 2016-03-09 | 惠州Tcl移动通信有限公司 | Method and system for implementing multi-screen operation of smart device |
CN106933523A (en) * | 2015-12-30 | 2017-07-07 | 阿里巴巴集团控股有限公司 | A kind of multi-screen interaction method and device |
CN110659010A (en) * | 2019-09-20 | 2020-01-07 | 青岛海信移动通信技术股份有限公司 | Picture-in-picture display method and display equipment |
CN110851220A (en) * | 2019-10-30 | 2020-02-28 | 维沃移动通信有限公司 | Information output method and electronic equipment |
CN112202967A (en) * | 2020-09-01 | 2021-01-08 | 武汉卡比特信息有限公司 | Split screen display method based on mobile phone interconnection |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115061620A (en) * | 2022-06-17 | 2022-09-16 | 重庆长安汽车股份有限公司 | Touch screen splitting method and system, electronic device and readable storage medium |
CN115061620B (en) * | 2022-06-17 | 2024-05-17 | 重庆长安汽车股份有限公司 | Touch screen splitting method, system, electronic device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10078435B2 (en) | Systems, methods, and computer program products for interacting with electronically displayed presentation materials | |
US8607158B2 (en) | Content presentation in remote monitoring sessions for information technology systems | |
CN101515227B (en) | Window management method and computer | |
US7657837B2 (en) | Seamless windows functionality to remote desktop sessions regarding z-order | |
US20150040062A1 (en) | Multi-monitor full screen mode in a windowing environment | |
US20070288640A1 (en) | Remote rendering of multiple mouse cursors | |
CN103699312A (en) | Multi-application foreground running implementation method and device and electronic device | |
US11194459B2 (en) | Interacting with nonconforming applications in a windowing environment | |
CN103605524A (en) | Method and device for running programs on mobile terminal in split-screen manner | |
US10359904B2 (en) | Graphic user interface pointer control | |
CN111651079A (en) | Handwriting display method, device, equipment and computer storage medium | |
WO2018120992A1 (en) | Window rendering method and terminal | |
CN113296662A (en) | Method for realizing multi-screen virtual display by single physical screen and storage medium | |
CN115237518A (en) | Screen interface display processing method and device, electronic equipment and medium | |
CN115185408A (en) | Vehicle-mounted entertainment information display method, device, equipment and medium | |
US11361518B2 (en) | Efficiency enhancements to construction of virtual reality environments | |
CN111381925B (en) | GUI fragment type rendering method and device based on dirty rectangle mechanism | |
CN109992230B (en) | Control method and electronic device | |
WO2023236515A1 (en) | Application program display method and apparatus, and computer readable storage medium | |
KR20130108952A (en) | Implementation method of pip by using separate application package on android platform | |
CN114237482A (en) | Handwriting display processing method, device, system, equipment and storage medium | |
CN105159534A (en) | Processing method and apparatus for graphic button | |
CN115220842A (en) | Vehicle navigation method, system, vehicle and storage medium | |
CN113703865A (en) | Cabin picture display method, control system, storage medium and control equipment | |
JP2018085071A (en) | Display system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210824 |
|
RJ01 | Rejection of invention patent application after publication |