WO2016033787A1 - 一种截屏方法及装置 - Google Patents

一种截屏方法及装置 Download PDF

Info

Publication number
WO2016033787A1
WO2016033787A1 PCT/CN2014/085948 CN2014085948W WO2016033787A1 WO 2016033787 A1 WO2016033787 A1 WO 2016033787A1 CN 2014085948 W CN2014085948 W CN 2014085948W WO 2016033787 A1 WO2016033787 A1 WO 2016033787A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
target
target information
user equipment
screen capture
Prior art date
Application number
PCT/CN2014/085948
Other languages
English (en)
French (fr)
Inventor
黄曦
吴黄伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201811062541.1A priority Critical patent/CN109446832B/zh
Priority to EP18176912.6A priority patent/EP3447672B1/en
Priority to EP20157299.7A priority patent/EP3736722A1/en
Priority to ES18176912T priority patent/ES2789223T3/es
Priority to US15/508,793 priority patent/US10466878B2/en
Priority to CN201480029709.2A priority patent/CN105580024B/zh
Priority to PCT/CN2014/085948 priority patent/WO2016033787A1/zh
Priority to EP14901149.6A priority patent/EP3182322B1/en
Publication of WO2016033787A1 publication Critical patent/WO2016033787A1/zh
Priority to US16/535,958 priority patent/US11262895B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6254Protecting personal data, e.g. for financial or medical purposes by anonymising data, e.g. decorrelating personal data from the owner's identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/401Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference
    • H04L65/4015Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2143Clearing memory, e.g. to prevent the data from being stolen

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a screen capture method and apparatus.
  • the screenshot image includes all the contents of the application interface, but sometimes the user does not want the screenshot image to include some information of the application interface.
  • the screen capture image is not required to include the balance information and the account information.
  • the way to remove the information in the screenshot image is mainly: first intercept the entire content of the application interface, and then edit the screenshot image through the image editing software to remove some information in the screen capture image.
  • the embodiment of the invention discloses a screen capture method and device for improving screen capture efficiency and screen capture flexibility.
  • a first aspect of the embodiment of the present invention discloses a screen capture method, including:
  • Running a target application displaying a first interface of the target application
  • the target application is configured to modify the first interface to the second interface according to the indication message. For:
  • the target application is configured to modify the first interface to the second interface according to the indication message. for:
  • the generating the screen capture image according to the second interface includes:
  • a screen shot including at least the third interface is generated.
  • the method further includes:
  • the first interface is redisplayed.
  • the method further includes:
  • the screenshot image is stored.
  • a second aspect of the embodiment of the present invention discloses a screen capture method, including:
  • the identifying the target information in the target interface picture includes:
  • the information included in the selected target information area is used as target information in the target interface picture.
  • the identifying the target information in the target interface picture includes:
  • the identifying the target information in the target interface picture includes:
  • the target information in the target interface picture is identified by a preset mode.
  • the method further includes:
  • the first interface is redisplayed.
  • the method further includes:
  • the screenshot image is stored.
  • a third aspect of the embodiments of the present invention discloses a user equipment, including:
  • a display unit configured to run a target application, displaying a first interface of the target application
  • a receiving unit configured to receive a screen capture instruction input by a user
  • a sending unit configured to send an indication message to the target application according to the screen capture instruction received by the receiving unit, so that the target application modifies the first interface displayed by the display unit to the second interface according to the indication message Wherein the first interface is different from the second interface;
  • a generating unit configured to generate a screenshot image according to the second interface.
  • the target application is configured to modify the first interface to the second interface according to the indication message. for:
  • the target application is configured to modify the first interface to the second interface according to the indication message. for:
  • the generating unit includes:
  • a detecting subunit configured to detect a target information area selected by a user from a target information area of the mark included in the second interface displayed by the display subunit;
  • Obtaining a subunit configured to modify the second interface according to the selected target information area detected by the detecting subunit to obtain a third interface
  • generating a subunit configured to generate a screen capture image including at least the third interface acquired by the acquisition subunit.
  • the display unit is further configured to redisplay the first interface.
  • the user equipment further includes:
  • a storage unit configured to store a screenshot image generated by the generating unit.
  • a fourth aspect of the embodiments of the present invention discloses a user equipment, including a processor, a memory, and an input device.
  • Set and output devices where:
  • the memory stores a set of program codes
  • the processor is configured to call the program code stored in the memory to perform the following operations:
  • the output device is configured to display a first interface of the target application
  • the input device is configured to receive a screen capture instruction input by a user and send the screen capture instruction to the processor;
  • the processor is further configured to invoke program code stored in the memory to perform the following operations:
  • the target application is configured to modify the first interface to a second interface according to the indication message. for:
  • the target application is configured to modify the first interface to the second interface according to the indication message. for:
  • the processor generates a screen capture image according to the second interface. Specifically:
  • a screen shot including at least the third interface is generated.
  • the output device is further configured to redisplay the first interface.
  • the processor is further configured to invoke program code stored in the memory to perform the following operations:
  • the screenshot image is stored.
  • a fifth aspect of the embodiments of the present invention discloses a user equipment, including:
  • a detecting unit configured to detect a screen capture instruction input by the user when displaying the target interface of the target application
  • An acquiring unit configured to intercept an interface including at least the target interface to obtain a target interface picture, in response to the screen capture instruction detected by the detecting unit;
  • An identification unit configured to identify target information in a target interface picture acquired by the acquiring unit
  • a generating unit configured to modify the target interface picture according to the target information identified by the identifying unit to generate a screenshot image.
  • a marking subunit configured to identify and mark a target information area in the target interface picture acquired by the acquiring unit
  • the detecting subunit is configured to detect a target information area selected by the user from the target information area marked by the marking subunit, and use the information included in the selected target information area as the target information in the target interface picture.
  • the identifying unit is specifically configured to identify, in a target interface picture acquired by the acquiring unit according to a keyword Target information.
  • the identifying unit is specifically configured to identify, by using a preset mode, a target interface image acquired by the acquiring unit. Target information.
  • the user equipment further includes:
  • a display unit configured to redisplay the first interface.
  • the user equipment further includes:
  • a storage unit configured to store a screenshot image generated by the generating unit.
  • a sixth aspect of the embodiments of the present invention discloses a user equipment, including a processor, a memory, an input device, and an output device, where:
  • the output device is configured to display a target interface of the target application
  • the input device is configured to detect a screen capture instruction input by a user and send the screen capture instruction to the processor;
  • the memory stores a set of program codes
  • the processor is configured to call the program code stored in the memory to perform the following operations:
  • the manner in which the processor identifies the target information in the target interface picture is specifically:
  • the information included in the selected target information area is used as target information in the target interface picture.
  • the method for the processor to identify target information in the target interface picture is specifically:
  • a third possible implementation in the sixth aspect of the embodiments of the present invention In the current mode, the manner in which the processor identifies the target information in the target interface picture is specifically:
  • the target information in the target interface picture is identified by a preset mode.
  • the output device is further configured to redisplay the first interface.
  • the processor is further configured to invoke program code stored in the memory to perform the following operations:
  • the screenshot image is stored.
  • the target application when the target application interface is intercepted, the target application is first modified to modify the target application interface to generate a screen capture image according to the modified target application interface, thereby improving screen capture efficiency and screen capture flexibility.
  • FIG. 1 is a flowchart of a screen capture method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of another screen capture method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of still another screen capture method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of still another screen capture method according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of a user equipment according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of another user equipment according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • FIG. 9 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • FIG. 10 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • FIG. 11 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • the embodiment of the invention discloses a screen capture method and device for improving screen capture efficiency and screen capture flexibility. The details are described below separately.
  • FIG. 1 is a flowchart of a screen capture method according to an embodiment of the present invention.
  • the screen capture method shown in FIG. 1 is applicable to user equipments such as mobile phones and tablet computers, and is not limited in the embodiment of the present invention.
  • the screen capture method may include the following steps.
  • the user equipment when the user equipment displays the first interface of the target application, and the user wants to intercept the first interface but does not want to intercept the target information in the first interface, the user inputs a screen capture instruction, and the user equipment detects the user input. Screen capture instructions.
  • the target application may be at least one of user equipment applications such as WeChat, QQ, Yubao, and Alipay.
  • the target information may be information such as a user name, a user ID number, a user account amount, a user's phone number, a name in a chat log, and the like that the user does not want others to know.
  • the screen capture instruction when the user equipment detects the screen capture instruction, the screen capture instruction may be saved, and the screen capture image of the first interface may be saved and the target information in the first interface is obtained, and the screen capture image of the first interface is saved for subsequent users.
  • the target information in the first interface is not limited, and the target information in the first interface is not saved.
  • the manner of acquiring the target information in the first interface is specifically:
  • the target information in the first interface is obtained according to the keyword.
  • the keyword may be preset by the user equipment or the target application, or may be a cloud.
  • the embodiment specified by the server is not limited in this embodiment.
  • the manner of acquiring the target information in the first interface is specifically:
  • the target information in the first interface is acquired through the preset mode in response to the screen capture instruction.
  • the preset module may be a mode that only recognizes data or letters whose length is greater than or equal to a preset length.
  • modifying the first interface according to the target information may be deleting the target information in the first interface, or replacing the target information in the first interface with a fixed format, such as a mosaic masking method.
  • the manner of modifying the first interface according to the target information to obtain the second interface is specifically:
  • the first interface is redisplayed to restore the display of the first interface.
  • the screen capture image may be stored in the non-volatile memory, which is convenient for the user to call.
  • the target information in the target application interface may be automatically acquired, the target application interface is modified according to the target information, and then the screen capture image is generated according to the modified target application interface, thereby improving Screen capture efficiency and screen capture flexibility.
  • FIG. 2 is a flowchart of another screen capture method according to an embodiment of the present invention.
  • the screen capture method shown in FIG. 2 is applicable to user equipments such as mobile phones and tablet computers, and is not limited in the embodiment of the present invention.
  • the screen capture method may include the following steps.
  • the target application when the user wants to intercept the first interface of the target application, the target application is first run by the user equipment, and the first interface of the target application is displayed.
  • S202 Receive a screen capture instruction input by a user.
  • the user when the user wants to intercept the first interface but does not want to intercept the target information in the first interface, the user inputs a screen capture instruction, and the user equipment will detect the screen capture instruction input by the user.
  • the target application may be at least one of user equipment applications such as WeChat, QQ, Yubao, and Alipay.
  • the target information may be information such as a user name, a user ID number, a user account amount, a user's phone number, a name in a chat log, and the like that the user does not want others to know.
  • S203 Send an indication message to the target application according to the screen capture instruction, so that the target application modifies the first interface to the second interface according to the indication message, where the first interface is different from the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target information is obtained by the target application according to the indication message by using a keyword or a preset mode, and the first interface is modified according to the target information to obtain the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target application obtains the target information area from the first interface by using the keyword or the preset mode according to the indication message, and marks the target information area to obtain the second interface.
  • a modification completion message may be sent to the user equipment.
  • the screen capture image is generated according to the second interface.
  • the method for generating a screenshot image according to the second interface is specifically:
  • a screen shot image including at least a third interface is generated.
  • the user equipment is required to display the target information area, so that the user selects the target information area to obtain the target information, and the obtained target information is confirmed by the user. Therefore, the accuracy of the target information is improved.
  • the target application when the target application interface is intercepted, the target application will modify the target application interface to generate a screen capture image according to the modified target application interface, thereby improving screen capture efficiency and screen capture flexibility.
  • FIG. 3 is a flowchart of still another screen capture method according to an embodiment of the present invention.
  • the screen capture method shown in FIG. 3 is applicable to user equipments such as mobile phones and tablet computers, and is not limited in the embodiment of the present invention.
  • the screen capture method may include the following steps.
  • the user when the user wants to intercept the first interface but does not want to intercept the target information in the first interface, the user inputs a screen capture instruction, and the user equipment will detect the screen capture instruction input by the user.
  • the target application may be at least one of user equipment applications such as WeChat, QQ, Yubao, and Alipay.
  • the target information may be information such as a user name, a user ID number, a user account amount, a user's phone number, a name in a chat log, and the like that the user does not want others to know.
  • S303 Send an indication message to the target application according to the screen capture instruction, so that the target application modifies the first interface to the second interface according to the indication message, where the first interface is different from the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target information is obtained by the target application according to the indication message by using a keyword or a preset mode, and the first interface is modified according to the target information to obtain the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target application obtains the target information area from the first interface by using the keyword or the preset mode according to the indication message, and marks the target information area to obtain the second interface.
  • a modification completion message may be sent to the user equipment.
  • the screen capture image is generated according to the second interface.
  • the method for generating a screenshot image according to the second interface is specifically:
  • a screen shot image including at least a third interface is generated.
  • the user equipment is required to display the target information area, so that the user selects the target information area to obtain the target information, and the obtained target information is confirmed by the user. Therefore, the accuracy of the target information is improved.
  • the first interface is redisplayed to restore the display of the first interface.
  • the screen capture image may be stored in the non-volatile memory, which is convenient for the user to call.
  • the target application when the target application interface is intercepted, the target application will modify the target application interface to generate a screen capture image according to the modified target application interface, thereby improving screen capture efficiency and screen capture flexibility.
  • FIG. 4 is a flowchart of still another screen capture method according to an embodiment of the present invention.
  • the screen capture method shown in FIG. 4 is applicable to user equipments such as mobile phones and tablet computers, and is not limited in the embodiment of the present invention.
  • the screen capture method may include the following steps.
  • the user device displays the target interface of the target application, and the user wants to intercept the target interface but does not want to intercept the target information in the target interface
  • the user inputs a screen capture instruction
  • the user equipment detects the screen capture instruction input by the user.
  • the target application may be at least one of user equipment applications such as WeChat, QQ, Yubao, and Alipay.
  • the target information may be the user name, the user ID number, the user account amount, the user's phone number, the name in the chat record, etc. The user does not want others to know Information.
  • the target interface is the first interface in the specific embodiment 1, the second embodiment, and the third embodiment.
  • S402. Respond to the screen capture instruction, and intercept an interface including at least a target interface to obtain a target interface picture.
  • the screen capture instruction when the user equipment detects the screen capture instruction, the screen capture instruction is intercepted, and the interface including at least the target interface is intercepted to obtain the target interface picture. After the image of the target interface is obtained, the image of the target interface may be saved, and may be called by the subsequent user, or may not be saved.
  • the user equipment first obtains the target interface picture, and then identifies the target information in the target interface picture through Optical Character Recognition (OCR).
  • OCR Optical Character Recognition
  • the manner of identifying the target information in the target interface picture is specifically:
  • the information included in the selected target information area is used as the target information in the target interface picture.
  • the user equipment first acquires the target interface picture, and then identifies and marks the target information area in the target interface picture by using the OCR, so that the user selects the target information area from the target information area, and the information included in the selected target information area is included.
  • the target information in the target interface picture since the acquired target information is confirmed by the user, the accuracy of the target information is improved.
  • the manner of identifying the target information in the target interface picture is specifically:
  • the keyword may be preset by the user equipment or the target application, or may be specified by the cloud server, which is not limited in this embodiment.
  • the manner of identifying the target information in the target interface picture is specifically:
  • the target information in the target interface picture is identified by the preset mode.
  • the preset module may only identify data or words whose length is greater than or equal to the preset length. Mother mode.
  • an interface including at least a target application interface is intercepted to obtain a target interface image, and then target information in the target interface image is identified, and the target interface image is modified according to the target information to obtain a screen capture image, thereby improving Screen capture efficiency and screen capture flexibility.
  • FIG. 5 is a flowchart of still another screen capture method according to an embodiment of the present invention.
  • the screen capture method shown in FIG. 5 is applicable to user equipments such as mobile phones and tablet computers, and is not limited in the embodiment of the present invention.
  • the screen capture method may include the following steps.
  • the user device displays the target interface of the target application, and the user wants to intercept the target interface but does not want to intercept the target information in the target interface
  • the user inputs a screen capture instruction
  • the user equipment detects the screen capture instruction input by the user.
  • the target application may be at least one of user equipment applications such as WeChat, QQ, Yubao, and Alipay.
  • the target information may be information such as a user name, a user ID number, a user account amount, a user's phone number, a name in a chat log, and the like that the user does not want others to know.
  • the target interface is the first interface in the specific embodiment 1, the second embodiment, and the third embodiment.
  • the screen capture instruction when the user equipment detects the screen capture instruction, the screen capture instruction is intercepted, and the interface including at least the target interface is intercepted to obtain the target interface picture. After the image of the target interface is obtained, the image of the target interface may be saved, and may be called by the subsequent user, or may not be saved.
  • the user equipment first obtains the target interface picture, and then identifies the target information in the target interface picture through Optical Character Recognition (OCR).
  • OCR Optical Character Recognition
  • the manner of identifying the target information in the target interface picture is specifically:
  • the information included in the selected target information area is used as the target information in the target interface picture.
  • the user equipment first acquires the target interface picture, and then identifies and marks the target information area in the target interface picture by using the OCR, so that the user selects the target information area from the target information area, and the information included in the selected target information area is included.
  • the target information in the target interface picture since the acquired target information is confirmed by the user, the accuracy of the target information is improved.
  • the manner of identifying the target information in the target interface picture is specifically:
  • the keyword may be preset by the user equipment or the target application, or may be specified by the cloud server, which is not limited in this embodiment.
  • the manner of identifying the target information in the target interface picture is specifically:
  • the target information in the target interface picture is identified by the preset mode.
  • the preset module may be a mode that only recognizes data or letters whose length is greater than or equal to a preset length.
  • the first interface is redisplayed to restore the display of the first interface.
  • the screen capture image may be stored in a non-volatile memory, which is convenient for the user to call.
  • an interface including at least a target application interface is intercepted to obtain a target interface image, and then target information in the target interface image is identified, and the target interface image is modified according to the target information to obtain a screen capture image, thereby improving Screen capture efficiency and screen capture flexibility.
  • FIG. 6 is a user equipment according to an embodiment of the present invention.
  • the user equipment shown in FIG. 6 may be a mobile phone, a tablet computer, or the like, which is not limited in the embodiment of the present invention.
  • this User equipment 600 can include:
  • the detecting unit 601 is configured to detect a screen capture instruction input by the user when displaying the first interface of the target application;
  • the first obtaining unit 602 is configured to acquire target information in the first interface in response to the screen capture instruction detected by the detecting unit 601.
  • the second obtaining unit 603 is configured to modify the first interface according to the target information acquired by the first obtaining unit 602 to obtain the second interface;
  • the generating unit 604 is configured to generate a screenshot image according to the second interface acquired by the second obtaining unit 603.
  • the first obtaining unit 602 is specifically configured to obtain the target information in the first interface according to the keyword, in response to the screen capture instruction detected by the detecting unit 601.
  • the first acquiring unit 602 is specifically configured to acquire target information in the first interface by using a preset mode in response to the screen capture instruction detected by the detecting unit 601.
  • the second obtaining unit 603 is specifically configured to modify the first interface stored in the display memory according to the target information acquired by the first obtaining unit 602 to obtain the second interface.
  • the user equipment 600 may further include:
  • the display unit 605 is configured to redisplay the first interface.
  • the generating unit 604 is configured to generate a screen capture image according to the second interface acquired by the second obtaining unit 603 to trigger the display unit 605 to redisplay the first interface.
  • the user equipment 600 may further include:
  • the storage unit 606 is configured to store the screenshot image generated by the generating unit 604.
  • the target information in the target application interface may be automatically acquired, the target application interface is modified according to the target information, and then the screen capture image is generated according to the modified target application interface, thereby improving the target image. Screen capture efficiency and screen capture flexibility.
  • FIG. 7 is a structural diagram of another user equipment according to an embodiment of the present invention.
  • the user equipment shown in FIG. 7 may be a mobile phone, a tablet computer, or the like, which is not limited in the embodiment of the present invention.
  • the user equipment 700 can include a processor 701, a memory 702, an input device 703, and an output device 704.
  • the processor 701 and the memory 702, the input device 703, and the output device 704 can be connected by a bus or other means, wherein:
  • An output device 704 configured to display a first interface of the target application
  • the input device 703 is configured to detect a screen capture instruction input by the user and send it to the processor 601;
  • the memory 702 stores a set of program codes, and the processor 701 is configured to call the program code stored in the memory 702 to perform the following operations:
  • a screenshot image is generated according to the second interface.
  • the input device is configured to implement interaction between the user and the user equipment and/or information input into the user equipment.
  • the input device can receive numeric or character information input by the user to generate a signal input related to user settings or function control.
  • the input device may be a touch panel or other human-computer interaction interface, such as a physical input button, a microphone, etc., and may be other external information capture devices, such as a camera.
  • a touch panel also known as a touch screen or touch screen, collects operational actions that the user touches or approaches on.
  • the user uses an action of any suitable object or accessory such as a finger or a stylus on or near the touch panel, and drives the corresponding connecting device according to a preset program.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller;
  • the touch controller receives the electrical signal from the touch detection device and applies it Converted to contact coordinates and sent to the processor.
  • the touch controller can also receive commands from the processor and execute them.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the physical input keys used by the input device may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. Or a variety.
  • An input device in the form of a microphone can collect the voice input by the user or the environment and convert it into a processor-executable command in the form of an electrical signal.
  • the processor is a control center of the user equipment, and connects various parts of the entire user equipment by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory, and calling and storing in the memory. Data to perform various functions of the user device and/or process data.
  • the processor may be composed of an integrated circuit (IC), for example, may be composed of a single package of ICs, or may be grouped by a plurality of package ICs that have the same function or different functions. to make.
  • the processor may include only a central processing unit (CPU), or may be a CPU, a digital signal processor (DSP), or a graphics processing unit (GPU). And a combination of control chips (eg, baseband chips) in the communication unit.
  • the CPU may be a single operation core, and may also include multiple operation cores.
  • the output device may include, but is not limited to, an image output device, a sound output, and a tactile output device.
  • the image output device is used to output text, pictures and/or video.
  • the image output device may include a display panel, such as a display configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or a field emission display (FED). panel.
  • the image output device may comprise a reflective display, such as an electrophoretic display, or a display utilizing an Interferometric Modulation of Light.
  • the image output device can include a single display or multiple displays of different sizes.
  • the touch panel used in the input device can also serve as a display panel of the output device.
  • the touch panel detects a touch or proximity gesture operation thereon, it is transmitted to the processor to determine the type of touch event, and then the processor provides a corresponding visual output on the display panel according to the type of touch event.
  • the input device and the output device function as two separate components to implement the input and output functions of the user device, in some embodiments, the input and output functions of the user device can be implemented by integrating the touch panel with the display panel.
  • the image output device can display various graphical user interfaces (GUIs) as virtual control components, including but not limited to windows, scroll axes, icons, and scrapbooks, for the user to touch through. operating.
  • GUIs graphical user interfaces
  • the image output device includes a filter and an amplifier for filtering and amplifying the video output by the processor.
  • the audio output device includes a digital to analog converter for converting the audio signal output by the processor from a digital format to an analog format.
  • the memory can be used to store software programs and modules, and the processor executes various functional applications of the user equipment and implements data processing by running software programs and modules stored in the memory.
  • the memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the user equipment. Use the data you created (such as audio data, Phone book, etc.).
  • the memory may include a volatile memory, such as a non-volatile volatile random access memory (NVRAM), a phase change random access memory (PRAM),
  • NVRAM non-volatile volatile random access memory
  • PRAM phase change random access memory
  • MRAM magnetoresistive random access memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory devices such as NOR flash memory or NAND flash memory.
  • the non-volatile memory stores the operating system and applications executed by the processor.
  • the processor loads the running program and data from the non-volatile memory into the memory and stores the digital content in a large number of storage devices.
  • the operating system includes controls and management of general system tasks such as memory management, storage device control, power management, etc., as well as various components and/or drivers that facilitate communication between various hardware and software.
  • the operating system may be an Android system of Google Inc., an iOS system developed by Apple Inc., or a Windows operating system developed by Microsoft Corporation, or an embedded operating system such as Vxworks.
  • the application includes any application installed on the user device, including but not limited to browser, email, instant messaging service, word processing, keyboard virtual, widget, encryption, digital rights management, Speech recognition, voice reproduction, positioning (such as those provided by the Global Positioning System), music playback, and the like.
  • the manner in which the processor 701 obtains the target information in the first interface in response to the screen capture instruction is specifically:
  • the target information in the first interface is obtained according to the keyword.
  • the manner in which the processor 701 obtains the target information in the first interface in response to the screen capture instruction is specifically:
  • the target information in the first interface is acquired through the preset mode in response to the screen capture instruction.
  • the manner in which the processor 701 modifies the first interface according to the target information to obtain the second interface is specifically:
  • the output device 704 is further configured to redisplay the first interface.
  • the processor 701 is further configured to invoke the program code stored in the memory 702 to perform the following operations:
  • the target information in the target application interface may be automatically acquired, the target application interface is modified according to the target information, and then the screenshot image is generated according to the modified target application interface, thereby improving the target image. Screen capture efficiency and screen capture flexibility.
  • FIG. 8 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • the user equipment shown in FIG. 8 may be a mobile phone, a tablet computer, or the like, which is not limited by the embodiment of the present invention.
  • the user equipment 800 can include:
  • a display unit 801 configured to run a target application, displaying a first interface of the target application
  • the receiving unit 802 is configured to receive a screen capture instruction input by the user
  • the sending unit 803 is configured to send an indication message to the target application according to the screen capture instruction received by the receiving unit 802, so that the target application modifies the first interface displayed by the display unit 801 to the second interface according to the indication message, where the first interface is The second interface is different;
  • the generating unit 804 is configured to generate a screenshot image according to the second interface.
  • the receiving unit 802 is further configured to receive a modification completion message sent by the target application, to trigger the generating unit 804 to generate a screenshot image according to the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target information is obtained by the target application according to the indication message by using a keyword or a preset mode, and the first interface is modified according to the target information to obtain the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target application obtains the target information area from the first interface by using the keyword or the preset mode according to the indication message, and marks the target information area to obtain the second interface.
  • the generating unit 804 may include:
  • a detecting subunit configured to detect a target of the mark included in the second interface displayed by the user from the display subunit The target information area selected in the target information area;
  • Obtaining a subunit configured to modify the second interface according to the selected target information area detected by the detecting subunit to obtain the third interface
  • generating a subunit configured to generate a screen capture image including at least a third interface acquired by the acquisition subunit.
  • the display unit 801 is further configured to redisplay the first interface.
  • the generating unit 804 is configured to generate a screen capture image according to the second interface, to trigger the display unit 801 to redisplay the first interface.
  • the user equipment 800 may further include:
  • the storage unit 805 is configured to store the screenshot image generated by the generating unit 804.
  • the target application when the target application interface is intercepted, the target application will modify the target application interface to generate a screen capture image according to the modified target application interface, thereby improving screen capture efficiency and screen capture flexibility.
  • FIG. 9 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • the user equipment shown in FIG. 9 may be a mobile phone, a tablet computer, or the like, which is not limited in the embodiment of the present invention.
  • the user equipment 900 can include a processor 901, a memory 902, an input device 903, and an output device 904.
  • the processor 901 and the memory 902, the input device 903, and the output device 904 can be connected by a bus or other means, wherein:
  • the memory 902 stores a set of program codes
  • the processor 901 is configured to call the program code stored in the memory 902 to perform the following operations:
  • An output device 904 configured to display a first interface of the target application
  • the input device 903 is configured to receive a screen capture instruction input by the user and send the screen capture instruction to the processor;
  • the processor 901 is further configured to call the program code stored in the memory 902 to perform the following operations:
  • a screenshot image is generated according to the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target information is obtained by the target application according to the indication message by using a keyword or a preset mode, and the first interface is modified according to the target information to obtain the second interface.
  • the manner in which the target application modifies the first interface to the second interface according to the indication message is specifically:
  • the target application obtains the target information area from the first interface by using the keyword or the preset mode according to the indication message, and marks the target information area to obtain the second interface.
  • the manner in which the processor 901 generates a screen capture image according to the second interface is specifically:
  • a screen shot image including at least a third interface is generated.
  • the output device 904 is further configured to redisplay the first interface.
  • the processor 901 is further configured to call the program code stored in the memory to perform the following operations:
  • the target application when the target application interface is intercepted, the target application will modify the target application interface to generate a screen capture image according to the modified target application interface, thereby improving screen capture efficiency and screen capture flexibility.
  • FIG. 10 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • the user equipment shown in FIG. 10 may be a mobile phone, a tablet computer, or the like, which is not limited in the embodiment of the present invention.
  • the user equipment 1000 may include:
  • the detecting unit 1001 is configured to detect a screen capture instruction input by the user when displaying the target interface of the target application;
  • the obtaining unit 1002 is configured to intercept an interface including at least a target interface to obtain a target interface picture in response to the screen capture instruction detected by the detecting unit 701;
  • the identifying unit 1003 is configured to identify a target message in the target interface picture acquired by the acquiring unit 1002. interest;
  • the generating unit 1004 is configured to modify the target interface picture according to the target information identified by the identifying unit 1003 to generate a screenshot picture.
  • the identifying unit 1003 may include:
  • a marking subunit configured to identify and mark a target information area in the target interface picture acquired by the first obtaining unit 1002;
  • the detecting subunit is configured to detect a target information area selected by the user from the target information area marked by the subunit unit, and use the information included in the selected target information area as the target information in the target interface picture.
  • the identifying unit 1003 is specifically configured to identify target information in the target interface picture acquired by the first acquiring unit 1002 according to the keyword.
  • the identifying unit 1003 is specifically configured to identify target information in the target interface picture acquired by the first acquiring unit 1002 by using a preset mode.
  • the user equipment 1000 may further include:
  • the display unit 1005 is configured to redisplay the first interface.
  • the generating unit 1004 is configured to modify the target interface picture according to the target information identified by the identification unit 1003 to obtain a screen capture image to trigger the display unit 1005 to redisplay the first interface.
  • the user equipment 1000 may further include:
  • the storage unit 1006 is configured to store the screenshot image generated by the generating unit 1004.
  • an interface including at least a target application interface is intercepted to obtain a target interface image, and then target information in the target interface image is identified, and the target interface image is modified according to the target information to obtain a screen capture image, thereby improving Screen capture efficiency and screen capture flexibility.
  • FIG. 11 is a structural diagram of still another user equipment according to an embodiment of the present invention.
  • the user equipment shown in FIG. 11 may be a mobile phone, a tablet computer, or the like, which is not limited in the embodiment of the present invention.
  • the user equipment 1100 may include a processor 1101, a memory 1102, an input device 1103, and an output device 1104.
  • the processor 1101 and the memory 1102, the input device 1103, and the output device 1104 may be connected by a bus or other means, wherein:
  • the input device 1103 is configured to detect a screen capture instruction input by the user and send it to the processor 1101;
  • the memory 1102 stores a set of program codes
  • the processor 1101 is configured to call the program code stored in the memory 1102 to perform the following operations:
  • the input device is configured to implement interaction between the user and the user equipment and/or information input into the user equipment.
  • the input device can receive numeric or character information input by the user to generate a signal input related to user settings or function control.
  • the input device may be a touch panel or other human-computer interaction interface, such as a physical input button, a microphone, etc., and may be other external information capture devices, such as a camera.
  • a touch panel also known as a touch screen or touch screen, collects operational actions that the user touches or approaches on.
  • the user uses an action of any suitable object or accessory such as a finger or a stylus on or near the touch panel, and drives the corresponding connecting device according to a preset program.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller;
  • the touch controller receives the electrical signal from the touch detection device and applies it Converted to contact coordinates and sent to the processor.
  • the touch controller can also receive commands from the processor and execute them.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the physical input keys used by the input device may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. Or a variety.
  • An input device in the form of a microphone can collect the voice input by the user or the environment and convert it into a processor-executable command in the form of an electrical signal.
  • the processor is a control center of the user equipment, and connects various parts of the entire user equipment by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory, and calling and storing in the memory. Data to perform various functions of the user device and/or process data.
  • the processor may be composed of an IC, for example, may be composed of a single packaged IC, or may be composed of a packaged IC that connects multiple functions of the same function or different functions.
  • the processor can only include
  • the CPU may also be a combination of a control chip (for example, a baseband chip) in the CPU, DSP, GPU, and communication unit.
  • the CPU may be a single operation core, and may also include multiple operation cores.
  • the output device may include, but is not limited to, an image output device, a sound output, and a tactile output device.
  • the image output device is used to output text, pictures and/or video.
  • the image output device may include a display panel such as a display panel configured in the form of an LCD, an OLED, an FED, or the like.
  • the image output device may comprise a reflective display, such as an electrophoretic display, or a display utilizing an Interferometric Modulation of Light.
  • the image output device can include a single display or multiple displays of different sizes.
  • the touch panel used in the input device can also serve as a display panel of the output device.
  • the touch panel detects a touch or proximity gesture operation thereon, it is transmitted to the processor to determine the type of touch event, and then the processor provides a corresponding visual output on the display panel according to the type of touch event.
  • the input device and the output device function as two separate components to implement the input and output functions of the user device, in some embodiments, the input and output functions of the user device can be implemented by integrating the touch panel with the display panel.
  • the image output device can display various GUIs as virtual control components, including but not limited to windows, scroll axes, icons, and scrapbooks, for the user to operate by touch.
  • the image output device includes a filter and an amplifier for filtering and amplifying the video output by the processor.
  • the audio output device includes a digital to analog converter for converting the audio signal output by the processor from a digital format to an analog format.
  • the memory can be used to store software programs and modules, and the processor executes various functional applications of the user equipment and implements data processing by running software programs and modules stored in the memory.
  • the memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the user equipment. Use the created data (such as audio data, phone book, etc.).
  • the memory may include volatile memory, such as NVRAM, PRAM, MRAM, etc., and may also include non-volatile memory, such as at least one magnetic disk storage device, EEPROM, flash memory device, such as reverse or flash memory ( NOR flash memory) or NAND flash memory.
  • Non-volatile memory storage operating system executed by the processor And the application.
  • the processor loads the running program and data from the non-volatile memory into the memory and stores the digital content in a large number of storage devices.
  • the operating system includes controls and management of general system tasks such as memory management, storage device control, power management, etc., as well as various components and/or drivers that facilitate communication between various hardware and software.
  • the operating system may be an Android system of Google Inc., an iOS system developed by Apple Inc., or a Windows operating system developed by Microsoft Corporation, or an embedded operating system such as Vxworks.
  • the application includes any application installed on the user device, including but not limited to browser, email, instant messaging service, word processing, keyboard virtual, widget, encryption, digital rights management, Speech recognition, voice reproduction, positioning (such as those provided by the Global Positioning System), music playback, and the like.
  • the manner in which the processor 1101 identifies the target information in the target interface picture is specifically:
  • the information included in the selected target information area is used as the target information in the target interface picture.
  • the manner in which the processor 1101 identifies the target information in the target interface picture is specifically:
  • the manner in which the processor 1101 identifies the target information in the target interface picture is specifically:
  • the target information in the target interface picture is identified by the preset mode.
  • the output device 1104 is further configured to redisplay the first interface.
  • the processor 1101 is further configured to invoke the program code stored in the memory 1102 to perform the following operations:
  • an interface including at least a target application interface is intercepted to obtain a target interface image, and then target information in the target interface image is identified, and the target interface image is modified according to the target information to obtain a screen capture image, thereby improving Screen capture efficiency and screen capture flexibility.
  • an embodiment of the present invention further discloses a computer storage medium storing a computer program.
  • the computer program in the computer storage medium is read into a computer, the computer can cause the computer to complete the disclosure of the embodiment of the present invention. The full steps of the screen capture method.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例公开一种截屏方法及装置,该截屏方法包括:运行目标应用,显示目标应用的第一界面;接收用户输入的截屏指令;根据截屏指令,向目标应用发送指示消息,以便于目标应用根据指示消息将第一界面修改为第二界面,其中,第一界面与第二界面不同;根据第二界面生成截屏图片。实施本发明实施例,可以提高截屏效率和截屏灵活性。

