CN106534733B - The display methods and device of video window - Google Patents

The display methods and device of video window Download PDF

Info

Publication number
CN106534733B
CN106534733B CN201510570946.6A CN201510570946A CN106534733B CN 106534733 B CN106534733 B CN 106534733B CN 201510570946 A CN201510570946 A CN 201510570946A CN 106534733 B CN106534733 B CN 106534733B
Authority
CN
China
Prior art keywords
display
window
display window
resource
resource lock
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
CN201510570946.6A
Other languages
Chinese (zh)
Other versions
CN106534733A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201510570946.6A priority Critical patent/CN106534733B/en
Publication of CN106534733A publication Critical patent/CN106534733A/en
Application granted granted Critical
Publication of CN106534733B publication Critical patent/CN106534733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of display methods of video window and devices.Wherein, this method comprises: when detecting that the first display window is mobile, the window parameter of triggering the second display window of configuration;Whether verification window parameter meets preset condition;In the case where check results are that window parameter meets preset condition, the display resource lock of the second display window is obtained, display resource lock is shown for controlling display resource in corresponding display window;The second display window is generated according to window parameter;According to the control of display resource lock, in the second display window, the display resource of the first display window is shown;The first display window is destroyed, and discharges the display resource of the first display window.The technical issues of present invention solves when being moved to display position by chosen position due to video window, the flashing of appearance and blank screen in the short time.

Description

