CN107967156A - The background video control method and device of computer video desktop - Google Patents

The background video control method and device of computer video desktop Download PDF

Info

Publication number
CN107967156A
CN107967156A CN201610909561.2A CN201610909561A CN107967156A CN 107967156 A CN107967156 A CN 107967156A CN 201610909561 A CN201610909561 A CN 201610909561A CN 107967156 A CN107967156 A CN 107967156A
Authority
CN
China
Prior art keywords
window
computer
video
desktop
video desktop
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.)
Pending
Application number
CN201610909561.2A
Other languages
Chinese (zh)
Inventor
韩壮
李红义
梁飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xinhai Nano Network Technology Co Ltd
Original Assignee
Beijing Xinhai Nano Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xinhai Nano Network Technology Co Ltd filed Critical Beijing Xinhai Nano Network Technology Co Ltd
Priority to CN201610909561.2A priority Critical patent/CN107967156A/en
Publication of CN107967156A publication Critical patent/CN107967156A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The present invention provides the background video control method and device of computer video desktop, a kind of background video control method therein includes:It whether there is visual windows before judging computer video desktop;There are during visual windows, control the background video of the computer video desktop that static image frame is presented before judging result is the computer video desktop;Another kind background video control method therein includes:Judge whether computer video desktop is blocked completely;When judging result is blocked completely for the computer video desktop, control the background video of the computer video desktop that static image frame is presented.Technical solution provided by the invention can be controlled according to computer when the broadcast state of the adaptive background video to computer video desktop of the window of front opening, further increase user experience, and optimize the occupation condition of computer.

Description

