WO2018149222A1 - Single-screen and double-screen application switching method and interface - Google Patents
Single-screen and double-screen application switching method and interface Download PDFInfo
- Publication number
- WO2018149222A1 WO2018149222A1 PCT/CN2017/117095 CN2017117095W WO2018149222A1 WO 2018149222 A1 WO2018149222 A1 WO 2018149222A1 CN 2017117095 W CN2017117095 W CN 2017117095W WO 2018149222 A1 WO2018149222 A1 WO 2018149222A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- display
- dual
- interface
- view
- Prior art date
Links
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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital 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
-
- 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
-
- 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
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Definitions
- the technical problem to be solved by the present invention is to provide a single dual-screen application switching method and interface for the above-mentioned drawbacks of the prior art.
- the UI interface for dynamically drawing the left screen and the right screen according to the symmetric rule includes:
- the invention also discloses a single and dual screen application switching interface, which is used for a box device, and includes:
- the dual-screen display module divides the screen into a left screen and a right screen by using a screen center line as a symmetry axis, and dynamically draws a left screen and a right screen according to a symmetrical rule.
- UI interface In the single-dual-screen application switching interface of the present invention, the dual-screen display module divides the screen into a left screen and a right screen by using a screen center line as a symmetry axis, and dynamically draws a left screen and a right screen according to a symmetrical rule.
- a size scaling unit for obtaining a display resolution of the entire screen, and calculating a resolution zoom factor, and scaling the size of each view on a single screen according to the resolution zoom factor;
- a position calculation unit configured to recalculate the position of each view on the left screen based on the position of the single screen view, and calculate the position of each view on the right screen by using the center line of the screen as the axis of symmetry;
- the dual-screen display unit is configured to simultaneously fill each of the scaled new views in the left screen and the right screen according to the calculated position to realize dual-screen display.
- FIG. 2 is a flow chart of step S3 in the preferred embodiment
- the single and dual screen application switching method of the present invention is used for a box device, and mainly includes:
- step S1 The device parameter of the display device connected to the box device is read, and the device type of the display device is determined according to the read device parameter. If the device type is a dual-screen device, the process proceeds to step S2, if the device type is a single screen. Equipment, proceeds to step S4;
- the device parameter can be the model model of the device.
- step S2 The display driving parameter of the display device is read, and the current display mode of the display device is determined according to the read display driving parameter. If the display mode is vertical screen display, the process proceeds to step S3, and if the display mode is horizontal. Display, proceed to step S4;
- two UI files for drawing a UI interface for single-screen display and dual-screen display are stored in the system, and steps S3 and S4 are implemented based on the stored corresponding programs.
- the program calls one of the UI files to draw the corresponding UI interface according to the dual screen mode.
- the program calls another UI file to draw the corresponding UI interface according to the single screen mode, and step S3
- the same functional modules are packaged and multiplexed with S4.
- the position of the view is displayed on a single screen (x, y), specifically, the ordinate of the view on the left screen is unchanged and the abscissa is reduced by half, which is recorded as (x1, y1); the center line of the screen is With the axis of symmetry, you can calculate the position of the view on the right screen (x2, y2).
- S33 A new view with a size of (w1, h1) after each scaling is simultaneously filled in the left screen and the right screen according to the calculated position (x1, y1), (x2, y2) to realize dual screen display.
- a first determining module configured to read a device parameter of the display device connected to the box device, determine a device type of the display device according to the read device parameter, and send a second determination signal if the device type is a dual-screen device If the device type is a single-screen device, a single-screen display trigger signal is sent; for example, the device parameter may be the model model of the device.
- a second determining module configured to: after receiving the second determining signal, read a display driving parameter of the display device, and determine a current display mode of the display device according to the read display driving parameter, if the display mode is vertical If the screen is displayed, the dual-screen display trigger signal is sent. If the display mode is horizontal screen display, the single-screen display trigger signal is sent; for example, the rotation parameter of the device can be read to obtain the display driving parameter of the display device.
- the dual-screen display module is configured to, when receiving the dual-screen display trigger signal, invoke a program embedded in the box device to display a dual-screen UI interface;
- the single-screen display module is configured to invoke a program embedded in the box device to display a single-screen UI interface when receiving a single-screen display trigger signal.
- the UI file stored in the program in the dual-screen display module draws a corresponding UI interface according to the dual-screen mode
- another UI file stored in the single-screen display module is stored in accordance with the single UI file.
- the screen mode draws the corresponding UI interface
- the dual-screen display module and the single-screen display module package and multiplex the same functional modules.
- the dual-screen display module divides the screen into a left screen and a right screen with the center line of the screen as an axis of symmetry, and simultaneously dynamically draws the UI interfaces of the left screen and the right screen according to the symmetrical rule.
- the dual screen display module includes:
- a size scaling unit for obtaining a display resolution of the entire screen, and calculating a resolution zoom factor, and scaling the size of each view on a single screen according to the resolution zoom factor;
- the resolution of the left and right screens after the dual screen display is equivalent to 960*1080, and the resolution zoom factor is (1920*1080)/(960*). 1080). If the size of the view when it is displayed on a single screen is (w, h), the scale after scaling according to (1920*1080)/(960*1080) is (w1, h1).
- a position calculation unit configured to recalculate the position of each view on the left screen based on the position of the single screen view, and calculate the position of each view on the right screen by using the center line of the screen as the axis of symmetry;
- the position of the view is displayed on a single screen (x, y), specifically, the ordinate of the view on the left screen is unchanged and the abscissa is reduced by half, which is recorded as (x1, y1); the center line of the screen is With the axis of symmetry, you can calculate the position of the view on the right screen (x2, y2).
- a dual-screen display unit for simultaneously filling each new size of size (w1, h1) with the calculated position (x1, y1), (x2, y2) in the left and right screens. Achieve dual screen display.
- the single-dual-screen application switching method and interface for implementing the present invention have the following beneficial effects: the present invention provides a unified interface for different display devices, and the interface can automatically recognize the display device type and display mode, thereby correspondingly
- the single-screen or dual-screen UI interface is displayed, which solves the problem of two application developments on the same system in the prior art, reduces the development workload, and is convenient for later maintenance.
Abstract
Description
Claims (8)
- 一种单双屏应用切换方法,用于盒子设备,其特征在于,包括:A single and dual screen application switching method for a box device, comprising:S1、读取与盒子设备连接的显示设备的设备参数,根据所读取的设备参数确定所述显示设备的设备类型,如果设备类型为双屏设备,则进入步骤S2,如果设备类型为单屏设备,则进入步骤S4; S1. The device parameter of the display device connected to the box device is read, and the device type of the display device is determined according to the read device parameter. If the device type is a dual-screen device, the process proceeds to step S2, if the device type is a single screen. Equipment, proceeds to step S4;S2、读取所述显示设备的显示驱动参数,根据所读取的显示驱动参数确定所述显示设备当前的显示方式,如果显示方式为竖屏显示,则进入步骤S3,如果显示方式为横屏显示,则进入步骤S4;S2. The display driving parameter of the display device is read, and the current display mode of the display device is determined according to the read display driving parameter. If the display mode is vertical screen display, the process proceeds to step S3, and if the display mode is horizontal. Display, proceed to step S4;S3、盒子设备调用内嵌的程序显示双屏的UI界面,结束;S3, the box device calls the embedded program to display the dual screen UI interface, and ends;S4、盒子设备调用内嵌的程序显示单屏的UI界面,结束。S4, the box device calls the embedded program to display the single-screen UI interface, and ends.
- 根据权利要求1所述的单双屏应用切换方法,其特征在于,所述步骤S3中程序调用存储的一个UI文件按照双屏模式画出对应的UI界面,所述步骤S4中程序调用存储的另一个UI文件按照单屏模式画出对应的UI界面,且步骤S3和S4中对同样的功能模块进行封装复用。The method for switching a single dual-screen application according to claim 1, wherein in the step S3, the program calls a stored UI file to draw a corresponding UI interface according to the dual screen mode, and the program calls the stored program in the step S4. The other UI file draws the corresponding UI interface according to the single screen mode, and the same functional modules are package-multiplexed in steps S3 and S4.
- 根据权利要求1所述的单双屏应用切换方法,其特征在于,所述步骤S3包括:以屏幕中心线为对称轴将屏幕划分为左边屏幕和右边屏幕,按照对称规则同时动态画出左边屏幕和右边屏幕的UI界面。The single and dual screen application switching method according to claim 1, wherein the step S3 comprises: dividing the screen into a left screen and a right screen by using a center line of the screen as a symmetry axis, and dynamically drawing the left screen according to a symmetrical rule. And the UI interface on the right screen.
- 根据权利要求3所述的单双屏应用切换方法,其特征在于,所述的按照对称规则同时动态画出左边屏幕和右边屏幕的UI界面包括: The single-dual-screen application switching method according to claim 3, wherein the UI interface for dynamically drawing the left screen and the right screen simultaneously according to the symmetric rule comprises:获取整个屏幕的显示分辨率,并计算分辨率缩放倍数,按照分辨率缩放倍数对每个视图在单屏显示时的大小的基础上进行缩放得到新的视图; Obtain the display resolution of the entire screen, calculate the resolution zoom factor, and scale the size of each view based on the resolution zoom size to obtain a new view;基于单屏时视图的位置,重新计算出每个视图在左边屏幕的位置,以屏幕的中心线为对称轴计算出每个视图在右边屏幕的位置;Based on the position of the single-screen view, recalculate the position of each view on the left screen, and calculate the position of each view on the right screen with the center line of the screen as the axis of symmetry;将每个缩放后的新的视图按照计算的位置在左边屏幕和右边屏幕中同时进行填充,实现双屏显示。Each zoomed new view is simultaneously filled in the left and right screens according to the calculated position to achieve dual display.
- 一种单双屏应用切换接口,用于盒子设备,其特征在于,包括:A single and dual screen application switching interface for a box device, comprising:第一判断模块,用于读取与盒子设备连接的显示设备的设备参数,根据所读取的设备参数确定所述显示设备的设备类型,如果设备类型为双屏设备,则发送二次判断信号,如果设备类型为单屏设备,则发送单屏显示触发信号; a first determining module, configured to read a device parameter of the display device connected to the box device, determine a device type of the display device according to the read device parameter, and send a second determination signal if the device type is a dual-screen device If the device type is a single-screen device, send a single-screen display trigger signal;第二判断模块,用于在接收到二次判断信号后,读取所述显示设备的显示驱动参数,根据所读取的显示驱动参数确定所述显示设备当前的显示方式,如果显示方式为竖屏显示,则发送双屏显示触发信号,如果显示方式为横屏显示,则发送单屏显示触发信号; a second determining module, configured to: after receiving the second determining signal, read a display driving parameter of the display device, and determine a current display mode of the display device according to the read display driving parameter, if the display mode is vertical When the screen is displayed, the dual-screen display trigger signal is sent, and if the display mode is the horizontal screen display, the single-screen display trigger signal is sent;双屏显示模块,用于在接收到双屏显示触发信号时,调用盒子设备内嵌的程序显示双屏的UI界面;The dual-screen display module is configured to, when receiving the dual-screen display trigger signal, invoke a program embedded in the box device to display a dual-screen UI interface;单屏显示模块,用于在接收到单屏显示触发信号时,调用盒子设备内嵌的程序显示单屏的UI界面。The single-screen display module is configured to invoke a program embedded in the box device to display a single-screen UI interface when receiving a single-screen display trigger signal.
- 根据权利要求5所述的单双屏应用切换接口,其特征在于,所述双屏显示模块中程序调用存储的一个UI文件按照双屏模式画出对应的UI界面,所述单屏显示模块中程序调用存储的另一个UI文件按照单屏模式画出对应的UI界面,且双屏显示模块和单屏显示模块对同样的功能模块进行封装复用。The single-dual-screen application switching interface according to claim 5, wherein a UI file stored by the program in the dual-screen display module draws a corresponding UI interface according to the dual-screen mode, and the single-screen display module The other UI file stored in the program call draws the corresponding UI interface according to the single screen mode, and the dual screen display module and the single screen display module package and multiplex the same functional modules.
- 根据权利要求5所述的单双屏应用切换接口,其特征在于,所述双屏显示模块以屏幕中心线为对称轴将屏幕划分为左边屏幕和右边屏幕,按照对称规则同时动态画出左边屏幕和右边屏幕的UI界面。The single and dual screen application switching interface according to claim 5, wherein the dual screen display module divides the screen into a left screen and a right screen by using a center line of the screen as a symmetry axis, and dynamically draws the left screen according to a symmetrical rule. And the UI interface on the right screen.
- 根据权利要求7所述的单双屏应用切换接口,其特征在于,所述双屏显示模块包括:The single-dual-screen application switching interface according to claim 7, wherein the dual-screen display module comprises:大小缩放单元,用于获取整个屏幕的显示分辨率,并计算分辨率缩放倍数,按照分辨率缩放倍数对每个视图在单屏显示时的大小的基础上进行缩放;a size scaling unit for obtaining a display resolution of the entire screen, and calculating a resolution zoom factor, and scaling the size of each view on a single screen according to the resolution zoom factor;位置计算单元,用于基于单屏时视图的位置,重新计算出每个视图在左边屏幕的位置,以屏幕的中心线为对称轴计算出每个视图在右边屏幕的位置;a position calculation unit, configured to recalculate the position of each view on the left screen based on the position of the single screen view, and calculate the position of each view on the right screen by using the center line of the screen as the axis of symmetry;双屏显示单元,用于将每个缩放后的新的视图按照计算的位置在左边屏幕和右边屏幕中同时进行填充,实现双屏显示。The dual-screen display unit is configured to simultaneously fill each of the scaled new views in the left screen and the right screen according to the calculated position to realize dual-screen display.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710080820.XA CN108427544B (en) | 2017-02-15 | 2017-02-15 | single-screen and double-screen application switching method and interface |
CN201710080820.X | 2017-02-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018149222A1 true WO2018149222A1 (en) | 2018-08-23 |
Family
ID=63155281
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/117095 WO2018149222A1 (en) | 2017-02-15 | 2017-12-19 | Single-screen and double-screen application switching method and interface |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108427544B (en) |
WO (1) | WO2018149222A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115461714A (en) * | 2020-06-24 | 2022-12-09 | 深圳传音控股股份有限公司 | Application window display method, terminal device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316350A (en) * | 2007-05-28 | 2008-12-03 | 财团法人工业技术研究院 | Double-screen interactive digital television system and method |
CN103645831A (en) * | 2013-12-23 | 2014-03-19 | 厦门美图之家科技有限公司 | Display method of single-screen double-operation-interface moving device |
US8810533B2 (en) * | 2011-07-20 | 2014-08-19 | Z124 | Systems and methods for receiving gesture inputs spanning multiple input devices |
-
2017
- 2017-02-15 CN CN201710080820.XA patent/CN108427544B/en active Active
- 2017-12-19 WO PCT/CN2017/117095 patent/WO2018149222A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316350A (en) * | 2007-05-28 | 2008-12-03 | 财团法人工业技术研究院 | Double-screen interactive digital television system and method |
US8810533B2 (en) * | 2011-07-20 | 2014-08-19 | Z124 | Systems and methods for receiving gesture inputs spanning multiple input devices |
CN103645831A (en) * | 2013-12-23 | 2014-03-19 | 厦门美图之家科技有限公司 | Display method of single-screen double-operation-interface moving device |
Also Published As
Publication number | Publication date |
---|---|
CN108427544A (en) | 2018-08-21 |
CN108427544B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103853512B (en) | A kind of method and electronic equipment for realizing split screen | |
CN102495712B (en) | Map splicing display method based on plurality of display terminals | |
TWI442376B (en) | Semiconductor integrated circuit and data processing system | |
CN103237179B (en) | A kind of combination video window caption presentation method and device | |
WO2015165013A1 (en) | Method for displaying data on screen and display control apparatus | |
CN104035664A (en) | Display method and device for user interface of application program | |
CN102611869A (en) | Output-oriented network transmission technique of multi-screen splicing system | |
WO2019233314A1 (en) | Method for echo imaging on television wall, service device and television wall system | |
US20230419454A1 (en) | Control blurring method and apparatus, terminal device, and readable storage medium | |
CN103581505A (en) | Digital video signal processing device and method | |
WO2013023514A1 (en) | Image processing method, device and system | |
KR20170046989A (en) | Display apparatus consisting a multi display system and control method thereof | |
JP2010286811A (en) | Assembling display equipment, and methdo and system for control of screen thereof | |
EP2892047A2 (en) | Image data output control method and electronic device supporting the same | |
EP3364289A1 (en) | Display switching method for terminal, and terminal | |
CN103853510A (en) | Multi-screen projection display control system and method of handheld electronic device | |
CN110099224B (en) | Pre-monitoring display method, device and system, computer equipment and storage medium | |
CN103677701A (en) | Large screen synchronous display method and system | |
CN204681493U (en) | A kind of 4K multi-screen splicing processor | |
CN103513947A (en) | Information processing method and information processing system | |
WO2018149222A1 (en) | Single-screen and double-screen application switching method and interface | |
CN110928513A (en) | Super-resolution synthesis command application system | |
TWI457877B (en) | Display wall system and high-resolution graphics and images generation and display method | |
CN109922326A (en) | The resolution ratio of naked eye 3D video image determines method, apparatus, medium and equipment | |
CN104519392A (en) | Method and system for switching terminal display images of spliced wall |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17896875 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17896875 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/12/2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17896875 Country of ref document: EP Kind code of ref document: A1 |