Description

一种截屏方法及装置 技术领域
本发明涉及计算机技术领域,尤其涉及一种截屏方法及装置。
背景技术
随着电子技术的不断发展,用户设备的功能越来越丰富,如截屏。用户设备截屏时,截屏图片包括应用界面的全部内容,但有时用户并不希望截屏图片包括应用界面的某些信息,例如:截屏余额宝界面时,不希望截屏图片包括余额信息和账号信息。目前,去掉截屏图片中信息的方式主要为:先截取应用界面的全部内容,之后通过图片编辑软件编辑截屏图片以去掉截屏图片中的某些信息。
在上述方式中,由于需要用户手动操作以便在图片编辑软件中去掉截屏图片中的信息,从而降低了截屏效率,同时,由于需要借助图片编辑软件,降低了截屏的灵活性。
发明内容
本发明实施例公开了一种截屏方法及装置,用于提高截屏效率和截屏灵活性。
本发明实施例第一方面公开一种截屏方法,包括:
运行目标应用,显示所述目标应用的第一界面;
接收用户输入的截屏指令;
根据所述截屏指令,向所述目标应用发送指示消息,以便于所述目标应用根据所述指示消息将所述第一界面修改为第二界面,其中,所述第一界面与所述第二界面不同;
根据所述第二界面生成截屏图片。
结合本发明实施例第一方面,在本发明实施例第一方面的第一种可能的实现方式中,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
由所述目标应用根据所述指示消息,通过关键字或预设模式获取所述第一界面中的目标信息,根据所述目标信息修改所述第一界面以获取第二界面。
结合本发明实施例第一方面,在本发明实施例第一方面的第二种可能的实现方式中,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
由所述目标应用根据所述指示消息,通过关键字或预设模式从所述第一界面中获取目标信息区域,对所述目标信息区域进行标记以获取第二界面。
结合本发明实施例第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述根据所述第二界面生成截屏图片包括:
显示所述第二界面;
检测用户从所述第二界面包括的标记的目标信息区域中选取的目标信息区域;
根据所述选取的目标信息区域修改所述第二界面以获取第三界面;
生成至少包括所述第三界面的截屏图片。
结合本发明实施例第一方面以及本发明实施例第一方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述根据所述第二界面生成截屏图片之后,所述方法还包括:
重新显示所述第一界面。
结合本发明实施例第一方面以及本发明实施例第一方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第一方面的第五种可能的实现方式中,所述方法还包括:
存储所述截屏图片。
本发明实施例第二方面公开一种截屏方法,包括:
当显示目标应用的目标界面时,检测用户输入的截屏指令;
响应所述截屏指令,截取至少包括所述目标界面的界面以获取目标界面图片;
识别所述目标界面图片中的目标信息;
根据所述目标信息修改所述目标界面图片以生成截屏图片。
结合本发明实施例第二方面,在本发明实施例第二方面的第一种可能的实现方式中,所述识别所述目标界面图片中的目标信息包括:
识别所述目标界面图片中的目标信息区域并标记;
检测用户从标记的目标信息区域中选取的目标信息区域;
将所述选取的目标信息区域包括的信息作为所述目标界面图片中的目标信息。
结合本发明实施例第二方面,在本发明实施例第二方面的第二种可能的实现方式中,所述识别所述目标界面图片中的目标信息包括:
根据关键字识别所述目标界面图片中的目标信息。
结合本发明实施例第二方面,在本发明实施例第二方面的第三种可能的实现方式中,所述识别所述目标界面图片中的目标信息包括:
通过预设模式识别所述目标界面图片中的目标信息。
结合本发明实施例第二方面以及本发明实施例第二方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第二方面的第四种可能的实现方式中,所述根据所述目标信息修改所述目标界面图片以生成截屏图片之后,所述方法还包括:
重新显示所述第一界面。
结合本发明实施例第二方面以及本发明实施例第二方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第二方面的第五种可能的实现方式中,所述方法还包括:
存储所述截屏图片。
本发明实施例第三方面公开一种用户设备,包括:
显示单元,用于运行目标应用,显示所述目标应用的第一界面;
接收单元,用于接收用户输入的截屏指令;
发送单元,用于根据所述接收单元接收的截屏指令,向所述目标应用发送指示消息,以便于所述目标应用根据所述指示消息将所述显示单元显示的第一界面修改为第二界面,其中,所述第一界面与所述第二界面不同;
生成单元,用于根据所述第二界面生成截屏图片。
结合本发明实施例第三方面,在本发明实施例第三方面的第一种可能的实现方式中,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
由所述目标应用根据所述指示消息,通过关键字或预设模式获取所述第一界面中的目标信息,根据所述目标信息修改所述第一界面以获取第二界面。
结合本发明实施例第三方面,在本发明实施例第三方面的第二种可能的实现方式中,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
由所述目标应用根据所述指示消息,通过关键字或预设模式从所述第一界面中获取目标信息区域,对所述目标信息区域进行标记以获取第二界面。
结合本发明实施例第三方面的第二种可能的实现方式,在本发明实施例第三方面的第三种可能的实现方式中,所述生成单元包括:
显示子单元,用于显示所述第二界面;
检测子单元,用于检测用户从所述显示子单元显示的第二界面包括的标记的目标信息区域中选取的目标信息区域;
获取子单元,用于根据所述检测子单元检测到的选取的目标信息区域修改所述第二界面以获取第三界面;
生成子单元,用于生成至少包括所述获取子单元获取的第三界面的截屏图片。
结合本发明实施例第三方面以及本发明实施例第三方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第三方面的第四种可能的实现方式中,所述显示单元,还用于重新显示所述第一界面。
结合本发明实施例第三方面以及本发明实施例第三方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第三方面的第五种可能的实现方式中,所述用户设备还包括:
存储单元,用于存储所述生成单元生成的截屏图片。
本发明实施例第四方面公开一种用户设备,包括处理器、存储器、输入装 置和输出装置,其中:
所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:
运行目标应用;
所述输出装置,用于显示所述目标应用的第一界面;
所述输入装置,用于接收用户输入的截屏指令并发送给所述处理器;
所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
根据所述截屏指令,向所述目标应用发送指示消息,以便于所述目标应用根据所述指示消息将所述第一界面修改为第二界面,其中,所述第一界面与所述第二界面不同;
根据所述第二界面生成截屏图片。
结合本发明实施例第四方面,在本发明实施例第四方面的第一种可能的实现方式中,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
由所述目标应用根据所述指示消息,通过关键字或预设模式获取所述第一界面中的目标信息,根据所述目标信息修改所述第一界面以获取第二界面。
结合本发明实施例第四方面,在本发明实施例第四方面的第二种可能的实现方式中,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
由所述目标应用根据所述指示消息,通过关键字或预设模式从所述第一界面中获取目标信息区域,对所述目标信息区域进行标记以获取第二界面。
结合本发明实施例第四方面的第二种可能的实现方式,在本发明实施例第四方面的第三种可能的实现方式中,所述处理器根据所述第二界面生成截屏图片的方式具体为:
显示所述第二界面;
检测用户从所述第二界面包括的标记的目标信息区域中选取的目标信息区域;
根据所述选取的目标信息区域修改所述第二界面以获取第三界面;
生成至少包括所述第三界面的截屏图片。
结合本发明实施例第四方面以及本发明实施例第四方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第四方面的第四种可能的实现方式中,所述处理器根据所述第二界面生成截屏图片之后,所述输出装置,还用于重新显示所述第一界面。
结合本发明实施例第四方面以及本发明实施例第四方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第四方面的第五种可能的实现方式中,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
存储所述截屏图片。
本发明实施例第五方面公开一种用户设备,包括:
检测单元,用于当显示目标应用的目标界面时,检测用户输入的截屏指令;
获取单元,用于响应所述检测单元检测到的截屏指令,截取至少包括所述目标界面的界面以获取目标界面图片;
识别单元,用于识别所述获取单元获取的目标界面图片中的目标信息;
生成单元,用于根据所述识别单元识别的目标信息修改所述目标界面图片以生成截屏图片。
结合本发明实施例第五方面,在本发明实施例第五方面的第一种可能的实现方式中,所述识别单元包括:
标记子单元,用于识别所述获取单元获取的目标界面图片中的目标信息区域并标记;
检测子单元,用于检测用户从所述标记子单元标记的目标信息区域中选取的目标信息区域,将所述选取的目标信息区域包括的信息作为所述目标界面图片中的目标信息。
结合本发明实施例第五方面,在本发明实施例第五方面的第二种可能的实现方式中,所述识别单元,具体用于根据关键字识别所述获取单元获取的目标界面图片中的目标信息。
结合本发明实施例第五方面,在本发明实施例第五方面的第三种可能的实现方式中,所述识别单元,具体用于通过预设模式识别所述获取单元获取的目标界面图片中的目标信息。
结合本发明实施例第五方面以及本发明实施例第五方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第五方面的第四种可能的实现方式中,所述用户设备还包括:
显示单元,用于重新显示所述第一界面。
结合本发明实施例第五方面以及本发明实施例第五方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第五方面的第五种可能的实现方式中,所述用户设备还包括:
存储单元,用于存储所述生成单元生成的截屏图片。
本发明实施例第六方面公开一种用户设备,包括处理器、存储器、输入装置和输出装置,其中:
所述输出装置,用于显示目标应用的目标界面;
所述输入装置,用于检测用户输入的截屏指令并发送给所述处理器;
所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:
响应所述输入装置发送的截屏指令,截取至少包括所述输出装置显示的目标界面的界面以获取目标界面图片;
识别所述目标界面图片中的目标信息;
根据所述目标信息修改所述目标界面图片以生成截屏图片。
结合本发明实施例第六方面,在本发明实施例第六方面的第一种可能的实现方式中,所述处理器识别所述目标界面图片中的目标信息的方式具体为:
识别所述目标界面图片中的目标信息区域并标记;
检测用户从标记的目标信息区域中选取的目标信息区域;
将所述选取的目标信息区域包括的信息作为所述目标界面图片中的目标信息。
结合本发明实施例第六方面,在本发明实施例第六方面的第二种可能的实现方式中,所述处理器识别所述目标界面图片中的目标信息的方式具体为:
根据关键字识别所述目标界面图片中的目标信息。
结合本发明实施例第六方面,在本发明实施例第六方面的第三种可能的实 现方式中,所述处理器识别所述目标界面图片中的目标信息的方式具体为:
通过预设模式识别所述目标界面图片中的目标信息。
结合本发明实施例第六方面以及本发明实施例第六方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第六方面的第四种可能的实现方式中,所述处理器根据所述目标信息修改所述目标界面图片以生成截屏图片之后,所述输出装置,还用于重新显示所述第一界面。
结合本发明实施例第六方面以及本发明实施例第六方面的第一种至第三种中任一种可能的实现方式,在本发明实施例第六方面的第五种可能的实现方式中,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
存储所述截屏图片。
本发明实施例中,在截取目标应用界面时,先让目标应用修改目标应用界面,以便根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种截屏方法的流程图;
图2是本发明实施例公开的另一种截屏方法的流程图;
图3是本发明实施例公开的又一种截屏方法的流程图;
图4是本发明实施例公开的又一种截屏方法的流程图;
图5是本发明实施例公开的又一种截屏方法的流程图;
图6是本发明实施例公开的一种用户设备的结构图;
图7是本发明实施例公开的另一种用户设备的结构图;
图8是本发明实施例公开的又一种用户设备的结构图;
图9是本发明实施例公开的又一种用户设备的结构图;
图10是本发明实施例公开的又一种用户设备的结构图;
图11是本发明实施例公开的又一种用户设备的结构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例公开了一种截屏方法及装置,用于提高截屏效率和截屏灵活性。以下分别进行详细说明。
请参阅图1,图1是本发明实施例公开的一种截屏方法的流程图。其中,图1所示的截屏方法适用于手机、平板电脑等用户设备,本发明实施例不作限定。如图1所示,该截屏方法可以包括以下步骤。
S101、当显示目标应用的第一界面时,检测用户输入的截屏指令。
本实施例中,当用户设备显示目标应用的第一界面,且用户想截取第一界面但又不想截取第一界面中的目标信息时,用户将输入截屏指令,用户设备将检测到用户输入的截屏指令。其中,目标应用可以为微信、QQ、余额宝、支付宝等用户设备应用中的至少一个应用。目标信息可以为用户姓名、用户证件号、用户账号金额、用户电话号码、聊天记录中的称呼等用户不希望他人知道的信息。
S102、响应截屏指令,获取第一界面中的目标信息。
本实施例中,当用户设备检测到截屏指令时,将响应截屏指令,可以保存第一界面的截屏图片并获取第一界面中的目标信息,保存第一界面的截屏图片是为了便于后续用户使用时调用;也可以不保存第一界面的截屏图片而只获取第一界面中的目标信息,本实施例不作限定。
作为一种可能的实施方式,响应截屏指令,获取第一界面中的目标信息的方式具体为:
响应截屏指令,根据关键字获取第一界面中的目标信息。
本实施例中,关键字可以是用户设备或目标应用预先设置的,也可以是云 端服务器指定的,本实施例不作限定。
作为一种可能的实施方式,响应截屏指令,获取第一界面中的目标信息的方式具体为:
响应截屏指令,通过预设模式获取第一界面中的目标信息。
本实施例中,预设模块可以为只识别长度大于或等于预设长度的数据或字母的模式。
S103、根据目标信息修改第一界面以获取第二界面。
本实施例中,根据目标信息修改第一界面可以为删除第一界面中的目标信息,也可以为用固定格式替换第一界面中的目标信息,如马赛克遮盖法。
作为一种可能的实施方式,根据目标信息修改第一界面以获取第二界面的方式具体为:
根据目标信息修改显存中存储的第一界面以获取第二界面。
S104、根据第二界面生成截屏图片。
S105、重新显示第一界面。
本实施例中,用户设备生成截屏图片之后,将重新显示第一界面,以恢复第一界面的显示。
S106、存储截屏图片。
本实施例中,用户设备生成截屏图片之后,可以将截屏图片存储在非易失性存储器中,便于用户使用时调用。
在图1所描述的截屏方法中,在截取目标应用界面时,可以自动获取目标应用界面中的目标信息,根据目标信息修改目标应用界面,之后根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图2,图2是本发明实施例公开的另一种截屏方法的流程图。其中,图2所示的截屏方法适用于手机、平板电脑等用户设备,本发明实施例不作限定。如图2所示,该截屏方法可以包括以下步骤。
S201、运行目标应用,显示目标应用的第一界面。
本实施例中,当用户想截取目标应用的第一界面时,首先通过用户设备运行目标应用,并显示目标应用的第一界面。
S202、接收用户输入的截屏指令。
本实施例中,用户想截取第一界面但又不想截取第一界面中的目标信息时,用户将输入截屏指令,用户设备将检测到用户输入的截屏指令。其中,目标应用可以为微信、QQ、余额宝、支付宝等用户设备应用中的至少一个应用。目标信息可以为用户姓名、用户证件号、用户账号金额、用户电话号码、聊天记录中的称呼等用户不希望他人知道的信息。
S203、根据截屏指令,向目标应用发送指示消息,以便于目标应用根据指示消息将第一界面修改为第二界面,其中,第一界面与第二界面不同。
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式获取第一界面中的目标信息,根据目标信息修改第一界面以获取第二界面。
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式从第一界面中获取目标信息区域,对目标信息区域进行标记以获取第二界面。
本实施例中,目标应用根据指示消息将第一界面修改为第二界面之后,可以给用户设备发送一个修改完成消息。
S204、根据第二界面生成截屏图片。
本实施例中,当用户设备接收到目标应用发送的修改完成消息时,将根据第二界面生成截屏图片。
作为一种可能的实施方式,根据第二界面生成截屏图片的方式具体为:
显示第二界面;
检测用户从第二界面包括的标记的目标信息区域中选取的目标信息区域;
根据选取的目标信息区域修改第二界面以获取第三界面;
生成至少包括第三界面的截屏图片。
本实施例中,当目标应用只获取到目标信息区域时,需要用户设备将目标信息区域显示出来由,以便用户从中选出目标信息区域以获取目标信息,由于获取的目标信息是由用户确认过的,因此提高了目标信息的准确度。
在图2所描述的截屏方法中,在截取目标应用界面时,目标应用将修改目标应用界面,以便根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图3,图3是本发明实施例公开的又一种截屏方法的流程图。其中,图3所示的截屏方法适用于手机、平板电脑等用户设备,本发明实施例不作限定。如图3所示,该截屏方法可以包括以下步骤。
S301、运行目标应用,显示目标应用的第一界面。
本实施例中,当用户想截取目标应用的第一界面时,首先让用户设备运行目标应用,并显示目标应用的第一界面。
S302、接收用户输入的截屏指令。
本实施例中,用户想截取第一界面但又不想截取第一界面中的目标信息时,用户将输入截屏指令,用户设备将检测到用户输入的截屏指令。其中,目标应用可以为微信、QQ、余额宝、支付宝等用户设备应用中的至少一个应用。目标信息可以为用户姓名、用户证件号、用户账号金额、用户电话号码、聊天记录中的称呼等用户不希望他人知道的信息。
S303、根据截屏指令,向目标应用发送指示消息,以便于目标应用根据指示消息将第一界面修改为第二界面,其中,第一界面与第二界面不同。
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式获取第一界面中的目标信息,根据目标信息修改第一界面以获取第二界面。
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式从第一界面中获取目标信息区域,对目标信息区域进行标记以获取第二界面。
本实施例中,目标应用根据指示消息将第一界面修改为第二界面之后,可以给用户设备发送一个修改完成消息。
S304、根据第二界面生成截屏图片。
本实施例中,当用户设备接收到目标应用发送的修改完成消息时,将根据第二界面生成截屏图片。
作为一种可能的实施方式,根据第二界面生成截屏图片的方式具体为:
显示第二界面;
检测用户从第二界面包括的标记的目标信息区域中选取的目标信息区域;
根据选取的目标信息区域修改第二界面以获取第三界面;
生成至少包括第三界面的截屏图片。
本实施例中,当目标应用只获取到目标信息区域时,需要用户设备将目标信息区域显示出来由,以便用户从中选出目标信息区域以获取目标信息,由于获取的目标信息是由用户确认过的,因此提高了目标信息的准确度。
S305、重新显示第一界面。
本实施例中,用户设备生成截屏图片之后,将重新显示第一界面,以恢复第一界面的显示。
S306、存储截屏图片。
本实施例中,用户设备生成截屏图片之后,可以将截屏图片存储在非易失性存储器中,便于用户使用时调用。
在图3所描述的截屏方法中,在截取目标应用界面时,目标应用将修改目标应用界面,以便根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图4,图4是本发明实施例公开的又一种截屏方法的流程图。其中,图4所示的截屏方法适用于手机、平板电脑等用户设备,本发明实施例不作限定。如图4所示,该截屏方法可以包括以下步骤。
S401、当显示目标应用的目标界面时,检测用户输入的截屏指令。
本实施例中,当用户设备显示目标应用的目标界面,且用户想截取目标界面但又不想截取目标界面中的目标信息时,用户将输入截屏指令,用户设备将检测到用户输入的截屏指令。其中,目标应用可以为微信、QQ、余额宝、支付宝等用户设备应用中的至少一个应用。目标信息可以为用户姓名、用户证件号、用户账号金额、用户电话号码、聊天记录中的称呼等用户不希望他人知道 的信息。
本实施例中,目标界面为具体实施例一、具体实施例二和具体实施例三中的第一界面。
S402、响应截屏指令,截取至少包括目标界面的界面以获取目标界面图片。
本实施例中,当用户设备检测到截屏指令时,将响应截屏指令,截取至少包括目标界面的界面以获取目标界面图片。获取到目标界面图片之后,可以保存目标界面图片,以便后续用户使用时调用,也可以不保存目标界面图片,本实施例不作限定。
S403、识别目标界面图片中的目标信息。
本实施例中,用户设备先获取到目标界面图片,然后通过光学字符识别(Optical Character Recognition,OCR)识别目标界面图片中的目标信息。
作为一种可能的实施方式,识别目标界面图片中的目标信息的方式具体为:
识别目标界面图片中的目标信息区域并标记;
检测用户从标记的目标信息区域中选取的目标信息区域;
将选取的目标信息区域包括的信息作为目标界面图片中的目标信息。
本实施例中,用户设备先获取到目标界面图片,然后通过OCR识别并标记目标界面图片中的目标信息区域,以便用户从目标信息区域中选取目标信息区域,将选取的目标信息区域包括的信息作为目标界面图片中的目标信息,由于获取的目标信息是由用户确认过的,因此提高了目标信息的准确度。
作为一种可能的实施方式,识别目标界面图片中的目标信息的方式具体为:
根据关键字识别目标界面图片中的目标信息。
本实施例中,关键字可以是用户设备或目标应用预先设置的,也可以是云端服务器指定的,本实施例不作限定。
作为一种可能的实施方式,识别目标界面图片中的目标信息的方式具体为:
通过预设模式识别目标界面图片中的目标信息。
本实施例中,预设模块可以为只识别长度大于或等于预设长度的数据或字 母的模式。
S404、根据目标信息修改目标界面图片以生成截屏图片。
在图4所描述的截屏方法中,先截取至少包括目标应用界面的界面以获取目标界面图片,之后识别目标界面图片中的目标信息,根据目标信息修改目标界面图片以获取截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图5,图5是本发明实施例公开的又一种截屏方法的流程图。其中,图5所示的截屏方法适用于手机、平板电脑等用户设备,本发明实施例不作限定。如图5所示,该截屏方法可以包括以下步骤。
S501、当显示目标应用的目标界面时,检测用户输入的截屏指令。
本实施例中,当用户设备显示目标应用的目标界面,且用户想截取目标界面但又不想截取目标界面中的目标信息时,用户将输入截屏指令,用户设备将检测到用户输入的截屏指令。其中,目标应用可以为微信、QQ、余额宝、支付宝等用户设备应用中的至少一个应用。目标信息可以为用户姓名、用户证件号、用户账号金额、用户电话号码、聊天记录中的称呼等用户不希望他人知道的信息。
本实施例中,目标界面为具体实施例一、具体实施例二和具体实施例三中的第一界面。
S502、响应截屏指令,截取至少包括目标界面的界面以获取目标界面图片。
本实施例中,当用户设备检测到截屏指令时,将响应截屏指令,截取至少包括目标界面的界面以获取目标界面图片。获取到目标界面图片之后,可以保存目标界面图片,以便后续用户使用时调用,也可以不保存目标界面图片,本实施例不作限定。
S503、识别目标界面图片中的目标信息。
本实施例中,用户设备先获取到目标界面图片,然后通过光学字符识别(Optical Character Recognition,OCR)识别目标界面图片中的目标信息。
作为一种可能的实施方式,识别目标界面图片中的目标信息的方式具体为:
识别目标界面图片中的目标信息区域并标记;
检测用户从标记的目标信息区域中选取的目标信息区域;
将选取的目标信息区域包括的信息作为目标界面图片中的目标信息。
本实施例中,用户设备先获取到目标界面图片,然后通过OCR识别并标记目标界面图片中的目标信息区域,以便用户从目标信息区域中选取目标信息区域,将选取的目标信息区域包括的信息作为目标界面图片中的目标信息,由于获取的目标信息是由用户确认过的,因此提高了目标信息的准确度。
作为一种可能的实施方式,识别目标界面图片中的目标信息的方式具体为:
根据关键字识别目标界面图片中的目标信息。
本实施例中,关键字可以是用户设备或目标应用预先设置的,也可以是云端服务器指定的,本实施例不作限定。
作为一种可能的实施方式,识别目标界面图片中的目标信息的方式具体为:
通过预设模式识别目标界面图片中的目标信息。
本实施例中,预设模块可以为只识别长度大于或等于预设长度的数据或字母的模式。
S504、根据目标信息修改目标界面图片以生成截屏图片。
S505、重新显示第一界面。
本实施例中,用户设备获取截屏图片之后,将重新显示第一界面,以恢复第一界面的显示。
S506、存储截屏图片。
本实施例中,用户设备获取截屏图片之后,可以将截屏图片存储在非易失性存储器中,便于用户使用时调用。
在图5所描述的截屏方法中,先截取至少包括目标应用界面的界面以获取目标界面图片,之后识别目标界面图片中的目标信息,根据目标信息修改目标界面图片以获取截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图6,图6是本发明实施例公开的一种用户设备。其中,图6所示的用户设备可以为手机、平板电脑等,本发明实施例不作限定。如图6所示,该 用户设备600可以包括:
检测单元601,用于当显示目标应用的第一界面时,检测用户输入的截屏指令;
第一获取单元602,用于响应检测单元601检测到的截屏指令,获取第一界面中的目标信息;
第二获取单元603,用于根据第一获取单元602获取的目标信息修改第一界面以获取第二界面;
生成单元604,用于根据第二获取单元603获取的第二界面生成截屏图片。
作为一种可能的实施方式,第一获取单元602,具体用于响应检测单元601检测到的截屏指令,根据关键字获取第一界面中的目标信息。
作为一种可能的实施方式,第一获取单元602,具体用于响应检测单元601检测到的截屏指令,通过预设模式获取第一界面中的目标信息。
作为一种可能的实施方式,第二获取单元603,具体用于根据第一获取单元602获取的目标信息修改显存中存储的第一界面以获取第二界面。
作为一种可能的实施方式,该用户设备600还可以包括:
显示单元605,用于重新显示第一界面。
具体地,生成单元604,用于根据第二获取单元603获取的第二界面生成截屏图片,以触发显示单元605重新显示第一界面。
作为一种可能的实施方式,该用户设备600还可以包括:
存储单元606,用于存储生成单元604生成的截屏图片。
在图6所描述的用户设备中,在截取目标应用界面时,可以自动获取目标应用界面中的目标信息,根据目标信息修改目标应用界面,之后根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图7,图7是本发明实施例公开的另一种用户设备的结构图。其中,图7所示的用户设备可以为手机、平板电脑等,本发明实施例不作限定。如图7所示,该用户设备700可以包括处理器701、存储器702、输入装置703和输出装置704。处理器701与存储器702、输入装置703和输出装置704可以通过总线或其它方式连接,其中:
输出装置704,用于显示目标应用的第一界面;
输入装置703,用于检测用户输入的截屏指令并发送给处理器601;
存储器702中存储有一组程序代码,处理器701用于调用存储器702中存储的程序代码执行以下操作:
响应输入装置703发送的截屏指令,获取第一界面中的目标信息;
根据目标信息修改第一界面以获取第二界面;
根据第二界面生成截屏图片。
本实施例中,输入装置用于实现用户与用户设备的交互和/或信息输入到用户设备中。例如,输入装置可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入装置可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。触控面板,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸操作,并将检测到的触摸操作转换为电信号,以及将该电信号传送给触摸控制器;触摸控制器从触摸检测装置上接收该电信号,并将它转换成触点坐标,再送给处理器。触摸控制器还可以接收处理器发来的命令并执行。此外,可以采用电阻式、电容式、红外线(Infrared)以及表面声波等多种类型实现触控面板。在本发明的其他实施方式中,输入装置所采用的实体输入键可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。麦克风形式的输入装置可以收集用户或环境输入的语音并将其转换成电信号形式的、处理器可执行的命令。
本实施例中,处理器为用户设备的控制中心,利用各种接口和线路连接整个用户设备的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行用户设备的各种功能和/或处理数据。处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组 成。举例来说,处理器可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(digital signal processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及通信单元中的控制芯片(例如基带芯片)的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
本实施例中,输出装置可以包括但不限于影像输出装置、声音输出和触感输出装置。影像输出装置用于输出文字、图片和/或视频。影像输出装置可包括显示面板,例如采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)、场发射显示器(field emission display,简称FED)等形式来配置的显示面板。或者影像输出装置可以包括反射式显示器,例如电泳式(electrophoretic)显示器,或利用光干涉调变技术(Interferometric Modulation of Light)的显示器。影像输出装置可以包括单个显示器或不同尺寸的多个显示器。在本发明的具体实施方式中,上述输入装置所采用的触控面板亦可同时作为输出装置的显示面板。例如,当触控面板检测到在其上的触摸或接近的手势操作后,传送给处理器以确定触摸事件的类型,随后处理器根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然输入装置与输出装置作为两个独立的部件来实现用户设备的输入和输出功能,但是在某些实施例中,可以将触控面板与显示面板集成一体而实现用户设备的输入和输出功能。例如,影像输出装置可以显示各种图形化用户接口(Graphical User Interface,简称GUI)以作为虚拟控制组件,包括但不限于窗口、卷动轴、图标及剪贴簿,以供用户通过触控方式进行操作。
本实施例中,影像输出装置包括滤波器及放大器,用来将处理器所输出的视频滤波及放大。音频输出装置包括数字模拟转换器,用来将处理器所输出的音频信号从数字格式转换为模拟格式。
本实施例中,存储器可用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行用户设备的各种功能应用以及实现数据处理。存储器主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据用户设备的使用所创建的数据(比如音频数据、 电话本等)等。在本发明具体实施方式中,存储器可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可抹除可规划只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。非易失存储器储存处理器所执行的操作系统及应用程序。处理器从非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。操作系统包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。在本发明实施方式中,操作系统可以是Google公司的Android系统、Apple公司开发的iOS系统或Microsoft公司开发的Windows操作系统等,或者是Vxworks这类的嵌入式操作系统。
本实施例中,应用程序包括安装在用户设备上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、键盘虚拟、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位系统提供的功能)、音乐播放等等。
作为一种可能的实施方式,处理器701响应截屏指令,获取第一界面中的目标信息的方式具体为:
响应截屏指令,根据关键字获取第一界面中的目标信息。
作为一种可能的实施方式,处理器701响应截屏指令,获取第一界面中的目标信息的方式具体为:
响应截屏指令,通过预设模式获取第一界面中的目标信息。
作为一种可能的实施方式,处理器701根据目标信息修改第一界面以获取第二界面的方式具体为:
根据目标信息修改显存中存储的第一界面以获取第二界面。
作为一种可能的实施方式,处理器701根据第二界面生成截屏图片之后,输出装置704,还用于重新显示第一界面。
作为一种可能的实施方式,处理器701还用于调用存储器702中存储的程序代码执行以下操作:
存储截屏图片。
在图7所描述的用户设备中,在截取目标应用界面时,可以自动获取目标应用界面中的目标信息,根据目标信息修改目标应用界面,之后根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图8,图8是本发明实施例公开的又一种用户设备的结构图。其中,图8所示的用户设备可以为手机、平板电脑等,本发明实施例不作限定。如图8所示,该用户设备800可以包括:
显示单元801,用于运行目标应用,显示目标应用的第一界面;
接收单元802,用于接收用户输入的截屏指令;
发送单元803,用于根据接收单元802接收的截屏指令,向目标应用发送指示消息,以便于目标应用根据指示消息将显示单元801显示的第一界面修改为第二界面,其中,第一界面与第二界面不同;
生成单元804,用于根据第二界面生成截屏图片。
作为一种可能的实施方式,接收单元802,还用于接收目标应用发送的修改完成消息,以触发生成单元804根据第二界面生成截屏图片
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式获取第一界面中的目标信息,根据目标信息修改第一界面以获取第二界面。
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式从第一界面中获取目标信息区域,对目标信息区域进行标记以获取第二界面。
作为一种可能的实施方式,生成单元804可以包括:
显示子单元,用于显示第二界面;
检测子单元,用于检测用户从显示子单元显示的第二界面包括的标记的目 标信息区域中选取的目标信息区域;
获取子单元,用于根据检测子单元检测到的选取的目标信息区域修改第二界面以获取第三界面;
生成子单元,用于生成至少包括获取子单元获取的第三界面的截屏图片。
作为一种可能的实施方式,显示单元801,还用于重新显示第一界面。
具体地,生成单元804,用于根据第二界面生成截屏图片,以触发显示单元801重新显示第一界面。
作为一种可能的实施方式,该用户设备800还可以包括:
存储单元805,用于存储生成单元804生成的截屏图片。
在图8所描述的用户设备中,在截取目标应用界面时,目标应用将修改目标应用界面,以便根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图9,图9是本发明实施例公开的又一种用户设备的结构图。其中,图9所示的用户设备可以为手机、平板电脑等,本发明实施例不作限定。如图9所示,该用户设备900可以包括处理器901、存储器902、输入装置903和输出装置904。处理器901与存储器902、输入装置903和输出装置904可以通过总线或其它方式连接,其中:
存储器902中存储有一组程序代码,处理器901用于调用存储器902中存储的程序代码执行以下操作:
运行目标应用;
输出装置904,用于显示目标应用的第一界面;
输入装置903,用于接收用户输入的截屏指令并发送给处理器;
处理器901还用于调用存储器902中存储的程序代码执行以下操作:
根据截屏指令,向目标应用发送指示消息,以便于目标应用根据指示消息将第一界面修改为第二界面,其中,第一界面与第二界面不同;
根据第二界面生成截屏图片。
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式获取第一界面中的目标信息,根据目标信息修改第一界面以获取第二界面。
作为一种可能的实施方式,目标应用根据指示消息将第一界面修改为第二界面的方式具体为:
由目标应用根据指示消息,通过关键字或预设模式从第一界面中获取目标信息区域,对目标信息区域进行标记以获取第二界面。
作为一种可能的实施方式,处理器901根据第二界面生成截屏图片的方式具体为:
显示第二界面;
检测用户从第二界面包括的标记的目标信息区域中选取的目标信息区域;
根据选取的目标信息区域修改第二界面以获取第三界面;
生成至少包括第三界面的截屏图片。
作为一种可能的实施方式,处理器901根据第二界面生成截屏图片之后,输出装置904,还用于重新显示第一界面。
作为一种可能的实施方式,处理器901还用于调用存储器中存储的程序代码执行以下操作:
存储截屏图片。
在图9所描述的用户设备中,在截取目标应用界面时,目标应用将修改目标应用界面,以便根据修改的目标应用界面生成截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图10,图10是本发明实施例公开的又一种用户设备的结构图。其中,图10所示的用户设备可以为手机、平板电脑等,本发明实施例不作限定。如图10所示,该用户设备1000可以包括:
检测单元1001,用于当显示目标应用的目标界面时,检测用户输入的截屏指令;
获取单元1002,用于响应检测单元701检测到的截屏指令,截取至少包括目标界面的界面以获取目标界面图片;
识别单元1003,用于识别获取单元1002获取的目标界面图片中的目标信 息;
生成单元1004,用于根据识别单元1003识别的目标信息修改目标界面图片以生成截屏图片。
作为一种可能的实施方式,识别单元1003可以包括:
标记子单元,用于识别第一获取单元1002获取的目标界面图片中的目标信息区域并标记;
检测子单元,用于检测用户从标记子单元标记的目标信息区域中选取的目标信息区域,将选取的目标信息区域包括的信息作为目标界面图片中的目标信息。
作为一种可能的实施方式,识别单元1003,具体用于根据关键字识别第一获取单元1002获取的目标界面图片中的目标信息。
作为一种可能的实施方式,识别单元1003,具体用于通过预设模式识别第一获取单元1002获取的目标界面图片中的目标信息。
作为一种可能的实施方式,该用户设备1000还可以包括:
显示单元1005,用于重新显示第一界面。
具体地,生成单元1004,用于根据识别单元1003识别的目标信息修改目标界面图片以获取截屏图片,以触发显示单元1005重新显示第一界面。
作为一种可能的实施方式,该用户设备1000还可以包括:
存储单元1006,用于存储生成单元1004生成的截屏图片。
在图10所描述的用户设备中,先截取至少包括目标应用界面的界面以获取目标界面图片,之后识别目标界面图片中的目标信息,根据目标信息修改目标界面图片以获取截屏图片,从而提高了截屏效率和截屏灵活性。
请参阅图11,图11是本发明实施例公开的又一种用户设备的结构图。其中,图11所示的用户设备可以为手机、平板电脑等,本发明实施例不作限定。如图11所示,该用户设备1100可以包括处理器1101、存储器1102、输入装置1103和输出装置1104。处理器1101与存储器1102、输入装置1103和输出装置1104可以通过总线或其它方式连接,其中:
输出装置1104,用于显示目标应用的目标界面;
输入装置1103,用于检测用户输入的截屏指令并发送给处理器1101;
存储器1102中存储有一组程序代码,处理器1101用于调用存储器1102中存储的程序代码执行以下操作:
响应输入装置1103发送的截屏指令,截取至少包括输出装置1104显示的目标界面的界面以获取目标界面图片;
识别目标界面图片中的目标信息;
根据目标信息修改目标界面图片以生成截屏图片。
本实施例中,输入装置用于实现用户与用户设备的交互和/或信息输入到用户设备中。例如,输入装置可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入装置可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。触控面板,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸操作,并将检测到的触摸操作转换为电信号,以及将该电信号传送给触摸控制器;触摸控制器从触摸检测装置上接收该电信号,并将它转换成触点坐标,再送给处理器。触摸控制器还可以接收处理器发来的命令并执行。此外,可以采用电阻式、电容式、红外线(Infrared)以及表面声波等多种类型实现触控面板。在本发明的其他实施方式中,输入装置所采用的实体输入键可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。麦克风形式的输入装置可以收集用户或环境输入的语音并将其转换成电信号形式的、处理器可执行的命令。
本实施例中,处理器为用户设备的控制中心,利用各种接口和线路连接整个用户设备的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行用户设备的各种功能和/或处理数据。处理器可以由IC组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器可以仅包括 CPU,也可以是CPU、DSP、GPU及通信单元中的控制芯片(例如基带芯片)的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
本实施例中,输出装置可以包括但不限于影像输出装置、声音输出和触感输出装置。影像输出装置用于输出文字、图片和/或视频。影像输出装置可包括显示面板,例如采用LCD、OLED、FED等形式来配置的显示面板。或者影像输出装置可以包括反射式显示器,例如电泳式(electrophoretic)显示器,或利用光干涉调变技术(Interferometric Modulation of Light)的显示器。影像输出装置可以包括单个显示器或不同尺寸的多个显示器。在本发明的具体实施方式中,上述输入装置所采用的触控面板亦可同时作为输出装置的显示面板。例如,当触控面板检测到在其上的触摸或接近的手势操作后,传送给处理器以确定触摸事件的类型,随后处理器根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然输入装置与输出装置作为两个独立的部件来实现用户设备的输入和输出功能,但是在某些实施例中,可以将触控面板与显示面板集成一体而实现用户设备的输入和输出功能。例如,影像输出装置可以显示各种GUI以作为虚拟控制组件,包括但不限于窗口、卷动轴、图标及剪贴簿,以供用户通过触控方式进行操作。
本实施例中,影像输出装置包括滤波器及放大器,用来将处理器所输出的视频滤波及放大。音频输出装置包括数字模拟转换器,用来将处理器所输出的音频信号从数字格式转换为模拟格式。
本实施例中,存储器可用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行用户设备的各种功能应用以及实现数据处理。存储器主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据用户设备的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器可以包括易失性存储器,例如NVRAM、PRAM、MRAM等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、EEPROM、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。非易失存储器储存处理器所执行的操作系统 及应用程序。处理器从非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。操作系统包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。在本发明实施方式中,操作系统可以是Google公司的Android系统、Apple公司开发的iOS系统或Microsoft公司开发的Windows操作系统等,或者是Vxworks这类的嵌入式操作系统。
本实施例中,应用程序包括安装在用户设备上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、键盘虚拟、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位系统提供的功能)、音乐播放等等。
作为一种可能的实施方式,处理器1101识别目标界面图片中的目标信息的方式具体为:
识别目标界面图片中的目标信息区域并标记;
检测用户从标记的目标信息区域中选取的目标信息区域;
将选取的目标信息区域包括的信息作为目标界面图片中的目标信息。
作为一种可能的实施方式,处理器1101识别目标界面图片中的目标信息的方式具体为:
根据关键字识别目标界面图片中的目标信息。
作为一种可能的实施方式,处理器1101识别目标界面图片中的目标信息的方式具体为:
通过预设模式识别目标界面图片中的目标信息。
作为一种可能的实施方式,处理器1101根据目标信息修改目标界面图片以生成截屏图片之后,输出装置1104,还用于重新显示第一界面。
作为一种可能的实施方式,处理器1101还用于调用存储器1102中存储的程序代码执行以下操作:
存储截屏图片。
在图11所描述的用户设备中,先截取至少包括目标应用界面的界面以获取目标界面图片,之后识别目标界面图片中的目标信息,根据目标信息修改目标界面图片以获取截屏图片,从而提高了截屏效率和截屏灵活性。
一个实施例中,本发明实施例进一步公开一种计算机存储介质,该计算机存储介质存储有计算机程序,当计算机存储介质中的计算机程序被读取到计算机时,能够使得计算机完成本发明实施例公开的截屏方法的全部步骤。
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
以上对本发明实施例所提供的截屏方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (36)

  1. 一种截屏方法,其特征在于,包括:
    运行目标应用,显示所述目标应用的第一界面;
    接收用户输入的截屏指令;
    根据所述截屏指令,向所述目标应用发送指示消息,以便于所述目标应用根据所述指示消息将所述第一界面修改为第二界面,其中,所述第一界面与所述第二界面不同;
    根据所述第二界面生成截屏图片。
  2. 如权利要求1所述的方法,其特征在于,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
    由所述目标应用根据所述指示消息,通过关键字或预设模式获取所述第一界面中的目标信息,根据所述目标信息修改所述第一界面以获取第二界面。
  3. 如权利要求1所述的方法,其特征在于,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
    由所述目标应用根据所述指示消息,通过关键字或预设模式从所述第一界面中获取目标信息区域,对所述目标信息区域进行标记以获取第二界面。
  4. 如权利要求3所述的方法,其特征在于,所述根据所述第二界面生成截屏图片包括:
    显示所述第二界面;
    检测用户从所述第二界面包括的标记的目标信息区域中选取的目标信息区域;
    根据所述选取的目标信息区域修改所述第二界面以获取第三界面;
    生成至少包括所述第三界面的截屏图片。
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述根据所述第二界面生成截屏图片之后,所述方法还包括:
    重新显示所述第一界面。
  6. 如权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:
    存储所述截屏图片。
  7. 一种截屏方法,其特征在于,包括:
    当显示目标应用的目标界面时,检测用户输入的截屏指令;
    响应所述截屏指令,截取至少包括所述目标界面的界面以获取目标界面图片;
    识别所述目标界面图片中的目标信息;
    根据所述目标信息修改所述目标界面图片以生成截屏图片。
  8. 如权利要求7所述的方法,其特征在于,所述识别所述目标界面图片中的目标信息包括:
    识别所述目标界面图片中的目标信息区域并标记;
    检测用户从标记的目标信息区域中选取的目标信息区域;
    将所述选取的目标信息区域包括的信息作为所述目标界面图片中的目标信息。
  9. 如权利要求7所述的方法,其特征在于,所述识别所述目标界面图片中的目标信息包括:
    根据关键字识别所述目标界面图片中的目标信息。
  10. 如权利要求7所述的方法,其特征在于,所述识别所述目标界面图片中的目标信息包括:
    通过预设模式识别所述目标界面图片中的目标信息。
  11. 如权利要求7-10任一项所述的方法,其特征在于,所述根据所述目标信息修改所述目标界面图片以生成截屏图片之后,所述方法还包括:
    重新显示所述第一界面。
  12. 如权利要求7-10任一项所述的方法,其特征在于,所述方法还包括:
    存储所述截屏图片。
  13. 一种用户设备,其特征在于,包括:
    显示单元,用于运行目标应用,显示所述目标应用的第一界面;
    接收单元,用于接收用户输入的截屏指令;
    发送单元,用于根据所述接收单元接收的截屏指令,向所述目标应用发送指示消息,以便于所述目标应用根据所述指示消息将所述显示单元显示的第一界面修改为第二界面,其中,所述第一界面与所述第二界面不同;
    生成单元,用于根据所述第二界面生成截屏图片。
  14. 如权利要求13所述的用户设备,其特征在于,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
    由所述目标应用根据所述指示消息,通过关键字或预设模式获取所述第一界面中的目标信息,根据所述目标信息修改所述第一界面以获取第二界面。
  15. 如权利要求13所述的用户设备,其特征在于,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
    由所述目标应用根据所述指示消息,通过关键字或预设模式从所述第一界面中获取目标信息区域,对所述目标信息区域进行标记以获取第二界面。
  16. 如权利要求15所述的用户设备,其特征在于,所述生成单元包括:
    显示子单元,用于显示所述第二界面;
    检测子单元,用于检测用户从所述显示子单元显示的第二界面包括的标记的目标信息区域中选取的目标信息区域;
    获取子单元,用于根据所述检测子单元检测到的选取的目标信息区域修改所述第二界面以获取第三界面;
    生成子单元,用于生成至少包括所述获取子单元获取的第三界面的截屏图片。
  17. 如权利要求13-16任一项所述的用户设备,其特征在于,所述显示单元,还用于重新显示所述第一界面。
  18. 如权利要求13-16任一项所述的用户设备,其特征在于,所述用户设备还包括:
    存储单元,用于存储所述生成单元生成的截屏图片。
  19. 一种用户设备,其特征在于,包括处理器、存储器、输入装置和输出装置,其中:
    所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:
    运行目标应用;
    所述输出装置,用于显示所述目标应用的第一界面;
    所述输入装置,用于接收用户输入的截屏指令并发送给所述处理器;
    所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
    根据所述截屏指令,向所述目标应用发送指示消息,以便于所述目标应用根据所述指示消息将所述第一界面修改为第二界面,其中,所述第一界面与所述第二界面不同;
    根据所述第二界面生成截屏图片。
  20. 如权利要求19所述的用户设备,其特征在于,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
    由所述目标应用根据所述指示消息,通过关键字或预设模式获取所述第一界面中的目标信息,根据所述目标信息修改所述第一界面以获取第二界面。
  21. 如权利要求19所述的用户设备,其特征在于,所述目标应用根据所述指示消息将所述第一界面修改为第二界面的方式具体为:
    由所述目标应用根据所述指示消息,通过关键字或预设模式从所述第一界面中获取目标信息区域,对所述目标信息区域进行标记以获取第二界面。
  22. 如权利要求21所述的用户设备,其特征在于,所述处理器根据所述第二界面生成截屏图片的方式具体为:
    显示所述第二界面;
    检测用户从所述第二界面包括的标记的目标信息区域中选取的目标信息区域;
    根据所述选取的目标信息区域修改所述第二界面以获取第三界面;
    生成至少包括所述第三界面的截屏图片。
  23. 如权利要求19-22任一项所述的用户设备,其特征在于,所述处理器根据所述第二界面生成截屏图片之后,所述输出装置,还用于重新显示所述第一界面。
  24. 如权利要求19-22任一项所述的用户设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
    存储所述截屏图片。
  25. 一种用户设备,其特征在于,包括:
    检测单元,用于当显示目标应用的目标界面时,检测用户输入的截屏指令;
    获取单元,用于响应所述检测单元检测到的截屏指令,截取至少包括所述目标界面的界面以获取目标界面图片;
    识别单元,用于识别所述获取单元获取的目标界面图片中的目标信息;
    生成单元,用于根据所述识别单元识别的目标信息修改所述目标界面图片以生成截屏图片。
  26. 如权利要求25所述的用户设备,其特征在于,所述识别单元包括:
    标记子单元,用于识别所述获取单元获取的目标界面图片中的目标信息区域并标记;
    检测子单元,用于检测用户从所述标记子单元标记的目标信息区域中选取的目标信息区域,将所述选取的目标信息区域包括的信息作为所述目标界面图 片中的目标信息。
  27. 如权利要求25所述的用户设备,其特征在于,所述识别单元,具体用于根据关键字识别所述获取单元获取的目标界面图片中的目标信息。
  28. 如权利要求25所述的用户设备,其特征在于,所述识别单元,具体用于通过预设模式识别所述获取单元获取的目标界面图片中的目标信息。
  29. 如权利要求25-28任一项所述的用户设备,其特征在于,所述用户设备还包括:
    显示单元,用于重新显示所述第一界面。
  30. 如权利要求25-28任一项所述的用户设备,其特征在于,所述用户设备还包括:
    存储单元,用于存储所述生成单元生成的截屏图片。
  31. 一种用户设备,其特征在于,包括处理器、存储器、输入装置和输出装置,其中:
    所述输出装置,用于显示目标应用的目标界面;
    所述输入装置,用于检测用户输入的截屏指令并发送给所述处理器;
    所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:
    响应所述输入装置发送的截屏指令,截取至少包括所述输出装置显示的目标界面的界面以获取目标界面图片;
    识别所述目标界面图片中的目标信息;
    根据所述目标信息修改所述目标界面图片以生成截屏图片。
  32. 如权利要求31所述的用户设备,其特征在于,所述处理器识别所述目标界面图片中的目标信息的方式具体为:
    识别所述目标界面图片中的目标信息区域并标记;
    检测用户从标记的目标信息区域中选取的目标信息区域;
    将所述选取的目标信息区域包括的信息作为所述目标界面图片中的目标信息。
  33. 如权利要求31所述的用户设备,其特征在于,所述处理器识别所述目标界面图片中的目标信息的方式具体为:
    根据关键字识别所述目标界面图片中的目标信息。
  34. 如权利要求31所述的用户设备,其特征在于,所述处理器识别所述目标界面图片中的目标信息的方式具体为:
    通过预设模式识别所述目标界面图片中的目标信息。
  35. 如权利要求31-34任一项所述的用户设备,其特征在于,所述处理器根据所述目标信息修改所述目标界面图片以生成截屏图片之后,所述输出装置,还用于重新显示所述第一界面。
  36. 如权利要求31-34任一项所述的用户设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
    存储所述截屏图片。