The display methods and device of video window
Technical field
The present invention relates to electrical application technology fields, in particular to the display methods and device of a kind of video window.
Background technique
With the development of monitoring camera technology, original display quilt that corresponding number is used for the multiple monitored pictures of display Replaced existing " picture-in-picture " technology, that is, multiple video windows are presented in the display picture of a display, and then show more The monitored picture of platform video camera shooting.On the basis of " picture-in-picture " technology, the picture of seamless docking how is shown by choosing Become existing urgent problem to be solved.
In the selection of existing video window, the first required video window is usually chosen with mouse, then the first video Window replaces display position with the movement of mouse and the second video window of display position, and finally first video window is most Whole display position is shown.But in existing selecting video window, and the video window is moved to display by chosen position During position, it may appear that in flashing and short time the phenomenon that blank screen.
For it is above-mentioned display position is moved to by chosen position due to video window when, the flashing of appearance and in the short time Blank screen the problem of, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of display methods of video window and devices, at least to solve due to video window When being moved to display position by chosen position, the technical issues of the flashing of appearance and blank screen in the short time.
According to an aspect of an embodiment of the present invention, a kind of display methods of video window is provided, comprising: when detecting When first display window is mobile, the window parameter of triggering the second display window of configuration;Whether verification window parameter meets default item Part;In the case where check results are that window parameter meets preset condition, the display resource lock of the second display window, display are obtained Resource lock is shown for controlling display resource in corresponding display window;The second display window is generated according to window parameter;According to The control for showing resource lock shows the display resource of the first display window in the second display window;Destroy the first display window Mouthful, and discharge the display resource of the first display window.
According to another aspect of an embodiment of the present invention, a kind of display device of video window is additionally provided, comprising: trigger mode Block, for when detecting that the first display window is mobile, triggering to configure the window parameter of the second display window;Correction verification module is used Whether meet preset condition in verification window parameter;Module is obtained, for being that window parameter meets preset condition in check results In the case where, the display resource lock of the second display window is obtained, display resource lock is for controlling display resource in corresponding display Window is shown;Window generation module, for generating the second display window according to window parameter;Display module, for according to display The control of resource lock shows the display resource of the first display window in the second display window;Resource release module is used for pin The first display window is ruined, and discharges the display resource of the first display window.
In embodiments of the present invention, when detecting that the first display window is mobile, the window of triggering the second display window of configuration Mouth parameter;Whether verification window parameter meets preset condition;In the case where check results are that window parameter meets preset condition, The display resource lock of the second display window is obtained, display resource lock is shown for controlling display resource in corresponding display window; The second display window is generated according to window parameter;According to the control of display resource lock, in the second display window, display first is aobvious Show the display resource of window;The first display window is destroyed, and discharges the display resource of the first display window.Display window is reached Mobile purpose is smoothly switched, to realize the technical effect that display window flicker free is generated without blank screen phenomenon, and then is solved When being moved to display position by chosen position due to video window, the technology of the flashing of appearance and the blank screen in the short time asked Topic.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of the display methods of video window according to an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the display methods of video window according to an embodiment of the present invention;
Fig. 3 is to obtain to show that the process of resource lock is shown in a kind of display methods of video window according to an embodiment of the present invention It is intended to;
Fig. 4 is the schematic diagram of the flow for displaying in a kind of display methods of video window according to an embodiment of the present invention;
Fig. 5 is that destroy the release of the first display window aobvious in a kind of display methods of video window according to an embodiment of the present invention Show the schematic diagram of resource;
Fig. 6 is the structural schematic diagram of the display device of video window according to an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of the display device of video window according to an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of the display device of another video window according to an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the display device of another video window according to an embodiment of the present invention;And
Figure 10 is the structural schematic diagram of the display device of another video window according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
The invention relates to specialized vocabulary:
Network hard disk video recorder: Network Video Recorder, abbreviation NVR, it is a set of to receive IPC by network The digital video bit stream of (web camera) equipment transmission, and the equipment for being stored, being managed.
A kind of picture-in-picture: video content presentation mode.While the full frame broadcast of a video, in the small surfaces of picture Another video is broadcasted on domain simultaneously.It is widely used in TV, video record, monitoring, demonstration equipment.
The level Layer of display window: it is mainly used for having the case where overlapping when two windows of user setting, which is used for area It is divided to the covering relation of two overlaid windows.The case being commonly used is above-mentioned picture-in-picture.
Transparence value Alpha: the value records the transparence information in image with 256 grades of gray scales, defines display area Transparency.
Web camera: IP Camera, abbreviation IPC.
Embodiment one
According to embodiments of the present invention, a kind of embodiment of the method for the display methods of video window is provided, needs to illustrate It is that step shown in the flowchart of the accompanying drawings can execute in a computer system such as a set of computer executable instructions, Also, although logical order is shown in flow charts, and it in some cases, can be to be different from sequence execution herein Shown or described step.
Fig. 1 is the flow diagram of the display methods of video window according to an embodiment of the present invention, as shown in Figure 1, the party Method includes the following steps:
Step S102, when detecting that the first display window is mobile, the window parameter of triggering the second display window of configuration;
Wherein, the display methods of video window provided by the embodiments of the present application can be adapted for TV, video record, monitoring And/or " picture-in-picture " display in demonstration equipment.In the embodiment of the present application, step S102 is by obtaining user to current first The selection of display window, the window parameter of triggering the second display window of configuration.
Specifically, the mobile pointer in the embodiment of the present application is said by taking the arrow that mouse is shown in the display as an example It is bright:
Firstly, determining the display window when user clicks any display window in current display picture by mouse For the first display window;
Secondly, as mouse is in the movement of currently display picture, triggering configuration second is aobvious after determining the first display window Show the window parameter of window.Here the second display window in the embodiment of the present application is for showing the first display window after movement Display resource.
Whether step S104, verification window parameter meet preset condition;
Wherein, it is based on step S102, after the window parameter that the second display window is completed in configuration, the window parameter need to be verified Whether effectively, that is, whether the window parameter meets preset condition, which can be corresponding for parameter each in window parameter Virtual value or effective range in range.
Step S106 obtains the second display window in the case where check results are that window parameter meets preset condition Show that resource lock, display resource lock are shown for controlling display resource in corresponding display window;
Wherein, when multiple threads need to access the same data resource, to prevent the data being accessed not real-time or repairing Change it is asynchronous lead to data exception, therefore need to increase display resource lock when access the data resource, it is real in the application It applies in example in order to avoid after generating the second display window, video data can not be played, in real time or, in the second display window not The problem of leading to data exception appearance is synchronized, before step S108, is first obtained corresponding physically displayed in the second display window Display resource lock in channel.
Step S108 generates the second display window according to window parameter;
Wherein, after according to step S104 verification, the window parameter for meeting preset condition generates the second display window.
Step S110 in the second display window, shows the display of the first display window according to the control of display resource lock Resource;
Wherein, it in conjunction with step S106 and step S108, is generated according to the window parameter for meeting preset condition after verification The second display window in, show the display resource of the first display window according to the step S106 display resource lock obtained.
Step S112 destroys the first display window, and discharges the display resource of the first display window.
Wherein, the display resource for discharging first display window is in order to avoid other module accesses first display window When shared display resource, the phenomenon that module assignment corresponding idling-resource can not occurs in system.
Through the above steps, when detecting that the first display window is mobile, the window ginseng of triggering the second display window of configuration Number;Whether verification window parameter meets preset condition;In the case where check results are that window parameter meets preset condition, obtain The display resource lock of second display window, display resource lock are shown for controlling display resource in corresponding display window;Foundation Window parameter generates the second display window;According to the control of display resource lock, in the second display window, the first display window is shown The display resource of mouth;The first display window is destroyed, and discharges the display resource of the first display window.It is smooth display window has been reached Switch mobile purpose, to realize the technical effect that display window flicker free is generated without blank screen phenomenon, and then solve by When video window is moved to display position by chosen position, the technical issues of the flashing of appearance and blank screen in the short time.
By step S102 to step S112 it is found that Fig. 2 is a kind of display side of video window according to an embodiment of the present invention The flow diagram of method, as shown in Fig. 2, the display methods of video window provided by the embodiments of the present application, specific implementation can be with are as follows:
Before the window parameter for configuring the second display window, firstly, being made according to user by the display window that mouse is chosen For the first display window, then as mobile first display window of mobile pointer, triggering configures the window of the second display window Parameter;Secondly, as shown in Figure 2:
Whether Step1, the window parameter by verifying second display window meet preset condition;
Step2 obtains the display resource lock of the second display window after verifying successfully;
Step3 generates the second display window by verifying successful window parameter;
Step4 shows the display resource of the first display window according to display resource lock in the second display window;
Step5 destroys the first display window, and discharges the display resource of the first display window.
Since the above process is in implementation process, generation and the destruction time used of window are very short, not noticeable, so this The display methods for the video window that application embodiment provides realizes the technology effect that display window flicker free is generated without blank screen phenomenon Fruit.
Preferably, window parameter includes following any one or more parameters: physically displayed where the second display window Channel number, the coordinate of the second display window, the width of the second display window, the height of the second display window, the second display window Colouring information, the hierarchical information of the second display window and the transparence information of the second display window.
Wherein, window parameter provided by the embodiments of the present application may include following any one or more parameters: window institute Physically displayed channel number DisplayChan, the coordinate (X, Y) of window, the width Width of window, the height of window Height, the colouring information Color of window, the hierarchical information Layer of window, the transparence information Alpha of window.
Here the coordinate of window can be window upper left corner relative screen upper left position coordinate;The colouring information of window Color may include following at least one: YUV, RGB;The hierarchical information Layer of window can be the size according to level, layer The low display window of grade can be covered by the high display window of level.
Further, it is preferred that be based on above-mentioned window parameter, whether the verification window parameter in step S104 meets default item The step of part includes:
Whether Step1 examines window parameter all less than corresponding threshold value;
Step2, in the case where the judgment result is yes, check results are that window parameter meets preset condition;
In addition to the Step2 in step S104, if the determination result is NO, verification failure executes system and waits weight New configuration and/or verification, until verify successfully, otherwise, termination process.
Wherein, whether Step1 examines window parameter all less than corresponding threshold value, including following any one or more Detecting step:
(1) examine whether physically displayed channel number is less than the number of present physical display channel;
(2) examine whether the coordinate of the second display window is less than monitor resolution;
Specifically, the coordinate can be the coordinate of window upper left corner relative screen upper left position, wherein the application is implemented The coordinate of the second display window can be determined according to the type of display in example, if display is that two dimensional display is shown, really The fixed coordinate is (x, y) coordinate on two dimensional display displaing coordinate;If display is that three dimensional display is shown, it is determined that the seat (x, y, the z) coordinate being designated as on the displaing coordinate of Three-dimensional Display.
During verifying coordinate, no matter two-dimensional coordinate or three-dimensional coordinate, examine the second display window coordinate it is equal It need to judge whether the resolution ratio less than present displays.
(3) whether the width for examining the second display window, be added with the abscissa in the coordinate of the second display window and be less than The width of monitor resolution, and the width of the second display window is the integral multiple of preset value;
Wherein, the coordinate based on above-mentioned second display window, the limitation to the width are width value and window x coordinate value phase Add the width less than or equal to display current display resolution, in the embodiment of the present application, window width is the whole of preset value Several times can be with are as follows: the integral multiple that window width is 2, that is, preset value can be set to 2, and the preset value in the embodiment of the present application is only It is subject to the display methods for realizing video window provided by the present application, specifically without limitation.
(4) whether the height for examining the second display window, be added with the ordinate in the coordinate of the second display window and be less than The height of monitor resolution;
It wherein, is that height value is added with window y-coordinate value to be less than or equal to display and currently show and divides to the limitation of height The height of resolution.
(5) examine whether the display driving in display supports the colouring information of the second display window;
(6) examine whether display driving supports the hierarchical information of the second display window;
(7) examine whether display driving supports the transparence information of the second display window.
Preferably, the step of display resource lock of the second display window of acquisition in step S106 includes:
Step1, the corresponding physically displayed channel of detection physics display channel number whether there is display window;
Step2 destroys display window, the corresponding display resource of release display window in the case where testing result, which is, is Lock;
Step3 obtains display resource lock, and marking display resource lock is the display resource lock of the second display window.
Specifically, Fig. 3 is to obtain display resource lock in a kind of display methods of video window according to an embodiment of the present invention Flow diagram, as shown in Figure 3, the specific steps are as follows:
Step1, the corresponding physically displayed channel of detection physics display channel number whether there is display window;
Step2 destroys display window, the corresponding display resource of release display window in the case where testing result, which is, is Lock;
Step3 judges whether to get display resource lock in the case where testing result is no;
Step4 waits display resource lock to be obtained in the case where Step3 judging result is no;
Step5 obtains the display resource lock, and mark the display resource lock in the case where Step3 judging result, which is, is For the display resource lock of the second display window.
Preferably, the step of display resource of the first display window of display in step S110 includes:
In the second display window, the data frame at Tn moment in the display resource of the first display window is shown, wherein Tn is At the time of first display window is mobile.
Wherein, when the second display window shows the display resource of the first display window, if desired reach no time delay, it is smooth Video show, then need to show the data frame at Tn moment in the first display window in the second display window, it is assumed that aobvious first Show the corresponding display time for the display resource that window is shown are as follows: T0, T1, T2..., Tx..., T (n-1), TnIf in mobile pointer After mobile first display window, the current data frame of the first display window is T2The data frame at moment, then in TxTime trigger is raw At the second display window after the display resource of shown first display window then need for T2The data frame at moment, that is, false If T2The first display window of moment shows BUFnFrame, then illustrate BUFnIn T2Moment has had shown that, in T3Moment, which updates, to be read to refer to Needle is to BUFn+1Frame, but BUFn+1Not necessarily there is new frame;It, be from BUF in the display of the second display windown+1Adjust back to BUFn, That is, in the second display window from BUFnStart to show.During to be played in the second display window, when can just reach no Prolong the effect without leakage frame.
In addition to this, Fig. 4 is the flow for displaying in a kind of display methods of video window according to an embodiment of the present invention Schematic diagram, as shown in figure 4, flow for displaying in the display methods of video window provided by the embodiments of the present application can be with are as follows:
Step1 obtains display resource lock.
Step2, after successfully obtaining resource lock, each window area in each physically displayed channel of cyclic access, if The data frame of display in need.
The data frame is rendered into it and corresponds to display window by Step3, the data frame shown if necessary;
Step4 removes the display state of the frame.The display state of the data frame display feelings current for flag data frame Condition: when there is new data frame to need to show, the state of the data frame is to be shown;
Step5 is shown that state is removed after having shown, indicates that display, release display resource is completed in the data frame Lock.
Preferably, after step S112 discharges the corresponding display resource of the first display window, the embodiment of the present application is provided Video window display methods further include:
Step S114, the corresponding display resource lock of the first display window of release.
Specifically, Fig. 5 be a kind of video window according to an embodiment of the present invention display methods in destroy the first display window The schematic diagram of mouth release display resource, as shown in figure 5, the first display window of release is corresponding in conjunction with step S112 and step S114 The process of display resource lock may include steps of:
Step1 removes the display state of each window frame to be shown in the first display window;
Step2 destroys the first display window, discharges the corresponding display resource of first display window;
Step3 discharges the corresponding display resource lock of first display window.
In summary, the application is in order to avoid there is the blank screen problem flashed and in the short time, in implementation process with The movement of the first display window, be continuously generated " the second display window ", until the first display window is moved to target position, Specifically, obtaining display resource lock by uninterrupted allocation window parameter, generating new display window, according to display resource lock It shows the display resource of a upper display window and destroys a upper display window, discharge the display resource of the display window, realize Display window does not have the phenomenon that flashing and blank screen in moving process.It specifically can be by being said for following example It is bright:
It is assumed that the display window currently chosen is the first display window, first display window is moved to if necessary Target position, then during first display window is moved to target position by current location, with display window The movement of display position generates corresponding display window and destroys the display resource for discharging a upper display window simultaneously, so that aobvious Show window process gapless in the process of moving, specifically, assuming there is the second display window, third in the process of moving Display window ... ... N-1 display window and N display window, wherein N display window is the display window of target position, Therefore when display position where being moved to the second display window in the first display window, configuration generates the window of the second display window Mouth parameter, and verify whether the window parameter meets preset condition, further, after verifying successfully, obtain the second display window The display resource lock of mouth then generates the second display window according to the window parameter of the second display window, and according to display resource Lock shows second display window of the display resource of the first display window after generation, finally destroys the first display window, and Discharge the display resource of the first display window;Equally, when position where being moved to third display window in the second display window, The above process is executed, until N-1 display window is moved to N display window, generates N display window, according to display resource Lock shows the display resource of N-1 display window in N display window, finally, destroying N-1 display window, and discharges N-1 The display resource of display window.
In the display methods of video window provided by the embodiments of the present application, physically displayed channel number and the second display window Window parameter through verify effectively after, attempt obtain display resource lock.Display resource lock is mainly used for control display module can not Reentry, i.e., cannot resources such as operation data frame, display window simultaneously, to prevent data exception.After success obtains display resource lock, By user setting parameter application new window, and the data frame in the first display window is rendered into the second display window, rendered It to destroy former display window resource at once after, destroy and show that picture disappears and exposes background colour after the first display window resource, When using the display methods of video window provided by the embodiments of the present application, can be brought to client it is smooth, follow mobile sense Know that effect, the program possess preferable user experience.When being moved to final position, client unclamps mouse, and data frame passes through display Window is rendered, and does not need to close display at this time or filling black background opens the operation such as display again, finally realize window Interaction does not flash the effect of blank screen.Display resource lock must be discharged after moving window, so that other module orientation show resource.
Embodiment two
The embodiment of the invention also provides a kind of display devices of video window.The device can pass through the aobvious of video window Show that method realizes its function.It should be noted that the display device of the video window of the embodiment of the present invention can be used for executing sheet The display methods of the display methods of video window provided by inventive embodiments, the video window of the embodiment of the present invention can also lead to The display device of video window provided by the embodiment of the present invention is crossed to execute.
Fig. 6 is the structural schematic diagram of the display device of video window according to an embodiment of the present invention.As shown in fig. 6, the view The display device of frequency window, comprising: trigger module 61, correction verification module 62 obtain module 63, window generation module 64, display mould Block 65 and resource release module 66, wherein
Trigger module 61, for when detecting that the first display window is mobile, triggering to configure the window of the second display window Parameter;
Correction verification module 62, for verifying whether window parameter meets preset condition;
Module 63 is obtained, for obtaining the second display in the case where check results are that window parameter meets preset condition The display resource lock of window, display resource lock are shown for controlling display resource in corresponding display window;
Window generation module 64, for generating the second display window according to window parameter;
Display module 65 in the second display window, shows the first display window for the control according to display resource lock Display resource;
Resource release module 66 for destroying the first display window, and discharges the display resource of the first display window.
The application implements the display device of the video window provided, and when detecting that the first display window is mobile, triggering is matched Set the window parameter of the second display window;Whether verification window parameter meets preset condition;It is full for window parameter in check results In the case where sufficient preset condition, the display resource lock of the second display window is obtained, display resource lock exists for controlling display resource Corresponding display window is shown;The second display window is generated according to window parameter;It is aobvious second according to the control of display resource lock Show in window, shows the display resource of the first display window;The first display window is destroyed, and discharges the display of the first display window Resource.It is mobile to have achieved the purpose that display window smoothly switches, has been generated to realize display window flicker free without blank screen phenomenon Technical effect, and then solve when being moved to display position by chosen position due to video window, the flashing of appearance and short The technical issues of blank screen in time.
Preferably, window parameter includes following any one or more parameters: physically displayed where the second display window Channel number, the coordinate of the second display window, the width of the second display window, the height of the second display window, the second display window Colouring information, the hierarchical information of the second display window and the transparence information of the second display window.
Preferably, Fig. 7 is a kind of structural schematic diagram of the display device of video window according to an embodiment of the present invention.Such as figure Shown in 7, correction verification module 62 includes: the first verification unit 621 and the second verification unit 622, wherein
First verification unit 621, for examining window parameter whether all less than corresponding threshold value;
Second verification unit 622, in the case where the judgment result is yes, check results to be that window parameter satisfaction is default Condition;
Wherein, the first verification unit 621, comprising:
First examines subelement, for examining whether physically displayed channel number is less than the number of present physical display channel;
Second examines subelement, for examining whether the coordinate of the second display window is less than monitor resolution;
Third examines subelement, for examining the width of the second display window, with the cross in the coordinate of the second display window Coordinate is added the width for whether being less than monitor resolution, and the width of the second display window is the integral multiple of preset value;
4th examines subelement, for examining the height of the second display window, with indulging in the coordinate of the second display window Coordinate is added the height for whether being less than monitor resolution;
Whether the 5th examines subelement, support the color of the second display window to believe for examining the display in display to drive Breath;
6th examines subelement, for examining whether display driving supports the hierarchical information of the second display window;
7th examines subelement, for examining whether display driving supports the transparence information of the second display window.
Preferably, Fig. 8 is the structural schematic diagram of the display device of another video window according to an embodiment of the present invention.Such as Shown in Fig. 8, obtaining module 63 includes: detection unit 631, resource lock releasing unit 632 and resource lock acquiring unit 633, wherein
Detection unit 631, for detecting the corresponding physically displayed channel of physics display channel number with the presence or absence of display window;
Resource lock releasing unit 632 discharges display window for destroying display window in the case where testing result, which is, is The corresponding display resource lock of mouth;
Resource lock acquiring unit 633, for obtaining display resource lock, and marking display resource lock is the second display window Show resource lock.
Preferably, Fig. 9 is the structural schematic diagram of the display device of another video window according to an embodiment of the present invention.Such as Shown in Fig. 9, display module 65 includes: display unit 651, wherein
Display unit 651, in the second display window, showing the Tn moment in the display resource of the first display window Data frame, wherein at the time of Tn is that the first display window is mobile.
Preferably, Figure 10 is the structural schematic diagram of the display device of another video window according to an embodiment of the present invention. As shown in Figure 10, the display device of video window further include: resource lock release module 67, wherein
Resource lock release module 67, for after discharging the corresponding display resource of the first display window, release first to be aobvious Show the corresponding display resource lock of window.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (12)

