CN110413164A - 一种在分布式拼接屏上的两点开窗方法 - Google Patents

一种在分布式拼接屏上的两点开窗方法 Download PDF

Info

Publication number
CN110413164A
CN110413164A CN201910520146.1A CN201910520146A CN110413164A CN 110413164 A CN110413164 A CN 110413164A CN 201910520146 A CN201910520146 A CN 201910520146A CN 110413164 A CN110413164 A CN 110413164A
Authority
CN
China
Prior art keywords
clock
grid
windowing
coordinate
window
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
CN201910520146.1A
Other languages
English (en)
Other versions
CN110413164B (zh
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.)
Guangzhou Baolun Electronics Co Ltd
Original Assignee
Guangzhou Baolun Electronics 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 Guangzhou Baolun Electronics Co Ltd filed Critical Guangzhou Baolun Electronics Co Ltd
Priority to CN201910520146.1A priority Critical patent/CN110413164B/zh
Publication of CN110413164A publication Critical patent/CN110413164A/zh
Application granted granted Critical
Publication of CN110413164B publication Critical patent/CN110413164B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/0484Interaction 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
    • G06F3/0486Drag-and-drop
    • 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/0487Interaction 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

本发明公开了一种在分布式拼接屏上的两点开窗方法,包括如下步骤:1)、首先鼠标在虚拟墙上点击两次,获取两点的坐标;2)、以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域左上角坐标;3)、以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域右下角坐标;4)、通过2)得到的矩形左上角坐标以及格子的宽度、高度,计算出开窗起点所在格子的行列;5)、通过3)得到的矩形右下角坐标以及格子的宽度、高度,计算出开窗终点所在格子的行列;6)、计算出将要开窗的起点坐标和宽高;7)、把新开的窗口坐标和宽高转化成真实墙上的窗口坐标和宽高发送给后台开窗。本发明大量减少开发工程师的工作量。

Description

