CN111522476A - Method, device, computer device and storage medium for monitoring window switching - Google Patents

Method, device, computer device and storage medium for monitoring window switching Download PDF

Info

Publication number
CN111522476A
CN111522476A CN202010207132.7A CN202010207132A CN111522476A CN 111522476 A CN111522476 A CN 111522476A CN 202010207132 A CN202010207132 A CN 202010207132A CN 111522476 A CN111522476 A CN 111522476A
Authority
CN
China
Prior art keywords
window
windows
monitoring
trigger signal
monitoring interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010207132.7A
Other languages
Chinese (zh)
Other versions
CN111522476B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010207132.7A priority Critical patent/CN111522476B/en
Publication of CN111522476A publication Critical patent/CN111522476A/en
Application granted granted Critical
Publication of CN111522476B publication Critical patent/CN111522476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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

Abstract

The invention discloses a method, equipment, computer equipment and a storage medium for switching monitoring windows, wherein a first trigger signal on a monitoring interface is acquired, a plurality of windows to be merged on the monitoring interface are acquired according to a track coordinate of the first trigger signal, channel information of the windows to be merged is acquired, the channel information is input into a first window in the windows to be merged, and round-robin is performed on the channel information in the first window, so that the problem that the switching of the monitoring windows cannot be conveniently and quickly realized because a window group of a monitoring system corresponds to an equipment group is solved, and the efficiency of merging a plurality of windows in the monitoring system into a single window is improved.

Description

