CN106534733A - Video window displaying method and apparatus - Google Patents

Video window displaying method and apparatus Download PDF

Info

Publication number
CN106534733A
CN106534733A CN201510570946.6A CN201510570946A CN106534733A CN 106534733 A CN106534733 A CN 106534733A CN 201510570946 A CN201510570946 A CN 201510570946A CN 106534733 A CN106534733 A CN 106534733A
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.)
Granted
Application number
CN201510570946.6A
Other languages
Chinese (zh)
Other versions
CN106534733B (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

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a video window displaying method and apparatus. The method includes the steps of triggering configuration of window parameters of a second display window when the movement of a first display window is detected, verifying whether the window parameters satisfy preset conditions, obtaining a display resource lock of the second display window when the window parameters satisfy preset conditions, the display resource lock being used to control the display of the display resources on corresponding display window, generating a second display window according to the window parameters, displaying the display resources of the first display window in the second display window according to the control of the display resource lock, destroying the first display window and releasing the display resources of the first display window. The technical problem of flickering and short-time blank screen when a video window moves from a selected position to a display position can be solved.

Description

The display packing of video window and device
Technical field
The present invention relates to electrical application technology field, in particular to a kind of display packing of video window and device.
Background technology
It is with the development of monitoring camera technology, original to use the display quilt of respective amount for showing multiple monitored pictures Existing " picture-in-picture " technology is replaced, i.e. multiple video windows are presented in the display picture of a display, and then Show the monitored picture that multiple cameras shoot.It is on the basis of " picture-in-picture " technology, how seamless by choosing display The picture of docking becomes existing problem demanding prompt solution.
In the selection of existing video window, the first required video window is chosen with mouse generally, then the first video Window changes display location with the movement of mouse with the second video window of display location, finally first video window Shown in final display location.But in existing selecting video window, and the video window is moved by chosen position During moving to display location, it may appear that the phenomenon of blank screen in flicker and short time.
For it is above-mentioned due to video window is moved to display location by chosen position when, the flicker of appearance and in the short time Blank screen problem, not yet propose effective solution at present.
The content of the invention
A kind of display packing of video window and device is embodiments provided, at least to solve due to video window When being moved to display location by chosen position, the technical problem of the flicker of appearance and the blank screen in the short time.
A kind of one side according to embodiments of the present invention, there is provided display packing of video window, including:Work as detection When moving to the first display window, the window parameter of triggering the second display window of configuration;Whether verification window parameter meets It is pre-conditioned;Check results meet for window parameter it is pre-conditioned in the case of, obtain the second display window display Resource lock, shows that resource lock is used for controlling to show that resource is shown in corresponding display window;The is generated according to window parameter Two display windows;According to the control for showing resource lock, in the second display window, the display of the first display window is shown Resource;The first display window is destroyed, and discharges the display resource of the first display window.
Another aspect according to embodiments of the present invention, additionally provides a kind of display device of video window, including:Triggering Module, for when the movement of the first display window is detected, triggering configures the window parameter of the second display window;Verification Module, for verifying whether window parameter meets pre-conditioned;Acquisition module, for check results be window parameter Meet it is pre-conditioned in the case of, obtain the second display window display resource lock, show resource lock be used for control show Resource is shown in corresponding display window;Window generation module, for generating the second display window according to window parameter; Display module, for according to the control for showing resource lock, in the second display window, shows the aobvious of the first display window Show resource;Resource release module, for destroying the first display window, and discharges the display resource of the first display window.
In embodiments of the present invention, when the movement of the first display window is detected, the window of triggering the second display window of configuration Mouth parameter;Whether verification window parameter meets pre-conditioned;Pre-conditioned feelings are met in check results for window parameter The display resource lock of the second display window under condition, is obtained, shows that resource lock is used for controlling to show resource in corresponding display Window shows;The second display window is generated according to window parameter;According to the control for showing resource lock, in the second display window In mouthful, the display resource of the first display window is shown;The first display window is destroyed, and discharges the aobvious of the first display window Show resource.Display window is reached and has taken over seamlessly mobile purpose, it is achieved thereby that display window flicker free is existing without blank screen As the technique effect for producing, and then solve due to when video window is moved to display location by chosen position, appearance The technical problem of the blank screen in flicker and short time.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In accompanying drawing In:
Fig. 1 is the schematic flow sheet of the display packing of video window according to embodiments of the present invention;
Fig. 2 is a kind of schematic flow sheet of the display packing of video window according to embodiments of the present invention;
Fig. 3 be a kind of video window according to embodiments of the present invention display packing in obtain show resource lock flow process show It is intended to;
Fig. 4 is the schematic diagram of the flow for displaying in a kind of display packing of video window according to embodiments of the present invention;
Fig. 5 be a kind of video window according to embodiments of the present invention display packing in destroy the release of the first display window aobvious Show the schematic diagram of resource;
Fig. 6 is the structural representation of the display device of video window according to embodiments of the present invention;
Fig. 7 is a kind of structural representation of the display device of video window according to embodiments of the present invention;
Fig. 8 is the structural representation of the display device of another kind of video window according to embodiments of the present invention;
Fig. 9 is the structural representation of the display device of another video window according to embodiments of the present invention;And,
Figure 10 is the structural representation of the display device of another video window according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment The only embodiment of a present invention part, rather than the embodiment of whole.Based on the embodiment in the present invention, ability The every other embodiment obtained under the premise of creative work is not made by domain those of ordinary skill, should all belong to The scope of protection of the invention.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, " second " Etc. being for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so making Data can be exchanged in the appropriate case, so that embodiments of the invention described herein can be with except here Order beyond those of diagram or description is implemented.Additionally, term " comprising " and " having " and their any deformation, Be intended to cover it is non-exclusive include, for example, contain the process of series of steps or unit, method, system, Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include clearly not list or Other intrinsic for these processes, method, product or equipment step or unit.
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) device transmission, and carry out the equipment for storing, managing.
Picture-in-picture:A kind of video content presentation mode.While the full frame broadcast of video, in the small area of picture Another video is broadcasted simultaneously on region.It is widely used in TV, video record, monitoring, demonstration equipment.
The level Layer of display window:It is mainly used in having the situation of overlap when user arranges two windows, the value is used for area It is divided to the covering relation of two overlaid windowss.Commonly used case is above-mentioned picture-in-picture.
Transparence value Alpha:The value records the transparence information in image with 256 grades of gray scales, defines viewing area Transparency.
Web camera:IP Camera, abbreviation IPC.
Embodiment one
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the display packing of video window, need explanation It is can to hold in the such as computer system of one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated OK, and, although show logical order in flow charts, but in some cases, can be with different from herein Order perform shown or described step.
Fig. 1 is the schematic flow sheet of the display packing of video window according to embodiments of the present invention, as shown in figure 1, should Method comprises the steps:
Step S102, when the movement of the first display window is detected, the window parameter of triggering the second display window of configuration;
Wherein, the display packing of the video window that the embodiment of the present application is provided goes for TV, video record, prison " picture-in-picture " in control and/or demonstration equipment shows.In the embodiment of the present application, step S102 is by obtaining user Selection to current first 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 illustrated by taking the arrow that mouse is shown in the display as an example:
First, when user passes through the arbitrary display window in the currently displaying picture of click, determine the display window For the first display window;
Secondly, when it is determined that after the first display window, as mouse is in the movement of currently displaying picture, triggering configuration second The window parameter of display window.Here the second display window in the embodiment of the present application is used for showing that the first display window exists Display resource after movement.
Whether step S104, verification window parameter meet pre-conditioned;
Wherein, based on step S102, after the window parameter that configuration completes the second display window, the window need to be verified and is joined Whether number is effective, i.e. it is pre-conditioned whether the window parameter meets, and it can be each in window parameter that this is pre-conditioned Virtual value or effective range in parameter correspondence scope.
Step S106, check results meet for window parameter it is pre-conditioned in the case of, obtain second display window Resource lock is shown, shows that resource lock is used for controlling to show that resource is shown in corresponding display window;
Wherein, when multiple threads need to access same data resource, for preventing the data having access to not real-time or repairing Change asynchronous the problems such as cause data exception, therefore need to increase when the data resource is accessed and show resource lock, in this Shen Please in embodiment in order to avoid after the second display window is generated, video data cannot real-time play, or, aobvious second In showing window, the asynchronous problem for causing data exception occurs, and before step S108, first obtains in the second display window Display resource lock in corresponding physically displayed passage.
Step S108, generates the second display window according to window parameter;
Wherein, after according to the verification of step S104, meet pre-conditioned window parameter and generate the second display window.
Step S110, according to the control for showing resource lock, in the second display window, shows the aobvious of the first display window Show resource;
Wherein, with reference to step S106 and step S108, the pre-conditioned window parameter that meets after according to verification is given birth to Into the second display window in, show that resource lock shows the display resource of the first display window according to what step S106 was 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 During shared display resource, system cannot occur to the phenomenon of the corresponding idling-resource of the module assignment.
By above-mentioned steps, when the movement of the first display window is detected, the window ginseng of triggering the second display window of configuration Number;Whether verification window parameter meets pre-conditioned;Check results meet for window parameter it is pre-conditioned in the case of, The display resource lock of the second display window is obtained, shows that resource lock is used for controlling to show that resource is aobvious in corresponding display window Show;The second display window is generated according to window parameter;According to the control for showing resource lock, in the second display window, Show the display resource of the first display window;The first display window is destroyed, and discharges the display resource of the first display window. Display window is reached and has taken over seamlessly mobile purpose, it is achieved thereby that what display window flicker free was produced without blank screen phenomenon Technique effect, and then solve due to when video window is moved to display location by chosen position, the flicker of appearance and The technical problem of the blank screen in the short time.
From step S102 to step S112, Fig. 2 is a kind of display of video window according to embodiments of the present invention The schematic flow sheet of method, as shown in Fig. 2 the display packing of the video window of the embodiment of the present application offer, concrete real Apply and can be:
Before the window parameter for configuring the second display window, first, made by the display window that mouse is chosen according to user For the first display window, first display window is moved then as mobile pointer, triggering the second display window of configuration Window parameter;Secondly, as shown in Figure 2:
Step1, by verifying whether the window parameter of second display window meets pre-conditioned;
Step2, after verification success, obtains the display resource lock of the second display window;
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.
As said process is in implementation process, the generation of window and time used by destruction are very short, are difficult to discover, so The display packing of the video window that the embodiment of the present application is provided realizes the skill that display window flicker free is produced without blank screen phenomenon Art effect.
Preferably, window parameter includes following any one or more parameters:It is physically displayed that second display window is located Channel number, the coordinate of the second display window, the width of the second display window, the height of the second display window, second show Show the transparence information of the colouring information, the hierarchical information of the second display window and the second display window of window.
Wherein, the window parameter that the embodiment of the present application is provided can 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 Degree Height, the colouring information Color of window, 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 can include following at least one:YUV, RGB;Hierarchical information Layer of window can be according to level Size, the low display window of level can be covered by the high display window of level.
Further, it is preferred that based on above-mentioned window parameter, whether the verification window parameter in step S104 meets default The step of condition, includes:
Step1, whether inspection window parameter is all less than corresponding threshold value;
Step2, in judged result for, in the case of being, check results meet pre-conditioned for window parameter;
In addition to the Step2 in step S104, in the case where judged result is no, verification failure, execution system are waited Reconfigure and/or verify, until verify successfully, otherwise, termination process.
Wherein, whether Step1, check window parameter all less than corresponding threshold value, including following any one or more Detecting step:
(1) check whether physically displayed channel number is less than the number of present physical display channel;
(2) check 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 reality The coordinate for applying the second display window in example can be determined according to the type of display, if display is two dimensional display showing, The coordinate is then determined for (x, the y) coordinate on two dimensional display displaing coordinate;If display is three dimensional display showing, The coordinate is then determined for (x, y, the z) coordinate on the displaing coordinate of three dimensional display.
During checking coordinate, no matter two-dimensional coordinate or three-dimensional coordinate, check the coordinate of the second display window equal The resolution less than present displays need to be judged whether.
(3) width of the second display window is checked, is added with the abscissa in the coordinate of the second display window and whether is 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 restriction to the width is width value and window x coordinate value The width less than or equal to display current display resolution is added, in the embodiment of the present application, window width is default The integral multiple of value can be:Window width is 2 integral multiple, i.e. preset value could be arranged to 2, and the application is implemented Preset value in example is only defined by realizing the display packing of the video window of the application offer, is not specifically limited.
(4) height of the second display window is checked, is added with the vertical coordinate in the coordinate of the second display window and whether is less than The height of monitor resolution;
Wherein, it is that height value is added with window y-coordinate value less than or equal to currently displaying point of display to the restriction of height The height of resolution.
(5) display in inspection display drives the colouring information for whether supporting the second display window;
(6) inspection shows and drives the hierarchical information for whether supporting the second display window;
(7) inspection shows and drives the transparence information for whether supporting the second display window.
Preferably, include the step of the display resource lock of the second display window of acquisition in step S106:
Step1, the corresponding physically displayed passage of detection physics display channel number whether there is display window;
Step2, in testing result for, in the case of being, destroying display window, discharges the corresponding display resource of display window Lock;
Step3, obtains and shows resource lock, and labelling shows the display resource lock that resource lock is the second display window.
Specifically, Fig. 3 be a kind of video window according to embodiments of the present invention display packing in obtain show resource lock Schematic flow sheet, as shown in figure 3, comprising the following steps that:
Step1, the corresponding physically displayed passage of detection physics display channel number whether there is display window;
Step2, in testing result for, in the case of being, destroying display window, discharges the corresponding display resource of display window Lock;
Step3, in the case where testing result is no, judges whether to get display resource lock;
Step4, in the case where Step3 judged results are no, waits display resource lock to be obtained;
Step5, in Step3 judged results in the case of being, obtaining the display resource lock, and the labelling display resource Lock the display resource lock for the second display window.
Preferably, include the step of the display resource of the first display window of display in step S110:
In the second display window, the Frame at Tn moment in the display resource of the first display window is shown, wherein, Tn is the moment of the first display window movement.
Wherein, when the second display window shows the display resource of the first display window, if desired reach without time delay, stream Smooth video shows, then need the Frame at the Tn moment in the second display window shows the first display window, it is assumed that The corresponding display time of the display resource shown in the first display window is:T0, T1, T2..., Tx..., T (n-1), TnIf after mobile pointer moves the first display window, the current Frame of the first display window is T2The number at moment According to frame, then in TxAfter the second display window that time trigger is generated, the display resource of shown first display window then needs For T2The Frame at moment, i.e. assume T2The first display window of moment shows BUFnFrame, then illustrate BUFn In T2Moment has had shown that, in T3Moment updates read pointer to BUFn+1Frame, but BUFn+1Not necessarily have new Frame;When showing in the second display window, be from BUFn+1Adjust back to BUFn, i.e. in the second display window from BUFn Start to show.During playing in the second display window, can just reach without effect of the time delay without leakage frame.
In addition, Fig. 4 is the flow for displaying in a kind of display packing of video window according to embodiments of the present invention Schematic diagram, as shown in figure 4, the flow for displaying in the display packing of the video window of the embodiment of the present application offer can be:
Step1, obtains and shows resource lock.
Step2, after successfully resource lock is obtained, each window area of cyclic access each physically displayed passage, if The Frame of display in need.
The Frame is rendered into its correspondence display window by Step3, the Frame for showing if necessary;
Step4, the dispaly state of the frame is removed.The dispaly state of Frame is used for the current display feelings of flag data frame Condition:When there is new data frame to need to show, the state of the Frame is to be shown;
Its dispaly state is removed after having shown by Step5, represents that the Frame completes to show that release shows resource Lock.
Preferably, after step S112 discharges the corresponding display resource of the first display window, the embodiment of the present application is provided The display packing of video window also 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 embodiments of the present invention display packing in destroy the first display window Mouth release shows the schematic diagram of resource, as shown in figure 5, step S112 and step S114 is combined, the first display of release The corresponding process for showing resource lock of window may include steps of:
Step1, the dispaly state of each window frame to be shown in the first display window is removed;
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 in order to avoid occur flash and the short time in blank screen problem, in implementation process with The movement of the first display window, " the second display window " is continuously generated, until the first display window is moved to target Position, specifically, by uninterrupted allocation window parameter, obtains and shows resource lock, generate new display window, according to The display resource of a upper display window is shown according to display resource lock and a upper display window is destroyed, the display window is discharged Display resource, realize display window do not have in moving process flash and blank screen phenomenon occur.Can specifically pass through Illustrate as a example by the example below:
It is assumed that the current display window chosen is the first display window, if necessary to first display window is moved to Target location, then during first display window is moved to target location by current location, with display window The movement of the display location of mouth, generates corresponding display window and destroys the display resource for discharging a upper display window simultaneously, So that display window flow process gapless during movement, specifically, it is assumed that have second during movement and show Show window, the 3rd display window ... ... N-1 display windows and N display windows, wherein, N display windows For the display window of target location, therefore, when the first display window is moved to the display location at the second display window place, Configuration generates the window parameter of the second display window, and verifies whether the window parameter meets pre-conditioned, further, After verification success, the display resource lock of the second display window is obtained, then according to the window parameter of the second display window The second display window is generated, and is shown according to display resource lock by the display resource of the first display window after generation second Show that window shows, finally destroy the first display window, and discharge the display resource of the first display window;Equally, When two display windows are moved to the position at the 3rd display window place, said process is performed, until N-1 display windows It is moved to N display windows, generates N display windows, according to shows that resource lock shows the in N display windows The display resource of N-1 display windows, finally, destroys N-1 display windows, and discharges the aobvious of N-1 display windows Show resource.
In the display packing of the video window that the embodiment of the present application is provided, physically displayed channel number and the second display window Window parameter Jing after verification effectively, attempt obtaining and show resource lock.Show that resource lock is mainly used in controlling display module Can not reentry, i.e., can not the simultaneously resource such as peration data frame, display window, to prevent data exception.Successfully obtain aobvious After showing resource lock, by user's arrange parameter application new window, and the Frame in the first display window is rendered into into second Display window, will destroy former display window resource at once after the completion of rendering, show picture after destroying the first display window resource Face disappears and exposes background colour, in the display packing of the video window provided using the embodiment of the present application, can be to visitor Family bring it is smooth, follow mobile perceived effect, the program to possess preferable Consumer's Experience.When moving to final position When client unclamp mouse, Frame rendered by display window, need not now be closed display or be filled the black back of the body Scape opens the operation such as display again, finally realizes the effect that window interaction does not flash blank screen.Must discharge after moving window Resource lock is shown, so that other module orientation show resource.
Embodiment two
The embodiment of the present invention additionally provides a kind of display device of video window.The device can be by 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 holding The display packing of the video window provided by the row embodiment of the present invention, the display packing of the video window of the embodiment of the present invention The display device of the video window that can also be provided by the embodiment of the present invention is performing.
Fig. 6 is the structural representation of the display device of video window according to embodiments of the present invention.As shown in fig. 6, should The display device of video window, including:Trigger module 61, correction verification module 62, acquisition module 63, window generate mould Block 64, display module 65 and resource release module 66, wherein,
Trigger module 61, for when the movement of the first display window is detected, triggering configures the window of the second display window Parameter;
Correction verification module 62, for verifying whether window parameter meets pre-conditioned;
Acquisition module 63, for check results meet for window parameter it is pre-conditioned in the case of, obtain second show The display resource lock of window, shows that resource lock is used for controlling to show that resource is shown in corresponding display window;
Window generation module 64, for generating the second display window according to window parameter;
Display module 65, for according to the control for showing resource lock, in the second display window, shows the first display window The display resource of mouth;
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 for providing, and when the movement of the first display window is detected, triggering is matched somebody with somebody Put the window parameter of the second display window;Whether verification window parameter meets pre-conditioned;Join for window in check results Number meet it is pre-conditioned in the case of, obtain the second display window display resource lock, show resource lock be used for control to show Show that resource is shown in corresponding display window;The second display window is generated according to window parameter;According to display resource lock Control, in the second display window, shows the display resource of the first display window;The first display window is destroyed, and is released Put the display resource of the first display window.Display window is reached and has taken over seamlessly mobile purpose, it is achieved thereby that showing The technique effect that window flicker free is produced without blank screen phenomenon, and then solve and be moved to by chosen position due to video window During display location, the technical problem of the flicker of appearance and the blank screen in the short time.
Preferably, window parameter includes following any one or more parameters:It is physically displayed that second display window is located Channel number, the coordinate of the second display window, the width of the second display window, the height of the second display window, second show Show the transparence information of the colouring information, the hierarchical information of the second display window and the second display window of window.
Preferably, Fig. 7 is a kind of structural representation of the display device of video window according to embodiments of the present invention.Such as Shown in Fig. 7, correction verification module 62 includes:First verification unit 621 and the second verification unit 622, wherein,
Whether first verification unit 621, for checking window parameter all less than corresponding threshold value;
Second verification unit 622, in the case of being to be in judged result, check results are that window parameter meets in advance If condition;
Wherein, the first verification unit 621, including:
First inspection subelement, for checking whether physically displayed channel number is less than the number of present physical display channel;
Whether the second inspection subelement, the coordinate for checking the second display window are less than monitor resolution;
3rd inspection subelement, for checking the width of the second display window, with the horizontal stroke 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 for the integral multiple of preset value;
4th inspection subelement, for checking the height of the second display window, with the coordinate of the second display window in it is vertical Coordinate is added the height for whether being less than monitor resolution;
5th inspection subelement, for checking the display in display drives whether support that the color of the second display window is believed Breath;
6th inspection subelement, for checking the hierarchical information for showing whether driving supports the second display window;
7th inspection subelement, for checking the transparence information for showing whether driving supports the second display window.
Preferably, Fig. 8 is the structural representation of the display device of another kind of video window according to embodiments of the present invention. As shown in figure 8, acquisition module 63 includes:Detector unit 631, resource lock releasing unit 632 and resource lock obtain single Unit 633, wherein,
Detector unit 631, for detecting that the corresponding physically displayed passage of physics display channel number whether there is display window;
Resource lock releasing unit 632, in testing result, in the case of being, destroying display window, release shows The corresponding display resource lock of window;
Resource lock acquiring unit 633, shows resource lock for obtaining, and labelling shows that resource lock is the second display window Display resource lock.
Preferably, Fig. 9 is the structural representation of the display device of another video window according to embodiments of the present invention. As shown in figure 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 Frame, wherein, Tn be the first display window movement moment.
Preferably, Figure 10 is the structural representation of the display device of another video window according to embodiments of the present invention. As shown in Figure 10, the display device of video window also includes:Resource lock release module 67, wherein,
Resource lock release module 67, for, after the corresponding display resource of the first display window is discharged, release first shows Show the corresponding display resource lock of window.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, other can be passed through Mode realize.Wherein, device embodiment described above is only schematic, such as division of described unit, Can be a kind of division of logic function, when actually realizing, can have other dividing mode, such as multiple units or component Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute The coupling each other for showing or discussing or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to On multiple units.Some or all of unit therein can be selected according to the actual needs to realize this embodiment scheme Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit realized using in the form of SFU software functional unit and as independent production marketing or use when, Can be stored in a computer read/write memory medium.Based on such understanding, technical scheme essence On all or part of part that in other words prior art is contributed or the technical scheme can be with software product Form is embodied, and the computer software product is stored in a storage medium, is used so that one including some instructions Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the invention State all or part of step of method.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. is various can be with the medium of store program codes.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improve and moisten Decorations also should be regarded as protection scope of the present invention.

