CN113312125B - Multi-window adjusting method, system, readable storage medium and electronic equipment - Google Patents

Multi-window adjusting method, system, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN113312125B
CN113312125B CN202110481525.1A CN202110481525A CN113312125B CN 113312125 B CN113312125 B CN 113312125B CN 202110481525 A CN202110481525 A CN 202110481525A CN 113312125 B CN113312125 B CN 113312125B
Authority
CN
China
Prior art keywords
window
layer
target
value
initial
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
CN202110481525.1A
Other languages
Chinese (zh)
Other versions
CN113312125A (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.)
Beijing Zen Ai Technology Co ltd
Original Assignee
Beijing Zen Ai 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 Beijing Zen Ai Technology Co ltd filed Critical Beijing Zen Ai Technology Co ltd
Priority to CN202110481525.1A priority Critical patent/CN113312125B/en
Publication of CN113312125A publication Critical patent/CN113312125A/en
Application granted granted Critical
Publication of CN113312125B publication Critical patent/CN113312125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明公开多窗口调整方法,其包括:实时获取各窗口的窗口信息和与各窗口关联的信号源,所述窗口信息包括窗口图层的图层值和窗口位置;根据所述窗口位置绘制各窗口以及根据所述窗口图层的图层值排列各窗口,并在所述各窗口中实时更新各窗口关联的信号源;将捕获到鼠标进入的一个窗口确定为目标窗口,获取所述目标窗口的窗口图层的初始图层值,以及将所述目标窗口的窗口图层的图层值调整为使所述目标窗口置顶;响应于鼠标离开所述目标窗口,将所述目标窗口的窗口图层的图层值恢复为初始图层值。由此,本发明实施例的多窗口调整方法使得可以实现对多个窗口的快速遍历和调取,提升对信号源的交互效率。

Figure 202110481525

The invention discloses a multi-window adjustment method, which includes: obtaining window information of each window and a signal source associated with each window in real time, the window information including the layer value of the window layer and the window position; drawing each window according to the window position window and arrange each window according to the layer value of the window layer, and update the signal source associated with each window in each window in real time; determine a window entered by the captured mouse as the target window, and obtain the target window The initial layer value of the window layer of the target window, and the layer value of the window layer of the target window is adjusted to make the target window top; in response to the mouse leaving the target window, the window map of the target window is adjusted The layer value of the layer reverts to the original layer value. Therefore, the multi-window adjustment method in the embodiment of the present invention enables fast traversal and retrieval of multiple windows, and improves interaction efficiency with signal sources.

Figure 202110481525

Description

多窗口调整方法、系统、可读存储介质和电子设备Multi-window adjustment method, system, readable storage medium and electronic device

技术领域technical field

本发明涉及计算机领域,具体涉及多窗口调整方法、系统、可读存储介质和电子设备。The invention relates to the field of computers, in particular to a multi-window adjustment method, system, readable storage medium and electronic equipment.

背景技术Background technique

在现有技术中服务器往往与几百路信号源通信连接,为每一路信号源关联一个窗口。终端可以与服务器通信连接,以监控服务器中各窗口和各窗口关联的信号源。当终端中打开的窗口比较多时,窗口之间存在遮挡,由于终端显示设备的尺寸有限,当需要逐一对所有窗口进行调取查看时,需要手动点击调取每个窗口,而且,由于每个调取动作之后窗口层叠关系重新变动,致使每次调取动作之后,出现各种窗口层叠关系或窗口被遮挡,需要多次反复点击确认,才能查找和调取更多窗口,因此,信号源查看和调取效率低下。In the prior art, the server is usually connected to hundreds of signal sources through communication, and a window is associated with each signal source. The terminal can communicate with the server to monitor each window in the server and the signal source associated with each window. When there are many windows opened in the terminal, there is occlusion between the windows. Due to the limited size of the terminal display device, when it is necessary to call and view all the windows one by one, it is necessary to manually click to call each window. Moreover, because each call After the action is taken, the window stacking relationship changes again, resulting in various window stacking relationships or windows being blocked after each action is called, and it is necessary to click repeatedly to confirm to find and call more windows. Therefore, the signal source view and Retrieval efficiency is low.

发明内容Contents of the invention

针对以上现有技术,本发明实施例的目的是提供了一种方法、装置、设备、计算机可读存储介质及系统。In view of the above prior art, the purpose of the embodiments of the present invention is to provide a method, device, equipment, computer-readable storage medium and system.

第一方面,本发明实施例提供了一种多窗口调整方法,每个窗口用于显示一个信号源,所述多窗口调整方法包括:In the first aspect, an embodiment of the present invention provides a multi-window adjustment method, each window is used to display a signal source, and the multi-window adjustment method includes:

实时获取各窗口的窗口信息和与各窗口关联的信号源,所述窗口信息包括窗口图层的图层值和窗口位置;Obtaining the window information of each window and the signal source associated with each window in real time, the window information including the layer value and window position of the window layer;

根据所述窗口位置绘制各窗口以及根据所述窗口图层的图层值排列各窗口,并在所述各窗口中实时更新所述各窗口关联的信号源;Drawing each window according to the window position and arranging each window according to the layer value of the window layer, and updating the signal source associated with each window in each window in real time;

将捕获到鼠标进入的一个窗口确定为目标窗口,获取所述目标窗口的窗口图层的初始图层值,以及将所述目标窗口的窗口图层的图层值调整为使所述目标窗口置顶;Determining a window captured by the mouse as the target window, obtaining the initial layer value of the window layer of the target window, and adjusting the layer value of the window layer of the target window to make the target window top ;

响应于鼠标离开所述目标窗口,将所述目标窗口的窗口图层的图层值恢复为初始图层值。In response to the mouse leaving the target window, restoring the layer value of the window layer of the target window to the initial layer value.

根据一些本发明实时例的多窗口处理方法,将捕获到鼠标进入的一个窗口确定为目标窗口后,所述窗口调整方法还包括:According to the multi-window processing method of some real-time examples of the present invention, after a window captured by the mouse is determined as the target window, the window adjustment method further includes:

将所述目标窗口放大。Zooms in on the target window.

根据一些本发明实时例的多窗口处理方法,将捕获到鼠标进入的一个窗口确定为目标窗口后,所述多窗口调整方法还包括:According to the multi-window processing method of some real-time examples of the present invention, after a window captured by the mouse is determined as the target window, the multi-window adjustment method further includes:

获取所述目标窗口的窗口长度和窗口宽度的初始值作为初始长度和初始宽度;Acquiring the initial values of the window length and window width of the target window as the initial length and initial width;

将所述初始长度与所述初始宽度比较后的较大者与预定义的第一预定值进行比较;comparing the larger of the initial length and the initial width with a predefined first predetermined value;

响应于所述初始长度与所述初始宽度比较后的较大者小于第一预定值,将所述窗口长度与所述窗口宽度的较大者调整为第一预定值,并根据初始长度和初始宽度计算长宽比,按所述长宽比放大所述目标窗口的窗口长度或窗口宽度。In response to the larger of the initial length and the initial width being smaller than a first predetermined value, adjusting the larger of the window length and the window width to a first predetermined value, and according to the initial length and the initial Width calculates an aspect ratio, and enlarges the window length or window width of the target window according to the aspect ratio.