The background video control method and device of computer video desktop
Technical field
The present invention relates to computer technology, more particularly to a kind of background video control method of computer video desktop and The background video control device of computer video desktop.
Background technology
At present, the background of computer desktop is mostly static form, as using fine definition wallpaper as computer desktop Background, so as to form the computer desktop using rest configu as background.In order to provide the user with more cruel desktop effect, occur Computer video desktop application software using dynamic video as background, the i.e. application software are in by making the background of computer desktop Show video playing form and form computer video desktop.
The background video of computer video desktop by the way of video loop play, draw by the background video of desktop at present The dynamic change in face, visual impact is brought to user, so as to meet the demand of user individual to a certain extent.
Inventor has found in process of the present invention is realized, continues ceaselessly video loop play mode, is attracting user's eye While ball, also to user vision can be brought to disturb in many computer usage scenarios.In addition, the background video circulation of desktop Meeting long-time, lasting occupancy computer CPU resource are played, causes computer disposal to slow, especially compares in configuration It will be become apparent from low computer, so that user's normal use computer can be influenced.
The content of the invention
It is an object of the present invention to provide the background video control method and device of a kind of computer video desktop, with energy Enough broadcast states for working as the background video to computer video desktop of the window of front opening adaptively according to computer are controlled System.
According to the first aspect of the invention, there is provided a kind of background video control method of computer video desktop, should Method includes:It whether there is visual windows before judging computer video desktop;It is the computer video desktop in judging result Before there are during visual windows, control the computer video desktop background video present static image frame.
Optionally, the background video control method of foregoing computer video desktop, wherein the method further include:Sentencing Disconnected result is there are the background video for during visual windows, controlling the computer video desktop before the computer video desktop Dynamic video is presented.
Optionally, the background video control method of foregoing computer video desktop, wherein the judgement computer video The step of whether there is visual windows before desktop includes:According to computer video desktop window information and to computer operation system The window information that system request obtains whether there is visual windows before judging the computer video desktop.
Optionally, the background video control method of foregoing computer video desktop, wherein, the computer video desktop Window information and to computer operating system request obtain window information include:Window ID;Alternatively, the computer regards The window information of frequency desktop and the window information obtained to computer operating system request include:Window ID and Window state.
Optionally, the background video control method of foregoing computer video desktop, wherein the window ID includes:Window The process/thread handle of mouth handle or window.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Desktop window information and the window information obtained to computer operating system request are before judging the computer video desktop It is no that there are the step of visual windows to include:Front end window ID is asked to computer operating system;Judge computer operating system Whether the front end window ID returned based on the request is computer video desktop window mark;In the front end window ID When not identified for computer video desktop window, judge that there are visual windows before computer video desktop.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Desktop window information and the window information obtained to computer operating system request are before judging the computer video desktop It is no that there are the step of visual windows to include:To computer operating system request active window mark;Judge computer operating system The active window returned based on the request identifies whether to identify for computer video desktop window;Identified in the active window When not identified for computer video desktop window, judge that there are visual windows before computer video desktop.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Desktop window information and the window information obtained to computer operating system request are before judging the computer video desktop It is no that there are the step of visual windows to include:To the current each top-level windows mark of computer operating system request and each top-level windows shape State;Identified according to computer operating system based on each top-level windows that the request returns and each top-level windows condition adjudgement is It is no to there are the top-level windows not identified in visibility status and top-level windows mark for computer video desktop window;At presence In visibility status and top-level windows mark for computer video desktop window mark top-level windows when, judge that computer regards There are visual windows before frequency desktop.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Desktop window information and the window information obtained to computer operating system request are before judging the computer video desktop It is no that there are the step of visual windows to include:Each process/thread being currently up to computer operating system request identifies;According to meter Calculation machine operating system return each process/thread being currently up identify to computer operating system request be currently up it is each into The corresponding each top-level windows mark of journey/thread and each top-level windows state;Each top layer window returned according to computer operating system Mouthful mark and each top-level windows condition adjudgement whether there is in visibility status and top-level windows mark be not computer video table The top-level windows of face window ID;It is not computer video desktop window mark existing in visibility status and top-level windows mark During the top-level windows of knowledge, judge that there are visual windows before computer video desktop.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Desktop window information and the window information obtained to computer operating system request are before judging the computer video desktop It is no that there are the step of visual windows to include:The top-level windows that visibility status is currently to computer operating system request identify; Include the top-level windows for being currently at visibility status in the response message that computer operating system is returned based on the request During mark, judge that there are visual windows before computer video desktop.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Desktop window information and the window information obtained to computer operating system request are before judging the computer video desktop It is no that there are the step of visual windows to include:Currently there is the window mark of the window of keyboard focus to computer operating system request Know;When computer operating system is not identified based on the window ID that the request returns for computer video desktop window, sentence Break and before computer video desktop that there are visual windows.
According to the second aspect of the invention, a kind of background video control method of computer video desktop is also provided, should Method includes:Judge whether computer video desktop is blocked completely;It is complete for the computer video desktop in judging result When being blocked, control the background video of the computer video desktop that static image frame is presented.
Optionally, the background video control method of foregoing computer video desktop, wherein the method further include:Sentencing When disconnected result is not blocked completely for the computer video desktop, the background video for controlling the computer video desktop is in Existing dynamic video.
Optionally, the background video control method of foregoing computer video desktop, wherein the judgement computer video The step of whether desktop is blocked completely includes:Asked according to computer video desktop window information and to computer operating system The window information of acquisition is asked to judge whether the computer video desktop is blocked completely.
Optionally, the background video control method of foregoing computer video desktop, wherein, the computer video desktop Window information and to computer operating system request obtain window information include:Window ID;Alternatively, the computer regards The window information of frequency desktop and the window information obtained to computer operating system request include:Window ID and Window state.
Optionally, the background video control method of foregoing computer video desktop, wherein the window ID includes:Window The process/thread handle of mouth handle or window.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Whether desktop window information and the window information obtained to computer operating system request judge the computer video desktop The step of being blocked completely includes:To computer operating system request top-level windows mark and top-level windows state;According to meter Each top-level windows mark and each top-level windows state that calculation machine operating system is returned based on the request are determined there is currently In maximized state and top-level windows mark for computer video desktop window mark top-level windows when, judge to calculate Machine video desktop is blocked completely.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Whether desktop window information and the window information obtained to computer operating system request judge the computer video desktop The step of being blocked completely includes:Each process/thread being currently up to computer operating system request identifies;According to computer Operating system return each process/thread being currently up identify to computer operating system request be currently up each process/ The corresponding each top-level windows mark of thread and each top-level windows state;Each top-level windows mark returned according to computer operating system It is not computer video desktop that knowledge and each top-level windows condition adjudgement, which whether there is in maximized state and top-level windows mark, The top-level windows of window ID;It is not computer video desktop window mark existing in maximized state and top-level windows mark During the top-level windows of knowledge, judge that computer video desktop is blocked completely.
Optionally, the background video control method of foregoing computer video desktop, wherein described according to computer video Whether desktop window information and the window information obtained to computer operating system request judge the computer video desktop The step of being blocked completely includes:Currently there is the window ID of the window of keyboard focus to computer operating system request; When computer operating system is identified based on the window ID that the request returns for computer video desktop workspace window, judge Go out computer video desktop not to be blocked completely.
Optionally, the background video control method of foregoing computer video desktop, wherein the judgement computer video The step of whether desktop is blocked completely includes:Judge whether computer video desktop workspace window receives computer mouse Message;When the computer video desktop workspace window receives computer mouse message, computer video table is judged Face is not blocked completely.
According to the third aspect of the present invention, a kind of background video control method of computer video desktop is also provided, should Method includes:Whether judge the workspace window of computer video desktop has keyboard focus;Regarded in judging result for computer In the case that the workspace window of frequency desktop does not have keyboard focus, the background video of the computer video desktop is controlled to present Static image frame;In the case where judging result has keyboard focus for the workspace window of computer video desktop, institute is controlled Dynamic video is presented in the background video for stating computer video desktop.
According to the fourth aspect of the present invention, a kind of background video control device of computer video desktop is also provided, should Device includes:First judgment module, for whether there is visual windows before judging computer video desktop;First control module, For there are the back of the body for during visual windows, controlling the computer video desktop before judging result is the computer video desktop Static image frame is presented in scape video.
Optionally, the background video control device of foregoing computer video desktop, wherein first control module is also For:There are during visual windows, control the computer video desktop before judging result is the computer video desktop Background video present dynamic video.
Optionally, the background video control device of foregoing computer video desktop, wherein first judgment module has Body is used for:Institute is judged according to computer video desktop window information and the window information obtained to computer operating system request It whether there is visual windows before stating computer video desktop.
Optionally, the background video control device of foregoing computer video desktop, wherein, the computer video desktop Window information and to computer operating system request obtain window information include:Window ID;Alternatively, the computer regards The window information of frequency desktop and the window information obtained to computer operating system request include:Window ID and Window state.
Optionally, the background video control device of foregoing computer video desktop, wherein the window ID includes:Window The process/thread handle of mouth handle or window.
Optionally, the background video control device of foregoing computer video desktop, wherein the first judgment module bag Include:Front end window judging unit, for asking front end window ID to computer operating system, judges computer operating system base In it is described request return front end window ID whether be computer video desktop window mark, in the front end window ID not When being identified for computer video desktop window, judge that there are visual windows before computer video desktop.
Optionally, the background video control device of foregoing computer video desktop, wherein the first judgment module bag Include:Active window judging unit, for computer operating system request active window mark, judging computer operating system base Identify whether to identify for computer video desktop window in the active window that the request returns, in active window mark not When being identified for computer video desktop window, judge that there are visual windows before computer video desktop.
Optionally, the background video control device of foregoing computer video desktop, wherein the first judgment module bag Include:First top-level windows judging unit, for asking current each top-level windows mark and each top layer window to computer operating system Mouth state, each top-level windows mark and each top-level windows state returned according to computer operating system based on the request are sentenced Disconnected whether there is in visibility status and top-level windows mark is not the top-level windows of computer video desktop window mark, is being deposited In visibility status and top-level windows mark for computer video desktop window mark top-level windows when, judge to calculate There are visual windows before machine video desktop.
Optionally, the background video control device of foregoing computer video desktop, wherein the first judgment module bag Include:Second top-level windows judging unit, each process/thread for being currently up to computer operating system request identify, root Each process/thread being currently up returned according to computer operating system identifies what is be currently up to computer operating system request Each corresponding each top-level windows mark of process/thread and each top-level windows state, each top returned according to computer operating system Layer window ID and each top-level windows condition adjudgement whether there is not to be regarded in visibility status and top-level windows mark for computer The top-level windows of frequency desktop window mark, are not computer video Table-top type window existing in visibility status and top-level windows mark During the top-level windows of mouth mark, judge that there are visual windows before computer video desktop.
Optionally, the background video control device of foregoing computer video desktop, wherein the first judgment module bag Include:3rd top-level windows judging unit, for being currently at the top-level windows mark of visibility status to computer operating system request Know, the top layer window for being currently at visibility status is included in the response message that computer operating system is returned based on the request During mouth mark, judge that there are visual windows before computer video desktop.
Optionally, the background video control device of foregoing computer video desktop, wherein the first judgment module bag Include:4th window judging unit, for currently having the window ID of the window of keyboard focus to computer operating system request, When computer operating system is not identified based on the window ID that the request returns for computer video desktop window, judge There are visual windows before computer video desktop.
According to the fifth aspect of the present invention, a kind of background video control device of computer video desktop is also provided, should Device includes:Second judgment module, for judging whether computer video desktop is blocked completely;Second control module, is used for When judging result is blocked completely for the computer video desktop, the background video for controlling the computer video desktop is in Existing static image frame.
Optionally, the background video control device of foregoing computer video desktop, wherein second control module is also For:When judging result is not blocked completely for the computer video desktop, the computer video desktop is controlled Dynamic video is presented in background video.
Optionally, the background video control device of foregoing computer video desktop, wherein second judgment module has Body is used for:Institute is judged according to computer video desktop window information and the window information obtained to computer operating system request State whether computer video desktop is blocked completely.
Optionally, the background video control device of foregoing computer video desktop, wherein, the computer video desktop Window information and to computer operating system request obtain window information include:Window ID;Alternatively, the computer regards The window information of frequency desktop and the window information obtained to computer operating system request include:Window ID and Window state.
Optionally, the background video control device of foregoing computer video desktop, wherein the window ID includes:Window The process/thread handle of mouth handle or window.
Optionally, the background video control device of foregoing computer video desktop, wherein the second judgment module bag Include:5th top-level windows judging unit, for asking top-level windows mark and top-level windows state to computer operating system, Each top-level windows mark and each top-level windows state returned according to computer operating system based on the request is determined to work as It is preceding exist in maximized state and top-level windows mark for computer video desktop window mark top-level windows when, judge Go out computer video desktop to be blocked completely.
Optionally, the background video control device of foregoing computer video desktop, wherein the second judgment module bag Include:6th top-level windows judging unit, each process/thread for being currently up to computer operating system request identify, root Each process/thread being currently up returned according to computer operating system identifies what is be currently up to computer operating system request Each corresponding each top-level windows mark of process/thread and each top-level windows state, each top returned according to computer operating system It is not computer that layer window ID and each top-level windows condition adjudgement, which whether there is in maximized state and top-level windows mark, The top-level windows of video desktop window ID, are not computer video table existing in maximized state and top-level windows mark During the top-level windows of face window ID, judge that computer video desktop is blocked completely.
Optionally, the background video control device of foregoing computer video desktop, wherein the second judgment module bag Include:7th window judging unit, for currently having the window ID of the window of keyboard focus to computer operating system request, When computer operating system is identified based on the window ID that the request returns for computer video desktop workspace window, sentence Break and computer video desktop and be not blocked completely.
Optionally, the background video control device of foregoing computer video desktop, wherein the second judgment module bag Include:Mouse information judging unit, for judging whether computer video desktop workspace window receives computer mouse message, When the computer video desktop workspace window receives computer mouse message, computer video desktop is judged not It is blocked completely.
According to the sixth aspect of the invention, a kind of background video control device of computer video desktop is also provided, should Device includes:Whether the 3rd judgment module, the workspace window for judging computer video desktop have keyboard focus;3rd Control module, in the case of not having keyboard focus in judging result for the workspace window of computer video desktop, control Static image frame is presented in the background video for making the computer video desktop, in the work that judging result is computer video desktop In the case that area's window has keyboard focus, control the background video of the computer video desktop that dynamic video is presented.
Compared with prior art, the present invention has the following advantages:No matter user opens a window or opens more A window, is often operated accordingly for window, such as edit WORD documents, receiving and dispatching mail, browse news web page or Game etc. is played, at this time, if dynamic video is presented in the background video of computer video desktop, the background video of loop play is not It can only continue to take computer CPU resource, moreover, when not being blocked in the background video part of computer video desktop, circulation The background video of broadcasting is likely to produce user certain vision interference, and the present invention is by judging computer video table In front there are during visual windows, static image frame is presented in the background video of control computer video desktop, not only releases circulation The resource for the computer CPU that the background video of broadcasting persistently takes, and the background video of loop play is avoided to user's Vision is disturbed.It follows that technical solution provided by the invention can be according to computer when adaptive pair of the window of front opening The broadcast state of the background video of computer video desktop is controlled, and further increases user experience, and optimizes calculating The occupation condition of machine.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the background video control method flow chart of the computer video desktop of the embodiment of the present invention one;
Fig. 2 is the background video control method flow chart of the computer video desktop of the embodiment of the present invention two;
Fig. 3 is the background video control method flow chart of the computer video desktop of the embodiment of the present invention three;
Fig. 4 is the background video control device schematic diagram of the computer video desktop of the embodiment of the present invention four;
Fig. 5 is the background video control device schematic diagram of the computer video desktop of the embodiment of the present invention five;
Fig. 6 is the background video control device schematic diagram of the computer video desktop of the embodiment of the present invention six.
Embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here Formula is limited.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and can be by the disclosure Scope is completely communicated to those skilled in the art.
Technical scheme is described in further detail below in conjunction with the accompanying drawings.
Embodiment one, the background video control method of computer video desktop.
In the present embodiment, the presentation still frame that the background of computer desktop is formed not by the form of wallpaper Computer desktop background, but the content that the background of the video background that can be played, i.e. computer desktop is showed is Playable dynamic video pictures, the computer desktop with such background are referred to as computer in the present embodiment Video desktop.
Computer video desktop in the present embodiment is typically with calculating by playable pre- setting video as background video Each icon (icon of the icon of such as application program, document icon and shortcut) and taskbar on machine desktop etc. are stacked Add and formed, i.e., each icon and taskbar in computer desktop etc. are still set according to original position, the meter of the present embodiment The background video that calculation machine video desktop is played can't to the position of each icon and taskbar in computer desktop etc. and Active mode etc. produces any influence.
Computer video desktop in the present embodiment is typically such as to be existed come what is realized by computer video multipad It is mounted with computer after the computer video multipad of the present invention, which can profit The background picture of former desktop is replaced or covered with corresponding background video, is dynamically regarded so that the background of computer desktop is presented Frequency picture, forms computer video desktop.
The background video that computer video desktop in the present embodiment is played is typically computer video desktop application journey The video (the pre- setting video carried such as computer video multipad) of default setting in sequence, certainly, the present embodiment Be not excluded for the background video that computer video desktop is played be computer user in computer video multipad from Define the situation of the video set.
Fig. 1 is the flow chart of the background video control method of the computer video desktop of the present embodiment.In Fig. 1, this reality Applying the method for example mainly includes:Step S100 and step S110;Optionally, the method for the present embodiment can also include:S120. Each step included below to the method for the present embodiment illustrates respectively.
S100, whether there is visual windows before judging computer video desktop.
As an example, judge computer with the presence or absence of visual windows before judgement computer video desktop in the present embodiment It whether there is visual windows on video desktop, i.e. the present embodiment judges whether computer video desktop is blocked by visual windows; Blocking here can be partial occlusion, or block completely.
Specifically, the present embodiment can ask window information to computer operating system, computer operation system is being received After system is for the request and the window information replied, according to pre-set computer video desktop window information and reply Window information whether there is visual windows before judging computer video desktop.
As an example, the request that computer operating system in the present embodiment is received for it and the window information replied It can be specially window ID;Can also be specially window ID and Window state, and the window ID in the present embodiment can be with For window name, or the process/thread title of window, can also be the process/thread title of window name and window, Can also be window handle, or the process/thread handle of window, can also be process/line of window handle and window Journey handle.In addition, window ID can be specially front end window ID, active window mark or top-level windows mark, this reality It can be specially minimum state, reducing condition or maximized state to apply the Window state in example.
As an example, the computer video desktop window information in the present embodiment can be specially computer video Table-top type window Mouthful mark, window ID can be window name, or the process/thread title of window, can also be window name with The process/thread title of window, can also be window handle, or the process/thread handle of window, can also be window The process/thread handle of handle and window, and the computer video desktop window mark in the present embodiment can be multiple windows Mark, i.e. computer video desktop window are identified as a logo collection (following to be known as video desktop window ID set), should It can include in video desktop window ID set:Window ID for the window that carries background video, for carrying task The window ID of the window on column and the window ID of the window for carrying each icon etc., namely the computer in the present embodiment Video desktop window can include:For carrying the window of background video, the window for carrying taskbar and for carrying Window of each icon etc..
As an example, the process/thread mark in the present embodiment can be specially the title of process/thread, or The handle of process/thread, can also be the path of process/thread.
The present embodiment is based on according to pre-set computer video desktop window information and computer operating system please The window information asked and replied judge before computer video desktop with the presence or absence of visual windows specific implementation have it is a variety of, under Lift several specific examples and illustrate in face.
Example 1, to computer operating system ask front end window ID, as timing to computer operating system send be used for Obtain the request of current front end window ID;In the front end window mark for receiving computer operating system and being returned based on the request During knowledge, judge the front end window ID whether be computer video desktop window mark, such as judge front end window ID whether be One of mark in pre-set window ID set;Judging that front end window ID is not computer video desktop In the case of window ID, determine that there are visual windows before computer video desktop.
Example 2, ask active window mark to computer operating system, is used for as timing is sent to computer operating system Obtain the request of current active window ID;In the active window mark for receiving computer operating system and being returned based on the request During knowledge, judge the active window identify whether for computer video desktop window identify, such as judge active window identify whether as One of mark in video desktop window ID set;Judging that active window mark is not computer video Table-top type window In the case of mouth mark, determine that there are visual windows before computer video desktop.
Example 3, to the current each top-level windows mark of computer operating system request and each top-level windows state, such as timing The request for being used for obtaining current each top-level windows mark and each top-level windows state is sent to computer operating system;Receiving When current each top-level windows mark that computer operating system is returned based on the request and each top-level windows state, according to current Each top-level windows mark and each top-level windows state determine to be currently at each top-level windows of visibility status (as determined current place In reducing condition or each top-level windows of maximized state), and judge to be currently at the window of each top-level windows of visibility status With the presence or absence of the window ID not identified for computer video desktop window in mouth mark, as judgement is currently at visibility status With the presence or absence of the window ID for being not belonging to video desktop window ID set in the window ID of each top-level windows;Judging to work as There is the window mark for being not belonging to video desktop window ID set in the window ID of preceding each top-level windows in visibility status In the case of knowledge, determine that there are visual windows before computer video desktop;And judging that being currently at each of visibility status pushes up In the case of the window ID for being not belonging to video desktop window ID set in the window ID of layer window, determine to calculate There are visual windows before machine video desktop.
Example 4, to computer operating system the request each process and/or thread identification that are currently up, if timing is to calculating Machine operating system sends the request for being used for obtaining each process and/or thread identification that are currently up;Receiving computer operation After each process and/or thread identification that are currently up that system is returned based on the request, according to each process for being currently up and/ Or each process and/or the corresponding each top-level windows mark of thread that thread identification asks to be currently up to computer operating system Know (such as window name) and each top-level windows state, each process for carrying and being currently up such as is sent to computer operating system And/or each thread identification and for obtaining each process for being currently up and/or the corresponding each top-level windows mark of thread With the request of each top-level windows state;In the current each top-level windows for receiving computer operating system and being returned based on the request Mark and during each top-level windows state, determining to be currently at according to current each top-level windows mark and each top-level windows state can Depending on each top-level windows (such as determining to be currently at each top-level windows of reducing condition or maximized state) of state, and judge to work as With the presence or absence of the window not identified for computer video desktop window in the window ID of preceding each top-level windows in visibility status Mouthful mark, as each top-level windows for judging to be currently at visibility status window ID in the presence or absence of being not belonging to live table face-port The window ID of mouth logo collection;Exist in judging to be currently at the window ID of each top-level windows of visibility status and be not In the case of the window ID of computer video desktop window mark, determine that there are visual windows before computer video desktop;And There is no be not computer video desktop window in judging to be currently at the window ID of each top-level windows of visibility status In the case of the window ID of mark, determine that there are visual windows before computer video desktop.
Example 5, the top-level windows for being currently to computer operating system request visibility status identify, if timing is to calculating Machine operating system sends the request for being used for obtaining the top-level windows mark for being currently at visibility status;Receiving computer operation During the response message that system is returned based on the request, judge whether included in the response message that computer operating system is returned There is the top-level windows mark for being currently at visibility status, the top for being currently at visibility status is included in response message is judged During layer window ID, determine there are visual windows in response message is judged not including any before computer video desktop When top-level windows identify, determine that there are visual windows before computer video desktop.
Example 6, the window ID to the current window with keyboard focus of computer operating system request, if timing is to meter Calculation machine operating system sends the request for the window ID for being used to obtain the current window with keyboard focus;Receiving computer During the window ID for the current window with keyboard focus that operating system is returned based on the request, judgement currently has keyboard Whether the window ID of the window of focus does not identify for computer video desktop window, such as judges currently there is the window of keyboard focus Whether the window ID of mouth is the window ID for being not belonging to video desktop window ID set, is judging currently there is keyboard Jiao When the window ID of the window of point does not identify for computer video desktop window, exist visually before determining computer video desktop Window.
In addition, the present embodiment can also identify and to computer operation according to the process/thread of computer video desktop The front end window and/or the corresponding process/thread of active window of system request acquisition are identified before judging computer video desktop It is no that there are visual windows.
One specific example, front end window ID is asked to computer operating system, if timing is to computer operation System sends the request for being used for obtaining front end window ID;Before receiving computer operating system and being returned based on the request When holding window ID, sent to computer operating system and be used to obtain asking for the corresponding process/thread mark of front end window ID Ask, when receiving the process/thread mark that computer operating system returned based on the request, judge the process of the return/ Whether thread identification belongs to the process/thread mark of computer video desktop, is judging the process/thread title of the return not When belonging to the process/thread mark of computer video desktop, determine that there are visual windows before computer video desktop.
Another specific example, to computer operating system request active window mark, as timing to computer grasp Make system and send the request for being used for obtaining active window mark;Returned receiving computer operating system based on the request When active window identifies, sent to computer operating system and be used to obtain the corresponding process/thread mark of active window mark Request, when receiving the process/thread mark that computer operating system returned based on the request, judge the return into Whether journey/thread identification belongs to the process/thread mark of computer video desktop, is judging the process/thread mark of the return When knowing the process/thread mark for being not belonging to computer video desktop, determine that there are visual windows before computer video desktop.
Another specific example, asks front end window ID and active window to identify, such as to computer operating system Timing sends the request for being used to obtain front end window ID and active window mark to computer operating system;Receiving When front end window ID and the active window mark that computer operating system is returned based on the request, to computer operation system System sends the request for being used to obtain front end window ID and the corresponding process/thread mark of active window mark, is receiving During the process/thread mark that computer operating system is returned based on the request, judge that the process/thread of the return identifies whether Belong to the process/thread mark of computer video desktop, being not belonging to computer in the process/thread mark for judging the return regards During the process/thread mark of frequency desktop, determine that there are visual windows before computer video desktop.
As an example, when whether there is visual windows before judgement computer video desktop in the present embodiment, can set One application program white list, the floating window class window that the application program included in white list is created will not be judged, specifically , some windows for needing the application program of long-play and generating a very little (can generally also be referred to as floating window, these are small Window can be shown in face of table for computer or before all application windows for a long time), the acceleration created such as antivirus software Ball window, the download status window for downloading software establishment, the prompt operation window of cloud disk Software Create and operating system carry Small tool etc., after such application program is added in white list, whether deposited before this example judges computer video desktop In visual windows, it will ignore the floating window class window that such application program is created.
Example 1- examples 6 and above three specific example in above-mentioned steps S100 are several judgement computers enumerated It whether there is the specific implementation of visual windows before video desktop, the present embodiment can also judge to calculate using other modes Whether there is visual windows before machine video desktop, herein no longer one by one for example, and the present embodiment be not intended to limit judgement calculate It whether there is the specific implementation process of visual windows before machine video desktop.
S110, before judging result is computer video desktop there are during visual windows, control computer video desktop Static image frame is presented in background video.
As an example, there are visual windows (as utilized above-mentioned steps S100 before judging result is computer video desktop Described in example 1- examples 6 judge that there are visual windows before computer video desktop) in the case of, obtain computer video desktop Background video current play status (as obtain current background video broadcasting condition zone bit information), in the meter got In the case that the current play status of the background video of calculation machine video desktop is video broadcasting condition, control computer video desktop The current play status of background video be switched to video pause broadcast state so that the background of computer video desktop present it is quiet Only picture frame;And the current play status of the background video in the computer video desktop got is video pause broadcast state When, the video pause broadcast state is maintained, so that the background of computer video desktop continues that static image frame is presented;More simplify Preferred embodiment, judging result be computer video desktop before there are visual windows in the case of, set computer video The background video of desktop is pause broadcast state, so that static image frame is presented in the background of computer video desktop.It is above-mentioned static Picture frame is usually switched to video pause in the current play status of the background video of control computer video desktop and plays shape During state, under the background video picture frame being currently played of computer video desktop or the picture frame being currently played One picture frame.
S120, before judging result is computer video desktop not there are during visual windows, control computer video desktop Background video present dynamic video.
As an example, not there are visual windows (as utilized above-mentioned steps before judging result is computer video desktop Example 3- examples 5 in S100 judge that there are visual windows before computer video desktop) in the case of, obtain computer video table The current play status (zone bit information as obtained current background video broadcasting condition) of the background video in face, what is got When the current play status of the background video of computer video desktop is video broadcasting condition, the video broadcasting condition is maintained, with Make the background of computer video desktop that dynamic video persistently be presented;And in the background video of the computer video desktop that gets When current play status is video pause broadcast state, the current play status of the background video of control computer video desktop is cut Video broadcasting condition is changed to, so that the background of computer video desktop starts that dynamic video is presented;What is more simplified is preferable to carry out Example, in the case of before judging result is computer video desktop not there are visual windows, sets the back of the body of computer video desktop Scape video is broadcast state, so that dynamic video is presented in the background of computer video desktop.
Embodiment two, the background video control method of computer video desktop.
Computer desktop in the present embodiment is equally computer video desktop.The particular content of computer video desktop can With referring to the description in above-described embodiment one.This will not be repeated here.
Computer video desktop in the present embodiment generally includes:Workspace (Work area) and taskbar (Taskbar) Two parts, wherein, workspace is made of including increased 1 multiple windows or multiple is used to carry background video and processing disappears The window of breath, multiple windows that workspace is included are properly termed as workspace window, and taskbar is also made of multiple windows, appoint Multiple windows that business column is included are properly termed as taskbar window.
No matter user opens a window or opens multiple windows, as long as at any one window of front opening In maximized state, then the background video of computer video desktop will be blocked completely, at this time, if computer video desktop Background video dynamic video is presented, then the background video of loop play still can take computer CPU resource, shared by it Computer CPU resource is wasted in all senses due to no, and the present embodiment is by judging that computer video desktop is complete When being blocked entirely, static image frame is presented in the background video of control computer video desktop, and it is white to avoid computer CPU resource The phenomenon that whitecap takes;If when the window of front opening is not in maximized state, it is likely that show that user allows computer The background video of video desktop is presented dynamic video, and the present embodiment can be by judging computer video desktop not quilt completely When blocking, dynamic video is presented in the background video of control computer video desktop, current recreational to strengthen.It follows that this Inventing the technical solution provided can be according to computer when the adaptive background to computer video desktop of the window of front opening The broadcast state of video is controlled, and further increases user experience, and optimizes the occupation condition of computer.
Fig. 2 is the flow chart of the background video control method of the computer video desktop of the present embodiment.In fig. 2, this reality Applying the method for example mainly includes:Step S200 and step S210, optionally, the method for the present embodiment can also include step S220.Each step included below to the method for the present embodiment illustrates respectively.
S200, judge whether computer video desktop is blocked completely.
As an example, judge whether computer video desktop is blocked completely in the present embodiment and judge computer video Whether desktop is exposed, that is to say, that the present embodiment judges whether computer video desktop is completely invisible, being exposed here Can be that part is exposed, or be completely exposed.Additionally need special instruction, the computer video table in the present embodiment Face is blocked completely refers to that the window of the background video for load capacity calculation machine video desktop is blocked completely, namely computer regards The workspace of frequency desktop is blocked completely.
Specifically, the present embodiment can ask window information to computer operating system, computer operation system is being received After the window information that system is replied for the request, according to pre-set computer video desktop window information and above-mentioned reply Window information judge whether computer video desktop is blocked completely.
As an example, the request that computer operating system in the present embodiment is received for it and the window information replied It can be specially window ID;Can also be specially window ID and Window state, and the window ID in the present embodiment can be with For window name, or the process/thread title of window, can also be the process/thread title of window name and window, It can also be window handle, or the process/thread handle of window, or process/line of window handle and window Journey handle.In addition, window ID can be specially front end window ID, active window mark or top-level windows mark, this reality It can be specially minimum state, reducing condition or maximized state to apply the Window state in example.
As an example, the computer video desktop window information in the present embodiment can be specially computer video Table-top type window Mouthful mark, window ID can be window name, or the process/thread title of window, can also be window name with The process/thread title of window, or window handle, or the process/thread handle of window, or window The process/thread handle of handle and window, and the computer video desktop window mark in the present embodiment can be multiple windows Mark, i.e. computer video desktop window are identified as a logo collection (following to be known as video desktop window ID set), should It can include in video desktop window ID set:Window ID for the window that carries background video, for carrying task The window ID of the window on column and the window ID of the window for carrying each icon etc., namely computer in the present embodiment regard Frequency desktop window can include:For carrying the window of background video, the window for carrying taskbar and for carrying each figure Target window etc..Partial Window mark in video desktop window ID set belongs to workspace window and identifies, and Partial Window Mark belongs to taskbar window ID.
As an example, the process/thread mark in the present embodiment can be specially the title of process/thread, or The handle of process/thread, can also be the path of process/thread.
The present embodiment is based on according to the computer video desktop window information and computer operating system prestored please It is a variety of that the window information asked and replied judges that the specific implementation whether computer video desktop is blocked completely has, and names Several specific examples illustrate.
Example 1, to the current each top-level windows mark of computer operating system request and each top-level windows state, such as timing The request for being used for obtaining current each top-level windows mark and each top-level windows state is sent to computer operating system;Receiving When current each top-level windows mark that computer operating system is returned based on the request and each top-level windows state, according to current Each top-level windows mark and each top-level windows state determine to be currently at each top-level windows of maximized state, and judge current With the presence or absence of the window not identified for computer video desktop window in the window ID of each top-level windows in maximized state Mouthful mark, as each top-level windows for judging to be currently at maximized state window ID in the presence or absence of being not belonging to video desktop The window ID of window ID set;Exist in judging to be currently at the window ID of each top-level windows of maximized state In the case of not for the window ID of computer video desktop window mark, determine that computer video desktop is blocked completely;And Judging currently to there is two or more not identify for computer video desktop window and be in the feelings of the top-level windows of reducing condition Under condition, the present embodiment can also determine whether the workspace of computer video desktop fully belongs to be currently at also original state The union of each top-level windows region of state, if it is determined that result for computer video desktop workspace fully belong to work as The preceding union in each top-level windows region of reducing condition, it is determined that computer video desktop is blocked completely, and such as The result that fruit judges not fully belongs to each top-level windows for being currently at reducing condition as the workspace of computer video desktop The union of region, it is determined that computer video desktop is not blocked completely.
Example 2, to computer operating system the request each process and/or thread identification that are currently up, if timing is to calculating Machine operating system sends the request for being used for obtaining each process and/or thread identification that are currently up;Receiving computer operation After each process and/or thread identification that are currently up that system is returned based on the request, according to each process for being currently up and/ Or each process and/or the corresponding each top-level windows mark of thread that thread identification asks to be currently up to computer operating system Knowledge and each top-level windows state, such as send to computer operating system and carry each process being currently up and/or each thread mark The corresponding each top-level windows mark of each process and/or thread that is knowing and being currently up for acquisition and each top-level windows shape The request of state;Receiving current each top-level windows mark and each top layer window that computer operating system is returned based on the request During mouth state, determined to be currently at each top of maximized state according to current each top-level windows mark and each top-level windows state Layer window, and judge to be currently in the window ID of each top-level windows of maximized state and whether there is not as computer video Desktop window mark window ID, as judge be currently at maximized state each top-level windows window ID in whether deposit It is being not belonging to the window ID of video desktop window ID set;Judging to be currently at each top-level windows of maximized state Window ID in exist not for computer video desktop window mark window ID in the case of, determine computer video table Face is blocked completely;And judging currently to there is two or more not identify for computer video desktop window and be in reducing condition Top-level windows in the case of, the present embodiment can also determine whether the workspace of computer video desktop belongs to current The union of each top-level windows region in reducing condition, if it is determined that result be computer video desktop workspace Fully belong to be currently at the union of each top-level windows region of reducing condition, it is determined that computer video desktop is complete Block, and if it is determined that result not exclusively belong to each top for being currently at reducing condition for the workspace of computer video desktop The union of layer window region, it is determined that computer video desktop is not blocked completely.
In above-mentioned example 1 and example 2, the region where window can be determined according to the position coordinates on four vertex of window, And during to the current each top-level windows mark of computer operating system request and each top-level windows state, if calculated Machine operating system is based on the request while current each top-level windows mark and each top-level windows state is returned, and also returns The position coordinates on four vertex of each top-level windows, then the present embodiment can easily obtain four vertex of each top-level windows Position coordinates;And if computer operating system is based on the request and is returning to current each top-level windows mark and each top-level windows shape During state, the position coordinates on four vertex of each top-level windows is not returned to, then the present embodiment can be according to each top currently obtained Layer window ID asks the position coordinates on four vertex of each top-level windows to computer operating system.
Example 3, the window ID to the current window with keyboard focus of computer operating system request, if timing is to meter Calculation machine operating system sends the request for the window ID for being used to obtain the current window with keyboard focus;Receiving computer During the window ID for the current window with keyboard focus that operating system is returned based on the request, judgement currently has keyboard Whether the window ID of the window of focus is computer video desktop workspace window mark (computer video desktop workspace window Mouth mark includes being used for the window ID of window and the window ID of the window for carrying each icon for carrying background video Deng), when the window ID for judging the currently window with keyboard focus identifies for computer video desktop workspace window, Determine that computer video desktop is not blocked completely.
Example 4, judge whether computer video desktop workspace window currently receives computer operating system and be sent to Computer mouse message, be currently received computer mouse message in judging result for computer video desktop workspace window When, determine that computer video desktop is not blocked completely.
In above-mentioned example 3 and example 4, computer video desktop is not blocked completely to be referred to be used for load capacity calculation machine live table The window portion of the background video in face expose either be completely exposed namely the workspace portion of computer video desktop expose or It is completely exposed.
S210, judging result for computer video desktop be blocked completely when, the background of control computer video desktop Static image frame is presented in video.
As an example, it is blocked completely for computer video desktop (in using above-mentioned steps S200 in judging result Example 1 and example 2 judge that computer video desktop is blocked completely) in the case of, the background video of acquisition computer video desktop Current play status (as obtain current background video broadcasting condition zone bit information), in the computer video table got When the current play status of the background video in face is video broadcasting condition, the background video of control computer video desktop it is current Broadcast state is switched to video pause broadcast state, so that static image frame is presented in the background of computer video desktop;And obtaining When the current play status of the background video for the computer video desktop got is video pause broadcast state, maintain the video temporary Stop broadcast state, so that the background of computer video desktop continues remains stationary picture frame;More simplified preferred embodiment, In the case that judging result is blocked completely for computer video desktop, the background video for setting computer video desktop is pause Broadcast state, so that static image frame is presented in the background of computer video desktop.Above-mentioned static image frame is usually to be counted in control When the current play status of the background video of calculation machine video desktop is switched to video pause broadcast state, computer video desktop The picture frame or the next picture frame for the picture frame being currently played that background video is currently played.
S220, judging result for computer video desktop be not blocked completely when, control computer video desktop Dynamic video is presented in background video.
As an example, it is not blocked completely (as utilized above-mentioned steps S200 for computer video desktop in judging result Described in example 1- examples 4 judge that computer video desktop is not blocked completely) in the case of, obtain computer video desktop Background video current play status (as obtain current background video broadcasting condition zone bit information), in the meter got When the current play status of the background video of calculation machine video desktop is video broadcasting condition, the video broadcasting condition is maintained, so that Dynamic video is persistently presented in the background of computer video desktop;And the computer video desktop got background video work as When preceding broadcast state is video pause broadcast state, the current play status switching of the background video of control computer video desktop For video broadcasting condition, so that the background of computer video desktop starts that dynamic video is presented;More simplified preferred embodiment, In the case where judging result is not blocked completely for computer video desktop, the background video of computer video desktop is set For broadcast state, so that dynamic video is presented in the background of computer video desktop.
Embodiment three, the background video control method of computer video desktop.
Computer desktop in the present embodiment is equally computer video desktop.The particular content of computer video desktop can With referring to the description in above-described embodiment one.This will not be repeated here.
Fig. 3 is the flow chart of the background video control method of the computer video desktop of the present embodiment.In figure 3, this reality Applying the method for example mainly includes:Step S300, step S310 and step S320.The method of the present embodiment is included below Each step illustrates respectively.
S300, judge whether the workspace window of computer video desktop has keyboard focus.
Specifically, the present embodiment can ask the window mark of the currently window with keyboard focus to computer operating system Knowledge, asking for the window ID for being used for obtaining the current window with keyboard focus is sent to computer operating system such as timing Ask;Receiving the window ID for the current window with keyboard focus that computer operating system is returned based on the request When, whether the window ID for judging the currently window with keyboard focus is computer video desktop workspace window mark (meter Calculation machine video desktop workspace window mark includes being used to carry the window ID of the window of background video and for carrying each figure Window ID of target window etc.), it is not computer video in the window ID for the window for judging currently to have keyboard focus To S310, and it is calculating in the window ID for judging the currently window with keyboard focus when desktop workspace window identifies When machine video desktop workspace window identifies, to S320.
Special instruction is additionally needed, the window for having keyboard focus must be current front end window, there is keyboard focus The top window that is subordinate to of window must be current active window, according to these definite correspondences, it is possible to understand that sentence Whether the workspace window of disconnected computer video desktop there is keyboard focus to be equal to the workspace for judging computer video desktop Whether window includes current front end window, whether is also equal to the workspace window for judging computer video desktop comprising current Active window.
Static image frame is presented in S310, the background video of control computer video desktop.
As an example, the current play status for obtaining the background video of computer video desktop (is regarded as obtained current background The zone bit information of frequency broadcast state), the computer video desktop got background video current play status be regarding During frequency broadcast state, the current play status of the background video of control computer video desktop is switched to video pause and plays shape State, so that static image frame is presented in the background of computer video desktop;And the background in the computer video desktop got regards When the current play status of frequency is video pause broadcast state, the video pause broadcast state is maintained, so that computer video table The background in face continues remains stationary picture frame;More simplified preferred embodiment, S310, which is performed, sets computer video desktop Background video is pause broadcast state, so that static image frame is presented in the background of computer video desktop.Above-mentioned static image frame Usually when the current play status of the background video of control computer video desktop is switched to video pause broadcast state, meter The background video picture frame being currently played of calculation machine video desktop or the next figure for the picture frame being currently played As frame.
Dynamic video is presented in S320, the background video of control computer video desktop.
As an example, the current play status for obtaining the background video of computer video desktop (is regarded as obtained current background The zone bit information of frequency broadcast state), the computer video desktop got background video current play status be regarding During frequency broadcast state, the video broadcasting condition is maintained, so that dynamic video is persistently presented in the background of computer video desktop;And When the current play status of the background video of the computer video desktop got is video pause broadcast state, control computer The current play status of the background video of video desktop is switched to video broadcasting condition, so that the background of computer video desktop is opened Begin that dynamic video is presented;More simplified preferred embodiment, the background video that S320 performs setting computer video desktop are to broadcast State is put, so that dynamic video is presented in the background of computer video desktop.
The background video control device of example IV, computer video desktop.
Computer desktop in the present embodiment is equally computer video desktop.The particular content of computer video desktop can With referring to the description in above-described embodiment one.This will not be repeated here.
Fig. 4 is the schematic diagram of the background video control device of the computer video desktop of the present embodiment.Device master in Fig. 4 Including:First judgment module 400 and the first control module 410, the first judgment module 400 therein can include:Front end Window judging unit 401, active window judging unit 402, the first top-level windows judging unit 403, the second top-level windows judge Unit 404, the 3rd top-level windows judging unit 405, the 4th window judging unit 406 and process/thread judging unit 407.
Each module included below to the device of the present embodiment illustrates respectively.
First judgment module 400 is mainly used for whether there is visual windows before judging computer video desktop.
As an example, the first judgment module 400 judges to count before judging computer video desktop with the presence or absence of visual windows It whether there is visual windows on calculation machine video desktop, that is to say, that whether the first judgment module 400 judges computer video desktop Blocked by visual windows;It can be partial occlusion that this, which is blocked, or block completely.
Specifically, the first judgment module 400 can ask window information to computer operating system, computer is being received After the window information that operating system is replied for the request, the first judgment module 400 is according to pre-set computer video Desktop window information and the window information of above-mentioned reply whether there is visual windows before judging computer video desktop.
As an example, the window letter that the computer operating system that the first judgment module 400 receives is replied for request Breath can be specially window ID;Can also be specially window ID and Window state, and the window ID in the present embodiment can Think window name, or the process/thread title of window, can also be the process/thread name of window name and window Claim, or window handle, or the process/thread handle of window, or the process of window handle and window/ Thread handle.In addition, window ID can be specially front end window ID, active window mark or top-level windows mark, this Window state in embodiment can be specially minimum state, reducing condition or maximized state.
As an example, the computer video desktop window information in the present embodiment can be specially computer video Table-top type window Mouthful mark, window ID can be window name, or the process/thread title of window, can also be window name with The process/thread title of window, or window handle, or the process/thread handle of window, or window The process/thread handle of handle and window, and the computer video desktop window mark in the present embodiment can be multiple windows Mark, i.e. computer video desktop window are identified as a logo collection (following to be known as video desktop window ID set), should It can include in video desktop window ID set:Window ID for the window that carries background video, for carrying task The window ID of the window on column and the window ID of the window for carrying each icon etc., namely the computer in the present embodiment Video desktop window can include:For carrying the window of background video, the window for carrying taskbar and for carrying Window of each icon etc..
As an example, the process/thread mark in the present embodiment can be specially the title of process/thread, or The handle of process/thread, can also be the path of process/thread.
First judgment module 400 is according to the computer video desktop window information and computer operating system prestored The specific implementation that the window information replied based on request judges to whether there is visual windows before computer video desktop has It is a variety of, name several specific examples and illustrate.
End window before front end window judging unit 401 in example 1, the first judgment module 400 is asked to computer operating system Mouth mark, is used to obtain current front end window mark as window judging unit 401 timing in front end is sent to computer operating system The request of knowledge;When receiving the front end window ID that computer operating system is returned based on the request, front end window judges Unit 401 judges whether the front end window ID is computer video desktop window mark, such as whether judges front end window ID For one of mark in video desktop window ID set;Judging that front end window ID is not computer video desktop In the case of window ID, front end window judging unit 401 determines that there are visual windows before computer video desktop.
Active window judging unit 402 in example 2, the first judgment module 400 asks active window to computer operating system Mouth mark, is used to obtain current active window mark as 402 timing of active window judging unit is sent to computer operating system The request of knowledge;When receiving the active window mark that computer operating system is returned based on the request, active window judges Unit 402 judges that the active window identifies whether to identify for computer video desktop window, such as judges that active window identifies whether For one of mark in video desktop window ID set;Judging that active window mark is not computer video desktop In the case of window ID, active window judging unit 402 determines that there are visual windows before computer video desktop.
The first top-level windows judging unit 403 in example 3, the first judgment module 400 is worked as to computer operating system request Preceding each top-level windows mark and each top-level windows state, such as 403 timing of the first top-level windows judging unit are grasped to computer Make system and send the request for being used for obtaining current each top-level windows mark and each top-level windows state;Receiving computer operation When current each top-level windows mark that system is returned based on the request and each top-level windows state, the first top-level windows judge single Member 403 determines to be currently at each top-level windows of visibility status according to current each top-level windows mark and each top-level windows state (such as determining to be currently at each top-level windows of reducing condition or maximized state), and judge to be currently at each of visibility status With the presence or absence of the window ID not identified for computer video desktop window, such as the first top layer window in the window ID of top-level windows It whether there is in the window ID for each top-level windows that mouth judging unit 403 judges to be currently at visibility status and be not belonging to live table The window ID of face-port mouth logo collection;Exist in judging to be currently at the window ID of each top-level windows of visibility status In the case of not for the window ID of computer video desktop window mark, the first top-level windows judging unit 403 determines to calculate There are visual windows before machine video desktop;And in judging to be currently at the window ID of each top-level windows of visibility status not In the case of not for the window ID of computer video desktop window mark, the first top-level windows judging unit 403 determines There are visual windows before computer video desktop.
The second top-level windows judging unit 404 in example 4, the first judgment module 400 is worked as to computer operating system request Each process and/or thread identification of preceding startup, such as 404 timing of the second top-level windows judging unit are sent out to computer operating system Send the request for obtaining each process and/or thread identification that are currently up;It is based on asking receiving computer operating system After each process and/or thread identification that are currently up asking and return, the second top-level windows judging unit 404 is according to being currently up Each process and/or thread identification it is corresponding to computer operating system each process for being currently up of request and/or thread Each top-level windows mark and each top-level windows state, such as the second top-level windows judging unit 404 are sent to computer operating system Carry each process being currently up and/or each thread identification and each for obtaining each process being currently up and/or thread The request of self-corresponding each top-level windows mark and each top-level windows state;The request is based on receiving computer operating system And when the current each top-level windows mark returned and each top-level windows state, the second top-level windows judging unit 404 is according to current Each top-level windows mark and each top-level windows state determine to be currently at each top-level windows (such as the second top layer window of visibility status Mouthful judging unit 404 determines to be currently at each top-level windows of reducing condition or maximized state), and judge to be currently at can Regard and whether there is in the window ID of each top-level windows of state not as the window ID of computer video desktop window mark, such as Second top-level windows judging unit 404 judges to whether there is not in the window ID for each top-level windows for being currently at visibility status Belong to the window ID of video desktop window ID set;In the window for each top-level windows for judging to be currently at visibility status In the case of existing in mark not for the window ID of computer video desktop window mark, the second top-level windows judging unit 404 determine that there are visual windows before computer video desktop;And judging to be currently at each top-level windows of visibility status In the case of being not present in window ID not for the window ID of computer video desktop window mark, the second top-level windows judge Unit 404 determines that there are visual windows before computer video desktop.
The 3rd top-level windows judging unit 405 in example 5, the first judgment module 400 is worked as to computer operating system request The preceding top-level windows mark in visibility status, such as 405 timing of the 3rd top-level windows judging unit to computer operating system Send the request for being used for obtaining the top-level windows mark for being currently at visibility status;It is based on being somebody's turn to do receiving computer operating system During the response message asked and returned, the 3rd top-level windows judging unit 405 judges the response that computer operating system is returned Whether include the top-level windows mark for being currently at visibility status in information, current place is included in response message is judged When the top-level windows mark of visibility status, the 3rd top-level windows judging unit 405 determines to exist before computer video desktop can Viewing window, when not including any top-level windows mark in judging response message, the 3rd top-level windows judging unit 405 is true Determine before computer video desktop that there are visual windows.
The 4th window judging unit 406 in example 6, the first judgment module 400 asks current tool to computer operating system There is the window ID of the window of keyboard focus, being sent to computer operating system for such as 406 timing of the 4th window judging unit is used In the request for obtaining the currently window ID of the window with keyboard focus;The request is based on receiving computer operating system And during the window ID of the current window with keyboard focus returned, the 4th window judging unit 406 judges currently there is key Whether the window ID of the window of disk focus does not identify for computer video desktop window, and such as the 4th window judging unit 406 is sentenced Whether the window ID of the disconnected current window with keyboard focus is not belonging to the window ID of video desktop window ID set, When judging that the window ID of the currently window with keyboard focus does not identify for computer video desktop window, the 4th window is sentenced Disconnected unit 406 determines that there are visual windows before computer video desktop.
In addition, the process/thread judging unit 407 in the first judgment module 400 can be according to computer video desktop The front end window and/or the corresponding process/line of active window that process/thread is identified and obtained to computer operating system request Journey mark whether there is visual windows before judging computer video desktop.
One specific example, process/thread judging unit 407 ask front end window ID to computer operating system, Such as 407 timing of process/thread judging unit the request for being used for obtaining front end window ID is sent to computer operating system; When receiving the front end window ID that computer operating system is returned based on the request, process/thread judging unit 407 is to meter Calculation machine operating system sends the request for being used for obtaining the corresponding process/thread mark of front end window ID, is receiving computer During process/thread that operating system is returned based on request mark, process/thread judging unit 407 judge the return into Whether journey/thread identification belongs to the process/thread mark of computer video desktop, is judging the process/thread mark of the return When knowing the process/thread mark for being not belonging to computer video desktop, process/thread judging unit 407 determines computer video There are visual windows before desktop.
Another specific example, process/thread judging unit 407 ask active window mark to computer operating system Know, as being sent to computer operating system for 407 timing of process/thread judging unit is used to obtain asking for active window mark Ask;When receiving the active window mark that computer operating system is returned based on the request, process/thread judging unit 407 send the request for being used for obtaining the corresponding process/thread mark of active window mark to computer operating system, are receiving During the process/thread mark that computer operating system is returned based on the request, process/thread judging unit 407 judges that this is returned The process/thread returned identifies whether to belong to the process/thread mark of computer video desktop, judge the process of the return/ When thread identification is not belonging to the process/thread mark of computer video desktop, process/thread judging unit 407 is determined to calculate There are visual windows before machine video desktop.
Another specific example, process/thread judging unit 407 ask front end window ID to computer operating system And active window mark, it is used to obtain front end as 407 timing of process/thread judging unit is sent to computer operating system The request of window ID and active window mark;In the preceding end window for receiving computer operating system and being returned based on the request When mouth mark and active window identify, process/thread judging unit 407 is sent to computer operating system to be used to obtain front end Window ID and active window identify the request of corresponding process/thread mark, are based on receiving computer operating system The request and return process/thread mark when, process/thread judging unit 407 judge the return process/thread identify is The no process/thread mark for belonging to computer video desktop, identifies in the process/thread for judging the return and is not belonging to computer During the process/thread mark of video desktop, process/thread judging unit 407 exists visually before determining computer video desktop Window.
Above-mentioned example 1- examples 6 and above three specific example are that several first judgment modules 400 enumerated judge meter It whether there is the specific implementation of visual windows before calculation machine video desktop, the first judgment module 400 can also use its other party Formula whether there is visual windows before judging computer video desktop, herein no longer one by one for example, and the present embodiment not The first judgment module 400 is limited to judge to whether there is the specific implementation process of visual windows before computer video desktop.
First control module 410 is mainly used for before the judging result of the first judgment module 400 is computer video desktop In the case of visual windows, static image frame is presented in the background video of control computer video desktop.In addition, in the first control Molding block 410 is additionally operable to before the judging result of the first judgment module 400 is computer video desktop not there are during visual windows, Dynamic video is presented in the background video of control computer video desktop.
As an example, the first judgment module 400 judging result be computer video desktop before there are visual windows (such as Utilize front end window judging unit 401, active window judging unit 402, the first top-level windows judging unit 403, the second top layer Window judging unit 404, the 3rd top-level windows judging unit 405 or the 4th window judging unit 406 judge that computer regards There are visual windows before frequency desktop) in the case of, the first control module 410 obtains working as the background video of computer video desktop Preceding broadcast state (zone bit information as obtained current background video broadcasting condition), in the computer video desktop got When the current play status of background video is video broadcasting condition, the back of the body of 410 control computer video desktop of the first control module The current play status of scape video is switched to video pause broadcast state, so that static figure is presented in the background of computer video desktop As frame;And the current play status of the background video in the computer video desktop got is when being video pause broadcast state, First control module 410 maintains the video pause broadcast state, so that the background of computer video desktop continues that static figure is presented As frame;More simplified preferred embodiment, is that exist before computer video desktop can in the judging result of the first judgment module 400 In the case of viewing window, it is pause broadcast state that the first control module 410, which sets the background video of computer video desktop, so that Static image frame is presented in the background of computer video desktop.Above-mentioned static image frame is usually in control computer video desktop When the current play status of background video is switched to video pause broadcast state, the background video of computer video desktop is currently just In the picture frame of broadcasting or the next picture frame for the picture frame being currently played.
As an example, the first judgment module 400 judging result be computer video desktop before there are visual windows (such as sentenced using above-mentioned first top-level windows judging unit 403, the second top-level windows judging unit 404 or the 3rd top-level windows Disconnected unit 405 judges that there are visual windows before computer video desktop) in the case of, the first control module 410 obtains meter The current play status (zone bit information as obtained current background video broadcasting condition) of the background video of calculation machine video desktop, When the current play status of the background video of the computer video desktop got is video broadcasting condition, the first control module 410 maintain the video broadcasting condition, so that dynamic video is persistently presented in the background of computer video desktop;And in the meter got When the current play status of the background video of calculation machine video desktop is video pause broadcast state, the first control module 410 controls The current play status of the background video of computer video desktop is switched to video broadcasting condition, so that computer video desktop Background starts that dynamic video is presented;More simplified preferred embodiment, is computer in the judging result of the first judgment module 400 Before video desktop not there are visual windows in the case of, the first control module 410 set computer video desktop background video For broadcast state, so that dynamic video is presented in the background of computer video desktop.
The background video control device of embodiment five, computer video desktop.
Computer desktop in the present embodiment is equally computer video desktop.The particular content of computer video desktop can With referring to the description in above-described embodiment one.This will not be repeated here.
Fig. 5 is the schematic diagram of the background video control device of the computer video desktop of the present embodiment.Device master in Fig. 5 Including:Second judgment module 500 and the second control module 510;Second judgment module 500 therein can specifically include: 5th top-level windows judging unit 501, the 6th top-level windows judging unit 502, the 7th window judging unit 503 and mouse disappear Cease judging unit 504.
Each module included below to the device of the present embodiment illustrates respectively.
Second judgment module 500 is mainly used for judging whether computer video desktop is blocked completely.
As an example, the second judgment module 500, which judges whether computer video desktop is blocked completely, i.e. second judges mould Block 500 judges whether computer video desktop is exposed, i.e., the second judgment module 500 judges whether computer video desktop is complete Invisible, being exposed here can be that part is exposed, or be completely exposed.Additionally need special instruction, this reality Apply the computer video desktop in example and be blocked completely and refer to that the window of the background video for load capacity calculation machine video desktop is complete It is blocked entirely, namely the workspace of computer video desktop is blocked completely.
Specifically, the second judgment module 500 can ask window information to computer operating system, computer is being received After the window information that operating system is replied for the request, the second judgment module 500 is according to pre-set computer video Desktop window information and the window information of above-mentioned reply judge whether computer video desktop is blocked completely.
As an example, the window letter that the computer operating system that the second judgment module 500 receives is replied for request Breath can be specially window ID;Can also be specially window ID and Window state, and the window ID in the present embodiment can Think window handle, or the process/thread handle of window, can also be the process/thread sentence of window handle and window Handle.In addition, window ID can be specially front end window ID, active window mark or top-level windows mark, the present embodiment In Window state can be specially minimum state, reducing condition or maximized state.
Second judgment module 500 is according to the computer video desktop window information and computer operating system prestored It is a variety of that the window information replied based on request judges that the specific implementation whether computer video desktop is blocked completely has, Several specific examples are named to illustrate.
The 5th top-level windows judging unit 501 in example 1, the second judgment module 500 is worked as to computer operating system request Preceding each top-level windows mark and each top-level windows state, such as 501 timing of the 5th top-level windows judging unit are grasped to computer Make system and send the request for being used for obtaining current each top-level windows mark and each top-level windows state;Receiving computer operation When current each top-level windows mark that system is returned based on the request and each top-level windows state, the 5th top-level windows judge single Member 501 determines to be currently at each top layer window of maximized state according to current each top-level windows mark and each top-level windows state Mouthful, and judge to be currently in the window ID of each top-level windows of maximized state and whether there is not as computer video desktop The window ID of window ID, as each top-level windows for judging to be currently at maximized state window ID in the presence or absence of not Belong to the window ID of video desktop window ID set;In the window for each top-level windows for judging to be currently at maximized state In the case of existing in mouth mark not for the window ID of computer video desktop window mark, the 5th top-level windows judging unit 501 determine that computer video desktop is blocked completely;And judging that it is not computer video Table-top type window currently to have two or more In the case that mouth identifies and is in the top-level windows of reducing condition, the 5th top-level windows judging unit 501 can also further be sentenced The workspace of disconnected computer video desktop whether fully belong to be currently at each top-level windows region of reducing condition and Collection, if it is determined that result fully belong to be currently at each top-level windows of reducing condition for the workspace of computer video desktop The union of region, then the 5th top-level windows judging unit 501 determine that computer video desktop is blocked completely, and if sentenced Disconnected result not fully belongs to for the workspace of computer video desktop to be currently at where each top-level windows of reducing condition The union in region, then the 5th top-level windows judging unit 501 determine that computer video desktop is not blocked completely.
The 6th top-level windows judging unit 502 in example 2, the second judgment module 500 is worked as to computer operating system request Each process and/or thread identification of preceding startup, such as 502 timing of the 6th top-level windows judging unit are sent out to computer operating system Send the request for obtaining each process and/or thread identification that are currently up;It is based on asking receiving computer operating system After each process and/or thread identification that are currently up asking and return, the 6th top-level windows judging unit 502 is according to being currently up Each process and/or thread identification it is corresponding to computer operating system each process for being currently up of request and/or thread Each top-level windows mark and each top-level windows state, such as the 6th top-level windows judging unit 502 are sent to computer operating system Carry each process identification (PID) being currently up and/or each thread identification and for obtaining each process being currently up and/or line The request of the corresponding each top-level windows mark of journey and each top-level windows state;It is based on being somebody's turn to do receiving computer operating system When the current each top-level windows mark asked and returned and each top-level windows state, 502 basis of the 6th top-level windows judging unit Current each top-level windows mark and each top-level windows state determine to be currently at each top-level windows of maximized state, and judge It is currently to whether there is in the window ID of each top-level windows of maximized state and is not identified for computer video desktop window Window ID, such as the 6th top-level windows judging unit 502 judge be currently at maximized state each top-level windows window With the presence or absence of the window ID for being not belonging to video desktop window ID set in mark;Judging to be currently at maximized state Each top-level windows window ID in exist not for computer video desktop window mark window ID in the case of, the 6th Top-level windows judging unit 502 determines that computer video desktop is blocked completely;And judging currently to have the two or more be not In the case that computer video desktop window identifies and is in the top-level windows of reducing condition, the 6th top-level windows judging unit 502 can also determine whether the workspace of computer video desktop belongs to each top-level windows for being currently at reducing condition The union of region, if it is determined that result fully belong to be currently at reducing condition for the workspace of computer video desktop Each top-level windows region union, then the 6th top-level windows judging unit 502 determine that computer video desktop is complete Block, if it is determined that result not exclusively belong to each top layer for being currently at reducing condition for the workspace of computer video desktop The union of window region, then the 6th top-level windows judging unit 502 determine that computer video desktop is not blocked completely.
In above-mentioned example 1 and example 2, the region where window can be determined according to the position coordinates on four vertex of window, And current each top-level windows mark and each top layer window are asked to computer operating system in the 6th top-level windows judging unit 502 During mouth state, if computer operating system is based on the request and is returning to current each top-level windows mark and each top layer While Window state, the position coordinates on four vertex of each top-level windows is also returned, then the 6th top-level windows judging unit 502 can easily obtain the position coordinates on four vertex of each top-level windows;And if computer operating system is based on asking Ask the position for when returning to current each top-level windows mark and each top-level windows state, not returning to four vertex of each top-level windows Coordinate is put, then the 6th top-level windows judging unit 502 can be identified to computer operation according to each top-level windows currently obtained The position coordinates on four vertex of each top-level windows of system request.
The 7th window judging unit 503 in example 3, the second judgment module 500 asks current tool to computer operating system There is the window ID of the window of keyboard focus, being sent to computer operating system for such as 503 timing of the 7th window judging unit is used In the request for obtaining the currently window ID of the window with keyboard focus;The request is based on receiving computer operating system And during the window ID of the current window with keyboard focus returned, the 7th window judging unit 503 judges currently there is key Whether the window ID of the window of disk focus is computer video desktop workspace window mark (computer video desktop workspace Window ID includes being used for the window ID of window and the window ID of the window for carrying each icon for carrying background video Deng), when the window ID for judging the currently window with keyboard focus identifies for computer video desktop workspace window, 7th window judging unit 503 determines that computer video desktop is not blocked completely.
Mouse information judging unit 504 in example 4, the second judgment module 500 judges computer video desktop workspace window Whether mouth currently receives the computer mouse message that computer operating system is sent to, and is computer video in judging result When desktop workspace window is currently received computer mouse message, mouse information judging unit 504 determines computer video table Face is not blocked completely.
In above-mentioned example 3 and example 4, computer video desktop is not blocked completely to be referred to be used for load capacity calculation machine live table The window portion of the background video in face expose either be completely exposed namely the workspace portion of computer video desktop expose or It is completely exposed.
Second control module 510 is mainly used for when judging result is blocked completely for computer video desktop, control meter Static image frame is presented in the background video of calculation machine video desktop.In addition, the second control module 510 can be also used in judging result When not being blocked completely for computer video desktop, dynamic video is presented in the background video of control computer video desktop.
As an example, the second judgment module 500 judging result for computer video desktop be blocked completely it is (such as above-mentioned 5th top-level windows judging unit 501 or the 6th top-level windows judging unit 502 judge computer video desktop quilt completely Block) in the case of, the second control module 510 obtains the current play status (such as the of the background video of computer video desktop Two control modules 510 obtain the zone bit information of current background video broadcasting condition), in the computer video desktop got When the current play status of background video is video broadcasting condition, the back of the body of 510 control computer video desktop of the second control module The current play status of scape video is switched to video pause broadcast state, so that static figure is presented in the background of computer video desktop As frame;And the current play status of the background video in the computer video desktop got is when being video pause broadcast state, Second control module 510 maintains the video pause broadcast state, so that the background of computer video desktop continues remains stationary figure As frame;More simplified preferred embodiment, is hidden completely in the judging result of the second judgment module 500 for computer video desktop In the case of gear, it is pause broadcast state that the second control module 510, which sets the background video of computer video desktop, so as to calculate Static image frame is presented in the background of machine video desktop.Above-mentioned static image frame is usually the background in control computer video desktop When the current play status of video is switched to video pause broadcast state, the background video of computer video desktop is currently being broadcast Next picture frame of the picture frame put or the picture frame being currently played.
As an example, it is not blocked completely (as above for computer video desktop in 500 judging result of the second judgment module State the 5th top-level windows judging unit 501, the 6th top-level windows judging unit 502, the 7th window judging unit 503 or mouse Message judging unit 504 judges that computer video desktop is not blocked completely) in the case of, the second control module 510 obtains Take current play status (the flag bit letter as obtained current background video broadcasting condition of the background video of computer video desktop Breath), when the current play status of the background video of the computer video desktop got is video broadcasting condition, the second control Module 510 maintains the video broadcasting condition, so that dynamic video is persistently presented in the background of computer video desktop;And getting The current play status of background video of computer video desktop when being video pause broadcast state, the second control module 510 The current play status of the background video of control computer video desktop is switched to video broadcasting condition, so that computer video table The background in face starts that dynamic video is presented;More simplified preferred embodiment, is calculating in 500 judging result of the second judgment module In the case that machine video desktop is not blocked completely, the second control module 510 sets the background video of computer video desktop For broadcast state, so that dynamic video is presented in the background of computer video desktop.
The background video control device of embodiment six, computer video desktop.
Computer desktop in the present embodiment is equally computer video desktop.The particular content of computer video desktop can With referring to the description in above-described embodiment one.This will not be repeated here.
Fig. 6 is the schematic diagram of the background video control device of the computer video desktop of the present embodiment.Device master in Fig. 6 Including:3rd judgment module 600 and the 3rd control module 610.
Each module included below to the device of the present embodiment illustrates respectively.
3rd judgment module 600 is mainly used for judging whether the workspace window of computer video desktop has keyboard Jiao Point.
Specifically, the 3rd judgment module 600 can ask the window currently with keyboard focus to computer operating system Window ID, as timing sends the window mark for being used for obtaining the current window with keyboard focus to computer operating system The request of knowledge;Receiving the window for the current window with keyboard focus that computer operating system is returned based on the request During mark, the 3rd judgment module 600 judges whether the window ID of the currently window with keyboard focus is computer video table (computer video desktop workspace window mark includes being used to carry the window of the window of background video face workspace window mark Mark and the window ID of the window for carrying each icon etc.).
3rd control module 610 is mainly used for judging the currently window with keyboard focus in the 3rd judgment module 600 Window ID for computer video desktop workspace window mark when, the background video of control computer video desktop is presented Static image frame, the window ID for judging the currently window with keyboard focus in the 3rd judgment module 600 regard for computer When frequency desktop workspace window identifies, dynamic video is presented in the background video of control computer video desktop.
It is further to note that the window for having keyboard focus must be current front end window, there is the window of keyboard focus The top window that mouth is subordinate to must be current active window, according to these definite correspondences, it is possible to understand that the 3rd sentences Disconnected module 600 judges whether the workspace window of computer video desktop there is keyboard focus to be equal to and judge computer video table Whether the workspace window in face includes current front end window, is also equal to and judges that the workspace window of computer video desktop is It is no to include current active window.
As an example, the window ID for judging the currently window with keyboard focus in the 3rd judgment module 600 is not When computer video desktop workspace window identifies, the 3rd control module 610 obtains the background video of computer video desktop Current play status (zone bit information as obtained current background video broadcasting condition), in the computer video desktop got The current play status of background video when being video broadcasting condition, 610 control computer video desktop of the 3rd control module The current play status of background video is switched to video pause broadcast state, makes the background of computer video desktop that static figure be presented As frame;And the current play status of the background video in the computer video desktop got is when being video pause broadcast state, 3rd control module 610 maintains the video pause broadcast state, the background of computer video desktop is continued remains stationary image Frame;More simplified preferred embodiment, judges the window mark of the currently window with keyboard focus in the 3rd judgment module 600 When knowledge does not identify for computer video desktop workspace window, the 3rd control module 610 sets the background of computer video desktop Video is pause broadcast state, so that static image frame is presented in the background of computer video desktop.Above-mentioned static image frame is usual For when the current play status of the background video of control computer video desktop is switched to video pause broadcast state, computer The picture frame or the next picture frame for the picture frame being currently played that the background video of video desktop is currently played.
As an example, judge that the window ID of the currently window with keyboard focus is meter in the 3rd judgment module 600 When calculation machine video desktop workspace window identifies, the 3rd control module 610 obtains working as the background video of computer video desktop Preceding broadcast state (zone bit information as obtained current background video broadcasting condition), in the computer video desktop got When the current play status of background video is video broadcasting condition, the 3rd control module 610 maintains the video broadcasting condition, makes meter Dynamic video is persistently presented in the background of calculation machine video desktop;And the computer video desktop got background video it is current When broadcast state is video pause broadcast state, the background video of 610 control computer video desktop of the 3rd control module is worked as Preceding broadcast state is switched to video broadcasting condition, the background of computer video desktop is started that dynamic video is presented;More simplify Preferred embodiment, judge that currently the window ID of window with keyboard focus is computer in the 3rd judgment module 600 When video desktop workspace window identifies, it is broadcasting shape that the 3rd control module 610, which sets the background video of computer video desktop, State, so that dynamic video is presented in the background of computer video desktop.
It should be noted that a part of of the present invention can be applied to computer program product, such as computer program Instruction, when it is performed by intelligent electronic device (such as computer or server), passes through the operation of the intelligent electronic device It can call or provide the method according to the invention and/or technical solution.And the programmed instruction of the method for the present invention is called, can It can be stored in fixed or moveable recording medium, and/or pass through the number in broadcast or other signal bearing medias It is transmitted, and/or is stored in the working storage according to the intelligent electronic device of described program instruction operation according to stream. This, according to one embodiment of present invention including a device, which includes being used for the storage for storing computer program instructions Device and the processor for execute program instructions, wherein, when the computer program instructions are performed by the processor, trigger the dress Put methods and/or techniques scheme of the operation based on foregoing multiple embodiments according to the present invention.
It is obvious to a person skilled in the art that the invention is not limited in the details of above-mentioned one exemplary embodiment, and And in the case of without departing substantially from the spirit or essential characteristics of the present invention, the present invention can be realized in other specific forms.Cause This, in all respects, should all regard the embodiment of the present invention as exemplary, and is non-limiting, this hair Bright scope is indicated by the appended claims rather than the foregoing description, it is intended that the equivalency fallen in claim is contained All changes in justice and scope are included in the present invention.Any reference numeral in claim should not be considered as involved by limitation And claim.Furthermore, it is to be understood that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.Device Either device or module can also be passed through the multiple units stated in claim by a unit or device or module Software or hardware are realized.The first, the second grade word is only used for representing title, and is not offered as any specific order.