一种在分布式拼接屏上的两点开窗方法
技术领域
本发明涉及拼接屏对应的虚拟墙上的窗口打开技术领域,具体涉及一种在分布式拼接屏上的两点开窗方法。
背景技术
在现有的多个或者单个拼接盒窗口打开方法中,主要是通过首次在固定的格子上开窗、以及后续对窗口进行任意位置拖拽,缩放来实现。实践发现当用户需要把一个窗口开在指定的几个相邻格子区域上以完全覆盖或者部分覆盖的方式开出来时,传统的开窗方式就无法满足用户需求,而传统的任意拖拽缩放开窗又是拼接墙的基本诉求,一般传统的普遍做法是对这种项目进行特别开发一个软件版本,需要耗费大量人力物力和时间。为了满足用户的基本开窗方式以及在指定的几个相邻格子区域上完全覆盖或者部分覆盖开窗要求和减少项目开发的成本,本发明设计了两点开窗方法。
发明内容
有鉴于此,为了解决现有技术中的上述问题,本发明提出一种在分布式拼接屏上的两点开窗方法,能够使用户在相邻格子区域上以完全覆盖或者部分覆盖的方式开出窗口,通过两点开窗来达到目的,又不会失去传统自由开窗模式的基本功能,从而极大的方便用户,丰富使用场景,减少开发工程师大量的工作量,节约大量开发成本。
本发明通过以下技术手段解决上述问题:
一种在分布式拼接屏上的两点开窗方法,包括如下步骤:
1)、首先鼠标在虚拟墙上点击两次,获取两点的坐标;
2)、以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域左上角坐标;
3)、以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域右下角坐标;
4)、通过2)得到的矩形左上角坐标以及格子的宽度、高度,计算出开窗起点所在格子的行列;
5)、通过3)得到的矩形右下角坐标以及格子的宽度、高度,计算出开窗终点所在格子的行列;
6)、在已知格子宽高的前提下,计算出将要开窗的起点坐标和宽高;
7)、把新开的窗口坐标和宽高转化成真实墙上的窗口坐标和宽高发送给后台开窗。
进一步地,步骤4)中,计算出开窗起点所在格子的行列公式如下:
startXGridNum=leftPoint.x/virtualGridWidth;
startYGridNum=leftPoint.y/virtualGridHeight。
进一步地,步骤5)中,计算出开窗终点所在格子的行列公式如下:
endXGridNum=rightPoint.x/virtualGridWidth;
endYGridNum=rightPoint.y/virtualGridHeight。
进一步地,步骤6)中,计算出将要开窗的起点坐标和宽高公式如下:
winPanPosX=startXGridNum*virtualGridWidth;
winPanPosY=startYGridNum*virtualGridHeight;
winPanWidth=(endXGridNum-startXGridNum+1)*virtualGridWidth;
winPanHeight=(endYGridNum-startYGridNum+1)*virtualGridHeight。
与现有技术相比,本发明的有益效果至少包括:
本发明可以消除传统开窗需要再次拖拉导致黑屏闪屏的现象,一步到位,消除大屏观众的不舒适感。同时在无需任何事先设置或者大量算法的前提下,可以简便的满足用户在指定相邻格子开窗的应用场景,大量减少开发工程师的工作量,节约大量的开发成本。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明在分布式拼接屏上的两点开窗方法的流程图;
图2是本发明在分布式拼接屏上的两点开窗方法的示意图。
具体实施方式
为使本发明的上述目的、特征和优点能够更加明显易懂,下面将结合附图和具体的实施例对本发明的技术方案进行详细说明。需要指出的是,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例
本发明在虚拟墙的几个相邻格子上单击两次选取两个点的坐标,一种计算由这两个点组成的矩形区域所覆盖了哪几个格子、以及由此计算出所需开窗的起点坐标以及宽高的算法。
如图1-2所示,本发明的在分布式拼接屏上的两点开窗方法具体包括如下步骤:
1)首先鼠标在虚拟墙上点击两次,获取两点的坐标;
2)以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域左上角坐标;
3)以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域右下角坐标;
4)通过2)得到的矩形左上角坐标以及格子的宽度、高度,我们可以计算出开窗起点所在格子的行列;
公式如下:
startXGridNum=leftPoint.x/virtualGridWidth;
startYGridNum=leftPoint.y/virtualGridHeight;
5)通过3)得到的矩形右下角坐标以及格子的宽度、高度,我们可以计算出开窗终点所在格子的行列;
公式如下:
endXGridNum=rightPoint.x/virtualGridWidth;
endYGridNum=rightPoint.y/virtualGridHeight;
6)在已知格子宽高的前提下,我们通过如下公式可以计算出将要开窗的起点坐标和宽高;
winPanPosX=startXGridNum*virtualGridWidth;
winPanPosY=startYGridNum*virtualGridHeight;
winPanWidth=(endXGridNum-startXGridNum+1)*virtualGridWidth;
winPanHeight=(endYGridNum-startYGridNum+1)*virtualGridHeight;
7)把新开的窗口坐标和宽高转化成真实墙上的窗口坐标和宽高发送给后台开窗。
本发明可以消除传统开窗需要再次拖拉导致黑屏闪屏的现象,一步到位,消除大屏观众的不舒适感。同事在无需任何事先设置或者大量算法的前提下,可以简便的满足用户在指定相邻格子开窗的应用场景,大量减少开发工程师的工作量,节约大量的开发成本。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (4)

1.一种在分布式拼接屏上的两点开窗方法,其特征在于,包括如下步骤:
1)、首先鼠标在虚拟墙上点击两次,获取两点的坐标;
2)、以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域左上角坐标;
3)、以左上角为原点参照通过1)取得的两点坐标计算出两点组成的矩形区域右下角坐标;
4)、通过2)得到的矩形左上角坐标以及格子的宽度、高度,计算出开窗起点所在格子的行列;
5)、通过3)得到的矩形右下角坐标以及格子的宽度、高度,计算出开窗终点所在格子的行列;
6)、在已知格子宽高的前提下,计算出将要开窗的起点坐标和宽高;
7)、把新开的窗口坐标和宽高转化成真实墙上的窗口坐标和宽高发送给后台开窗。
2.根据权利要求1所述的在分布式拼接屏上的两点开窗方法,其特征在于,步骤4)中,计算出开窗起点所在格子的行列公式如下:
startXGridNum=leftPoint.x/virtualGridWidth;
startYGridNum=leftPoint.y/virtualGridHeight。
3.根据权利要求1所述的在分布式拼接屏上的两点开窗方法,其特征在于,步骤5)中,计算出开窗终点所在格子的行列公式如下:
endXGridNum=rightPoint.x/virtualGridWidth;
endYGridNum=rightPoint.y/virtualGridHeight。
4.根据权利要求1所述的在分布式拼接屏上的两点开窗方法,其特征在于,步骤6)中,计算出将要开窗的起点坐标和宽高公式如下:
winPanPosX=startXGridNum*virtualGridWidth;
winPanPosY=startYGridNum*virtualGridHeight;
winPanWidth=(endXGridNum-startXGridNum+1)*virtualGridWidth;
winPanHeight=(endYGridNum-startYGridNum+1)*virtualGridHeight。
CN201910520146.1A 2019-06-17 2019-06-17 一种在分布式拼接屏上的两点开窗方法 Active CN110413164B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910520146.1A CN110413164B (zh) 2019-06-17 2019-06-17 一种在分布式拼接屏上的两点开窗方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910520146.1A CN110413164B (zh) 2019-06-17 2019-06-17 一种在分布式拼接屏上的两点开窗方法