根据一些本发明实时例的多窗口处理方法,所述响应于鼠标离开目标窗口,将目标窗口的图层值恢复为初始图层值包括:According to the multi-window processing method of some real-time examples of the present invention, in response to the mouse leaving the target window, restoring the layer value of the target window to the initial layer value includes:

获取目标窗口的初始图层值;Get the initial layer value of the target window;

将放大后的目标窗口的图层值恢复为初始图层值;Restore the layer value of the enlarged target window to the initial layer value;

所述多窗口调整方法还包括:The multi-window adjustment method also includes:

获取目标窗口的初始长度和初始宽度;Get the initial length and initial width of the target window;

将放大后的目标窗口恢复到初始长度和初始宽度。Restores the enlarged target window to its original length and original width.

根据一些本发明实时例的多窗口处理方法,所述按长宽比放大所述目标窗口的尺寸还包括:According to the multi-window processing method of some real-time examples of the present invention, the enlarging the size of the target window according to the aspect ratio further includes:

获取全部窗口的总窗口边界;Get the total window bounds of all windows;

响应于放大后的所述目标窗口超过所述总窗口边界,将所述放大后的目标窗口移动到所述总窗口边界内。In response to the enlarged target window exceeding the total window boundary, the enlarged target window is moved within the total window boundary.

根据一些本发明实时例的多窗口处理方法,所述将所述目标窗口的所述窗口图层的图层值调整为使所述目标窗口置顶包括:According to the multi-window processing method of some real-time examples of the present invention, the adjusting the layer value of the window layer of the target window to make the target window top includes:

遍历各窗口的所述窗口图层的图层值;Iterating over the layer values of the window layer of each window;

比较所述各窗口的所述窗口图层的图层值后获得图层值最大值;以及Obtaining the maximum layer value after comparing the layer values of the window layers of the windows; and

将所述目标窗口的所述窗口图层的图层值更新为所述图层值最大值与第二预定值的和,所述第二预定值为正整数。updating the layer value of the window layer of the target window to the sum of the maximum value of the layer value and a second predetermined value, where the second predetermined value is a positive integer.

根据一些本发明实时例的多窗口处理方法,所述多窗口调整方法还包括:According to the multi-window processing method of some real-time examples of the present invention, the multi-window adjustment method further includes:

在目标窗口中显示第一控件;display the first control in the target window;

响应于所述第一控件被调用,将目标窗口置顶且不被实时更新的其他窗口覆盖。In response to the first control being invoked, the target window is brought to the top without being covered by other windows that are updated in real time.

根据一些本发明实时例的多窗口处理方法,所述在目标窗口中显示第一控件包括:According to the multi-window processing method of some real-time examples of the present invention, the displaying the first control in the target window includes:

在所述目标窗口中显示标题栏,在所述标题栏上显示第一控件。A title bar is displayed in the target window, and a first control is displayed on the title bar.

第二方面,本发明实施例提供一种多窗口调整系统,每个窗口用于显示一个信号源,述窗口调整系统包括:In a second aspect, an embodiment of the present invention provides a multi-window adjustment system, each window is used to display a signal source, and the window adjustment system includes:

服务器,其与指挥屏通过视频线连接,以及与信号源通信连接,服务器根据调度指令调整窗口布局以及在各窗口内绘制对应的信号源,并将绘制结果输出供指挥屏进行显示;The server is connected to the command screen through a video cable, and communicates with the signal source. The server adjusts the window layout and draws the corresponding signal source in each window according to the scheduling instructions, and outputs the drawing results for the command screen to display;

指挥屏,用于显示服务器输出的绘制结果;以及The command screen is used to display the rendering results output by the server; and

终端,其与服务器通信连接,用于执行上述权利要求1-7任一项所述的方法。A terminal, which is communicatively connected to the server, is used to execute the method described in any one of claims 1-7.

第三方面,本发明实施例提供一种窗口调整系统,每个窗口用于显示一个信号源,所述窗口调整系统包括:In a third aspect, an embodiment of the present invention provides a window adjustment system, each window is used to display a signal source, and the window adjustment system includes:

拼接处理器,其与信号源连接;a splicing processor connected to the signal source;

服务器,其与拼接处理器通信连接以及与信号源通信连接,服务器根据调度指令控制拼接处理器,以调整窗口布局以及在各窗口内绘制对应的信号源,并将绘制结果输出供拼接指挥屏进行显示;The server is connected in communication with the splicing processor and the signal source. The server controls the splicing processor according to the scheduling instructions to adjust the window layout and draw the corresponding signal source in each window, and output the drawing results for the splicing command screen. show;

拼接指挥屏,用于显示拼接处理器输出的绘制结果;以及a mosaic command screen for displaying the drawing results output by the mosaic processor; and

终端,其与服务器通信连接,用于执行上述任一项所述的方法。A terminal, which is communicatively connected to the server, is used to execute the method described in any one of the above.

第四方面本发明实施例提供一种计算机可读存储介质,用于存储计算机程序指令,所述计算机程序指令在被处理器执行时实现如权利要求1-8中任一项所述的方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer program instructions, and the computer program instructions implement the method according to any one of claims 1-8 when executed by a processor.

第五方面本发明实施例提供一种电子设备,包括存储器和处理器,所述存储器用于存储一条或多条计算机程序指令,其中,所述一条或多条计算机程序指令被所述处理器执行以实现上述任一项所述的方法。In the fifth aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor In order to realize the method described in any one of the above.

本发明实施例的技术方案通过每个窗口用于显示一个信号源,所述多窗口调整方法包括:实时获取各窗口的窗口信息和与各窗口关联的信号源,所述窗口信息包括窗口图层的图层值和窗口位置;根据所述窗口位置绘制各窗口以及根据所述窗口图层的图层值排列各窗口,并在所述各窗口中实时更新所述各窗口关联的信号源;将捕获到鼠标进入的一个窗口确定为目标窗口,获取所述目标窗口的窗口图层的初始图层值,以及将所述目标窗口的窗口图层的图层值调整为使所述目标窗口置顶;响应于鼠标离开所述目标窗口,将所述目标窗口的窗口图层的图层值恢复为初始图层值。由此,本发明实施例的多窗口调整方法使得可以实现对多个窗口的快速遍历和调取,提升对信号源的交互效率。In the technical solution of the embodiment of the present invention, each window is used to display a signal source, and the multi-window adjustment method includes: obtaining the window information of each window and the signal source associated with each window in real time, and the window information includes the window layer layer value and window position; draw each window according to the window position and arrange each window according to the layer value of the window layer, and update the signal source associated with each window in real time in each window; Capture a window entered by the mouse and determine it as the target window, obtain the initial layer value of the window layer of the target window, and adjust the layer value of the window layer of the target window to make the target window top; In response to the mouse leaving the target window, restoring the layer value of the window layer of the target window to the initial layer value. Therefore, the multi-window adjustment method of the embodiment of the present invention enables fast traversal and retrieval of multiple windows, and improves interaction efficiency with signal sources.