Method, device, computer device and storage medium for monitoring window switching
Technical Field
The application relates to the technical field of security monitoring, in particular to a method, equipment, computer equipment and storage medium for monitoring window switching.
Background
Along with the improvement of living standard, the demand of users on security protection is continuously improved, and the security protection monitoring technology is also continuously developed. In the related art, a plurality of image capturing apparatuses are divided into different apparatus groups, the apparatus groups are associated with window groups, and the image capturing apparatuses in the apparatus groups are sorted and cyclically scanned according to a flow establishing duration corresponding to the image capturing apparatuses, and are sequentially displayed in the window groups corresponding to the apparatus groups. However, in the monitoring process, it is often necessary to merge channels in multiple windows into one window for polling, or distribute multiple channels in one window to other windows for independent monitoring, and window groups in the related art correspond to device groups, so that window merging and distribution cannot be conveniently and quickly implemented.
In the related art, an effective solution is not proposed at present for the problem that the switching of the monitoring windows cannot be realized conveniently and quickly because the window group of the monitoring system corresponds to the equipment group.
Disclosure of Invention
The invention provides a method, equipment, computer equipment and a storage medium for switching monitoring windows, aiming at the problem that the switching of the monitoring windows cannot be conveniently and quickly realized because a window group of a monitoring system corresponds to an equipment group in the related art, and at least solving the problem.
According to an aspect of the present invention, there is provided a method of monitoring window switching, the method comprising:
acquiring a first trigger signal on a monitoring interface, and acquiring a plurality of windows to be merged on the monitoring interface according to the track coordinate of the first trigger signal;
and acquiring channel information of the windows to be merged, inputting the channel information into a first window in the windows to be merged, and performing round-robin on the channel information in the first window.
In one embodiment, the obtaining a first trigger signal on a monitoring interface, and obtaining a plurality of windows to be merged on the monitoring interface according to a track coordinate of the first trigger signal includes:
and acquiring a line segment according to the track coordinate of the first trigger signal, acquiring a rectangular frame with the line segment as a diagonal line on the monitoring interface, and acquiring a plurality of windows to be merged in the rectangular frame, wherein the duration of the first trigger signal is greater than or equal to a first trigger time.
In one embodiment, after the acquiring a first trigger signal on a monitoring interface and acquiring a plurality of windows to be merged on the monitoring interface according to a track coordinate of the first trigger signal, the method includes:
after the first trigger signal is no longer received within a preset threshold time, displaying prompt information of a merging window on the monitoring interface;
and merging the windows or canceling the merged windows according to the prompt information of the merged windows.
In one embodiment, after the obtaining of the channel information of the window to be merged, the method includes:
and reserving the first window, and deleting other windows in the windows to be merged.
In one embodiment, after the round-robin of the channel information in the first window, the method further includes:
acquiring a second trigger signal on the monitoring interface, selecting a second window according to the second trigger signal, and acquiring all channel information in the second window, wherein the channel information comprises the picture information and the channel number of the channels;
and acquiring the number of the empty windows on the monitoring interface, and corresponding the picture information of the channels to the empty windows under the condition that the number of the empty windows is greater than or equal to the number of the channels.
In one embodiment, the acquiring the second trigger signal on the monitoring interface includes:
and in a second trigger time, under the condition that a third intermittent trigger signal is acquired by the second window, determining that the third intermittent trigger signal is the second trigger signal, wherein the intensity of the second trigger signal is greater than or equal to a preset intensity.
In one embodiment, after the obtaining of the number of empty windows on the monitoring interface, the method further includes:
under the condition that the number of the empty windows is smaller than the number of the channels, acquiring a total window value and a resolution of the monitoring interface, wherein the total window value is the sum of the number of the existing windows and the number of the windows needing to be increased;
and adjusting the number and the size of the windows in the monitoring interface according to the total value of the windows and the resolution, and enabling the channels in the second window to correspond to the empty windows in the monitoring interface.
In one embodiment, before the adjusting the number and size of windows in the monitoring interface according to the total value of the windows and the resolution, the method further includes:
and displaying windowing prompt information on the monitoring interface, and increasing the number of windows or stopping windowing according to the windowing prompt information.
According to another aspect of the present invention, there is provided a window polling and dispensing apparatus, the apparatus including a first triggering module and a polling module:
the first trigger module is used for acquiring a first trigger signal on a monitoring interface and acquiring a plurality of windows to be merged on the monitoring interface according to the track coordinate of the first trigger signal;
and the polling module is used for acquiring the channel information of the windows to be merged, inputting the channel information into a first window in the windows to be merged, and polling the channel information in the first window.
In one embodiment, the apparatus further comprises a second triggering module and a corresponding module:
the second trigger module is configured to acquire a second trigger signal on the monitoring interface, select a second window according to the second trigger signal, and acquire all channel information in the second window, where the channel information includes picture information and channel number of the channel;
the corresponding module is used for acquiring the number of the empty windows on the monitoring interface and corresponding the picture information of the channels to the empty windows under the condition that the number of the empty windows is larger than or equal to the number of the channels.
According to another aspect of the present invention, there is provided a computer device comprising a memory storing a computer program and a processor implementing any of the methods described above when the processor executes the computer program.
According to another aspect of the invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the methods described above.
According to the method and the device, the first trigger signal on the monitoring interface is acquired, the plurality of windows to be merged on the monitoring interface are acquired according to the track coordinate of the first trigger signal, the channel information of the windows to be merged is acquired, the channel information is input into the first window in the windows to be merged, and the channel information is subjected to round inspection in the first window, so that the problem that the switching of the monitoring windows cannot be conveniently and quickly realized due to the fact that the window group of the monitoring system corresponds to the equipment group is solved, and the efficiency of merging the plurality of windows in the monitoring system into a single window is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention to a proper form. In the drawings:
FIG. 1 is a schematic diagram of an application environment of a method for monitoring window switching according to an embodiment of the present invention;
FIG. 2 is a first flowchart of a method for monitoring system window merging according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating selection of a plurality of windows to be merged according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating obtaining windows to be merged according to line segments according to an embodiment of the invention;
FIG. 5 is a schematic illustration of a round robin at a first window in accordance with an embodiment of the present invention;
FIG. 6 is a flowchart II of a method of monitoring system window merging according to an embodiment of the present invention;
FIG. 7 is a flowchart III of a method of monitoring system window merging, according to an embodiment of the present invention;
FIG. 8 is a first flowchart of monitoring system window distribution, according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating a click to obtain a second window according to an embodiment of the invention;
FIG. 10 is a schematic diagram of a monitoring interface after distribution of a channel according to an embodiment of the invention;
FIG. 11 is a flow chart two of monitoring system window distribution according to an embodiment of the present invention;
FIG. 12 is a block diagram of an apparatus for monitoring window merging according to an embodiment of the present invention;
fig. 13 is a block diagram of the structure of an apparatus for monitoring window distribution according to an embodiment of the present invention;
fig. 14 is a schematic diagram of the internal structure of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that the terms "first", "second" and "third" related to the embodiments of the present invention only distinguish similar objects, and do not represent specific ordering for the objects, and the terms "first", "second" and "third" may be interchanged with specific order or sequence, where permitted. It is to be understood that the terms "first," "second," and "third" are used interchangeably where appropriate to enable embodiments of the present invention described herein to be practiced in sequences other than those illustrated or described herein. The terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present application.
The method for monitoring window switching provided by the present application can be applied to the application environment shown in fig. 1, where fig. 1 is an application environment schematic diagram of the method for monitoring window switching according to the embodiment of the present invention, as shown in fig. 1. The touch pen 102 triggers a first trigger signal on a monitoring interface of the monitoring terminal 104, the monitoring server 106 obtains a track coordinate on the monitoring interface according to the first trigger signal, obtains a plurality of windows to be merged on the monitoring interface, inputs channel information of the windows to be merged into a first window of the windows to be merged, and performs round-robin on the channel information in the first window of the monitoring interface. The first trigger signal of the stylus 102 may also be implemented by clicking or sliding a mouse on a monitoring interface, or by operating a finger on the monitoring interface, the monitoring terminal 104 may be various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, the monitoring server 106 is used for storing monitoring data, and may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, a method for monitoring system window merging is provided, and fig. 2 is a flowchart one of a method for monitoring system window merging according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S202, a first trigger signal on the monitoring interface is obtained, and a plurality of windows to be merged on the monitoring interface are obtained according to the track coordinate of the first trigger signal. The monitoring interface may be a mobile phone interface, or may be an interface of a device such as a tablet computer having a touch screen, the first trigger signal may be obtained by a stylus or a finger of a user touching the touch screen, and the first trigger signal may be an electrical signal.
In this embodiment, a user may form a first trigger signal with a single finger, a trajectory formed by the first trigger signal may be a circle, a triangle, a rectangle, or another polygon, where the polygon may be a regular polygon or an irregular polygon, fig. 3 is a schematic diagram of selecting a plurality of windows to be merged according to an embodiment of the present invention, as shown in fig. 3, and a window 2, a window 3, a window 4, a window 7, a window 8, a window 9, a window 12, a window 13, and a window 14 in the circle are windows to be merged. The window with merging comprises a window with signals and no signals, wherein the presence of the signals is the picture information transmitted by the camera device of the window and is indicated by filling with oblique lines, and the no signals is the picture information of the window and is indicated by no filling.
Step S204, obtaining the channel information of the window to be merged, inputting the channel information into a first window in the window to be merged, and performing round-robin on the channel information in the first window. The first window may be a window close to the upper left corner of the monitoring interface in all windows to be merged, as shown in fig. 3, and the window 2 is the first window in this embodiment. The channel information is subjected to polling, namely, in the first window, the monitoring pictures corresponding to the original windows 2, 3, 4, 7, 8, 9, 12, 13 and 14 are circularly played.
Through the step S202 and the step S204, the embodiment implements the function of merging multiple window channels into a single window for polling based on the touch screen, and the user can complete the operation process by sliding with a finger without clicking a menu many times on the monitoring interface to complete the merging and polling of multiple windows, thereby solving the problem that the switching of the monitoring windows cannot be conveniently and quickly implemented because the window group of the monitoring system corresponds to the device group, and improving the efficiency of merging multiple windows in the monitoring system into a single window.
In one embodiment, the acquiring the plurality of windows to be merged on the monitoring interface includes: and acquiring a line segment according to the track coordinate of the first trigger signal, acquiring a rectangular frame with the line segment as a diagonal line on the monitoring interface, and acquiring a plurality of windows to be merged in the rectangular frame. For example, if the first trigger time is 1s, and the time for the user to slide on the monitoring interface is 0.5s, the monitoring system determines that the sliding is invalid, and does not perform window merging.
In this embodiment, a user may slide a monitoring interface with a single finger to form a line segment, where a sliding direction may be from top left to bottom right of the monitoring interface or from top right to bottom left of the monitoring interface, fig. 4 is a schematic diagram of obtaining a window to be merged according to the line segment according to an embodiment of the present invention, as shown in fig. 4, a monitoring system obtains a line segment according to a track coordinate in a touch screen and forms a rectangle by using the line segment as a diagonal, a window 1, a window 2, a window 3, a window 4, a window 6, a window 7, a window 8, a window 9, a window 11, a window 12, a window 13, and a window 14 in the rectangular frame in fig. 4 are windows to be merged, fig. 5 is a schematic diagram of performing round robin on a first window according to an embodiment of the present invention, as shown in fig. 5, a window 1 is a first window performing round robin on a channel after merging.
According to the window merging method and device, selection and merging of the windows to be merged are achieved through a conventional operation mode that a user slides on the touch screen, operation efficiency of the user in a window merging process is improved, and user experience is improved.
In one embodiment, a user can select a starting point and an end point of a line segment by clicking different positions in a monitoring interface, and the monitoring system acquires the line segment according to the starting point and the end point to determine a rectangular frame and a window to be merged. The user can click the monitoring interface to determine the line segment by using a single finger twice, and can click the determined line segment by using double fingers simultaneously. By the method in the embodiment, the phenomenon that the user needs to slide for too long time under the condition that the monitoring interface is large can be avoided, and the efficiency of selecting the window to be combined by the user is improved.
In an embodiment, fig. 6 is a flowchart of a method for monitoring system window merging according to an embodiment of the present invention, and as shown in fig. 6, the method may further include the following steps:
step S602, after the first trigger signal is no longer received within a preset threshold time, displaying a prompt message of a merge window on the monitoring interface. For example, when the preset threshold time is 0.5s, after the user slides on the monitoring interface, the finger leaves the touch screen, and after 0.5s, the touch screen does not receive the trigger signal any more, the monitoring system determines that the selection is completed, and pops up a dialog box, and the user needs to confirm whether to perform window merging.
And step S604, merging the windows or canceling the merging windows according to the prompt information of the merging windows. And the user clicks 'yes' or 'no' according to own requirements to determine whether window merging and polling are carried out.
Through the steps S602 and S604, the monitoring system needs the user to confirm whether the window needs to be merged again before window merging is performed, so that adverse consequences caused by misoperation of the user are avoided.
In one embodiment, after the channel information of the windows to be merged is obtained, the first window is reserved, and other windows in the windows to be merged are deleted. And performing multi-channel polling in the first window, and after other unnecessary windows are deleted, leaving a vacancy in the monitoring interface, wherein the vacancy can be used for channel distribution in other polling windows, so that the utilization efficiency of the monitoring interface is improved.
In one embodiment, fig. 7 is a flowchart three of a method for monitoring system window merging according to an embodiment of the present invention, as shown in fig. 7, the method includes:
step S702, judging whether the window value of the monitoring interface is larger than 1, exiting the window merging mode under the condition that the window value is smaller than or equal to 1, and triggering a first trigger signal when a user selects a window to be merged on the monitoring interface through a finger sliding frame under the condition that the window value is larger than 1.
Step S704, exiting the window merging mode when the framed window to be merged is smaller than or equal to 1, and popping up a dialog box on the monitoring interface to inquire whether a window needs to be merged when the framed window to be merged is larger than 1.
And step S706, exiting the merging window mode under the condition that the user selects 'NO', and acquiring and storing all signal channels in the window to be merged under the condition that the user selects 'YES'.
Step S708, retaining the first window in the windows to be merged, deleting other windows, and adding all the stored signal channels to the first window for polling.
Through steps S702 to S708, the method for merging windows of the monitoring system provided in this embodiment can be implemented only when there are multiple windows in the monitoring interface and the value of the window to be merged is greater than 1, and when there is only one window in the monitoring interface, the monitoring system can close the window merging function, so as to reduce the energy consumption of the device, and the user can complete the operation process by sliding the finger, and does not need to click the menu many times on the monitoring interface to complete the merging and polling of multiple windows, thereby improving the efficiency of merging multiple windows into a single window in the monitoring system.
In one embodiment, fig. 8 is a first flowchart of monitoring system window distribution according to an embodiment of the present invention, and as shown in fig. 8, the method includes:
step S802, a second trigger signal on the monitoring interface is obtained, a second window is selected according to the second trigger signal, and all channel information in the second window is obtained. The second trigger signal may be an electrical signal, and may be one or more point signals, a circle, or a closed polygon, and the like, where the second window includes a plurality of channel information, and the channel information includes picture information and channel number of the channel.
Step S804, acquiring the number of empty windows on the monitoring interface, and corresponding the frame information of the channel to the empty windows when the number of empty windows is greater than or equal to the number of channels. For example, the second window includes 10 channels, and the channel numbers are 1, 2, 3, … …, and 10, respectively, then in the case that the number of empty windows in the monitoring interface is greater than or equal to 10, it is determined that the number of empty windows is sufficient, and each channel is sequentially set to each empty window, for example, channel 1 is set to window 1, and channel 2 is set to window 2.
Through the step S802 and the step S804, the function of distributing the multiple channels in the single window to the multiple empty windows is realized based on the touch screen in the embodiment, and the user can complete the operation process through finger sliding without clicking a menu many times on the monitoring interface to complete the distribution of multiple channels in the single window, so that the efficiency of distributing the multiple channels in the single window to the multiple empty windows in the monitoring system is improved.
In one embodiment, acquiring the second trigger signal on the monitoring interface includes: and in a second trigger time, under the condition that the second window acquires three intermittent trigger signals, judging the three intermittent trigger signals as the second trigger signal, wherein the intensity of the second trigger signal is greater than or equal to the preset intensity. Fig. 9 is a schematic diagram of clicking to acquire a second window according to an embodiment of the present invention, as shown in fig. 9, when the trigger time is 2s, a user needs to click the second window three times of window 1 continuously and quickly within 2s, and the monitoring system determines that window 1 is selected as the second window, thereby realizing distribution of information of multiple channels in the second window. According to the embodiment, the second window is selected by clicking three times, so that the method and the device are convenient and fast, and the selection efficiency of the second window is improved.
In one embodiment, when the number of empty windows is less than the number of channels, a total window value and a resolution of a monitoring interface are obtained, the number and the size of the windows in the monitoring interface are adjusted according to the total window value and the resolution, and the channels in the second window correspond to the empty windows in the monitoring interface, wherein the total window value is the sum of the number of the existing windows and the number of the windows needing to be added.
For example, a total window value of the monitoring interface that can be windowed is obtained, which may be 32 or 36, a resolution of the monitoring interface that can be 1920 × 1200 is obtained, and then the total window value is squared. In the case that the total value of the windows is an integer after being opened, for example, 6 after being opened 36, the monitoring interface is equally divided into 6 parts in the horizontal direction and the vertical direction, after being opened, the length of each window is 1/6 which is the length of the monitoring interface, and the width of each window is 1/6 which is the width of the monitoring interface; under the condition that the total window value after the evolution is a non-integer, for example, the total window value is 17, and the total window value after the evolution is about 4.123, a window is added in the long side direction of the monitoring interface, for example, 1920 is greater than 1200 on the resolution, the side corresponding to 1920 is the long side, and one window is added on the long side, which becomes 5, and under the condition that 17 divided by 5 is equal to 3 or more than 2, 4 windows are taken in the direction corresponding to 1200, which is equivalent to taking 4 rows and 5 columns of windows on the monitoring interface, and the length and width values of the windows are respectively: the width is 1920/5 and height is 1200/4. And placing the added windows into the monitoring interface from the positions (0, 0) in sequence, and setting each channel to each added empty window in sequence. Fig. 10 is a schematic diagram of a monitoring interface after channel distribution according to an embodiment of the present invention, as shown in fig. 10, a position of window 1 in fig. 10 is window (0, 0). The multi-channel distribution method provided by the embodiment not only improves the space utilization rate of the monitoring interface, but also keeps a certain picture proportion.
In one embodiment, fig. 11 is a second flowchart of monitoring system window distribution according to an embodiment of the present invention, and as shown in fig. 11, the method includes the following steps:
in step S1102, the user selects the second window by clicking three times continuously within the second trigger time.
Step S1104, acquiring the channel information of the plurality of channels when the channel value in the second window is greater than 1, and exiting the window distribution mode when the channel value in the second window is less than or equal to 1.
Step S1106, after the channel information of the multiple channels is obtained, checking whether there is enough empty windows in the monitoring interface, and if the value of the empty window in the monitoring interface is greater than or equal to the channel value in the second window, corresponding the channel in the second window to the empty window in the monitoring interface.
Step S1108, when the value of the hollow window in the monitoring interface is smaller than the value of the channel in the second window, a pop-up dialog box asks the user whether to automatically open the window, when the user selects "no", the window is stopped, the window distribution mode is exited, and when the user selects "yes", the number and size of the windows in the monitoring interface are adjusted according to the total value of the windows and the resolution, and the channel in the second window corresponds to the hollow window in the monitoring interface.
Through the steps S1102 to S1108, before the number and size of the windows in the monitoring interface are adjusted, the monitoring system needs the user to confirm whether the multiple channels in a single window need to be distributed again before the windows are distributed, so that adverse consequences caused by misoperation of the user are avoided.
It should be understood that, although the steps in the flowcharts of fig. 1 to 11 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-11 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
Corresponding to the method for switching the monitoring window, in this embodiment, a device for switching the monitoring window is further provided, and the device is used to implement the foregoing embodiment and the preferred embodiment, and is already described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware or a combination of software and hardware are also possible and contemplated.
In an embodiment, a device for switching monitor windows is provided, and fig. 12 is a block diagram of a device for merging monitor windows according to an embodiment of the present invention, as shown in fig. 12, including: the first trigger module 1202 and the round trip module 1204:
the first trigger module 1202 is configured to obtain a first trigger signal on a monitoring interface, and obtain a plurality of windows to be merged on the monitoring interface according to a track coordinate of the first trigger signal.
And a round-robin module 1204, configured to obtain channel information of the window to be merged, input the channel information into a first window of the window to be merged, and perform round-robin on the channel information in the first window.
Through the first trigger module 1202 and the round trip module 1204 of above-mentioned equipment, this embodiment realizes merging the multi-window channel to the function that single window carries out round trip based on the touch screen, the user can utilize the finger to slide, accomplish this operation process through the first trigger module 1202, and accomplish the channel round trip through the round trip module 1204, need not click the menu many times at the control interface and accomplish the merging and round trip of multi-window, the window group that has solved monitoring system corresponds with equipment group, the problem that can't realize monitoring window switching convenient and fast, the efficiency of merging a plurality of windows in the monitoring system into single window has been improved.
In an embodiment, fig. 13 is a block diagram of a device for monitoring window distribution according to an embodiment of the present invention, as shown in fig. 13, including a second triggering module 1302 and a corresponding module 1304:
the second triggering module 1302 is configured to obtain a second triggering signal on the monitoring interface, select a second window according to the second triggering signal, and obtain all channel information in the second window, where the channel information includes the picture information and the channel number of the channel.
A corresponding module 1304, configured to obtain the number of empty windows on the monitoring interface, and if the number of empty windows is greater than or equal to the number of channels, correspond the picture information of the channel to the empty window.
Through the second trigger module 1302 and the corresponding module 1304 of the device, the function of distributing multiple channels in a single window to multiple empty windows is realized based on the touch screen in the embodiment, a user can slide with a finger, the operation process is completed through the second trigger module 1302, multiple times of menu clicking on a monitoring interface are not needed to complete the distribution of multiple channels of the single window, and the efficiency of distributing the multiple channels in the single window to the multiple empty windows in the monitoring system is improved.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of monitoring window switching. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In an embodiment, fig. 14 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present invention, and as shown in fig. 14, there is provided a computer device, which may be a server, and its internal structure diagram may be as shown in fig. 14. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of monitoring window switching.
Those skilled in the art will appreciate that the architecture shown in fig. 14 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the method for monitoring window switching provided in the foregoing embodiments.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the method for monitoring window switching provided by the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A method for monitoring window switching, the method comprising:
acquiring a first trigger signal on a monitoring interface, and acquiring a plurality of windows to be merged on the monitoring interface according to the track coordinate of the first trigger signal;
and acquiring channel information of the windows to be merged, inputting the channel information into a first window in the windows to be merged, and performing round-robin on the channel information in the first window.
2. The method for switching the monitoring window according to claim 1, wherein the acquiring a first trigger signal on a monitoring interface, and acquiring a plurality of windows to be merged on the monitoring interface according to a track coordinate of the first trigger signal comprises:
and acquiring a line segment according to the track coordinate of the first trigger signal, acquiring a rectangular frame with the line segment as a diagonal line on the monitoring interface, and acquiring a plurality of windows to be merged in the rectangular frame, wherein the duration of the first trigger signal is greater than or equal to a first trigger time.
3. The method for switching the monitoring windows according to claim 1, after acquiring the first trigger signal on the monitoring interface and acquiring the plurality of windows to be merged on the monitoring interface according to the track coordinate of the first trigger signal, the method includes:
after the first trigger signal is no longer received within a preset threshold time, displaying prompt information of a merging window on the monitoring interface;
and merging the windows or canceling the merged windows according to the prompt information of the merged windows.
4. The method for monitoring window switching according to claim 1, wherein after the obtaining of the channel information of the window to be merged, the method comprises:
and reserving the first window, and deleting other windows in the windows to be merged.
5. The method of monitoring window switching according to claim 1, wherein after the polling of the channel information in the first window, the method further comprises:
acquiring a second trigger signal on the monitoring interface, selecting a second window according to the second trigger signal, and acquiring all channel information in the second window, wherein the channel information comprises the picture information and the channel number of the channels;
and acquiring the number of the empty windows on the monitoring interface, and corresponding the picture information of the channels to the empty windows under the condition that the number of the empty windows is greater than or equal to the number of the channels.
6. The method for monitoring window switching according to claim 5, wherein the acquiring the second trigger signal on the monitoring interface includes:
and in a second trigger time, under the condition that a third intermittent trigger signal is acquired by the second window, determining that the third intermittent trigger signal is the second trigger signal, wherein the intensity of the second trigger signal is greater than or equal to a preset intensity.
7. The method for monitoring window switching according to claim 5, wherein after the obtaining of the number of empty windows on the monitoring interface, the method further comprises:
under the condition that the number of the empty windows is smaller than the number of the channels, acquiring a total window value and a resolution of the monitoring interface, wherein the total window value is the sum of the number of the existing windows and the number of the windows needing to be increased;
and adjusting the number and the size of the windows in the monitoring interface according to the total value of the windows and the resolution, and enabling the channels in the second window to correspond to the empty windows in the monitoring interface.
8. The method for monitoring window switching according to claim 7, wherein before the adjusting the number and size of the windows in the monitoring interface according to the total window value and the resolution, the method further comprises:
and displaying windowing prompt information on the monitoring interface, and increasing the number of windows or stopping windowing according to the windowing prompt information.
9. An apparatus for window polling and dispensing, the apparatus comprising a first trigger module and a polling module:
the first trigger module is used for acquiring a first trigger signal on a monitoring interface and acquiring a plurality of windows to be merged on the monitoring interface according to the track coordinate of the first trigger signal;
and the polling module is used for acquiring the channel information of the windows to be merged, inputting the channel information into a first window in the windows to be merged, and polling the channel information in the first window.
10. The apparatus for window polling and dispensing of claim 9, further comprising a second triggering module and corresponding module:
the second trigger module is configured to acquire a second trigger signal on the monitoring interface, select a second window according to the second trigger signal, and acquire all channel information in the second window, where the channel information includes picture information and channel number of the channel;
the corresponding module is used for acquiring the number of the empty windows on the monitoring interface and corresponding the picture information of the channels to the empty windows under the condition that the number of the empty windows is larger than or equal to the number of the channels.
11. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202010207132.7A 2020-03-23 2020-03-23 Method, device, computer device and storage medium for monitoring window switching Active CN111522476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010207132.7A CN111522476B (en) 2020-03-23 2020-03-23 Method, device, computer device and storage medium for monitoring window switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010207132.7A CN111522476B (en) 2020-03-23 2020-03-23 Method, device, computer device and storage medium for monitoring window switching