Claims (12)

1. a kind of display packing of video window, it is characterised in that include:
When the movement of the first display window is detected, the window parameter of triggering the second display window of configuration;
Verify whether the window parameter meets pre-conditioned;
Check results meet for the window parameter it is described it is pre-conditioned in the case of, obtain it is described second show The display resource lock of window, the display resource lock are used for controlling to show that resource is shown in corresponding display window;
Second display window is generated according to the window parameter;
According to the control for showing resource lock, in second display window, first display window is shown The display resource of mouth;
First display window is destroyed, and discharges the display resource of first display window.
2. method according to claim 1, it is characterised in that the window parameter includes following any one Individual or multiple parameters:Second display window be located physically displayed channel number, the coordinate of second display window, The width of second display window, the height of second display window, the color of second display window The transparence information of information, the hierarchical information of second display window and second display window.
3. method according to claim 2, it is characterised in that whether the verification window parameter is full The pre-conditioned step of foot includes:
The window parameter is checked whether all less than corresponding threshold value;
In judged result for, in the case of being, the check results meet described pre-conditioned for the window parameter;
Wherein, check the window parameter whether all less than corresponding threshold value, including it is following any one or it is many Individual detecting step:
Check whether the physically displayed channel number is less than the number of present physical display channel;
The coordinate of second display window is checked whether less than monitor resolution;
The width of second display window is checked, is added with the abscissa in the coordinate of second display window Whether the width of the monitor resolution, and the width of second display window are less than for the integer of preset value Times;
The height of second display window is checked, is added with the vertical coordinate in the coordinate of second display window Whether the height of the monitor resolution is less than;
The display in the display is checked to drive the colouring information for whether supporting second display window;
The described display of inspection drives the hierarchical information for whether supporting second display window;
The described display of inspection drives the transparence information for whether supporting second display window.
4. method according to claim 3, it is characterised in that the acquisition second display window The step of showing resource lock includes:
Detect that the corresponding physically displayed passage of the physically displayed channel number whether there is display window;
In testing result for, in the case of being, destroying the display window, the display window is discharged corresponding aobvious Show resource lock;
The display resource lock is obtained, and described in labelling, shows that the display that resource lock is second display window is provided Lock in source.
5. method according to claim 4, it is characterised in that the display first display window The step of showing resource includes:
In second display window, the data at Tn moment in the display resource of first display window are shown Frame, wherein, Tn is the moment of the first display window movement.
6. method according to claim 1, it is characterised in that discharging the first display window correspondence Display resource after, methods described also includes:
Discharge the corresponding display resource lock of first display window.
7. a kind of display device of video window, it is characterised in that include:
Trigger module, for when the movement of the first display window is detected, triggering configures the window of the second display window Mouth parameter;
Correction verification module, for verifying whether the window parameter meets pre-conditioned;
Acquisition module, for check results meet for the window parameter it is described it is pre-conditioned in the case of, obtain The display resource lock of second display window is taken, the display resource lock is used for controlling to show resource corresponding Display window shows;
Window generation module, for generating second display window according to the window parameter;
Display module, for according to the control for showing resource lock, in second display window, shows The display resource of first display window;
Resource release module, for destroying first display window, and discharges the aobvious of first display window Show resource.
8. device according to claim 7, it is characterised in that the window parameter includes following any one Individual or multiple parameters:Second display window be located physically displayed channel number, the coordinate of second display window, The width of second display window, the height of second display window, the color of second display window The transparence information of information, the hierarchical information of second display window and second display window.
9. device according to claim 8, it is characterised in that the correction verification module includes:
Whether first verification unit, for checking the window parameter all less than corresponding threshold value;
Second verification unit, in the case of being to be in judged result, the check results are that the window is joined Number meets described pre-conditioned;
Wherein, the first verification unit, including:
Whether first inspection subelement, for checking the physically displayed channel number less than present physical display channel Number;
Whether second inspection subelement, for checking the coordinate of second display window less than monitor resolution;
3rd inspection subelement, for checking the width of second display window, with second display window Coordinate in abscissa be added whether less than monitor resolution width, and second display window Width for preset value integral multiple;
4th inspection subelement, for checking the height of second display window, with second display window Coordinate in vertical coordinate be added whether less than monitor resolution height;
Whether the 5th inspection subelement, support described second to show for checking the display in the display to drive The colouring information of window;
6th inspection subelement, for checking described display to drive the level for whether supporting second display window Information;
7th inspection subelement, for checking the display drives whether support the transparent of second display window Degree information.
10. device according to claim 9, it is characterised in that the acquisition module includes:
Detector unit, for detecting the corresponding physically displayed passage of the physically displayed channel number with the presence or absence of display Window;
Resource lock releasing unit, discharges for, in the case of being, destroying the display window in testing result The corresponding display resource lock of the display window;
Resource lock acquiring unit, for obtaining the display resource lock, and shows described in labelling that resource lock is described The display resource lock of the second display window.
11. devices according to claim 10, it is characterised in that the display module includes:
Display unit, for, in second display window, showing the display resource of first display window The Frame at middle Tn moment, wherein, Tn is the moment of the first display window movement.
12. devices according to claim 7, it is characterised in that the display device of the video window is also Including:
Resource lock release module, for, after the corresponding display resource of first display window is discharged, discharging The corresponding display resource lock of first 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 true CN106534733A (en) 2017-03-22
CN106534733B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168616A (en) * 2017-06-08 2017-09-15 网易(杭州)网络有限公司 Game interaction interface display method, device, electronic equipment and storage medium
CN112702561A (en) * 2019-10-22 2021-04-23 杭州海康威视数字技术股份有限公司 Video picture moving method and device and electronic equipment
CN112835488A (en) * 2019-11-22 2021-05-25 杭州海康威视数字技术股份有限公司 Display window control method and device
CN113438534A (en) * 2021-06-11 2021-09-24 杭州海康威视数字技术股份有限公司 Image display method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090013282A1 (en) * 2007-07-06 2009-01-08 Paul Mercer Single-Axis Window Manager
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090013282A1 (en) * 2007-07-06 2009-01-08 Paul Mercer Single-Axis Window Manager
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