PCT/CN2014/085948 2014-09-04 2014-09-04 一种截屏方法及装置 WO2016033787A1 (zh)

Priority Applications (9)

Application Number Priority Date Filing Date Title
CN201811062541.1A CN109446832B (zh) 2014-09-04 2014-09-04 一种截屏方法及装置
EP18176912.6A EP3447672B1 (en) 2014-09-04 2014-09-04 Screen capturing method and apparatus
EP20157299.7A EP3736722A1 (en) 2014-09-04 2014-09-04 Screen capturing method and apparatus
ES18176912T ES2789223T3 (es) 2014-09-04 2014-09-04 Método y aparato de captura de pantalla
US15/508,793 US10466878B2 (en) 2014-09-04 2014-09-04 Screen capturing method and apparatus
CN201480029709.2A CN105580024B (zh) 2014-09-04 2014-09-04 一种截屏方法及装置
PCT/CN2014/085948 WO2016033787A1 (zh) 2014-09-04 2014-09-04 一种截屏方法及装置
EP14901149.6A EP3182322B1 (en) 2014-09-04 2014-09-04 Screenshot method and apparatus
US16/535,958 US11262895B2 (en) 2014-09-04 2019-08-08 Screen capturing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/085948 WO2016033787A1 (zh) 2014-09-04 2014-09-04 一种截屏方法及装置

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US15/508,793 A-371-Of-International US10466878B2 (en) 2014-09-04 2014-09-04 Screen capturing method and apparatus
US16/535,958 Continuation US11262895B2 (en) 2014-09-04 2019-08-08 Screen capturing method and apparatus