Publications (2)

Publication Number Publication Date
CN111522476A true CN111522476A (en) 2020-08-11
CN111522476B CN111522476B (en) 2022-04-08

Family

ID=71901074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010207132.7A Active CN111522476B (en) 2020-03-23 2020-03-23 Method, device, computer device and storage medium for monitoring window switching

Country Status (1)

Country Link
CN (1) CN111522476B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437264A (en) * 2020-11-12 2021-03-02 珠海大横琴科技发展有限公司 Monitoring video processing method and device
CN113342452A (en) * 2021-07-02 2021-09-03 统信软件技术有限公司 Window display method, computing device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053795A (en) * 2011-01-11 2011-05-11 上海华平信息技术股份有限公司 Method and system for freely laying out video display window
CN105100715A (en) * 2015-06-11 2015-11-25 福建星网锐捷安防科技有限公司 Video switching method and apparatus of monitoring device
CN108549245A (en) * 2018-05-09 2018-09-18 东莞维升电子制品有限公司 Smart home method for managing and monitoring and its system
CN109982008A (en) * 2017-12-28 2019-07-05 浙江宇视科技有限公司 Taking turn switching method, device and electronic equipment
CN110308857A (en) * 2019-06-06 2019-10-08 中国船舶工业系统工程研究院 A kind of circle based on touch control gesture selects inquiry unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053795A (en) * 2011-01-11 2011-05-11 上海华平信息技术股份有限公司 Method and system for freely laying out video display window
CN105100715A (en) * 2015-06-11 2015-11-25 福建星网锐捷安防科技有限公司 Video switching method and apparatus of monitoring device
CN109982008A (en) * 2017-12-28 2019-07-05 浙江宇视科技有限公司 Taking turn switching method, device and electronic equipment
CN108549245A (en) * 2018-05-09 2018-09-18 东莞维升电子制品有限公司 Smart home method for managing and monitoring and its system
CN110308857A (en) * 2019-06-06 2019-10-08 中国船舶工业系统工程研究院 A kind of circle based on touch control gesture selects inquiry unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437264A (en) * 2020-11-12 2021-03-02 珠海大横琴科技发展有限公司 Monitoring video processing method and device
CN112437264B (en) * 2020-11-12 2021-12-31 珠海大横琴科技发展有限公司 Monitoring video processing method and device
CN113342452A (en) * 2021-07-02 2021-09-03 统信软件技术有限公司 Window display method, computing device and readable storage medium