1. a kind of display methods of video window characterized by comprising
When detecting that the first display window is mobile, the window parameter of triggering the second display window of configuration;
Verify whether the window parameter meets preset condition;
In the case where check results are that the window parameter meets the preset condition, the aobvious of second display window is obtained Show that resource lock, the display resource lock are shown for controlling display resource in corresponding display window;
Second display window is generated according to the window parameter;
The display of first display window is shown in second display window according to the control of the display resource lock Resource;
First display window is destroyed, and discharges the display resource of first display window;
Using second display window as the first new display window, return execute it is described when detecting that the first display window moves When dynamic, the step of the window parameter of triggering the second display window of configuration, until the second display window is moved to target position.
2. the method according to claim 1, wherein the window parameter includes following any one or more ginsengs Number: the coordinate of physically displayed channel number, second display window where the second display window, second display window Width, the height of second display window, the level of the colouring information of second display window, second display window The transparence information of information and second display window.
3. according to the method described in claim 2, it is characterized in that, whether the verification window parameter meets preset condition The step of include:
Examine the window parameter whether all less than corresponding threshold value;
In the case where the judgment result is yes, the check results are that the window parameter meets the preset condition;
Wherein, examine the window parameter whether all less than corresponding threshold value, including following any one or more detection steps It is rapid:
Examine whether the physically displayed channel number is less than the number of present physical display channel;
Examine whether the coordinate of second display window is less than monitor resolution;
Whether the width for examining second display window is added with the abscissa in the coordinate of second display window and is less than The width of the monitor resolution, and the width of second display window is the integral multiple of preset value;
Whether the height for examining second display window is added with the ordinate in the coordinate of second display window and is less than The height of the monitor resolution;
Examine whether the display driving in the display supports the colouring information of second display window;
Examine whether the display driving supports the hierarchical information of second display window;
Examine whether the display driving supports the transparence information of second display window.
4. according to the method described in claim 3, it is characterized in that, the display resource lock for obtaining second display window The step of include:
The corresponding physically displayed channel of the physically displayed channel number is detected with the presence or absence of display window;
In the case where testing result, which is, is, the display window is destroyed, the corresponding display resource lock of the display window is discharged;
The display resource lock is obtained, and marking the display resource lock is the display resource lock of second display window.
5. according to the method described in claim 4, it is characterized in that, the display resource of the display first display window Step includes:
In second display window, the data frame at Tn moment in the display resource of first display window is shown, wherein At the time of Tn is that first display window is mobile.
6. the method according to claim 1, wherein discharging the corresponding display resource of first display window Later, the method also includes:
Discharge the corresponding display resource lock of first display window.
7. a kind of display device of video window characterized by comprising
Trigger module, for when detecting that the first display window is mobile, triggering to configure the window parameter of the second display window;
Correction verification module, for verifying whether the window parameter meets preset condition;
Module is obtained, for obtaining described the in the case where check results are that the window parameter meets the preset condition The display resource lock of two display windows, the display resource lock are shown for controlling display resource in corresponding display window;
Window generation module, for generating second display window according to the window parameter;
Display module in second display window, shows that described first is aobvious for the control according to the display resource lock Show the display resource of window;
Resource release module for destroying first display window, and discharges the display resource of first display window, will Second display window triggers the trigger module as the first new display window, until the second display window is moved to Target position.
8. device according to claim 7, which is characterized in that the window parameter includes following any one or more ginsengs Number: the coordinate of physically displayed channel number, second display window where the second display window, second display window Width, the height of second display window, the level of the colouring information of second display window, second display window The transparence information of information and second display window.
9. device according to claim 8, which is characterized in that the correction verification module includes:
First verification unit, for examining the window parameter whether all less than corresponding threshold value;
Second verification unit, in the case where the judgment result is yes, the check results to meet institute for the window parameter State preset condition;
Wherein, the first verification unit, comprising:
First examines subelement, for examining whether the physically displayed channel number is less than the number of present physical display channel;
Second examines subelement, for examining whether the coordinate of second display window is less than monitor resolution;
Third examines subelement, for examining the width of second display window, in the coordinate of second display window Abscissa the width for whether being less than the monitor resolution be added, and the width of second display window is preset value Integral multiple;
4th examines subelement, for examining the height of second display window, in the coordinate of second display window Ordinate be added whether be less than the monitor resolution height;
5th examines subelement, for examining whether the display driving in the display supports the face of second display window Color information;
6th examines subelement, for examining whether the display driving supports the hierarchical information of second display window;
7th examines subelement, for examining whether the display driving supports the transparence information of second display window.
10. device according to claim 9, which is characterized in that the acquisition module includes:
Detection unit, for detecting the corresponding physically displayed channel of the physically displayed channel number with the presence or absence of display window;
Resource lock releasing unit, for destroying the display window, discharging the display window in the case where testing result, which is, is The corresponding display resource lock of mouth;
Resource lock acquiring unit, for obtaining the display resource lock, and marking the display resource lock is second display The display resource lock of window.
11. device according to claim 10, which is characterized in that the display module includes:
Display unit, in second display window, showing the Tn moment in the display resource of first display window Data frame, wherein at the time of Tn is that first display window is mobile.
12. device according to claim 7, which is characterized in that the display device of the video window further include:
Resource lock release module, for discharging described first after discharging the corresponding display resource of first display window The corresponding display resource lock of display window.
CN201510570946.6A 2015-09-09 2015-09-09 The display methods and device of video window Active CN106534733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510570946.6A CN106534733B (en) 2015-09-09 2015-09-09 The display methods and device of video window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510570946.6A CN106534733B (en) 2015-09-09 2015-09-09 The display methods and device of video window