Claims (10)

  1. A kind of 1. background video control method of computer video desktop, it is characterised in that the described method includes:
    It whether there is visual windows before judging computer video desktop;
    There are the back of the body for during visual windows, controlling the computer video desktop before judging result is the computer video desktop Static image frame is presented in scape video.
  2. 2. according to the method described in claim 1, it is characterized in that, the method further includes:
    There are during visual windows, control the computer video desktop before judging result is the computer video desktop Dynamic video is presented in background video.
  3. 3. method according to claim 1 or 2, it is characterised in that whether there is before the judgement computer video desktop The step of visual windows, includes:
    Described in the window information obtained according to computer video desktop window information and to computer operating system request judges It whether there is visual windows before computer video desktop.
  4. 4. according to the method described in claim 3, it is characterized in that,
    The window information of the computer video desktop and the window information obtained to computer operating system request include:Window Mark;Or
    The window information of the computer video desktop and the window information obtained to computer operating system request include:Window Mark and Window state.
  5. 5. according to the method described in claim 4, it is characterized in that, the window ID includes:Window handle or window Process/thread handle.
  6. A kind of 6. background video control method of computer video desktop, it is characterised in that the described method includes:
    Judge whether computer video desktop is blocked completely;
    When judging result is blocked completely for the computer video desktop, the background of the computer video desktop is controlled to regard Static image frame is presented in frequency.
  7. A kind of 7. background video control method of computer video desktop, it is characterised in that the described method includes:
    Whether judge the workspace window of computer video desktop has keyboard focus;
    In the case where judging result does not have keyboard focus for the workspace window of computer video desktop, the calculating is controlled Static image frame is presented in the background video of machine video desktop;
    In the case where judging result has keyboard focus for the workspace window of computer video desktop, the computer is controlled Dynamic video is presented in the background video of video desktop.
  8. 8. a kind of background video control device of computer video desktop, it is characterised in that described device includes:
    First judgment module, for whether there is visual windows before judging computer video desktop;
    First control module, for before judging result is the computer video desktop there are during visual windows, described in control Static image frame is presented in the background video of computer video desktop.
  9. 9. a kind of background video control device of computer video desktop, it is characterised in that described device includes:
    Second judgment module, for judging whether computer video desktop is blocked completely;
    Second control module, for when judging result is blocked completely for the computer video desktop, controlling the calculating Static image frame is presented in the background video of machine video desktop.
  10. 10. a kind of background video control device of computer video desktop, it is characterised in that described device includes:
    Whether the 3rd judgment module, the workspace for judging computer video desktop have keyboard focus;
    3rd control module, for not having the situation of keyboard focus for the workspace of computer video desktop in judging result Under, control the background video of the computer video desktop that static image frame is presented, be computer video desktop in judging result Workspace have keyboard focus in the case of, control the computer video desktop background video present dynamic video.