Also Published As

Publication number Publication date
CN111522476B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN111190558B (en) Screen projection control method and device, computer readable storage medium and computer equipment
CN105959564B (en) A kind of photographic method and mobile terminal
WO2022110819A1 (en) Video switching method and apparatus
US9569004B2 (en) Swipe toolbar to switch tabs
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN111522476B (en) Method, device, computer device and storage medium for monitoring window switching
CN110362265B (en) Display interface control method and device, computer equipment and storage medium
US11385791B2 (en) Method and device for setting layout of icon of system interface of mobile terminal, and medium
US9509733B2 (en) Program, communication apparatus and control method
CN106648281B (en) Screenshot method and device
CN111159598A (en) Image browsing method and device, computer equipment and storage medium
CN114327449A (en) Page display method and system and computer equipment
CN113259742B (en) Video bullet screen display method and device, readable storage medium and computer equipment
CN115665314A (en) Screen display method, terminal, and computer-readable storage medium
CN115640092A (en) Interface display method and device, electronic equipment and readable storage medium
CN112181525B (en) Image loading method, device, computer equipment and storage medium
CN114564134A (en) Application icon display method and device
CN109814784B (en) Picture rotation method and device, computer equipment and storage medium
CN114265653A (en) Interface display method, device, equipment, storage medium and program product
CN114879872A (en) Display method, display device, electronic equipment and storage medium
US20170123629A1 (en) Icon sequencing method and device for intelligent television desktop
CN113473012A (en) Virtualization processing method and device and electronic equipment
CN113835651A (en) Data display processing method and device, computer equipment and storage medium
CN111782381A (en) Task management method and device, mobile terminal and storage medium
CN114189646B (en) Terminal control method and device, electronic equipment and storage medium

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