Publications (1)

Publication Number Publication Date
WO2016033787A1 true WO2016033787A1 (zh) 2016-03-10

Family

ID=55439033

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085948 WO2016033787A1 (zh) 2014-09-04 2014-09-04 一种截屏方法及装置

Country Status (5)

Country Link
US (2) US10466878B2 (zh)
EP (3) EP3447672B1 (zh)
CN (2) CN105580024B (zh)
ES (1) ES2789223T3 (zh)
WO (1) WO2016033787A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372473A (zh) * 2016-09-02 2017-02-01 深圳中兴网信科技有限公司 截屏方法、截屏装置、终端和服务器
CN107977145A (zh) * 2017-12-15 2018-05-01 广东欧珀移动通信有限公司 电子装置、截图方法及相关产品

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2789223T3 (es) * 2014-09-04 2020-10-26 Huawei Tech Co Ltd Método y aparato de captura de pantalla
CN106055998A (zh) * 2016-06-08 2016-10-26 青岛海信移动通信技术股份有限公司 一种在移动终端中进行截屏的方法和装置
US10425445B2 (en) * 2016-12-15 2019-09-24 Interwise Ltd Deception using screen capture
CN106873871B (zh) * 2017-01-06 2018-09-11 腾讯科技(深圳)有限公司 页面截图方法和装置
CN110196675B (zh) * 2019-04-17 2022-07-15 华为技术有限公司 一种添加批注的方法及电子设备
CN110231905B (zh) 2019-05-07 2021-02-09 华为技术有限公司 一种截屏方法及电子设备
CN110658971B (zh) * 2019-08-26 2021-04-23 维沃移动通信有限公司 一种截屏方法及终端设备
CN110737386A (zh) * 2019-09-06 2020-01-31 华为技术有限公司 一种屏幕截取方法及相关设备
US11006076B1 (en) * 2019-12-31 2021-05-11 Facebook, Inc. Methods and systems for configuring multiple layouts of video capture
CN115048009A (zh) * 2021-02-26 2022-09-13 京东方科技集团股份有限公司 对话界面截取方法及装置、计算机设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101507246A (zh) * 2006-08-24 2009-08-12 诺基亚公司 无线通信终端上的数据私有性
WO2011114307A2 (en) * 2010-03-18 2011-09-22 Nick Venter Operation of a mobile communication device
CN104021350A (zh) * 2014-05-13 2014-09-03 小米科技有限责任公司 隐私信息隐藏方法及装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060036739A1 (en) * 2004-08-12 2006-02-16 International Business Machines Corporation Method and system for removing messaging information in a messaging client
US10747952B2 (en) * 2008-09-15 2020-08-18 Palantir Technologies, Inc. Automatic creation and server push of multiple distinct drafts
CN101477440A (zh) * 2009-01-15 2009-07-08 腾讯科技(深圳)有限公司 屏幕截图方法和屏幕截图系统
US20110183654A1 (en) * 2010-01-25 2011-07-28 Brian Lanier Concurrent Use of Multiple User Interface Devices
US8847985B2 (en) * 2010-12-30 2014-09-30 International Business Machines Corporation Protecting screen information
CN102750067B (zh) * 2011-04-19 2015-04-22 中国科学院软件研究所 一种基于手持设备的大屏幕交互方法
CN102521020B (zh) * 2011-10-26 2014-05-21 华为终端有限公司 用于移动终端的应用屏幕截图方法和装置
CN108833657A (zh) * 2013-06-19 2018-11-16 华为终端(东莞)有限公司 一种数据和消息处理的方法及装置
CN104615343A (zh) * 2013-11-04 2015-05-13 中兴通讯股份有限公司 一种终端截图的方法及装置
CN103761048A (zh) * 2014-01-24 2014-04-30 深圳市金立通信设备有限公司 一种终端截屏的方法以及终端
US20160048636A1 (en) * 2014-08-18 2016-02-18 General Electric Company Distributed application windows
ES2789223T3 (es) * 2014-09-04 2020-10-26 Huawei Tech Co Ltd Método y aparato de captura de pantalla

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101507246A (zh) * 2006-08-24 2009-08-12 诺基亚公司 无线通信终端上的数据私有性
WO2011114307A2 (en) * 2010-03-18 2011-09-22 Nick Venter Operation of a mobile communication device
CN104021350A (zh) * 2014-05-13 2014-09-03 小米科技有限责任公司 隐私信息隐藏方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3182322A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372473A (zh) * 2016-09-02 2017-02-01 深圳中兴网信科技有限公司 截屏方法、截屏装置、终端和服务器
CN107977145A (zh) * 2017-12-15 2018-05-01 广东欧珀移动通信有限公司 电子装置、截图方法及相关产品