CN201610909561.2A 2016-10-18 2016-10-18 The background video control method and device of computer video desktop Pending CN107967156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610909561.2A CN107967156A (en) 2016-10-18 2016-10-18 The background video control method and device of computer video desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610909561.2A CN107967156A (en) 2016-10-18 2016-10-18 The background video control method and device of computer video desktop

Publications (1)

Publication Number Publication Date
CN107967156A true CN107967156A (en) 2018-04-27

Family

ID=61996242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610909561.2A Pending CN107967156A (en) 2016-10-18 2016-10-18 The background video control method and device of computer video desktop

Country Status (1)

Country Link
CN (1) CN107967156A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924645A (en) * 2018-06-25 2018-11-30 北京金山安全软件有限公司 Theme generation method and device and electronic equipment
CN110069231A (en) * 2019-04-25 2019-07-30 北京众纳鑫海网络技术有限公司 Method and apparatus for showing message
CN111880880A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493837A (en) * 2009-02-25 2009-07-29 腾讯科技(深圳)有限公司 Network video playing method in multi-page browser and processing device
CN102789359A (en) * 2012-06-25 2012-11-21 威盛电子股份有限公司 Dynamic wallpaper display method, new video information display method and handheld mobile system
CN104750359A (en) * 2015-03-09 2015-07-01 深圳市艾优尼科技有限公司 Control method for dynamic information play window
CN105930729A (en) * 2016-07-04 2016-09-07 北京金山安全软件有限公司 Keyboard focus changing method and device and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493837A (en) * 2009-02-25 2009-07-29 腾讯科技(深圳)有限公司 Network video playing method in multi-page browser and processing device
CN102789359A (en) * 2012-06-25 2012-11-21 威盛电子股份有限公司 Dynamic wallpaper display method, new video information display method and handheld mobile system
CN104750359A (en) * 2015-03-09 2015-07-01 深圳市艾优尼科技有限公司 Control method for dynamic information play window
CN105930729A (en) * 2016-07-04 2016-09-07 北京金山安全软件有限公司 Keyboard focus changing method and device and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924645A (en) * 2018-06-25 2018-11-30 北京金山安全软件有限公司 Theme generation method and device and electronic equipment
CN110069231A (en) * 2019-04-25 2019-07-30 北京众纳鑫海网络技术有限公司 Method and apparatus for showing message
CN111880880A (en) * 2020-07-24 2020-11-03 上海米哈游天命科技有限公司 Interaction method, device, equipment and storage medium for dynamic wallpaper and desktop

