CN102023852A - Screen capture method and system - Google Patents
Screen capture method and system Download PDFInfo
- Publication number
- CN102023852A CN102023852A CN2009101900779A CN200910190077A CN102023852A CN 102023852 A CN102023852 A CN 102023852A CN 2009101900779 A CN2009101900779 A CN 2009101900779A CN 200910190077 A CN200910190077 A CN 200910190077A CN 102023852 A CN102023852 A CN 102023852A
- Authority
- CN
- China
- Prior art keywords
- forms
- hidden
- hide
- screenshotss
- screen
- 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
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to the technical field of computers, and provides a screen capture method, which comprises the following steps of: receiving a screen capture command from a user, and acquiring a window body to be hidden; adding a layered attribute for the window body to be hidden, and setting alpha transparency to be proper transparency to make completely transparent the window body to be hidden; receiving a selected area input by the user, and capturing the screen contents of the selected area; recovering the attribute setting of the hidden window body; and processing the captured screen contents. The invention also discloses a system using the method. In the method and the system provided by the invention, the user does not need to worry about that unhidden and undesired window body contents are captured, the screen contents are the latest contents captured by the screen capture in live upgrade, and continuous screen capture does not cause the flickering of the window body; and the method and the system are applicable to the screen capture under the conditions, with high requirements on real-time, of monitoring the whole or a part of screen, and the like.
Description
Technical field
The invention belongs to field of computer technology, more particularly, relate to a kind of screenshotss method and system.
Background technology
All be self not want that the forms that intercepted use common hiding forms mode that forms are hidden earlier when at present the computer screen content being intercepted.As the API under the Windows system (Application Programming Interface, application programming interface): ShowWindow (SW_HIDE).And then screen content intercepted, at last the appointment forms are preserved or be presented to the content of intercepting.
The screenshotss Technology Need does not intercept after the program forms that intercepted are hidden self not wanting again at present, because use common hiding forms mode, so forms need certain hour when hiding, when guaranteeing that forms are hidden fully, just intercept, self do not want the forms content that intercepted otherwise will be truncated to.By setting is hidden into duration that forms hide fully just at last under the same hardware configuration to forms, also can institute's task weight to be processed be different at that time because of system, so the also bad setting of the duration of this wait.So if will be provided with the stand-by period oversizely, the content of intercepting may not be up-to-date screen content,, can not guarantee that these forms of hiding are hiding fully if the time has lacked.Particularly if screen content is carried out real-time demonstration, show because forms are constantly hidden, will make screen flicker serious, influence visual effect.
Patent Office of the People's Republic of China is on February 13rd, 2008 disclosed No. 200710077362.0 patent, its name is called " a kind of screenshotss method and system ", it has disclosed a kind of screenshotss method and system: cover whole screen by a newly-generated translucent window, configuration needs the zone of screenshotss to make the zone and the translucent window that need screenshotss that tangible contrast be arranged, thereby make the user can more clearly see the current scope of selecting the zone clearly, thereby can more accurate selection need the zone of screenshotss.This scheme does not solve uses common Stealth Modus can cause being truncated to not want windows content and the flicker problem that intercepts.
Therefore, need a kind of performance better, the forms that make that efficient is higher are hidden fast, can not cause flicker, thereby to the screenshotss scheme that screenshotss can not impact, overcome the above-mentioned defective that exists in the prior art.
Summary of the invention
Technical matters to be solved by this invention is, be truncated to the problem of the forms content of not hiding fully and the problem that can occur glimmering at the meeting of using the hiding forms of common hiding forms mode to need the time to cause in the existing screenshotss technology, a kind of screenshotss method and system are provided.
The present invention solves one of scheme that its technical matters adopts: the invention provides a kind of screenshotss method, comprise the steps:
S1) reception user's screenshotss order need to obtain hiding forms;
S2) needs being hidden forms increases the layered attribute, and it is that a suitable transparency makes the forms that need hide transparent fully that the alpha transparency is set;
S3) receive the selection zone that the user imports, the screen content in zone is selected in intercepting;
S4) the attribute setting of forms is hidden in recovery;
S5) screen content that is truncated to is handled.
Alpha is the parameter that forms are provided with transparency, with GTG value 0-255 totally 256 grades corresponding with the 0%-100% transparency respectively.During transparency 100% (corresponding 255 ashes, white) expression transparent fully, during transparency 0% (corresponding 0 ash, black) expression opaque fully, other transparencies 1%-99% will get the value between the 1-254 pari passu.Layered is a parameter of forms, has used this attribute, and forms could be provided with the alpha parameter value, to support transparent functional.
A kind of screenshotss method of the present invention, in step S1, the screenshotss order that the user sends comprises to be determined which forms need be hidden or determines which forms needs screenshotss the current forms of having opened.
A kind of screenshotss method of the present invention, step S2 further comprises: obtain and preserve needs and hide forms hiding preceding original layered property value and alpha value.
A kind of screenshotss method of the present invention, in step S3, the selection zone of user's input is whole screen or subregion.
A kind of screenshotss method of the present invention, step S4 further comprises: layered property value and the alpha value that will hide forms revert to original value.
The present invention solves two of scheme that its technical matters adopts: a kind of screen-cutting system is provided, has comprised:
Obtain hiding form module: be used to receive user's screenshotss order, from the screenshotss order, obtain the forms that the user need hide;
Transparent form forms module: thus be used for the forms that needs are hidden are treated to the transparent fully hiding purpose that reaches;
Screenshotss module: be used for the selection zone of user's input is intercepted as the screenshotss zone;
Hide forms and recover module: be used for returning to hiding preceding setting hiding forms;
Picture file processing module: be used for the screen content that is truncated to is handled.
A kind of screen-cutting system of the present invention, described transparent form form module and comprise:
Hide the form properties acquiring unit: be used to obtain and preserve needs and hide the hiding preceding original form properties value of forms;
Processing unit: be used for that needs are hidden forms and be treated to transparent fully.
The hiding form properties acquiring unit that a kind of screen-cutting system of the present invention, described transparent form form module obtains and preserves original layered property value and the alpha value that needs to hide before forms are not hidden.
A kind of screen-cutting system of the present invention, the processing unit of described transparent form control module is hidden forms to needs increases the layered attribute, and configuration alpha transparency is that a suitable transparency makes the forms that need hide transparent fully.
A kind of screen-cutting system of the present invention is hidden forms according to the needs of hiding form properties acquiring unit preservation and is hidden preceding original form properties value, and layered property value and alpha value that hiding forms recovery module will be hidden forms revert to original value.
Implement technical scheme of the present invention, have following beneficial effect: the user does not need worry can be truncated to hide fully does not want the forms content that intercepted, and the content that screenshotss were truncated to when screen content was real-time update also is up-to-date content, screenshotss do not have the forms scintillation continuously, are applicable to that the real-times such as whole or subregion that monitor screen require the screenshotss under the very high situation.
Description of drawings
Fig. 1 is the process flow diagram of the screenshotss method that provides of a preferred embodiment of the present invention;
Fig. 2 is the structural representation of the screen-cutting system that provides of a preferred embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The process flow diagram of the screenshotss method that Fig. 1 provides for a preferred embodiment of the present invention, as shown in Figure 1, details are as follows:
In step S1, receive user's screenshotss order, need to obtain hiding forms.
The screenshotss order that the user sends comprises determines that to the current forms of having opened which need be hidden or definite which forms need screenshotss.
In step S2, needs are hidden forms increases the layered attribute, and it is that a suitable transparency makes the forms that need hide transparent fully that the alpha transparency is set.
As embodiments of the invention, step S2 further comprises: obtain and preserve needs and hide forms hiding preceding original layered property value and alpha value.
As embodiments of the invention, forms alpha transparency peak value just can make more than 90% that forms are transparent fully to the user, the alpha transparency that forms can be set as required is in the suitable transparency of peak value more than 90%.
In step S3, receive the selection zone of user's input, the screen content in zone is selected in intercepting.
The selection zone of user's input is whole screen or subregion.The user need select a zone as the screenshotss zone on screen by input media, and the screenshotss zone is whole screen or subregion, and input media can be mouse, keyboard etc.As embodiments of the invention, can use shortcut to send the order of whole screen being carried out screenshotss.
In step S4, recover to hide the attribute setting of forms.
As embodiments of the invention, layered property value and the alpha value of hiding forms reverted to original value.
In step S5, the screen content that is truncated to is handled.
As one embodiment of the present of invention, the screen content of intercepting can be presented at the appointment forms; As an alternative embodiment of the invention, the screen content of intercepting can be saved as corresponding picture file: the type of picture file can be JPG file, BMP file etc.In order to use this screenshotss picture file later on easily, this picture file can be preserved.As embodiments of the invention, can select picture is kept in the storage mediums such as internal memory or hard disk, or be kept at simultaneously in a plurality of storage mediums.
Fig. 2 is shown the structural representation of the screen-cutting system that a preferred embodiment of the present invention provides.As shown in Figure 2, this screen-cutting system comprises: obtain and hide form module 21, transparent form formation module 22, screenshotss module 23, hiding forms recovery module 24 and picture processing module 25.Transparent form forms module 22 and further comprises again: hide form properties acquiring unit 221 and processing unit 222.
When receiving user's screenshotss order, hide form module 21 and from user's order, obtain the user and do not think that screenshotss want the forms that stash thereby obtain; Then, the transparent form forms that form module 22 and will need to hide are treated to transparent fully; When the user need to determine screenshotss regional, screenshotss module 23 received the selection zone of users' input, and the screen content in zone is selected in intercepting; Hiding forms recovery module 24 will be hidden forms and return to hiding preceding setting, and as seen these hiding forms are reverted to; The screen content of last 25 pairs of interceptings of picture processing unit is handled.
As embodiments of the invention, the process that transparent form forms module 22 formation transparent forms is specially: hide layered property value and alpha value that form properties acquiring unit 221 obtains and preserves needs to hide forms, 222 pairs of needs of processing unit are hidden forms increases the layered attribute, and it is that a suitable transparency makes the forms that need hide transparent fully that the alpha transparency is set.
As embodiments of the invention, hiding forms recovers module 24 and will hide the process that forms return to the setting before hiding and be specially: hide original form properties value before forms are hidden according to hiding needs that the form properties acquiring unit preserves, hide forms and recover module and will hide the layered property value and the alpha value of forms and revert to original value.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. a screenshotss method is characterized in that, may further comprise the steps:
S1) reception user's screenshotss order need to obtain hiding forms;
S2) needs being hidden forms increases the layered attribute, and it is that a suitable transparency makes the forms that need hide transparent fully that the alpha transparency is set;
S3) receive the selection zone that the user imports, the screen content in zone is selected in intercepting;
S4) the attribute setting of forms is hidden in recovery;
S5) screen content that is truncated to is handled.
2. method according to claim 1 is characterized in that described step S2 further comprises: obtain and preserve needs and hide original layered property value and alpha value before forms are hidden.
3. as method as described in the claim 2, it is characterized in that described step S4 further comprises: LAYERED property value and the alpha value that will hide forms revert to original value.
4. a screen-cutting system is characterized in that, comprising:
Obtain hiding form module: be used to receive user's screenshotss order, from the screenshotss order, obtain the forms that the user need hide;
Transparent form forms module: be used for being treated to the forms that needs are hidden transparent fully;
Screenshotss module: be used for the selection zone of user's input is intercepted as the screenshotss zone;
Hide forms and recover module: be used for returning to hiding preceding setting hiding forms;
Picture processing module: be used for the screen content that is truncated to is handled.
5. as system as described in the claim 4, it is characterized in that described transparent form forms module and comprises:
Hide the form properties acquiring unit: be used to obtain and preserve needs and hide the hiding preceding original form properties value of forms;
Processing unit: be used for that needs are hidden forms and be treated to transparent fully.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101900779A CN102023852A (en) | 2009-09-15 | 2009-09-15 | Screen capture method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101900779A CN102023852A (en) | 2009-09-15 | 2009-09-15 | Screen capture method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102023852A true CN102023852A (en) | 2011-04-20 |
Family
ID=43865174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101900779A Pending CN102023852A (en) | 2009-09-15 | 2009-09-15 | Screen capture method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102023852A (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077539A (en) * | 2014-07-09 | 2014-10-01 | 肖龙旭 | Screen capture prevention method based on program windows |
CN104133683A (en) * | 2014-07-31 | 2014-11-05 | 上海二三四五网络科技股份有限公司 | Screenshot obtaining method and device |
CN104360816A (en) * | 2014-11-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Screen capture method and system |
CN104412542A (en) * | 2012-04-18 | 2015-03-11 | 巴科股份有限公司 | Electronic tool and methods for meetings |
CN104469064A (en) * | 2014-11-25 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | Transmission method and system for screenshot content, display method and system and terminals |
WO2016091095A1 (en) * | 2014-12-12 | 2016-06-16 | 北京奇虎科技有限公司 | Searching method and system based on touch operation on terminal interface |
CN105812892A (en) * | 2014-12-29 | 2016-07-27 | 深圳Tcl数字技术有限公司 | Method, device and system for capturing dynamic display picture of television |
CN106919355A (en) * | 2014-06-10 | 2017-07-04 | 掌阅科技股份有限公司 | A kind of eye care method and device for smart machine |
CN107547811A (en) * | 2017-08-11 | 2018-01-05 | 中广热点云科技有限公司 | Realize that signal converting intercepts the method and device of multiple video pictures after handling |
CN108319484A (en) * | 2017-05-17 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of processing method of five application page, device and storage medium |
US10050800B2 (en) | 2011-09-14 | 2018-08-14 | Barco N.V. | Electronic tool and methods for meetings for providing connection to a communications network |
US10585814B2 (en) | 2011-09-14 | 2020-03-10 | Barco N.V. | Electronic tool and methods for meetings for communicating media content from users at a meeting |
CN111381752A (en) * | 2020-03-02 | 2020-07-07 | 安徽文香信息技术有限公司 | Screen capturing method and device, storage medium and terminal |
US10762002B2 (en) | 2011-09-14 | 2020-09-01 | Barco N.V. | Electronic tool and methods with audio for meetings |
US10904103B2 (en) | 2011-09-14 | 2021-01-26 | Barco N.V. | Electronic tool and methods for meetings |
US10965480B2 (en) | 2011-09-14 | 2021-03-30 | Barco N.V. | Electronic tool and methods for recording a meeting |
US11258676B2 (en) | 2011-09-14 | 2022-02-22 | Barco N.V. | Electronic tool and methods for meetings |
US12137038B2 (en) | 2023-10-16 | 2024-11-05 | Barco N.V. | Electronic tool and methods for meetings |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1391669A (en) * | 1999-09-27 | 2003-01-15 | 卡纳尔股份有限公司 | Windowing systems |
CN1770096A (en) * | 2004-11-05 | 2006-05-10 | 腾讯科技(深圳)有限公司 | Acquisition method for video frequency information of overlay surface |
CN101055520A (en) * | 2006-04-14 | 2007-10-17 | 国际商业机器公司 | System and method of windows management |
CN101122857A (en) * | 2007-09-24 | 2008-02-13 | 腾讯科技(深圳)有限公司 | Snatch screen system and method |
-
2009
- 2009-09-15 CN CN2009101900779A patent/CN102023852A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1391669A (en) * | 1999-09-27 | 2003-01-15 | 卡纳尔股份有限公司 | Windowing systems |
CN1770096A (en) * | 2004-11-05 | 2006-05-10 | 腾讯科技(深圳)有限公司 | Acquisition method for video frequency information of overlay surface |
CN101055520A (en) * | 2006-04-14 | 2007-10-17 | 国际商业机器公司 | System and method of windows management |
CN101122857A (en) * | 2007-09-24 | 2008-02-13 | 腾讯科技(深圳)有限公司 | Snatch screen system and method |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10585814B2 (en) | 2011-09-14 | 2020-03-10 | Barco N.V. | Electronic tool and methods for meetings for communicating media content from users at a meeting |
US11258676B2 (en) | 2011-09-14 | 2022-02-22 | Barco N.V. | Electronic tool and methods for meetings |
US11422951B2 (en) | 2011-09-14 | 2022-08-23 | Barco N.V. | Electronic tool and methods for meetings between two users |
US10050800B2 (en) | 2011-09-14 | 2018-08-14 | Barco N.V. | Electronic tool and methods for meetings for providing connection to a communications network |
US10965480B2 (en) | 2011-09-14 | 2021-03-30 | Barco N.V. | Electronic tool and methods for recording a meeting |
US10904103B2 (en) | 2011-09-14 | 2021-01-26 | Barco N.V. | Electronic tool and methods for meetings |
US10795832B2 (en) | 2011-09-14 | 2020-10-06 | Barco N.V. | Electronic tool for communicating over a communication network |
US10762002B2 (en) | 2011-09-14 | 2020-09-01 | Barco N.V. | Electronic tool and methods with audio for meetings |
US11216392B2 (en) | 2011-09-14 | 2022-01-04 | Barco N.V. | Electronic tool and methods for meetings between multiple users |
US11403237B2 (en) | 2011-09-14 | 2022-08-02 | Barco N.V. | Electronic tool and methods with audio for meetings |
US11792085B2 (en) | 2011-09-14 | 2023-10-17 | Barco N.V. | Electronic tool and methods for meetings |
US11151060B2 (en) | 2011-09-14 | 2021-10-19 | Barco N.V. | Electronic tool and methods for meetings for communicating user selected media content |
US9722986B2 (en) | 2012-04-18 | 2017-08-01 | Barco N.V. | Electronic tool and methods for meetings |
CN104412542A (en) * | 2012-04-18 | 2015-03-11 | 巴科股份有限公司 | Electronic tool and methods for meetings |
CN106919355B (en) * | 2014-06-10 | 2018-11-27 | 掌阅科技股份有限公司 | A kind of eye care method and device for smart machine |
CN106919355A (en) * | 2014-06-10 | 2017-07-04 | 掌阅科技股份有限公司 | A kind of eye care method and device for smart machine |
CN104077539A (en) * | 2014-07-09 | 2014-10-01 | 肖龙旭 | Screen capture prevention method based on program windows |
CN104133683A (en) * | 2014-07-31 | 2014-11-05 | 上海二三四五网络科技股份有限公司 | Screenshot obtaining method and device |
CN104469064B (en) * | 2014-11-25 | 2018-09-07 | 宇龙计算机通信科技(深圳)有限公司 | The transmission method and system of screenshotss content, display methods and system and terminal |
CN104469064A (en) * | 2014-11-25 | 2015-03-25 | 宇龙计算机通信科技(深圳)有限公司 | Transmission method and system for screenshot content, display method and system and terminals |
CN104360816A (en) * | 2014-11-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Screen capture method and system |
WO2016091095A1 (en) * | 2014-12-12 | 2016-06-16 | 北京奇虎科技有限公司 | Searching method and system based on touch operation on terminal interface |
CN105812892A (en) * | 2014-12-29 | 2016-07-27 | 深圳Tcl数字技术有限公司 | Method, device and system for capturing dynamic display picture of television |
CN108319484B (en) * | 2017-05-17 | 2021-07-09 | 腾讯科技(深圳)有限公司 | Application page processing method and device and storage medium |
CN108319484A (en) * | 2017-05-17 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of processing method of five application page, device and storage medium |
CN107547811B (en) * | 2017-08-11 | 2019-10-18 | 中广热点云科技有限公司 | Realize the method and device that multiple video pictures are intercepted after signal converting is handled |
CN107547811A (en) * | 2017-08-11 | 2018-01-05 | 中广热点云科技有限公司 | Realize that signal converting intercepts the method and device of multiple video pictures after handling |
CN111381752A (en) * | 2020-03-02 | 2020-07-07 | 安徽文香信息技术有限公司 | Screen capturing method and device, storage medium and terminal |
US12137038B2 (en) | 2023-10-16 | 2024-11-05 | Barco N.V. | Electronic tool and methods for meetings |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102023852A (en) | Screen capture method and system | |
US11644939B1 (en) | Managing application windows of applications from different servers within a same browser window on a user device | |
CN104503863B (en) | Kernel state and User space method for interchanging data for virtual container system disaster tolerance | |
CN103050097B (en) | Method and device for regulating brightness of backlight lamp | |
CN105589619A (en) | Multi-window display method and device for terminal | |
CN106774796A (en) | A kind of screen lighting method and terminal | |
US20180285132A1 (en) | Control method and apparatus for window in application program | |
CN103412643B (en) | Terminal and its method for remote control | |
CN103488419A (en) | Operating method of communication terminal and communication terminal | |
CN102780650A (en) | Method for adjusting instant messaging interactive interface and client | |
KR20160132620A (en) | Display data processing method and electronic device supporting the same | |
CN103970422A (en) | Screen transparency automatic changing method of mobile terminal and mobile terminal | |
CN103714127A (en) | Information-grouping showing method and information-grouping showing system for tables | |
CN109963182A (en) | A kind of compatible input method of remote controler, system, storage medium and television set | |
CN106557250A (en) | A kind of blank screen treating method and apparatus in a mobile device | |
CN104135479A (en) | Cloud real-time defense method and system | |
CN103136176A (en) | Method for inserting content in edited document and electronic equipment | |
CN102681780A (en) | Intelligent Linux device and input method switching method for same | |
CN108235104B (en) | Live video floating window playing method for mobile terminal | |
CN107835454A (en) | Timeout treatment method, apparatus and storage medium based on WebApp | |
CN109271442A (en) | Database synchronization restoration methods, device, computer readable storage medium and electronic equipment | |
US20150302190A1 (en) | Method for dynamically adjusting program login interface, and internet terminal | |
CN105472459A (en) | Automatic optimization system and method of intelligent television system | |
CN103049262A (en) | Window restoring method based on remote frame buffering | |
CN109283850A (en) | Household appliance, the control method of household appliance and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110420 |