附图说明Description of drawings

通过以下参照附图对本发明实施例的描述,本发明的上述以及其它目的、特征和优点将更为清楚,在附图中:Through the following description of the embodiments of the present invention with reference to the accompanying drawings, the above and other objects, features and advantages of the present invention will be more clear, in the accompanying drawings:

图1a是根据本发明一些实施例的多窗口调整系统的示意图;Figure 1a is a schematic diagram of a multi-window adjustment system according to some embodiments of the present invention;

图1b是根据本发明一些实施例的多窗口调整系统的示意图;Figure 1b is a schematic diagram of a multi-window adjustment system according to some embodiments of the present invention;

图2是根据本发明一些实施例的多窗口调整方法的流程图;Fig. 2 is a flowchart of a multi-window adjustment method according to some embodiments of the present invention;

图3是根据本发明一些实施例的窗口调整装置的示意图;3 is a schematic diagram of a window adjustment device according to some embodiments of the present invention;

图4是根据本发明一些实施例的电子设备的示意图。FIG. 4 is a schematic diagram of an electronic device according to some embodiments of the invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments.

此外,本领域普通技术人员应当理解,在此提供的附图都是为了说明的目的,并且附图不一定是按比例绘制的。Additionally, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.

除非上下文明确要求,否则在说明书的“包括”、“包含”等类似词语应当解释为包含的含义而不是排他或穷举的含义;也就是说,是“包括但不限于”的含义。Unless the context clearly requires, the words "including", "including" and similar words in the description should be interpreted as inclusive rather than exclusive or exhaustive; that is, "including but not limited to".

在本发明的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

图1a是根据本发明的一些实施例的多窗口调整系统的示意图。Figure 1a is a schematic diagram of a multi-window adjustment system according to some embodiments of the present invention.

如图1a所示,根据本发明的一些实施例的多窗口(所述窗口也称信号源窗口)调整系统包括:拼接指挥屏(简称指挥屏)10、服务器20和终端40。拼接指挥屏用于显示窗口以及在所述窗口内显示对应的信号源。As shown in FIG. 1 a , the multi-window (the window is also called signal source window) adjustment system according to some embodiments of the present invention includes: a mosaic command screen (command screen for short) 10 , a server 20 and a terminal 40 . The mosaic command screen is used to display windows and display corresponding signal sources in the windows.

根据本发明的一些实施例的服务器20可以是一台服务器、也可以是服务器集群,还可以是云服务器。The server 20 according to some embodiments of the present invention may be a server, a server cluster, or a cloud server.

服务器20与信号源通信连接,例如通过网络连接,具体地,服务器20能够接收信号源210、信号源211……信号源n等。服务器20接收指令接收设备(未示出)解析的调度指令或者可以接收其他来自网络的指令。指令接收设备用于解析调度指令,包括:鼠标、键盘、体感传感器、触控设备、激光设备、语音转换设备、可穿戴设备等。服务器20与指挥屏10通过视频线连接,服务器20根据调度指令调整窗口布局,以及在各窗口内绘制对应的信号源210、211,并将绘制结果输出供指挥屏10进行显示。所述调整窗口布局包括调整各窗口在指挥屏上的大小、位置和叠放次序等。根据本发明的一些实施例,服务器20可以包括拼接处理器21,服务器根据调度指令控制拼接处理器21,以控制指挥屏10上各窗口的呈现方式,以及使信号源210、211在对应的窗口内显示。根据本发明的一些实施例,所述拼接处理器可以以软件的方式运行在服务器中,或者也可以以硬件的方式存在。The server 20 is communicatively connected to the signal source, for example, through a network connection. Specifically, the server 20 can receive the signal source 210 , the signal source 211 . . . the signal source n and so on. The server 20 receives scheduling instructions parsed by an instruction receiving device (not shown) or may receive other instructions from the network. The instruction receiving device is used to analyze and dispatch instructions, including: mouse, keyboard, somatosensory sensor, touch device, laser device, voice conversion device, wearable device, etc. The server 20 is connected to the command screen 10 through a video cable. The server 20 adjusts the window layout according to the scheduling instructions, draws the corresponding signal sources 210 and 211 in each window, and outputs the drawing results for the command screen 10 to display. The adjusting the window layout includes adjusting the size, position and stacking order of each window on the command screen. According to some embodiments of the present invention, the server 20 may include a splicing processor 21, and the server controls the splicing processor 21 according to scheduling instructions to control the presentation of each window on the command screen 10, and make the signal sources 210, 211 in the corresponding window displayed. According to some embodiments of the present invention, the splicing processor may run in the server in the form of software, or may also exist in the form of hardware.

终端40与服务器20通信连接,例如通过网络连接,用于获取服务器20中的窗口信息,以及各窗口对应的信号源信息,以使得终端上的窗口以及窗口内显示的信号源与指挥屏10保持同步。当服务器20根据指令接收设备解析的调度指令调整窗口布局时,终端40需要与服务器20建立连接,并接收服务器20上的窗口布局信息,使终端40的各窗口与指挥屏10上的各窗口保持同步,同时使各信号源输出到相应的窗口中。The terminal 40 communicates with the server 20, for example, through a network connection, and is used to obtain window information in the server 20 and signal source information corresponding to each window, so that the windows on the terminal and the signal sources displayed in the windows are maintained with the command screen 10. Synchronize. When the server 20 adjusts the window layout according to the scheduling instruction analyzed by the instruction receiving device, the terminal 40 needs to establish a connection with the server 20, and receive the window layout information on the server 20, so that each window of the terminal 40 and each window on the command screen 10 maintain Synchronize and make each signal source output to the corresponding window at the same time.

终端40也能够独立地对窗口进行交互,如下文将要继续描述的。The terminal 40 can also independently interact with the windows, as will be described further below.

图1b是根据本发明的一些实施例的多窗口交互系统的示意图,该多窗口交互系统包括:拼接指挥屏10'、服务器20'、终端40'和拼接处理器21'。此处的拼接指挥屏可以包括多块小的显示屏幕,或者也可以为一整块大屏幕。Fig. 1b is a schematic diagram of a multi-window interactive system according to some embodiments of the present invention, the multi-window interactive system includes: a splicing command screen 10', a server 20', a terminal 40' and a splicing processor 21'. The splicing command screen here may include multiple small display screens, or may be a whole large screen.

根据本发明的一些实施例的服务器20'可以是一台服务器、也可以是服务器集群,还可以是云服务器。The server 20' according to some embodiments of the present invention may be a server, a server cluster, or a cloud server.

终端40'可以是手机、平板电脑、多媒体播放器、可穿戴设备、个人计算机等电子设备。The terminal 40' may be an electronic device such as a mobile phone, a tablet computer, a multimedia player, a wearable device, and a personal computer.

拼接处理器21'与信号源连接,例如通过图示交换机连接,或者可以通过视频线连接。The splicing processor 21' is connected to the signal source, for example, through a switch as shown, or may be connected through a video cable.