Similar Documents

Publication Publication Date Title
CN107294838B (en) Animation generation method, device and system for social application and terminal
KR101183372B1 (en) Systems and methods for providing system level notifications in a multimedia console
US8001161B2 (en) Cloning objects in a virtual universe
US5682469A (en) Software platform having a real world interface with animated characters
US8233005B2 (en) Object size modifications based on avatar distance
JP2020520498A (en) Matching content to spatial 3D environments
US20090132931A1 (en) Method, device and program for automatically generating reference mark in virtual shared space
US20130268870A1 (en) Deferred Teleportation or Relocation in Virtual Worlds
CN102067165A (en) User avatar available across computing applications and devices
CA2962706A1 (en) Methods and systems for obscuring text in a conversation
CA3045132C (en) Communication with augmented reality virtual agents
CN107967156A (en) The background video control method and device of computer video desktop
US20100309197A1 (en) Interaction of stereoscopic objects with physical objects in viewing area
CN107085495A (en) A kind of information displaying method, electronic equipment and storage medium
CN111385594A (en) Virtual character interaction method, device and storage medium
US20230017111A1 (en) Spatialized audio chat in a virtual metaverse
CN106468996A (en) The background video control method of computer video desktop and device
KR20200131294A (en) Data flood inspection and enhanced gaming process
US20170337284A1 (en) Determining and using attributes of message exchange thread participants
JP2011092302A (en) Game device, method of controlling the same and program
KR100469820B1 (en) Method and system for renewing screen
CN114344898A (en) Method and device for marking virtual object in game
CN113144606A (en) Skill triggering method of virtual object and related equipment
JP2019111363A (en) Game program and game device
CN106326010B (en) A kind of control plays the method and intelligent sound box of synchronization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180427