Publications (2)

Publication Number Publication Date
CN110413164A true CN110413164A (zh) 2019-11-05
CN110413164B CN110413164B (zh) 2023-08-22

Family

ID=68359221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910520146.1A Active CN110413164B (zh) 2019-06-17 2019-06-17 一种在分布式拼接屏上的两点开窗方法

Country Status (1)

Country Link
CN (1) CN110413164B (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116343657A (zh) * 2023-03-28 2023-06-27 广东保伦电子股份有限公司 一种适用于大屏幕开窗的显示方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204771A (zh) * 2015-10-27 2015-12-30 广东威创视讯科技股份有限公司 基于移动终端控制拼接屏开窗位置确定方法及移动终端
US20170147179A1 (en) * 2015-11-25 2017-05-25 International Business Machines Corporation Controlling cursor motion
CN108664226A (zh) * 2017-03-28 2018-10-16 Tcl新技术(惠州)有限公司 一种显示方法及系统
CN108922426A (zh) * 2018-07-13 2018-11-30 深圳市东微智能科技股份有限公司 拼接屏组合方法及拼接屏组合系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204771A (zh) * 2015-10-27 2015-12-30 广东威创视讯科技股份有限公司 基于移动终端控制拼接屏开窗位置确定方法及移动终端
US20170147179A1 (en) * 2015-11-25 2017-05-25 International Business Machines Corporation Controlling cursor motion
CN108664226A (zh) * 2017-03-28 2018-10-16 Tcl新技术(惠州)有限公司 一种显示方法及系统
CN108922426A (zh) * 2018-07-13 2018-11-30 深圳市东微智能科技股份有限公司 拼接屏组合方法及拼接屏组合系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116343657A (zh) * 2023-03-28 2023-06-27 广东保伦电子股份有限公司 一种适用于大屏幕开窗的显示方法及装置
CN116343657B (zh) * 2023-03-28 2024-05-03 广东保伦电子股份有限公司 一种适用于大屏幕开窗的显示方法及装置

Also Published As

Publication number Publication date
CN110413164B (zh) 2023-08-22

Similar Documents

Publication Publication Date Title
CN102622163B (zh) 一种图标生成方法
CN103634650B (zh) 一种基于智能电视平台的图片处理方法及系统
Ostwald et al. Characteristic visual complexity: Fractal dimensions in the architecture of Frank Lloyd Wright and Le Corbusier
CN104183016B (zh) 一种快速的2.5维建筑物模型的构建方法
CN105468382B (zh) 一种自适应布局的编程方法
US20040261012A1 (en) Snaplines for control object positioning
CN106155692A (zh) 一种终端亮度调节方法及终端
CN103294466B (zh) 一种显示应用程序背景图像的方法和装置
CN110413164A (zh) 一种在分布式拼接屏上的两点开窗方法
CN109190326A (zh) 生成工艺流程图的方法及装置
CN106445431A (zh) 终端的操作方法及装置
CN106251322B (zh) 图像处理设备、图像处理方法和图像处理系统
CN105760740A (zh) 一种基于移动终端的快速制作动态电子印章的方法
CN103150169A (zh) 一种调整图标的方法
CN111027115A (zh) 一种基于bim技术在住宅楼装修工程中的应用方法
CN110288521A (zh) 图像美化方法、装置及电子设备
CN106296813A (zh) 三维静态地图生产方法
Ameen et al. Variation of hmF2 and NmF2 deduced from DPS-4 over Multan (Pakistan) and their comparisons with IRI-2012 & IRI-2016 during the deep solar minimum between cycles 23 & 24
CN106898245B (zh) 一种地图注记的标注方法及装置
CN107830800B (zh) 一种基于车载扫描系统生成精细立面图的方法
CN103324815B (zh) 一种设计图的现实验证方法
CN107092864A (zh) 基于聚类分析的图纸文本读取方法及系统
JP2003167065A (ja) 日照シミュレーションシステム
CN105867914B (zh) iOS自定义UIButton类实现按钮外观及动画效果的方法
CN109445887A (zh) 一种模拟毛笔笔触的绘制方法

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

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangdong Baolun Electronics Co.,Ltd.

Address before: 510000 Building 1, industrial zone B, Zhongcun street, Panyu District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant