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
initial
value
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

The invention discloses a multi-window adjusting method, which comprises the following steps: acquiring window information of each window and a signal source related to each window in real time, 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; and responding to the condition that the mouse leaves the target window, and restoring the layer value of the window layer of the target window to the initial layer value. Therefore, the multi-window adjusting method provided by the embodiment of the invention can realize rapid traversal and calling of a plurality of windows, and improves the interaction efficiency of a signal source.

Description

Multi-window adjusting method, system, readable storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a multi-window adjusting method, a multi-window adjusting system, a readable storage medium and electronic equipment.
Background
In the prior art, a server is often connected in communication with hundreds of signal sources, and a window is associated with each signal source. The terminal may be communicatively coupled to the server to monitor the windows and the signal sources associated with the windows in the server. When a plurality of windows are opened in the terminal, shielding exists among the windows, because the size of the terminal display equipment is limited, when all the windows need to be called and checked one by one, each window needs to be manually clicked and called, and because the window stacking relation is changed again after each calling action, various window stacking relations or windows are shielded, and more windows can be searched and called only by repeatedly clicking and confirming for many times, so that the signal source checking and calling efficiency is low.
Disclosure of Invention
In view of the foregoing prior art, embodiments of the present invention provide a method, an apparatus, a device, a computer-readable storage medium, and a system.
In a first aspect, an embodiment of the present invention provides a multi-window adjustment method, where each window is used to display a signal source, and the multi-window adjustment method includes:
acquiring window information of each window and a signal source related to each window in real time, 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 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;
and responding to the fact that the mouse leaves the target window, and restoring the layer value of the window layer of the target window to be the initial layer value.
According to some real-time multi-window processing methods of the present invention, after capturing a window into which a mouse enters is determined as a target window, the window adjustment method further includes:
and amplifying the target window.
According to some real-time multi-window processing methods of the present invention, after a window into which a mouse is captured is determined as a target window, the multi-window adjusting method further includes:
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 after comparison being smaller than a first predetermined value, the larger of the window length and the window width is adjusted to the first predetermined value, an aspect ratio is calculated according to the initial length and the initial width, and the window length or the window width of the target window is enlarged according to the aspect ratio.
According to some real-time multi-window processing methods of the present invention, the restoring the layer values of the target window to the initial layer values in response to the mouse leaving the target window includes:
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.
According to some real-time embodiments of the present invention, the method for processing multiple windows 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.
According to some real-time example multi-window processing methods of the present invention, the adjusting the layer value of the window layer of the target window to enable the target window to be set at the top includes:
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.
According to some real-time embodiments of the present invention, the multi-window adjusting 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.
According to some real-time embodiments of the present invention, the displaying a first control in a target window includes:
and displaying a title bar in the target window, and displaying a first control on the title bar.
In a second aspect, an embodiment of the present invention provides a multi-window adjustment system, where each window is used to display a signal source, and the window adjustment system includes:
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, communicatively connected to the server, for performing the method of any of the preceding claims 1-7.
In a third aspect, an embodiment of the present invention provides a window adjustment system, where each window is used to display a signal source, and the window adjustment system includes:
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 so as to adjust the window layout, draws the corresponding signal sources in each window and outputs the drawing results to the splicing command screen for displaying;
the splicing command screen is used for displaying the drawing result output by the splicing processor; and
a terminal, which is connected with the server in a communication way and is used for executing the method.
A fourth aspect the embodiments of the present invention provide a computer-readable storage medium for storing computer program instructions which, when executed by a processor, implement the method of any one of claims 1-8.
A fifth aspect of the present invention provides an electronic device, including a memory and a processor, the memory being configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any one of the above.
The technical scheme of the embodiment of the invention is that each window is used for displaying a signal source, and the multi-window adjusting method comprises the following steps: acquiring window information of each window and a signal source related to each window in real time, 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 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; and responding to the fact that the mouse leaves the target window, and restoring the layer value of the window layer of the target window to be the initial layer value. Therefore, the multi-window adjusting method provided by the embodiment of the invention can realize rapid traversal and calling of a plurality of windows, and improves the interaction efficiency of a signal source.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1a is a schematic diagram of a multiple window adjustment system according to some embodiments of the invention;
FIG. 1b is a schematic diagram of a multiple window adjustment system according to some embodiments of the invention;
FIG. 2 is a flow diagram of a multi-window adjustment method according to some embodiments of the invention;
FIG. 3 is a schematic view of a window adjustment apparatus according to some embodiments of the invention;
FIG. 4 is a schematic diagram of an electronic device according to some embodiments of the invention.
Detailed Description
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
Further, 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 otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
FIG. 1a is a schematic diagram of a multiple window adjustment system according to some embodiments of the invention.
As shown in FIG. 1a, a multi-window (the window is also referred to as a signal source window) adjustment system according to some embodiments of the present invention includes: a spliced command screen (command screen for short) 10, a server 20 and a terminal 40. The spliced command screen is used for displaying a window and displaying a corresponding signal source in the window.
The server 20 according to some embodiments of the present invention may be one server, a server cluster, or a cloud server.
The server 20 is connected to the signal source in communication, for example, through a network, and specifically, the server 20 can receive the signal source 210, the signal source 211 … …, the signal source n, and the like. The server 20 receives scheduling instructions that the instruction receiving device (not shown) interprets or may receive other instructions from the network. The instruction receiving device is used for resolving the scheduling instruction and comprises: mouse, keyboard, body feeling sensor, touch equipment, laser equipment, speech conversion equipment, wearable equipment etc.. The server 20 is connected with the command screen 10 through a video cable, the server 20 adjusts the window layout according to the scheduling instruction, draws the corresponding signal sources 210 and 211 in each window, and outputs the drawing result to be displayed by the command screen 10. The window layout adjustment comprises the adjustment of the size, the position, the stacking sequence and the like 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 the scheduling instruction to control the presentation manner of each window on the command screen 10 and to display the signal sources 210 and 211 in the corresponding windows. According to some embodiments of the invention, the stitching processor may run in software in a server or may also exist in hardware.
The terminal 40 is communicatively connected to the server 20, for example, via 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 synchronized with the command screen 10. 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 is synchronized with each window on the command screen 10, and each signal source is output to the corresponding window.
The terminal 40 is also capable of independently interacting with the windows as will be described further below.
FIG. 1b is a schematic diagram of a multi-window interactive system according to some embodiments of the present invention, comprising: a splice command screen 10', a server 20', a terminal 40 'and a splice processor 21'. The spliced command screen can comprise a plurality of small display screens or a whole large screen.
The server 20' according to some embodiments of the present invention may be a server, a server cluster, or a cloud server.
The terminal 40' may be an electronic device such as a cell phone, a tablet, a multimedia player, a wearable device, a personal computer, etc.
The stitching processor 21' is connected to the signal source, for example via the illustrated switch, or may be connected via a video line.
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 the like. Server 20' receives scheduling instructions that are parsed by an instruction receiving device (not shown) or may receive other instructions from the network. The instruction receiving device is used for resolving the scheduling instruction and comprises: mouse, keyboard, body feeling sensor, touch equipment, laser equipment, speech conversion equipment, wearable equipment etc..
The server 20 'is communicatively connected to the splicing processor 21', 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 window layout, draw the corresponding signal source in each window, and output the drawing result to the splicing command screen for display. The window layout adjustment comprises the adjustment of the size, the position, the stacking sequence and the like of each window on the command screen.
The mosaic command screen 10 'is used for displaying the drawing result output by the mosaic processor 21'.
The terminal 40 'is communicatively connected to the server 20', for example, the terminal 40 'is connected to the server 20' through the switch 50, and obtains the layout information of the windows in the server 20 'and the signal source information corresponding to each window, so that the windows on the terminal and the signal sources displayed in the windows are synchronized with the command screen 10'. When the server 20' controls the splicing processor 21' according to the scheduling instruction analyzed 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 each window of the terminal 40' is synchronized with each window on the command screen 10', and each signal source is output to a corresponding window.
The terminal 40 'is also capable of independently interacting with the windows, e.g., the terminal 40' is capable of independently processing the windows in accordance with some embodiments of the present invention, as will be described further below.
FIG. 2 is a flow diagram of a multi-window adjustment method according to some embodiments of the invention.
Referring to fig. 2, a multi-window adjusting method according to some embodiments of the present invention includes steps 1000, 1001, 1002, and 1003, which are performed on a terminal.
And step 1000, acquiring window information of each window and a signal source related to each window in real time.
Specifically, according to some embodiments of the present invention, window information of each window is obtained in real time, where the window information includes a graph layer value and a window position of a window layer; and acquiring the signal sources associated with the windows in real time. So that the windows on the terminal and the windows on the server of the embodiment of the invention are kept synchronous.
Step 1002, 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. For a signal source in the form of a network stream signal, the video stream decoded from the signal source can be updated in real time in the windows.
Specifically, the terminal draws each window according to the window position. For example, each window is drawn within the boundaries of one overall window by its window position. According to some embodiments of the invention, the window is drawn according to a window position, wherein the window position comprises: top left vertex, length, and width.
Table 1 is an illustration of the location of each window.
Window opening Top left vertex Width of Length of
Window 101 X1,y1 W1 H1
Window 102 X2,y2 W2 H2
Window 103 X3,y3 W3 H3
TABLE 1
With the window positions in table 1, the window 101, the window 102, and the window 103 can be drawn within the boundary of one total window. When drawing each window, the terminal 40 further adjusts the stacking order among the windows according to the obtained layer values of the window layers. Table 2 is an illustration of the layer values of the window layers for each window.
Window opening Window pattern layer
Window 101 L1
Window 102 L2
Window 103 L3
TABLE 2
After comparing layer values of window layers of each window, the terminal arranges each window according to the layer values from big to small, and updates the video stream decoded from the signal source associated with each window in real time in each window. According to other embodiments of the present invention, after comparing layer values of window layers of each window, the terminal arranges each window according to the layer values from small to large, and updates the video stream decoded from the signal source associated with each window in real time in each window. According to table 1, there may or may not be overlap in the positions of the windows. For the case where there is overlap, either complete overlap or partial overlap is included.
When there is an overlap, according to table 2, since the window layers have different layer values between windows that overlap, the higher the layer value, the more advanced the display. According to other window adjustment methods of some embodiments of the present invention, the higher the layer value, the more backward the display is. The following description will be made by taking an example in which the higher the layer value, the more the display is advanced.
Step 1003, determining a window captured to enter the mouse as a target window, obtaining 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.
Specifically, one window in which a mouse entry is captured is determined as a target window, and the target window can be quickly selected by this method. For example, if window 103 captures a mouse entry, window 103 is considered as the target window. And adjusting the layer value of the window layer of the target window to enable the target window to be placed on top. According to some embodiments of the present invention, step 1003 includes three sub-steps, namely step 10031, step 10032, and step 10033.
Step 10031, traverse the graph layer values of the window layers of each window.
Specifically, layer values of window layers of each window are obtained, and the layer values of each window layer refer to table 1 specifically.
Step 10032 is to obtain a maximum value of the layer values after comparing the layer values of the window layers of each window. 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, the maximum value of the layer values is L2.
Step 10033, updating the layer value of the window layer of the target window to a sum of the maximum value of the layer value and a second predetermined value, where the second predetermined value is a positive integer.
Specifically, the layer value of the window layer of the target window is updated to the sum of the maximum value of the layer value and the second predetermined value, for example, the layer value of the window layer of the target window is updated to L2+1, where the predetermined value is 1 in this embodiment. That is, the map layer value of the window map layer of the window 103 is adjusted from the initial value L3 to L2+1. According to some multi-window adjusting methods of the embodiments of the present invention, the predetermined value is a positive integer, and in this embodiment, only the predetermined value is 1 as an example, and in practice, the multi-window adjusting method may be adjusted according to the situation.
And through the steps, the layer value of the window layer of the target window is larger than the layer values of the window layers of other windows, so that the target window is set to the top. That is, the layer value of the target window 103 has been adjusted to L2+1, which is larger than the layer values of the window 101 and the window 102, and thus the window 103 is set to the top, via step 10033.
According to some embodiments of the multi-window adjusting method, after a window into which a mouse is captured is determined as a target window, the window adjusting method further includes enlarging the target window. That is, the target window is also enlarged after being set to the top, thereby providing a larger display area on the terminal for the target window.
According to some embodiments of the multi-window adjusting method, the aspect ratio of the target window is maintained when the target window is enlarged. Specifically, the enlargement of the target window includes three substeps, step 10034, step 10035, and step 10036.
In step 10034, initial values of the window length and the window width of the target window are obtained as an initial length and an initial width.
Continuing to take the window 103 as a target window as an example, initial values of the window length and the window width of the window 103 are obtained as the initial length and the initial width. According to table 1, the initial length of the window 103 is L3 and the initial width is w3.
Step 10035, compare the greater of the initial length and the initial width with a predefined first predetermined value.
Specifically, the first predetermined value T1 will be described as an example. For example, first, L3 and W3 are compared, assuming that W3 is greater than L3, i.e., W3 is greater.
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 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.
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, an aspect ratio is calculated from the initial length and the initial width, and the window length or the window width of the target window is enlarged by the aspect ratio.
For example, first, the aspect ratio of the initial length and the initial width is calculated, and according to step 10034, if the initial length of the window 103 is L3 and the initial width is w3, then the aspect ratio k = L3/w3.
And amplifying the window length or the window width of the target window according to the aspect ratio, namely adjusting the window length to k T1. Thereby allowing the target window to maintain the aspect ratio after magnification.
According to some embodiments of the present invention, the method for adjusting multiple windows further includes two substeps, namely step 10037 and step 10038:
in step 10037, the total window boundary of all windows is obtained.
Step 10038, in response to the enlarged target window exceeding the total window boundary, moving the enlarged target window into the total window boundary.
Specifically, if the enlarged target window exceeds the total window boundary, the enlarged target window is moved to be within the total window boundary.
According to some embodiments of the multi-window adjusting method of the present invention, the displaying the first control in the target window, in particular, 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 top and not covered by other windows that are updated in real-time. That is, the terminal synchronizes window information of each window and a signal source associated with each window with the server every a predetermined time period in order to acquire the window synchronized with the server in real time, wherein the window information includes a window layer value and a window position of a window layer. The server adjusts window information for each window and a signal source associated with each window in response to the scheduling instruction or the adjustment instruction for a predetermined period of time. And the terminal receives the adjusted window information of each window and the signal source related to each window is changed, displays a first control in the target window in order to enable a user to continuously set the target window at the top, and sets the target window at the top and is not covered by other windows updated in real time in response to the first control being called.
Step 1004, responding to the mouse leaving the target window, and restoring the layer value of the window layer of the target window to the initial layer value.
According to some embodiments of the multi-window adjusting method of the present invention, restoring the layer values of the window layers of the target window to the initial layer values in response to the mouse leaving the target window comprises: and acquiring an initial image layer value of the target window, and restoring the amplified image layer value of the target window to the initial image layer value. Specifically, the initial layer value of the target window is already obtained according to step 1003, and the layer value of the window layer of the target window is adjusted in step 1003. In step 1004, in response to the mouse leaving the target window, the layer values of the window layers of the target window are restored to the initial layer values. Still taking the window 103 as an example of a target window, in step 1003, the layer value of the window 103 is adjusted to L2+1, and when the mouse leaves the window 103, the layer value of the window 103 is adjusted to an initial layer value L3.
According to some embodiments of the multi-window adjusting method of the present invention, the window adjusting method further includes obtaining an initial length and an initial width of the target window, and restoring the enlarged target window to the initial length and the initial width to restore the initial window and the initial width of the target window. Taking window 103 as an example, the length of window 103 is restored to L3 and the width is restored to W3 in step 1004.
Fig. 3 is a schematic diagram of a window adjustment apparatus according to some embodiments of the invention.
The window adjusting device of the present invention includes: an acquisition means 401, a rendering means 402, a first determination means 403 and a second determination means 404.
An obtaining device 401, configured to obtain window information of each window and a signal source associated with each window in real time, where the window information includes a layer value and a window position of a window layer;
a drawing device 402, configured to draw each window according to the window position, arrange each window according to the layer value of the window layer, and update, in real time, a video stream decoded from a signal source associated with each window in each window;
a first determining device 403, configured to determine a window where a mouse is captured as a target window, obtain an initial layer value of a window layer of the target window, and adjust a layer value of the window layer of the target window to set the target window at the top;
a second determining device 404, configured to restore, in response to that the mouse leaves the target window, the layer value of the window layer of the target window to the initial layer value.
FIG. 4 is a schematic diagram of an electronic device according to some embodiments of the invention.
The electronic device 4 shown in fig. 4 includes a general hardware structure to execute the multi-window adjusting method of the embodiment of the present invention, and includes at least a processor 41 and a memory 42. The processor 41 and the memory 42 are connected by a bus 43. The memory 42 is used to store instructions or programs for the executable multi-window adjustment method. Processor 41 may be a stand-alone microprocessor or may be a collection of one or more microprocessors. Thus, the processor 41 implements the processing for multiple windows by executing the instructions of the multiple window adjustment method stored in the memory 42, thereby executing the multiple window adjustment method of the embodiment of the present invention as described above. The bus 43 connects the above components together, and also connects the above components to a display controller 44 and a display device and an input/output (I/O) device 45. Input/output (I/O) devices 45 may be a mouse, keyboard, modem, network interface, touch input device, motion sensing input device, printer, and other devices known in the art. Typically, the input/output device 45 is connected to the system through an input/output (I/O) controller 46.
As will be appreciated by one skilled in the art, embodiments of the present application may provide a method, apparatus (device) or computer program product. Accordingly, the present application may 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 flowchart illustrations of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow in the flow diagrams can be implemented by computer program instructions.
These computer program instructions may be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows.
These computer program instructions may also be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows.
Another embodiment of the invention relates to a non-transitory readable storage medium storing a computer-readable program for causing a computer to perform an embodiment of some or all of the above methods.
That is, as will be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be accomplished by specifying the relevant hardware through a program, where the program is stored in a readable storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the 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 (3)

* 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
CN117784977A (en) * 2023-11-23 2024-03-29 上海同星智能科技有限公司 Signal tracking and observing 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 apparatus for switching display object under 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 apparatus for switching display object under 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
US8786603B2 (en) Ancestor-to-ancestor relationship linking methods and systems
US10656811B2 (en) Animation of user interface elements
JP6334933B2 (en) Page search method and terminal supporting the same
US20110316845A1 (en) Spatial association between virtual and augmented reality
CN113010075B (en) Multi-signal source window interaction method and system, readable storage medium and electronic device
US9792268B2 (en) Zoomable web-based wall with natural user interface
CN108958857A (en) A kind of interface creating method and device
CN111832271B (en) Data presentation method, device, electronic equipment and storage medium
WO2014002812A1 (en) Terminal device, annotation method, computer system, and computer program
CN114115681B (en) Page generation method and device, electronic equipment and medium
US9380259B2 (en) Information processing device and information processing method
CN112954441A (en) Video editing and playing method, device, equipment and medium
US20150339277A1 (en) Systems and methods for programming behavior of a website to respond to capabilities of different devices
CN107077467A (en) Method and apparatus for handling file
JP6287498B2 (en) Electronic whiteboard device, electronic whiteboard input support method, and program
CN112579144A (en) Data processing method and device
CN111782309B (en) Method and device for displaying information and computer readable storage medium
CN109190097B (en) Method and apparatus for outputting information
CN114723855A (en) Image generation method and apparatus, device and medium
CN110703971A (en) Method and device for publishing information
CN114173177B (en) Video processing method, device, equipment and storage medium
CN115499672B (en) Image display method, device, equipment and storage medium
KR101785845B1 (en) Device and method for dynamic display controller to provide a plurality of monitoring images
EP2808809A2 (en) Method and apparatus for interactive review of a dataset

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