Cited By (6)

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

Also Published As

Publication number Publication date
CN106534733B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
US9081535B2 (en) Automatic topology configuration through automatic hardware profiles across multiple display units
CN100345102C (en) Multiple picture frame splitting system
US9077986B2 (en) Electronic visual displays
CN107544730B (en) Picture display method and device and readable storage medium
CN106534733A (en) Video window displaying method and apparatus
CN105447898A (en) Method and device for displaying 2D application interface in virtual real device
WO2017113730A1 (en) Method and system for generating and controlling composite user interface control
US9086838B2 (en) Synchronous media display through automatic hardware profiles across multiple display units
US20240127546A1 (en) Overlay Placement For Virtual Reality And Augmented Reality
US11330150B2 (en) Video content synchronisation method and apparatus
WO2017147551A1 (en) Dynamically cropping digital content for display in any aspect ratio
CN108427589B (en) Data processing method and electronic equipment
CN106648508B (en) Image drawing method and device
CN109324722A (en) Method, device and equipment for adding nodes of thought guide graph and storage medium
US20110085018A1 (en) Multi-User Video Conference Using Head Position Information
CN107517510A (en) A kind of screen display method, device and system
CN112540735B (en) Multi-screen synchronous display method, device and system and computer storage medium
CN101236717B (en) Dynamic image data sequence generation method and dynamic image display apparatus
KR20170101630A (en) Method for managing multi-surface image displayer and multi-display system
Bojrab et al. Perceptual importance of lighting phenomena in rendering of animated water
CN107197387B (en) Method and device for displaying video information on webpage in time-sharing manner
CN104717438B (en) Information processing method and electronic equipment
CN101017660A (en) A method for displaying the object on the multiple display devices under the window operation environment
US9213519B2 (en) Systems and methods for evaluating the operation of a multi-node graphics system
CN113301411B (en) Video processing method, device and system and video processing equipment

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