Publications (2)

Publication Number Publication Date
CN106534733A CN106534733A (en) 2017-03-22
CN106534733B true CN106534733B (en) 2019-09-17

Family

ID=58345584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510570946.6A Active CN106534733B (en) 2015-09-09 2015-09-09 The display methods and device of video window

Country Status (1)

Country Link
CN (1) CN106534733B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168616B (en) * 2017-06-08 2020-02-21 网易(杭州)网络有限公司 Game interaction interface display method and device, electronic equipment and storage medium
CN112702561B (en) * 2019-10-22 2023-05-05 杭州海康威视数字技术股份有限公司 Video picture moving method and device and electronic equipment
CN112835488B (en) * 2019-11-22 2022-09-02 杭州海康威视数字技术股份有限公司 Display window control method and device
CN113438534B (en) * 2021-06-11 2022-09-30 杭州海康威视数字技术股份有限公司 Image display method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477436A (en) * 2008-12-18 2009-07-08 腾讯科技(深圳)有限公司 Interaction method and system for client area of program window
CN102567937A (en) * 2010-12-31 2012-07-11 鸿富锦精密工业(深圳)有限公司 Image processing system and method
CN103257798A (en) * 2012-02-17 2013-08-21 阿里巴巴集团控股有限公司 Window sliding method and window sliding device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9116593B2 (en) * 2007-07-06 2015-08-25 Qualcomm Incorporated Single-axis window manager

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477436A (en) * 2008-12-18 2009-07-08 腾讯科技(深圳)有限公司 Interaction method and system for client area of program window
CN102567937A (en) * 2010-12-31 2012-07-11 鸿富锦精密工业(深圳)有限公司 Image processing system and method
CN103257798A (en) * 2012-02-17 2013-08-21 阿里巴巴集团控股有限公司 Window sliding method and window sliding device