服务器20'通过交换机50与信号源连接,能够接收信号源210'、信号源211'……信号源n'等。服务器20'接收指令接收设备(未示出)解析的调度指令或者可以接收其他来自网络的指令。指令接收设备用于解析调度指令,包括:鼠标、键盘、体感传感器、触控设备、激光设备、语音转换设备、可穿戴设备等。The server 20' is connected to the signal source through the switch 50, and can receive the signal source 210', the signal source 211'...the signal source n' and so on. The server 20' receives the scheduling instruction parsed by the instruction receiving device (not shown) or may receive other instructions from the network. The instruction receiving device is used to analyze and dispatch instructions, including: mouse, keyboard, somatosensory sensor, touch device, laser device, voice conversion device, wearable device, etc.

服务器20'与拼接处理器21'通信连接,如,服务器20'通过交换机50与拼接处理器21'连接,服务器20'可以根据调度指令控制拼接处理器21',以调整窗口布局以及在各窗口内绘制对应的信号源并将绘制结果输出供拼接指挥屏进行显示。所述调整窗口布局包括调整各窗口在指挥屏上的大小、位置和叠放次序等。The server 20' is connected to the splicing processor 21' in communication. For example, the server 20' is connected to the splicing processor 21' through the switch 50, and the server 20' can control the splicing processor 21' according to the scheduling instruction to adjust the layout of the windows and to adjust the layout of the windows in each window. Draw the corresponding signal source and output the drawing result for display on the splicing command screen. The adjusting the window layout includes adjusting the size, position and stacking order of each window on the command screen.

拼接指挥屏10'用于显示拼接处理器21'输出的绘制结果。The splicing command screen 10' is used to display the drawing result output by the splicing processor 21'.

终端40'与服务器20'通信连接,如,终端40'通过交换机50与服务器20'连接,获取服务器20'中的窗口布局信息,以及各窗口对应的信号源信息,以使得终端上的窗口以及窗口内显示的信号源与指挥屏10'保持同步。当服务器20'根据指令接收设备解析的调度指令控制拼接处理器21',以调整窗口布局时,终端40'需要与服务器20'建立连接,并接收服务器20'上的窗口布局信息,使终端40'的各窗口与指挥屏10'上的各窗口保持同步,同时使各信号源输出到相应的窗口中。The terminal 40' communicates with the server 20', for example, the terminal 40' is connected to the server 20' through the switch 50, and obtains the window layout information in the server 20' and the signal source information corresponding to each window, so that the windows on the terminal and The signal source displayed in the window is synchronized with the command panel 10'. When the server 20' controls the splicing processor 21' according to the dispatching instruction parsed by the instruction receiving device to adjust the window layout, the terminal 40' needs to establish a connection with the server 20' and receive the window layout information on the server 20' so that the terminal 40 Each window of ' is synchronized with each window on the command screen 10', and at the same time, each signal source is output to the corresponding window.

终端40'也能够独立地对窗口进行交互,例如,根据本发明的一些实施例,终端40'能独立对窗口进行处理,如下文将要继续描述的。The terminal 40' can also independently interact with the windows. For example, according to some embodiments of the present invention, the terminal 40' can independently process the windows, as will be described further below.

图2是根据本发明的一些实施例的多窗口调整方法的流程图。Fig. 2 is a flowchart of a multi-window adjustment method according to some embodiments of the present invention.

参照图2,根据本发明的一些实施例的多窗口调整方法包括步骤1000、步骤1001、步骤1002和步骤1003,在终端上执行。Referring to Fig. 2, the multi-window adjustment method according to some embodiments of the present invention includes step 1000, step 1001, step 1002 and step 1003, and is executed on a terminal.

步骤1000,实时获取各窗口的窗口信息和与各窗口关联的信号源。In step 1000, the window information of each window and the signal source associated with each window are obtained in real time.

具体地,根据本发明的一些实施例,实时获取各窗口的窗口信息,其中,所述窗口信息包括窗口图层的图层值和窗口位置;以及实时获取与各窗口关联的信号源。以使本发明实施例的终端上的各窗口与服务器的各窗口保持同步。Specifically, according to some embodiments of the present invention, the window information of each window is acquired in real time, wherein the window information includes the layer value of the window layer and the position of the window; and the signal source associated with each window is acquired in real time. Each window on the terminal in the embodiment of the present invention is synchronized with each window of the server.

步骤1002,根据所述窗口位置绘制各窗口以及根据所述窗口图层的图层值排列各窗口,并在所述各窗口中实时更新所述各窗口关联的信号源。对于网络流信号形式的信号源,可以在所述各窗口中实时更新对所述信号源解码后的视频流。Step 1002, drawing each window according to the window position and arranging each window according to the layer value of the window layer, and updating the signal source associated with each window in each window in real time. For a signal source in the form of a network stream signal, the decoded video stream of the signal source may be updated in real time in each of the windows.

具体地,终端根据窗口位置对各窗口进行绘制。例如,通过各窗口的窗口位置在一个总窗口的边界内对各窗口进行绘制。根据本发明的一些实施例,根据窗口位置对窗口进行绘制,其中,窗口位置包括:左上顶点、长度和宽度。Specifically, the terminal draws each window according to the window position. For example, each window is drawn within the boundaries of a general window by its window position. According to some embodiments of the present invention, the window is drawn according to the window position, wherein the window position includes: upper left vertex, length and width.

表1是各窗口位置的示意。Table 1 is a schematic diagram of the positions of each window.

窗口window 左上顶点upper left vertex 宽度width 长度length 窗口101windows 101 X1,y1X1,y1 W1W1 H1H1 窗口102windows 102 X2,y2X2,y2 W2W2 H2H2 窗口103windows 103 X3,y3X3,y3 W3W3 H3H3

表1Table 1

通过表1中的窗口位置,能够在一个总窗口的边界内绘制出窗口101、窗口102和窗口103。终端40在对各窗口进行绘制时,还根据获取的窗口图层的图层值调整各窗口之间的叠放次序。表2是各窗口的窗口图层的图层值的示意。Through the window positions in Table 1, the window 101, the window 102 and the window 103 can be drawn within the boundary of a general window. When drawing each window, the terminal 40 also adjusts the stacking order of each window according to the acquired layer value of the window layer. Table 2 is an illustration of the layer values of the window layer of each window.

窗口window 窗口图层window layer 窗口101windows 101 L1L1 窗口102windows 102 L2L2 窗口103windows 103 L3L3

表2Table 2

终端比较各窗口的窗口图层的图层值后,根据图层值由大到小对各窗口排列,并在所述各窗口中实时更新对所述各窗口关联的信号源解码后的视频流。根据本发明其他实施例,终端比较各窗口的窗口图层的图层值后,根据图层值由小到大对各窗口排列,并在所述各窗口中实时更新对所述各窗口关联的信号源解码后的视频流。根据表1,各窗口的位置可能存在重叠也可能不存在重叠。对于存在重叠的情况包括完全重叠或者部分重叠。After comparing the layer values of the window layers of each window, the terminal arranges each window according to the layer value from large to small, and updates the decoded video stream of the signal source associated with each window in each window in real time . According to other embodiments of the present invention, after comparing the layer values of the window layers of each window, the terminal arranges each window according to the layer value from small to large, and updates the information associated with each window in each window in real time. The decoded video stream of the signal source. According to Table 1, the positions of the windows may or may not overlap. The case of overlap includes complete overlap or partial overlap.

存在重叠情况时,根据表2,由于存在重叠的窗口之间的窗口图层的图层值不同,图层值越高显示越靠前。根据其他一些本发明实施例的窗口调整方法,图层值越高显示越靠后。后续以图层值越高显示越靠前为例进行说明。When there is an overlap, according to Table 2, because the layer values of the window layers between overlapping windows are different, the higher the layer value, the higher the display. According to other window adjustment methods in some other embodiments of the present invention, the higher the layer value, the more backward the display is. In the following, the higher the layer value, the higher the display will be described as an example.

步骤1003,将捕获到鼠标进入的一个窗口确定为目标窗口,获取所述目标窗口的窗口图层的初始图层值,以及将所述目标窗口的窗口图层的图层值调整为使所述目标窗口置顶。Step 1003, determining a window captured by the mouse as the target window, obtaining the initial layer value of the window layer of the target window, and adjusting the layer value of the window layer of the target window so that the The target window is set to the top.

具体地,将捕获到鼠标进入的一个窗口确定为目标窗口,通过这种方法可以快速地选定目标窗口。例如,窗口103捕获到鼠标进入,则将窗口103作为目标窗口。以及将目标窗口的窗口图层的图层值调整为使所述目标窗口置顶。根据一些本发明实施例的多窗口调整方法,步骤1003包括三个子步骤,分别是步骤10031、步骤10032和步骤10033。Specifically, a window captured by the mouse is determined as the target window, and the target window can be quickly selected by this method. For example, if window 103 captures mouse entry, then window 103 is used as the target window. And adjust the layer value of the window layer of the target window to make the target window stay on top. According to the multi-window adjustment method of some embodiments of the present invention, step 1003 includes three sub-steps, namely step 10031 , step 10032 and step 10033 .

步骤10031,遍历各窗口的所述窗口图层的图层值。Step 10031, traverse the layer values of the window layer of each window.

具体地,获取各窗口的窗口图层的图层值,各窗口图层的图层值具体请参考表1。Specifically, the layer value of the window layer of each window is obtained, and for the layer value of each window layer, please refer to Table 1.

步骤10032,比较所述各窗口的所述窗口图层的图层值后获得图层值最大值。具体地,对各窗口的窗口图层的图层之比较后获得图层值最大值。例如,根据表1,假设L2>L1>L3,那么图层值最大值就是L2。Step 10032, comparing the layer values of the window layers of the windows to obtain the maximum layer value. Specifically, the maximum value of the layer value is obtained after comparing the layers of the window layers of each window. For example, according to Table 1, assuming L2>L1>L3, then the maximum layer value is L2.

步骤10033,将所述目标窗口的所述窗口图层的图层值更新为所述图层值最大值与第二预定值的和,所述第二预定值为正整数。Step 10033, update the layer value of the window layer of the target window to the sum of the maximum value of the layer value and a second predetermined value, where the second predetermined value is a positive integer.

具体地,将目标窗口的所述窗口图层的图层值更新为所述图层值最大值与第二预定值的和,例如将目标窗口的窗口图层的图层值更新为L2+1,在本实施例中预定值为1。也即将窗口103的窗口图层的图层值由初始值L3调整为L2+1。根据一些本发明实施例的多窗口调整方法,预定值为正整数,在本实施例中仅仅以预定值为1作为示意,实际中可以根据情况进行调整。Specifically, update the layer value of the window layer of the target window to the sum of the maximum value of the layer value and a second predetermined value, for example, update the layer value of the window layer of the target window to L2+1 , the predetermined value is 1 in this embodiment. That is to say, the layer value of the window layer of window 103 is adjusted from the initial value L3 to L2+1. According to the multi-window adjustment method of some embodiments of the present invention, the predetermined value is a positive integer. In this embodiment, the predetermined value is only 1 as an illustration, and it can be adjusted according to the actual situation.

通过上述步骤使得目标窗口的窗口图层的图层值大于其他窗口的窗口图层的图层值,由此将目标窗口置顶。也就说,经过步骤10033,目标窗口103的图层值已经调整为L2+1,其大于窗口101和窗口102的图层值,由此,窗口103置顶。Through the above steps, the layer value of the window layer of the target window is greater than the layer value of the window layers of other windows, thereby bringing the target window to the top. That is to say, after step 10033, the layer value of the target window 103 has been adjusted to L2+1, which is greater than the layer values of window 101 and window 102, thus, window 103 is placed on top.

根据一些本发明实施例的多窗口调整方法,将捕获到鼠标进入的一个窗口确定为目标窗口后,所述窗口调整方法还包括将所述目标窗口放大。也就是说,在将目标窗口置顶之后还将目标窗口放大,从而为目标窗口在终端上提供更大的显示区域。According to the multi-window adjustment method in some embodiments of the present invention, after determining a window captured by the mouse as the target window, the window adjustment method further includes enlarging the target window. That is to say, after the target window is brought to the top, the target window is enlarged, so as to provide a larger display area for the target window on the terminal.

根据一些本发明实施例的多窗口调整方法,将目标窗口放大时保持目标窗口的长宽比。具体地,将目标窗口放大包括三个子步骤,分别是步骤10034、步骤10035和步骤10036。According to the multi-window adjustment method of some embodiments of the present invention, the aspect ratio of the target window is maintained when the target window is enlarged. Specifically, enlarging the target window includes three sub-steps, namely step 10034, step 10035 and step 10036.

步骤10034,获取所述目标窗口的窗口长度和窗口宽度的初始值作为初始长度和初始宽度。Step 10034, acquire the initial values of the window length and window width of the target window as the initial length and initial width.

继续以窗口103作为目标窗口为例,获取窗口103的窗口长度和窗口宽度的初始值作为初始长度和初始宽度。根据表1,窗口103的初始长度是L3,初始宽度是w3。Continuing to take window 103 as the target window as an example, the initial values of the window length and window width of window 103 are obtained as the initial length and initial width. According to Table 1, the initial length of the window 103 is L3, and the initial width is w3.

步骤10035,将所述初始长度与所述初始宽度比较后的较大者与预定义的第一预定值进行比较。Step 10035, comparing the larger of the initial length and the initial width with a predefined first predetermined value.

具体地,以第一预定值T1为例进行说明。例如,先将L3和W3做比较,假定W3大于L3,也即W3是较大者。Specifically, the first predetermined value T1 is taken as an example for description. For example, compare L3 and W3 first, assuming that W3 is greater than L3, that is, W3 is the larger one.

步骤10036,响应于所述初始长度与所述初始宽度比较后的较大者小于第一预定值,将所述窗口长度与所述窗口宽度的较大者调整为第一预定值,并根据初始长度和初始宽度计算长宽比,按所述长宽比放大所述目标窗口的窗口长度或窗口宽度。Step 10036, in response to the larger of the initial length and the initial width being smaller than a first predetermined value, adjusting the larger of the window length and the window width to a first predetermined value, and according to the initial An aspect ratio is calculated from the length and the initial width, and the window length or window width of the target window is enlarged according to the aspect ratio.