Also Published As

Publication number Publication date
CN109446832B (zh) 2023-03-10
EP3736722A1 (en) 2020-11-11
EP3447672B1 (en) 2020-03-18
ES2789223T3 (es) 2020-10-26
EP3182322B1 (en) 2018-06-13
US20190361593A1 (en) 2019-11-28
CN109446832A (zh) 2019-03-08
US11262895B2 (en) 2022-03-01
US10466878B2 (en) 2019-11-05
EP3447672A1 (en) 2019-02-27
EP3182322A1 (en) 2017-06-21
US20170277403A1 (en) 2017-09-28
EP3182322A4 (en) 2017-07-26
CN105580024B (zh) 2018-10-02
CN105580024A (zh) 2016-05-11

Similar Documents

Publication Publication Date Title
US11262895B2 (en) Screen capturing method and apparatus
JP6473151B2 (ja) アプリケーションインターフェースを表示する方法、装置および電子デバイス
TWI522894B (zh) 用於電子元件中的方法、電腦程式產品以及非暫時性電腦可讀記錄媒體
EP2854003B1 (en) Electronic device and method for converting image format object to text format object
US20140330561A1 (en) Voice recognition method and electronic device thereof
EP3103006A1 (en) Displaying interactive notifications on touch sensitive devices
JP2015531530A (ja) サムネイルおよび文書マップに基づく、文書内ナビゲーション
US10656806B2 (en) Display interface systems and methods
JP2015530687A (ja) コンテンツ選択および拡張コンテンツ選択のためのユーザインタフェース
WO2017177436A1 (zh) 一种锁定列表对象的方法、装置及终端设备
US11243679B2 (en) Remote data input framework
US20150346973A1 (en) Seamlessly enabling larger ui
JP2020053065A (ja) アプリケーションインターフェースを表示する方法、装置および電子デバイス
WO2017092680A1 (zh) 用于删除对象的电子设备和方法
US9857910B2 (en) Method for controlling multiple touchscreens and electronic device
EP2849058A1 (en) Method and device for displaying a message associated with an application
WO2018068232A1 (zh) 显示字符串的方法以及终端设备
JP2018028933A (ja) アプリケーションインターフェースを表示する方法、装置および電子デバイス

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201480029709.2

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14901149

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15508793

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014901149

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014901149

Country of ref document: EP