Also Published As

Publication number Publication date
CN106534733A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN106534733B (en) The display methods and device of video window
CN102289339B (en) Method and device for displaying expression information
US7414638B2 (en) Application sharing user interface improvements
CN109407936B (en) Screenshot method and related device
KR101279680B1 (en) Motion desktop
CN104349080B (en) A kind of image processing method and electronic equipment
US10762649B2 (en) Methods and systems for providing selective disparity refinement
CN105872815A (en) Video playing method and device
CN103841460B (en) A kind of image data transfer method and electronic equipment
CN107544730B (en) Picture display method and device and readable storage medium
CN104394422A (en) Video segmentation point acquisition method and device
WO2020173199A1 (en) Display method and device, electronic device and storage medium
US20150117834A1 (en) Information processing method and electronic device thereof
CN107636728B (en) Method and apparatus for determining a depth map for an image
CN113873272B (en) Method, device and storage medium for controlling background image of live video
CN106648508B (en) Image drawing method and device
CN109117053B (en) Dynamic display method, device and equipment for interface content
CN103702230B (en) Method for displaying image and device
JP2021531499A (en) Systems and methods to identify the B-roll state of live streams or live rendered content
CN114399437A (en) Image processing method and device, electronic equipment and storage medium
CN110399842A (en) Method for processing video frequency, device, electronic equipment and computer readable storage medium
Hamill et al. Perceptual evaluation of impostor representations for virtual humans and buildings
CN108924627A (en) Position distribution display methods, device, equipment and the storage medium of Moving Objects
CN110879739A (en) Display method and display device of notification bar
CN105334956A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 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