具体地,较大者W3仍然小于第一预定值T1时,将窗口宽度调整为第一预定值T1,也即,将窗口103的窗口宽度调整为T1。Specifically, when the larger W3 is still smaller than the first predetermined value T1, the window width is adjusted to the first predetermined value T1, that is, the window width of the window 103 is adjusted to T1.

接下来,根据初始长度和初始宽度计算长宽比,按所述长宽比放大所述目标窗口的窗口长度或窗口宽度。Next, the aspect ratio is calculated according to the initial length and the initial width, and the window length or window width of the target window is enlarged according to the aspect ratio.

例如,首先计算初始长度和初始宽度的长宽比,根据步骤10034,窗口103的初始长度是L3,初始宽度是w3,则长宽比k=l3/w3。For example, first calculate the aspect ratio of the initial length and initial width, according to step 10034, the initial length of the window 103 is L3, the initial width is w3, then the aspect ratio k=l3/w3.

按长宽比放大所述目标窗口的窗口长度或窗口宽度,也即将窗口长度调整为k*T1。由此使得目标窗口放大后保持长宽比。The window length or window width of the target window is enlarged according to the aspect ratio, that is, the window length is adjusted to k*T1. In this way, the aspect ratio is maintained after the target window is enlarged.

根据一些本发明实施例的多窗口调整方法,所述按长宽比放大所述目标窗口的尺寸还包括两个子步骤,分别是步骤10037和步骤10038:According to the multi-window adjustment method of some embodiments of the present invention, the enlarging the size of the target window according to the aspect ratio further includes two sub-steps, namely step 10037 and step 10038:

步骤10037,获取全部窗口的总窗口边界。Step 10037, obtain the total window boundaries of all windows.

步骤10038,响应于放大后的所述目标窗口超过所述总窗口边界,将所述放大后的目标窗口移动到所述总窗口边界内。Step 10038, in response to the enlarged target window exceeding the boundary of the total window, move the enlarged target window into the boundary of the total window.

具体地,如果放大后的所述目标窗口超过所述总窗口边界,将放大后的目标窗口移动到所述总窗口边界内。Specifically, if the enlarged target window exceeds the boundary of the total window, move the enlarged target window into the boundary of the total window.

根据本发明的多窗口调整方法的一些实施例,所述在目标窗口中显示第一控件,具体地,在所述目标窗口中显示标题栏,在所述标题栏上显示第一控件。According to some embodiments of the multi-window adjustment method of the present invention, the displaying the first control in the target window is specifically displaying a title bar in the target window, and displaying the first control on the title bar.

根据本发明的多窗口调整方法的一些实施例,响应于所述第一控件被调用,将目标窗口置顶且不被实时更新的其他窗口覆盖。也就是说,终端为了获取与服务器实时同步的窗口,每间隔一个预定的时间周期与服务器同步各窗口的窗口信息和与各窗口关联的信号源,其中窗口信息包括窗口图层的图层值和窗口位置。在一个预定的时间周期内,服务器响应调度指令或调整指令对各窗口的窗口信息和与各窗口关联的信号源进行了调整。终端接收到调整后的各窗口的窗口信息和与各窗口关联的信号源发生了改变,为了让使用者能够继续将目标窗口置顶,在目标窗口中显示第一控件,响应于第一控件被调用,将目标窗口置顶且不被实时更新的其他窗口覆盖。According to some embodiments of the multi-window adjustment method of the present invention, in response to the first control being invoked, the target window is set to the top and is not covered by other windows that are updated in real time. That is to say, in order to obtain windows synchronized with the server in real time, the terminal synchronizes the window information of each window and the signal source associated with each window with the server at intervals of a predetermined time period, wherein the window information includes the layer value of the window layer and window position. Within a predetermined time period, the server adjusts the window information of each window and the signal source associated with each window in response to the scheduling instruction or adjustment instruction. The terminal receives the adjusted window information of each window and the signal source associated with each window has changed. In order to allow the user to continue to put the target window on top, the terminal displays the first control in the target window. In response to the first control being called , put the target window on top and not be covered by other windows that are updated in real time.

步骤1004,响应于鼠标离开所述目标窗口,将所述目标窗口的窗口图层的图层值恢复为初始图层值。Step 1004, in response to the mouse leaving the target window, restore the layer value of the window layer of the target window to the initial layer value.

根据本发明的多窗口调整方法的一些实施例,响应于鼠标离开目标窗口,将目标窗口的窗口图层的图层值恢复为初始图层值包括:获取目标窗口的初始图层值,将放大后的目标窗口的图层值恢复为初始图层值。具体地,根据步骤1003已经获取了目标窗口的初始图层值,并且在步骤1003中对目标窗的窗口图层的图层值进行了调整。在步骤1004中,响应于鼠标离开目标窗口,将目标窗口的窗口图层的图层值恢复为初始图层值。仍以窗口103是目标窗口为例,在步骤1003中窗口103的图层值被调整为L2+1,当鼠标离开窗口103时,将窗口103的图层值调整为初始图层值L3。According to some embodiments of the multi-window adjustment method of the present invention, in response to the mouse leaving the target window, restoring the layer value of the window layer of the target window to the initial layer value includes: obtaining the initial layer value of the target window, zooming in After the layer value of the target window is restored to the initial layer value. Specifically, according to step 1003, the initial layer value of the target window has been obtained, and in step 1003, the layer value of the window layer of the target window is adjusted. In step 1004, in response to the mouse leaving the target window, the layer value of the window layer of the target window is restored to the initial layer value. Still taking window 103 as the target window as an example, the layer value of window 103 is adjusted to L2+1 in step 1003, and when the mouse leaves window 103, the layer value of window 103 is adjusted to the initial layer value L3.

根据本发明的多窗口调整方法的一些实施例,窗口调整方法还包括获取目标窗口的初始长度和初始宽度,将放大后的目标窗口恢复到初始长度和初始宽度,以恢复目标窗口的初始窗口和初始宽度。以窗口103为例,通过步骤1004将窗口103的长度恢复为L3,宽度恢复为W3。According to some embodiments of the multi-window adjustment method of the present invention, the window adjustment method further includes obtaining the initial length and initial width of the target window, restoring the enlarged target window to the initial length and initial width, so as to restore the initial window and initial width of the target window initial width. Taking window 103 as an example, the length of window 103 is restored to L3 and the width is restored to W3 through step 1004 .

图3是根据本发明一些实施例的窗口调整装置的示意图。FIG. 3 is a schematic diagram of a window adjustment device according to some embodiments of the present invention.

本发明的窗口调整装置包括:获取装置401、绘制装置402、第一确定装置403和第二确定装置404。The window adjustment device of the present invention includes: an obtaining device 401 , a rendering device 402 , a first determining device 403 and a second determining device 404 .

获取装置401,用于实时获取各窗口的窗口信息和与各窗口关联的信号源,所述窗口信息包括窗口图层的图层值和窗口位置;The obtaining means 401 is used to obtain window information of each window and a signal source associated with each window in real time, the window information including the layer value and window position of the window layer;

绘制装置402,用于根据所述窗口位置绘制各窗口以及根据所述窗口图层的图层值排列各窗口,并在所述各窗口中实时更新对所述各窗口关联的信号源解码后的视频流;The drawing device 402 is configured to draw each window according to the window position and arrange each window according to the layer value of the window layer, and update the decoded signal source associated with each window in each window in real time video streaming;

第一确定装置403,用于将捕获到鼠标进入的一个窗口确定为目标窗口,获取所述目标窗口的窗口图层的初始图层值,以及将所述目标窗口的窗口图层的图层值调整为使所述目标窗口置顶;The first determining means 403 is configured to determine a window captured by the mouse as the target window, obtain the initial layer value of the window layer of the target window, and set the layer value of the window layer of the target window adjusted to make the target window top;

第二确定装置404,用于响应于鼠标离开所述目标窗口,将所述目标窗口的窗口图层的图层值恢复为初始图层值。The second determining means 404 is configured to restore the layer value of the window layer of the target window to the initial layer value in response to the mouse leaving the target window.

图4是根据本发明一些实施例的电子设备的示意图。FIG. 4 is a schematic diagram of an electronic device according to some embodiments of the invention.

如图4所示的电子设备4包括通用的硬件结构,以执行本发明实施例的多窗口调整方法,其至少包括处理器41和存储器42。处理器41和存储器42通过总线43连接。存储器42用于存储可执行的多窗口调整方法的指令或程序。处理器41可以是独立的微处理器,也可以是一个或者多个微处理器集合。由此,处理器41通过执行存储器42所存储的多窗口调整方法的指令,从而执行如上所述的本发明实施例的多窗口调整方法实现对于多窗口的处理。总线43将上述多个组件连接在一起,同时将上述组件连接到显示控制器44和显示装置以及输入/输出(I/O)装置45。输入/输出(I/O)装置45可以是鼠标、键盘、调制解调器、网络接口、触控输入装置、体感输入装置、打印机以及本领域公知的其他装置。典型地,输入/输出装置45通过输入/输出(I/O)控制器46与系统相连。The electronic device 4 shown in FIG. 4 includes a general hardware structure to execute the multi-window adjustment method of the embodiment of the present invention, which at least includes a processor 41 and a memory 42 . The processor 41 and the memory 42 are connected via a bus 43 . The memory 42 is used to store executable instructions or programs of the multi-window adjustment method. Processor 41 may be an independent microprocessor, or a collection of one or more microprocessors. Thus, the processor 41 executes the instructions of the multi-window adjustment method stored in the memory 42 to execute the multi-window adjustment method of the embodiment of the present invention as described above to realize the multi-window processing. The bus 43 connects the above-mentioned various components together, and also connects the above-mentioned components to a display controller 44 and a display device and an input/output (I/O) device 45 . The input/output (I/O) device 45 may be a mouse, a keyboard, a modem, a network interface, a touch input device, a motion input device, a printer, and other devices known in the art. Typically, input/output devices 45 are connected to the system through input/output (I/O) controllers 46 .

本领域的技术人员应明白,本申请的实施例可提供方法、装置(设备)或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可读存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品。Those skilled in the art should understand that the embodiments of the present application may provide methods, devices (device) or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may employ a computer program product embodied on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、装置(设备)和计算机程序产品的流程图来描述的。应理解可由计算机程序指令实现流程图中的每一流程。The present application is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each procedure in the flowcharts can be implemented by computer program instructions.

这些计算机程序指令可以存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现流程图一个流程或多个流程中指定的功能。These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising instruction means, the instruction means Implement the functions specified in one or more processes of the flowchart.

也可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程中指定的功能的装置。These computer program instructions may also be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that instructions executed by the processor of the computer or other programmable data processing equipment produce Means for implementing the functions specified in one or more procedures of the flowchart.

本发明的另一实施例涉及一种非易失性可读存储介质,用于存储计算机可读程序,所述计算机可读程序用于供计算机执行上述部分或全部方法的实施例。Another embodiment of the present invention relates to a non-volatile readable storage medium for storing a computer-readable program, and the computer-readable program is used for a computer to execute part or all of the above-mentioned method embodiments.

即,本领域技术人员可以理解,实现上述实施例的方法中的全部或部分步骤是可以通过程序来指定相关的硬件来完成,该程序存储在一个可读存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各实施例所述方法的全部或部分步骤。而前述的可读存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method for implementing the above embodiments can be completed by specifying relevant hardware through a program, the program is stored in a readable storage medium, and includes several instructions for making A device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) executes all or part of the steps of the methods described in the embodiments of the present application. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc., which can store program codes. medium.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the technical scope disclosed in the present invention. Modifications or replacements shall all fall within the protection scope of the present invention.

Claims (8)

1. A multi-window adjustment system, each window for displaying a signal source, the multi-window adjustment system comprising:
the server is connected with the command screen through a video line and is in communication connection with the signal sources, adjusts the window layout according to the scheduling instruction, draws the corresponding signal sources in each window, and outputs the drawing result to the command screen for display;
the command screen is used for displaying the drawing result output by the server; and
a terminal having a display device, communicatively connected to the server, and configured to perform a multi-window adjustment method, the multi-window adjustment method including:
acquiring window information of each window and a signal source related to each window in real time from the server, wherein the window information comprises a graph layer value and a window position of a window layer;
drawing each window according to the window position, arranging each window according to the layer value of the window layer, and updating the signal source associated with each window in real time in each window;
determining a window captured to enter a mouse as a target window, acquiring an initial layer value of a window layer of the target window, and adjusting the layer value of the window layer of the target window to enable the target window to be set on top;
responding to the fact that a mouse leaves the target window, and restoring the layer value of the window layer of the target window to be an initial layer value;
wherein, after determining a window into which a mouse is captured as a target window, the multi-window adjusting method further comprises: and amplifying the target window.
2. A multi-window adjustment system, each window for displaying a signal source, the multi-window adjustment system comprising:
the splicing processor is connected with the signal source;
the server is in communication connection with the splicing processor and the signal sources, controls the splicing processor according to the scheduling instruction to adjust the window layout and draw the corresponding signal sources in each window, and outputs the drawing result to be displayed by the splicing command screen;
the splicing command screen is used for displaying the drawing result output by the splicing processor; and
a terminal having a display device, communicatively connected to the server, and configured to perform a multi-window adjustment method, the multi-window adjustment method including:
acquiring window information of each window and a signal source related to each window in real time from the server, wherein the window information comprises a graph layer value and a window position of a window layer;
drawing each window according to the window position, arranging each window according to the layer value of the window layer, and updating the signal source related to each window in real time in each window;
determining a window captured into a mouse as a target window, acquiring an initial graph layer value of a window graph layer of the target window, and adjusting the graph layer value of the window graph layer of the target window to enable the target window to be set at the top;
responding to the fact that a mouse leaves the target window, and restoring the layer value of the window layer of the target window to be an initial layer value;
wherein, after determining a window into which a mouse is captured as a target window, the multi-window adjusting method further comprises: and amplifying the target window.
3. The multi-window adjustment system according to claim 1 or 2, wherein after determining a window into which a mouse is captured as a target window, the multi-window adjustment method further comprises:
acquiring initial values of the window length and the window width of the target window as an initial length and an initial width;
comparing the greater of the initial length and the initial width with a predefined first predetermined value;
in response to the larger of the initial length and the initial width being smaller than a first predetermined value, adjusting the larger of the window length and the window width to the first predetermined value, calculating an aspect ratio according to the initial length and the initial width, and enlarging the window length or the window width of the target window according to the aspect ratio.
4. The multi-window adjustment system according to claim 3, wherein the restoring layer values of the target window to the initial layer values in response to the mouse leaving the target window comprises:
acquiring an initial graph layer value of a target window;
restoring the layer value of the amplified target window to an initial layer value;
the multi-window adjustment method further comprises:
acquiring the initial length and the initial width of a target window;
and restoring the enlarged target window to the initial length and the initial width.
5. The multi-window adjustment system of claim 3, wherein the aspect ratio enlarging the size of the target window further comprises:
acquiring the total window boundary of all windows;
in response to the enlarged target window exceeding the overall window boundary, moving the enlarged target window into the overall window boundary.
6. The multi-window adjustment system according to claim 1 or 2, wherein the adjusting layer values of the window layers of the target window to set the target window to the top comprises:
traversing the graph layer value of the window graph layer of each window;
comparing the layer values of the window layers of the windows to obtain the maximum value of the layer values; and
and updating the layer value of the window layer of the target window to be the sum of the maximum value of the layer value and a second preset value, wherein the second preset value is a positive integer.
7. The multi-window adjustment system according to claim 1 or 2, wherein the multi-window adjustment method further comprises:
displaying a first control in a target window;
in response to the first control being invoked, the target window is set top and not covered by other windows that are updated in real-time.
8. The multi-window adjustment system of claim 7, wherein said displaying a first control in a target window comprises:
and displaying a title bar in the target window, and displaying a first control on the title bar.
CN202110481525.1A 2021-04-30 2021-04-30 Multi-window adjusting method, system, readable storage medium and electronic equipment Active CN113312125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110481525.1A CN113312125B (en) 2021-04-30 2021-04-30 Multi-window adjusting method, system, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110481525.1A CN113312125B (en) 2021-04-30 2021-04-30 Multi-window adjusting method, system, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113312125A CN113312125A (en) 2021-08-27
CN113312125B true CN113312125B (en) 2022-11-25

Family

ID=77371378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110481525.1A Active CN113312125B (en) 2021-04-30 2021-04-30 Multi-window adjusting method, system, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113312125B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114443192B (en) * 2021-12-27 2024-04-26 天翼云科技有限公司 Multi-window virtual application method and device based on cloud desktop
CN114968004A (en) * 2022-05-17 2022-08-30 统信软件技术有限公司 Window processing method, computing device and readable storage medium
CN117492677A (en) * 2023-10-31 2024-02-02 北京仁光科技有限公司 Signal source display window control method, device, equipment and media on Android
US20250173056A1 (en) * 2023-11-23 2025-05-29 Shanghai Tosun Technology Ltd. Signal tracking and observation method, computer readable storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202647A (en) * 2014-08-08 2014-12-10 深圳市同洲电子股份有限公司 Display method and device of window
CN105630282A (en) * 2014-11-20 2016-06-01 三星电子株式会社 Device for resizing window, and method of controlling the device to resize window
CN105786301A (en) * 2014-12-23 2016-07-20 阿里巴巴集团控股有限公司 Method and device for switching display objects in multi-window system
CN108984685A (en) * 2018-06-29 2018-12-11 天津字节跳动科技有限公司 A kind of method and device of automatic display file catalogue
CN109582182A (en) * 2017-10-20 2019-04-05 北京仁光科技有限公司 Multi signal window touch control method, equipment, system and computer readable storage medium
CN111930432A (en) * 2020-07-29 2020-11-13 深信服科技股份有限公司 System space switching method, device, equipment and storage medium
CN107908296B (en) * 2017-11-28 2021-03-26 深圳市东微智能科技股份有限公司 KVM control method, device, storage medium and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202647A (en) * 2014-08-08 2014-12-10 深圳市同洲电子股份有限公司 Display method and device of window
CN105630282A (en) * 2014-11-20 2016-06-01 三星电子株式会社 Device for resizing window, and method of controlling the device to resize window
CN105786301A (en) * 2014-12-23 2016-07-20 阿里巴巴集团控股有限公司 Method and device for switching display objects in multi-window system
CN109582182A (en) * 2017-10-20 2019-04-05 北京仁光科技有限公司 Multi signal window touch control method, equipment, system and computer readable storage medium
CN107908296B (en) * 2017-11-28 2021-03-26 深圳市东微智能科技股份有限公司 KVM control method, device, storage medium and computer equipment
CN108984685A (en) * 2018-06-29 2018-12-11 天津字节跳动科技有限公司 A kind of method and device of automatic display file catalogue
CN111930432A (en) * 2020-07-29 2020-11-13 深信服科技股份有限公司 System space switching method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113312125A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN113312125B (en) Multi-window adjusting method, system, readable storage medium and electronic equipment
US10310730B2 (en) Display device for controlling displaying of a window and method of controlling the same
US11074940B2 (en) Interface apparatus and recording apparatus
JP6334933B2 (en) Page search method and terminal supporting the same
US20190012140A1 (en) Voice input apparatus
US10444942B2 (en) Display control apparatus and display control method to optimize and display objects of various forms
CN113010075B (en) Multi-signal source window interaction method and system, readable storage medium and electronic device
US20150363366A1 (en) Optimized document views for mobile device interfaces
US20140325418A1 (en) Automatically manipulating visualized data based on interactivity
WO2015055087A1 (en) Method and device for selecting solid in drawing
CN111832271A (en) Data presentation method and device, electronic equipment and storage medium
US9323367B2 (en) Automatic annotation de-emphasis
JP6287498B2 (en) Electronic whiteboard device, electronic whiteboard input support method, and program
CN106131628B (en) A kind of method of video image processing and device
JP2012079188A (en) Style information processor and method
TW201428658A (en) Device and method for positioning a scroll view to the best display position automatically in a stock quoting software
JP2012221062A (en) Information processing device, information processing method, and program
CN112711459B (en) Multimedia data processing method, device, equipment and computer readable storage medium
US10632379B2 (en) Method and apparatus for performing interaction in chessboard interface
KR101116538B1 (en) Choreography production system and choreography production method
CN114217889A (en) Display method, device, equipment and storage medium
CN109190097B (en) Method and apparatus for outputting information
JP2018092419A (en) Information display device, information display method, and recording medium
JP2013004051A (en) Screen item position adjustment program and method
JP4429349B2 (en) Recording device and program for the recording device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 201, floor 2, building 1, No. 28, Shangdi Chuangye Middle Road, Haidian District, Beijing 100085

Patentee after: BEIJING ZEN-AI TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100085 room 02-a177, 2 / F, block B, 22 Xinhe Road, Haidian District, Beijing

Patentee before: BEIJING ZEN-AI TECHNOLOGY Co.,Ltd.

Country or region before: China