WO2021136159A1 - Screenshot method and electronic device - Google Patents

Screenshot method and electronic device Download PDF

Info

Publication number
WO2021136159A1
WO2021136159A1 PCT/CN2020/140064 CN2020140064W WO2021136159A1 WO 2021136159 A1 WO2021136159 A1 WO 2021136159A1 CN 2020140064 W CN2020140064 W CN 2020140064W WO 2021136159 A1 WO2021136159 A1 WO 2021136159A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
screenshot
notification bar
user
interface
Prior art date
Application number
PCT/CN2020/140064
Other languages
French (fr)
Chinese (zh)
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 维沃移动通信有限公司
Publication of WO2021136159A1 publication Critical patent/WO2021136159A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of communication technology, in particular to a screen capture method and electronic equipment.
  • the embodiments of the present invention provide a screenshot method and electronic device to solve the problem of fixed screenshot content information in the existing screenshot mode and inconvenience caused to the user by the user to organize the screenshot after the display interface is organized.
  • an embodiment of the present invention provides a screenshot method applied to an electronic device, including:
  • the target classification option is any one of the multiple screen capture classification options
  • a screenshot containing the target content is generated
  • the target content is the content corresponding to the target classification option in the target interface.
  • an electronic device including:
  • the first receiving module is configured to receive the first input of the user when the target interface is displayed;
  • the display module is used to display multiple screenshot classification options in response to the first input
  • the second receiving module is used to receive the user's selection input for the target classification option, and the target classification option is any one of the multiple screen capture classification options;
  • the generating module is used to generate a screenshot containing the target content in response to the selection input;
  • the target content is the content corresponding to the target classification option in the target interface.
  • an embodiment of the present invention provides an electronic device including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor to implement the steps of the above screenshot method.
  • an embodiment of the present invention provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the steps of the above screenshot method are implemented.
  • a plurality of screen capture classification options are displayed according to the user's first input, and when a selection input of a target classification option among the multiple screen capture classification options is received, a target content corresponding to the target classification option is generated.
  • Screenshots can be realized by displaying multiple screenshot classification options to increase the selectability of the screenshot methods, reducing the tedious operation brought by retouching and editing, and can better meet the different needs of users for screenshots, convenient and fast, and improve the user experience. At the same time It is convenient to distinguish and organize screenshots.
  • FIG. 1 shows a schematic diagram of a screenshot method according to an embodiment of the present invention
  • Figure 2 shows a schematic diagram of a target interface of an embodiment of the present invention
  • FIG. 3 shows the second schematic diagram of the target interface of the embodiment of the present invention
  • FIG. 4 shows a schematic diagram of an implementation process of a screenshot method according to an embodiment of the present invention
  • Figure 5 shows a schematic diagram of an electronic device according to an embodiment of the present invention
  • Fig. 6 shows a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.
  • the embodiment of the present invention provides a screen capture method, which is applied to an electronic device. As shown in FIG. 1, the method includes:
  • Step 101 When the target interface is displayed, a first input from the user is received.
  • step 102 when the electronic device displays the target interface, the first input performed by the user is received, where the first input can be an input to the target interface of the electronic device, or it can be a button on the electronic device input of.
  • Step 102 In response to the first input, display multiple screenshot classification options.
  • multiple screenshot classification options may be displayed on the currently displayed target interface, where each screenshot classification option may correspond to a category of display content, and display content belonging to the same category have the same characteristics.
  • each screenshot classification option may correspond to a category of display content, and display content belonging to the same category have the same characteristics.
  • multiple screenshot classification options can be displayed in the form of floating controls on the target interface.
  • the floating controls present a preset transparency, and the corresponding transparency can be adjusted without affecting the display of the target interface.
  • Step 103 Receive a user's selection input for a target classification option, where the target classification option is any one of the multiple screenshot classification options.
  • a user's selection input of any one of the multiple screen capture classification options may be received, and the classification option that received the selection input is determined to be the target classification option.
  • Step 104 In response to the selection input, generate a screenshot containing the target content; wherein the target content is the content corresponding to the target classification option in the target interface.
  • a screenshot containing the content corresponding to the target classification option can be generated, so that the user can select the screenshot content in the target interface according to the needs.
  • the above-mentioned implementation process of the present invention can increase the selectivity of the screen capture method by displaying multiple screen capture classification options, reduce the tedious operation brought about by retouching and editing, and can better meet the user's different screen capture needs, convenient and fast, and improve the user experience , At the same time, it is convenient to distinguish and organize screenshots.
  • the target classification option is a notification bar option
  • Receive user input for target classification options including:
  • a screenshot containing the target content is generated, including:
  • the user interface of the target application corresponding to the notification bar is displayed, and a screenshot containing the user interface is generated; wherein the user interface of the target application includes the target content.
  • the target classification option can be a notification bar option.
  • the specific process of receiving the user's selection input for the target classification option is: when the notification bar is displayed on the target interface, receiving the user's selection of the notification bar option enter.
  • the process of generating screenshots is specifically as follows: according to the user's selection and input of the notification bar options, the target content in the notification bar is detected to determine whether the target content in the notification bar meets the preset conditions, and the target content meets the preset conditions. Under conditions, the user interface of the target application corresponding to the notification bar can be directly displayed.
  • the user interface of the target application includes the target content that the user needs to intercept. After the user interface of the target application is displayed, the user interface can be generated including the user interface , And then get a screenshot containing the target content.
  • the user interface of the target application corresponding to the notification bar is displayed, and a screenshot containing the user interface is generated, which can facilitate the user to obtain a screenshot associated with the target content in the notification bar.
  • the target content in the notification bar meets preset conditions, display the user interface of the target application corresponding to the notification bar, and generate a screenshot containing the user interface, including:
  • the user interface of the target application corresponding to the notification bar is displayed in full screen, and the user interface includes the notification message;
  • the target content in the notification bar option When the user’s selection input on the notification bar option is received and the target content in the notification bar is detected, it can be specifically to detect whether the target content in the notification bar is part of the notification message in the notification bar, that is, to detect the content in the notification bar. Whether the notification message is only partially displayed, such as detecting that the notification bar contains an ellipsis, or detecting that the notification message in the notification bar is not displayed completely through semantic recognition. When it is determined that the target content in the notification bar is part of the notification message in the notification bar, it can be determined that the target content in the notification bar meets the preset conditions. At this time, the target application corresponding to the notification bar can be displayed in full screen mode. The user interface of the target application can be included in the user interface, and the entire content of the notification message can be included, and then a screenshot of the user interface of the target application can be automatically taken.
  • the prompt message "Whether to take a screenshot" is output, and the screenshot is taken according to the user's confirmation operation to avoid the screenshot caused by the user's misoperation; the user can also display the target application corresponding to the notification bar on the display
  • the automatic screenshot operation is performed at a preset time interval, which can provide the user with a response time not to perform the screenshot.
  • the notification bar when displayed on the target interface, it also includes:
  • the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet the preset condition.
  • the target content in the notification bar option When the user’s selection input on the notification bar option is received and the target content in the notification bar is detected, it can be specifically to detect whether the target content in the notification bar is part of the notification message in the notification bar, that is, to detect whether the target content in the notification bar is part of the notification message in the notification bar. Whether all notification messages are displayed, such as detecting that the notification bar does not contain an ellipsis, or detecting that the notification message in the notification bar is displayed completely through semantic recognition. When it is determined that the target content in the notification bar is the entire content of the notification message in the notification bar, it can be determined that the target content in the notification bar does not meet the preset conditions. At this time, a screenshot containing the notification bar can be generated for the user to obtain Include screenshots of target content.
  • the target content in the notification bar is the entire content of the notification message in the notification bar
  • the target classification option is the notification bar option. It should be noted that when the notification bar is displayed on the target interface, other running applications can also be displayed. Below, the video application and e-book application are run on the target interface. Programs and third-party applications are taken as examples to illustrate the above process. As shown in Figure 2, the target interface includes the video playback interface, the e-book reading interface, and the notification bar of third-party applications, and the target interface can also display multiple screen capture classification options (including notification bar options) through the floating window. It is shown that according to the user's selection and input of the notification bar options, it can be detected whether the notification message in the notification bar of the third-party application is displayed completely.
  • the interface can be updated to directly display the third-party application's information in full screen. Include the user interface of the complete notification information, and then generate a screenshot containing the user interface. When the notification message in the notification bar is displayed completely, you can directly take a screenshot of the notification bar to obtain a screenshot containing the notification bar.
  • the target classification option is a combined classification option
  • Receive user input for target classification options including:
  • a screenshot containing the target content is generated, including:
  • the first screenshot picture only contains the image in the target interface
  • the second screenshot picture only contains the text in the target interface
  • the third screenshot picture only contains the notification bar in the target interface
  • the fourth screenshot picture contains the image in the target interface, At least two items in the text and notification bar.
  • the target classification option can be a combination classification option, and the specific process of receiving the user's selection input for the target classification option is: when the target interface displays images, text, and a notification bar, the user's selection of the combination classification option on the target interface can be received enter.
  • the process of generating a screenshot containing the target content is: according to the user's selection input of the combination classification option, a first screenshot image can be generated for the image in the target interface; a second screenshot image can be generated for the text in the target interface Image; generate a third screenshot image for the notification bar in the target interface; generate a fourth screenshot image for at least two of the image, text, and notification bar in the target interface.
  • the converted text editing option can be displayed.
  • the text information in the image can be automatically extracted, and then the extracted text information can be combined with the target interface The text in is automatically combined, and then a screenshot is generated.
  • the electronic device may generate the fourth screenshot image according to the first combination relationship established in advance.
  • the first combination relationship may include the first combination relationship between the image and the text, the first combination relationship between the image and the notification bar, and the first combination between the text and the notification bar.
  • a combination relationship, and the first combination relationship of image, text, and notification bar The situation is explained below with a specific example.
  • the target interface displays images, text, and notification bars, and multiple screenshot classification options are presented on the target interface with preset transparency
  • the user's selection input for the combination classification options is received, based on the selection input performed by the user and the pre-established
  • the first combination relationship is to generate the first screenshot that only contains the image in the target interface, the second screenshot that only contains the text in the target interface, the third screenshot that contains only the notification bar in the target interface, and the third screenshot that contains the target interface
  • the fourth screenshot of the image, text, and at least two items in the notification bar is determined according to the preset first combination relationship.
  • the content in the fourth screenshot picture includes image and text;
  • the combination relationship is the first combination relationship between the image and the notification bar, the content in the fourth screenshot picture includes the image and the notification bar;
  • the first combination relationship is the first combination relationship between the text and the notification bar, the content in the fourth screenshot picture The content includes text and notification bar; when the first combination relationship is the first combination relationship of image, text, and notification bar, the content in the fourth screenshot picture includes image, text, and notification bar.
  • the first screenshot picture, the second screenshot picture, the third screenshot picture, and the fourth screenshot picture it also includes:
  • the target interface includes an image, and text content is displayed in the image, and the target interface also includes multiple screenshot classification options displayed with preset transparency, wherein the multiple screenshot classification options include a text classification option, and the user
  • the converted text editing option can be turned on, and according to the user's confirmation operation on the converted text editing option, the text information in the image is extracted and combined to generate the corresponding screenshot picture.
  • the screenshot classification options displayed on the target interface may be updated according to the content of the target interface.
  • it also includes: recognizing the characteristics of the target interface.
  • the target interface is classified according to the principle that content with the same characteristics corresponds to the same classification category. , And then generate multiple screen capture classification options and display.
  • Each of the screenshot classification options may correspond to a category, and the screenshot classification options may also be combined classification options.
  • feature recognition the target interface is classified according to the result of feature recognition, and the corresponding screenshot classification options can be displayed accurately.
  • the target interface in the case where the target interface displays at least two applications in split screens and the target classification option is a combined classification option, it may also be based on the user's selection and input of the combined classification option, respectively targeting at least Two application programs generate corresponding screenshot pictures and a combined screenshot picture including at least two applications.
  • the target interface displays at least 3 application programs in split screens
  • the user's selection input for the combination classification option is received, and in response to the selection input, the 3 application programs (application A, B , C) Determine two applications (applications A and C), and then take screenshots of the user interfaces corresponding to applications A and C, and take a combined screenshot of the user interfaces corresponding to applications A and C.
  • the choice of the screenshot method is increased, the user experience is improved, and the screenshots can be easily distinguished and organized.
  • FIG. 4 it is a schematic diagram of the implementation process of an embodiment of the present invention, which includes the following steps:
  • Step 401 When the target interface is displayed, receive the first input of the user.
  • Step 402 Perform feature recognition on the target interface according to the first input, and detect whether the target interface includes at least two types of display content according to the recognition result. If it includes, perform step 403, otherwise perform step 407.
  • Step 403 Generate and display multiple screenshot classification options according to the recognition result.
  • Step 404 Receive the user's selection operation of the combined classification option among the multiple screenshot classification options.
  • Step 405 For the selection operation, independent screenshots are generated according to different types of display content in the target interface and a combined screenshot of the target interface is generated.
  • Step 406 Save the independent screenshot pictures and the combined screenshot pictures as a set of pictures for storage. Then the process ends.
  • Step 407 Take a screenshot in a conventional manner, and end the process after the screenshot is completed.
  • the information displayed on the target interface can be classified, and the corresponding screenshot classification options can be displayed for the user to choose.
  • the information that the user wants to take a screenshot can be quickly extracted and saved, so as to optimize the display data of the screenshot image, which is convenient to distinguish and organize.
  • this is the overall implementation process of the screenshot method according to the embodiment of the present invention.
  • multiple screenshot classification options are displayed.
  • the generated include There are screenshots of the target content corresponding to the target classification options, which can increase the selectability of the screenshot method by displaying multiple screenshot classification options, reduce the cumbersome operation brought by retouching and editing, and better meet the different screen capture needs of users , Convenient and fast, enhance the user experience, and at the same time facilitate the distinction and organization of screenshots.
  • An embodiment of the present invention also provides an electronic device, as shown in FIG. 5, including:
  • the first receiving module 10 is configured to receive the first input of the user when the target interface is displayed;
  • the display module 20 is configured to display multiple screenshot classification options in response to the first input
  • the second receiving module 30 is configured to receive a user's selection input for a target classification option, where the target classification option is any one of a plurality of screen capture classification options;
  • the generating module 40 is used to generate a screenshot containing the target content in response to the selection input;
  • the target content is the content corresponding to the target classification option in the target interface.
  • the target classification option is a notification bar option
  • the second receiving module is specifically used for:
  • the generation modules include:
  • the processing sub-module is used to display the user interface of the target application corresponding to the notification bar when the target content in the notification bar meets the preset conditions, and generate a screenshot containing the user interface; wherein, the user interface of the target application includes the target content.
  • processing sub-module is specifically used for:
  • the user interface of the target application corresponding to the notification bar is displayed in full screen, and the user interface includes the notification message;
  • the generating module further includes:
  • the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet the preset condition.
  • the target classification option is a combined classification option
  • the second receiving module is specifically used for:
  • the generating module is specifically used for:
  • the first screenshot picture only contains the image in the target interface
  • the second screenshot picture only contains the text in the target interface
  • the third screenshot picture only contains the notification bar in the target interface
  • the fourth screenshot picture contains the image in the target interface, At least two items in the text and notification bar.
  • the electronic equipment also includes:
  • the storage module is used to store the first screenshot, the second screenshot, the third screenshot, and the fourth screenshot after the generation module generates the first screenshot, the second screenshot, the third screenshot, and the fourth screenshot. Store as a set of pictures.
  • the electronic device of the embodiment of the present invention displays a plurality of screen capture classification options through the user's first input, and when receiving a selection input for a target classification option among the multiple screen capture classification options, it generates a message containing a corresponding target classification option.
  • the screenshot of the target content can increase the selectability of the screenshot method by displaying multiple screenshot classification options, reduce the tedious operation brought by retouching, and better meet the different needs of users for screenshots, which is convenient and fast, and improves user use Experience, at the same time, it is convenient to distinguish and organize screenshots.
  • the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, and a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, a power supply 611 and other components.
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the user input unit 607 is configured to: when the display unit 606 displays the target interface, receive a first input from the user; the processor 610 is configured to: in response to the first input, control the display unit 606 to display a plurality of screen capture classification options; The user input unit 607 is further configured to: receive a user's selection input for a target classification option, where the target classification option is any one of a plurality of screen capture classification options; the processor 610 is also configured to: in response to the selection input, generate the target classification option A screenshot of the content; where the target content is the content corresponding to the target classification option in the target interface.
  • the target classification option is a notification bar option
  • the user input unit 607 when receiving the user's selection input for the target classification option, is further configured to: receive the user's selection of the notification bar option when the notification bar is displayed on the target interface Input; in response to the selection input, when generating a screenshot containing the target content, the processor 610 is further configured to: when the target content in the notification bar meets a preset condition, control the display unit 606 to display the target application corresponding to the notification bar
  • the user interface of the program generates a screenshot containing the user interface; among them, the user interface of the target application includes the target content.
  • the processor 610 is further configured to:
  • the control display unit 606 displays the user interface of the target application corresponding to the notification bar in full screen, and the user interface includes the notification message; Take a screenshot.
  • the processor 610 is further configured to:
  • the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet the preset condition.
  • the target classification option is a combination classification option; when receiving a user's selection input for the target classification option, the user input unit 607 is also used to: when the target interface displays images, text, and a notification bar, receiving the user's combination classification Selection input of options; in response to the selection input, when generating a screenshot containing the target content, the processor 610 is further configured to: in response to the selection input, generate a first screenshot, a second screenshot, a third screenshot, and a fourth screenshot.
  • the first screenshot picture only contains the image in the target interface
  • the second screenshot picture only contains the text in the target interface
  • the third screenshot picture only contains the notification bar in the target interface
  • the fourth screenshot picture contains the image in the target interface, At least two items in the text and notification bar.
  • the processor 610 is further configured to: combine the first screenshot image, the second screenshot image, the third screenshot image, and the first screenshot image.
  • the four screenshot pictures are stored as a group of pictures.
  • the radio frequency unit 601 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and sent to the processor 610 for processing; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 603 can convert the audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sounds. Moreover, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic device 600 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 604 is used to receive audio or video signals.
  • the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042, and the graphics processor 6041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 606.
  • the image frame processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602.
  • the microphone 6042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 601 for output in the case of a telephone call mode.
  • the electronic device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 6061 and the display panel 6061 when the electronic device 600 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 606 is used to display information input by the user or information provided to the user.
  • the display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 607 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072.
  • the touch panel 6071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 6071 or near the touch panel 6071. operating).
  • the touch panel 6071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 610, the command sent by the processor 610 is received and executed.
  • the touch panel 6071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 607 may also include other input devices 6072.
  • other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 6071 can cover the display panel 6061.
  • the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 6061.
  • the touch panel 6071 and the display panel 6061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 608 is an interface for connecting an external device and the electronic device 600.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 608 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 600 or can be used to connect the electronic device 600 to an external device. Transfer data between devices.
  • the memory 609 can be used to store software programs and various data.
  • the memory 609 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 610 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 609, and calls the data stored in the memory 609. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
  • the electronic device 600 may also include a power source 611 (such as a battery) for supplying power to various components.
  • a power source 611 such as a battery
  • the power source 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 600 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 610, a memory 609, and a computer program stored in the memory 609 and running on the processor 610.
  • an electronic device including a processor 610, a memory 609, and a computer program stored in the memory 609 and running on the processor 610.
  • the computer program is executed by the processor 610, the foregoing
  • Each process of the embodiment of the screenshot method can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above screenshot method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A screenshot method and an electronic device. The method comprises: when a target interface is being displayed, receiving a first input of a user (101); in response to the first input, displaying a plurality of screenshot classification options (102); receiving a selected input of the user with respect to a target classification option, the target classification option being any one of the plurality of screenshot classification options (103); and in response to the selected input, generating a screenshot image including a target content, wherein the target content is content corresponding to the target classification option in the target interface (104).

Description

截屏方法及电子设备Screen capture method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年12月31日在中国提交的中国专利申请号No.201911412310.3的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911412310.3 filed in China on December 31, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种截屏方法及电子设备。The present invention relates to the field of communication technology, in particular to a screen capture method and electronic equipment.
背景技术Background technique
在智能电子设备的日常使用中,会经常浏览各种视频、图片、文字等内容,而为了保存某个画面或某一信息,会经常用到截屏操作,但是现有截图会将界面中所有的内容都保存下来,且会在截图后直接生成图片,导致截图内容信息固定,需要用户对后期保存的图片进行编辑操作,或者需要用户首先对待截屏的显示内容进行整理后再进行截图,会给用户的操作带来很多不便。In the daily use of smart electronic devices, various videos, pictures, texts and other content are often browsed, and in order to save a certain screen or a certain information, screenshots are often used, but existing screenshots will remove all the contents in the interface. The content is saved, and the picture will be directly generated after the screenshot, resulting in the fixed information of the screenshot content, requiring the user to edit the saved picture later, or the user must first organize the displayed content of the screenshot before taking the screenshot, which will be given to the user The operation brings a lot of inconvenience.
发明内容Summary of the invention
本发明实施例提供一种截屏方法及电子设备,以解决现有的截屏方式截图内容信息固定和需要用户对显示界面整理后截屏给用户带来操作不便的问题。The embodiments of the present invention provide a screenshot method and electronic device to solve the problem of fixed screenshot content information in the existing screenshot mode and inconvenience caused to the user by the user to organize the screenshot after the display interface is organized.
为了解决上述问题,本发明实施例是这样实现的:In order to solve the above-mentioned problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供一种截屏方法,应用于电子设备,包括:In the first aspect, an embodiment of the present invention provides a screenshot method applied to an electronic device, including:
在显示目标界面的情况下,接收用户的第一输入;In the case of displaying the target interface, receiving the user's first input;
响应于第一输入,显示多个截屏分类选项;In response to the first input, display multiple screenshot classification options;
接收用户针对目标分类选项的选择输入,目标分类选项为多个截屏分类选项中的任意一个分类选项;Receive the user's selection input for the target classification option, the target classification option is any one of the multiple screen capture classification options;
响应于选择输入,生成包含有目标内容的截屏图片;In response to the selection input, a screenshot containing the target content is generated;
其中,目标内容为目标界面中与目标分类选项对应的内容。Among them, the target content is the content corresponding to the target classification option in the target interface.
第二方面,本发明实施例提供一种电子设备,包括:In a second aspect, an embodiment of the present invention provides an electronic device, including:
第一接收模块,用于在显示目标界面的情况下,接收用户的第一输入;The first receiving module is configured to receive the first input of the user when the target interface is displayed;
显示模块,用于响应于第一输入,显示多个截屏分类选项;The display module is used to display multiple screenshot classification options in response to the first input;
第二接收模块,用于接收用户针对目标分类选项的选择输入,目标分类选项为多个截屏分类选项中的任意一个分类选项;The second receiving module is used to receive the user's selection input for the target classification option, and the target classification option is any one of the multiple screen capture classification options;
生成模块,用于响应于选择输入,生成包含有目标内容的截屏图片;The generating module is used to generate a screenshot containing the target content in response to the selection input;
其中,目标内容为目标界面中与目标分类选项对应的内容。Among them, the target content is the content corresponding to the target classification option in the target interface.
第三方面,本发明实施例提供一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现上述的截屏方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device including a processor, a memory, and a computer program stored in the memory and running on the processor. The computer program is executed by the processor to implement the steps of the above screenshot method.
第四方面,本发明实施例提供一种计算机可读存储介质,计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现上述的截屏方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the above screenshot method are implemented.
本发明技术方案,根据用户的第一输入,显示多个截屏分类选项,在接收到对多个截屏分类选项中的目标分类选项的选择输入时,生成包含有与目标分类选项对应的目标内容的截屏图片,可以实现通过显示多个截屏分类选项增加截屏方式的可选性,减少修图编辑带来的繁琐操作,能更好的满足用户不同的截屏需求,方便快捷,提升用户使用体验,同时便于截屏图片的区分及整理。According to the technical solution of the present invention, a plurality of screen capture classification options are displayed according to the user's first input, and when a selection input of a target classification option among the multiple screen capture classification options is received, a target content corresponding to the target classification option is generated. Screenshots can be realized by displaying multiple screenshot classification options to increase the selectability of the screenshot methods, reducing the tedious operation brought by retouching and editing, and can better meet the different needs of users for screenshots, convenient and fast, and improve the user experience. At the same time It is convenient to distinguish and organize screenshots.
附图说明Description of the drawings
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
图1表示本发明实施例截屏方法示意图;FIG. 1 shows a schematic diagram of a screenshot method according to an embodiment of the present invention;
图2表示本发明实施例目标界面示意图一;Figure 2 shows a schematic diagram of a target interface of an embodiment of the present invention;
图3表示本发明实施例目标界面示意图二;FIG. 3 shows the second schematic diagram of the target interface of the embodiment of the present invention;
图4表示本发明实施例截屏方法的一实施流程示意图;FIG. 4 shows a schematic diagram of an implementation process of a screenshot method according to an embodiment of the present invention;
图5表示本发明实施例电子设备示意图;Figure 5 shows a schematic diagram of an electronic device according to an embodiment of the present invention;
图6表示本发明实施例电子设备硬件结构示意图。Fig. 6 shows a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本发明实施例提供一种截屏方法,应用于电子设备,如图1所示,该方法包括:The embodiment of the present invention provides a screen capture method, which is applied to an electronic device. As shown in FIG. 1, the method includes:
步骤101、在显示目标界面的情况下,接收用户的第一输入。Step 101: When the target interface is displayed, a first input from the user is received.
本发明实施例的截屏方法,在电子设备显示目标界面的情况下,接收用户所执行的第一输入,这里的第一输入可以为对电子设备的目标界面的输入,也可以为对电子设备按键的输入。在接收到用户所执行的第一输入之后,执行步骤102。In the screenshot method of the embodiment of the present invention, when the electronic device displays the target interface, the first input performed by the user is received, where the first input can be an input to the target interface of the electronic device, or it can be a button on the electronic device input of. After receiving the first input performed by the user, step 102 is executed.
步骤102、响应于第一输入,显示多个截屏分类选项。Step 102: In response to the first input, display multiple screenshot classification options.
根据用户的第一输入,可以在当前所显示的目标界面上显示多个截屏分类选项,其中每个截屏分类选项可以对应于一个类别的显示内容,属于同一个类别的显示内容具有相同的特征。通过对显示内容进行分类并生成相应的截屏分类选项进行显示,可以使得用户根据需求在多个截屏分类选项中进行选择。According to the user's first input, multiple screenshot classification options may be displayed on the currently displayed target interface, where each screenshot classification option may correspond to a category of display content, and display content belonging to the same category have the same characteristics. By categorizing the displayed content and generating corresponding screenshot classification options for display, the user can select among multiple screenshot classification options according to requirements.
其中,多个截屏分类选项可以在目标界面上以悬浮控件的形式显示,悬浮控件呈现预设透明度,且对应的透明度可以调整,不会影响目标界面的显示。Among them, multiple screenshot classification options can be displayed in the form of floating controls on the target interface. The floating controls present a preset transparency, and the corresponding transparency can be adjusted without affecting the display of the target interface.
步骤103、接收用户针对目标分类选项的选择输入,目标分类选项为多个截屏分类选项中的任意一个分类选项。Step 103: Receive a user's selection input for a target classification option, where the target classification option is any one of the multiple screenshot classification options.
在根据第一输入显示多个截屏分类选项之后,可以接收用户对多个截屏分类选项中的任意一个分类选项的选择输入,确定接收到选择输入的分类选项为目标分类选项。After displaying the multiple screen capture classification options according to the first input, a user's selection input of any one of the multiple screen capture classification options may be received, and the classification option that received the selection input is determined to be the target classification option.
步骤104、响应于选择输入,生成包含有目标内容的截屏图片;其中,目标内容为目标界面中与目标分类选项对应的内容。Step 104: In response to the selection input, generate a screenshot containing the target content; wherein the target content is the content corresponding to the target classification option in the target interface.
根据用户对目标分类选项的选择输入,可以生成包含有与目标分类选项对应的内容的截屏图片,实现用户根据需求在目标界面中选择截屏内容。According to the user's selection and input of the target classification option, a screenshot containing the content corresponding to the target classification option can be generated, so that the user can select the screenshot content in the target interface according to the needs.
本发明上述实施过程,通过显示多个截屏分类选项可以增加截屏方式的可选性,减少修图编辑带来的繁琐操作,能更好的满足用户不同的截屏需求,方便快捷,提升用户使用体验,同时便于截屏图片的区分及整理。The above-mentioned implementation process of the present invention can increase the selectivity of the screen capture method by displaying multiple screen capture classification options, reduce the tedious operation brought about by retouching and editing, and can better meet the user's different screen capture needs, convenient and fast, and improve the user experience , At the same time, it is convenient to distinguish and organize screenshots.
可选的,在本发明一实施例中,目标分类选项为通知栏选项;Optionally, in an embodiment of the present invention, the target classification option is a notification bar option;
接收用户针对目标分类选项的选择输入,包括:Receive user input for target classification options, including:
在目标界面显示通知栏的情况下,接收用户针对通知栏选项的选择输入;When the notification bar is displayed on the target interface, receive the user's selection input for the notification bar options;
响应于选择输入,生成包含有目标内容的截屏图片,包括:In response to the selection input, a screenshot containing the target content is generated, including:
在通知栏中的目标内容符合预设条件的情况下,显示通知栏对应的目标应用程序的用户界面,生成包含用户界面的截图;其中,目标应用程序的用户界面包括目标内容。When the target content in the notification bar meets the preset conditions, the user interface of the target application corresponding to the notification bar is displayed, and a screenshot containing the user interface is generated; wherein the user interface of the target application includes the target content.
在界面存在通知栏弹出消息的情况下,目标分类选项可以为通知栏选项,接收用户针对目标分类选项的选择输入的具体过程为:在目标界面显示通知栏时,接收用户对通知栏选项的选择输入。相应的,生成截屏图片的过程具体为:根据用户对通知栏选项的选择输入,对通知栏中的目标内容进行检测,确定通知栏中的目标内容是否符合预设条件,在目标内容符合预设条件的情况下,可以直接显示通知栏对应的目标应用程序的用户界面,其中目标应用程序的用户界面包括有用户需要截取的目标内容,在显示目标应用程序的用户界面之后,可以生成包含用户界面的截图,进而得到包含目标内容的截屏图片。In the case of a pop-up message in the notification bar on the interface, the target classification option can be a notification bar option. The specific process of receiving the user's selection input for the target classification option is: when the notification bar is displayed on the target interface, receiving the user's selection of the notification bar option enter. Correspondingly, the process of generating screenshots is specifically as follows: according to the user's selection and input of the notification bar options, the target content in the notification bar is detected to determine whether the target content in the notification bar meets the preset conditions, and the target content meets the preset conditions. Under conditions, the user interface of the target application corresponding to the notification bar can be directly displayed. The user interface of the target application includes the target content that the user needs to intercept. After the user interface of the target application is displayed, the user interface can be generated including the user interface , And then get a screenshot containing the target content.
通过用户对通知栏选项的选择输入,显示通知栏对应的目标应用程序的用户界面,生成包含用户界面的截图,可以便于用户获取与通知栏中的目标内容关联的截屏图片。Through the user's selection and input of the notification bar options, the user interface of the target application corresponding to the notification bar is displayed, and a screenshot containing the user interface is generated, which can facilitate the user to obtain a screenshot associated with the target content in the notification bar.
可选的,在通知栏中的目标内容符合预设条件的情况下,显示通知栏对应的目标应用程序的用户界面,生成包含用户界面的截图,包括:Optionally, when the target content in the notification bar meets preset conditions, display the user interface of the target application corresponding to the notification bar, and generate a screenshot containing the user interface, including:
在通知栏中的目标内容为通知栏中通知消息的部分内容的情况下,全屏 显示通知栏对应的目标应用程序的用户界面,用户界面包括通知消息;When the target content in the notification bar is part of the notification message in the notification bar, the user interface of the target application corresponding to the notification bar is displayed in full screen, and the user interface includes the notification message;
对目标应用程序的用户界面进行截图。Take a screenshot of the user interface of the target application.
在接收到用户对通知栏选项的选择输入,对通知栏中的目标内容进行检测时,具体可以为检测通知栏中的目标内容是否为通知栏中通知消息的部分内容,即检测通知栏中的通知消息是否仅部分显示,如检测到通知栏中包含省略号,或者通过语义识别检测到通知栏中的通知消息未显示完整。在确定通知栏中的目标内容为通知栏中通知消息的部分内容的情况下,可以确定通知栏中的目标内容符合预设条件,此时可以通过全屏的方式显示通知栏所对应的目标应用程序的用户界面,且用户界面中可以包括通知消息的全部内容,然后可以自动对目标应用程序的用户界面进行截图。When the user’s selection input on the notification bar option is received and the target content in the notification bar is detected, it can be specifically to detect whether the target content in the notification bar is part of the notification message in the notification bar, that is, to detect the content in the notification bar. Whether the notification message is only partially displayed, such as detecting that the notification bar contains an ellipsis, or detecting that the notification message in the notification bar is not displayed completely through semantic recognition. When it is determined that the target content in the notification bar is part of the notification message in the notification bar, it can be determined that the target content in the notification bar meets the preset conditions. At this time, the target application corresponding to the notification bar can be displayed in full screen mode. The user interface of the target application can be included in the user interface, and the entire content of the notification message can be included, and then a screenshot of the user interface of the target application can be automatically taken.
通过在通知栏中的通知消息仅部分显示的情况下,全屏显示通知栏对应的目标应用程序的用户界面,可以保证用户获取通知栏中完整的目标内容。By displaying the user interface of the target application corresponding to the notification bar in full screen when the notification message in the notification bar is only partially displayed, it can ensure that the user obtains the complete target content in the notification bar.
需要说明的是,在显示通知栏对应的目标应用程序的用户界面之后,可以立即执行自动截屏以获取包含有目标内容的截屏图片,以保证信息获取的快捷;也可以在显示通知栏对应的目标应用程序的用户界面之后,输出“是否进行截屏”的提示信息,根据用户的确认操作进行截屏,避免出现由于用户误操作所导致的截屏;还可以在显示显示通知栏对应的目标应用程序的用户界面之后,间隔预设时长再执行自动截屏操作,可以为用户提供不执行截屏的反应时间。It should be noted that after displaying the user interface of the target application corresponding to the notification bar, you can immediately perform an automatic screenshot to obtain a screenshot containing the target content to ensure quick information acquisition; you can also display the target corresponding to the notification bar After the user interface of the application, the prompt message "Whether to take a screenshot" is output, and the screenshot is taken according to the user's confirmation operation to avoid the screenshot caused by the user's misoperation; the user can also display the target application corresponding to the notification bar on the display After the interface, the automatic screenshot operation is performed at a preset time interval, which can provide the user with a response time not to perform the screenshot.
可选的,在对目标应用程序的用户界面进行截屏操作之后,可以立即回到目标界面,保证对于目标界面的其他信息获取;也可以继续停留在目标应用程序的用户界面,方便用户将针对用户界面的截屏快捷的发送给好友,或者对用户界面中的其他消息进行查看和回复。Optionally, after taking a screenshot of the user interface of the target application, you can immediately return to the target interface to ensure that other information about the target interface is obtained; you can also continue to stay on the user interface of the target application to facilitate the user to target the user Screen screenshots of the interface can be quickly sent to friends, or view and reply to other messages in the user interface.
可选的,在目标界面显示通知栏的情况下,还包括:Optionally, when the notification bar is displayed on the target interface, it also includes:
在通知栏中的目标内容不符合预设条件的情况下,生成包含通知栏的截图;When the target content in the notification bar does not meet the preset conditions, a screenshot containing the notification bar is generated;
其中,在通知栏中的目标内容为通知栏中通知消息的全部内容的情况下,确定通知栏中的目标内容不符合预设条件。Wherein, in the case that the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet the preset condition.
在接收到用户对通知栏选项的选择输入,对通知栏中的目标内容进行检 测时,具体可以为检测通知栏中的目标内容是否为通知栏中通知消息的部分内容,即检测通知栏中的通知消息是否全部显示,如检测到通知栏中不包含省略号,或者通过语义识别检测到通知栏中的通知消息显示完整。在确定在通知栏中的目标内容为通知栏中通知消息的全部内容的情况下,可以确定通知栏中的目标内容不符合预设条件,此时可以生成包含通知栏的截图,以便于用户获取包括目标内容的截屏图片。When the user’s selection input on the notification bar option is received and the target content in the notification bar is detected, it can be specifically to detect whether the target content in the notification bar is part of the notification message in the notification bar, that is, to detect whether the target content in the notification bar is part of the notification message in the notification bar. Whether all notification messages are displayed, such as detecting that the notification bar does not contain an ellipsis, or detecting that the notification message in the notification bar is displayed completely through semantic recognition. When it is determined that the target content in the notification bar is the entire content of the notification message in the notification bar, it can be determined that the target content in the notification bar does not meet the preset conditions. At this time, a screenshot containing the notification bar can be generated for the user to obtain Include screenshots of target content.
通过在通知栏中的通知消息全部显示的情况下,直接生成包含通知栏的截图,可以在保证用户获取通知栏中完整的目标内容的基础上,避免进行界面更新,使得用户可以高效的获取包括目标内容的截屏图片。By directly generating a screenshot containing the notification bar when all the notification messages in the notification bar are displayed, it is possible to avoid interface updates on the basis of ensuring that the user obtains the complete target content in the notification bar, so that the user can efficiently obtain the information including Screenshot of the target content.
其中,在确定通知栏中的目标内容为通知栏中通知消息的全部内容的情况下,可以立即执行自动截屏以获取包含通知栏的截图,保证信息获取的快捷;也可以输出“是否进行截屏”的提示信息,根据用户的确认操作进行截屏,避免出现由于用户误操作所导致的截屏;还可以间隔预设时长后再执行自动截屏操作,可以为用户提供不执行截屏的反应时间。Among them, in the case of determining that the target content in the notification bar is the entire content of the notification message in the notification bar, you can immediately execute an automatic screenshot to obtain a screenshot containing the notification bar to ensure quick information acquisition; it can also output "whether to take a screenshot" Take screenshots according to the user’s confirmation operation to avoid screenshots caused by user misoperation; you can also perform automatic screenshot operations after a preset time interval, which can provide users with a response time for not taking screenshots.
需要说明的是,在执行自动截屏之后,可以切换至原界面显示,保证对于目标界面的其他信息获取;也可以继续停留在目标应用程序的用户界面,方便用户将针对用户界面的截屏快捷的发送给好友,或者对用户界面中的其他消息进行查看和回复。It should be noted that after the automatic screenshot is executed, you can switch to the original interface display to ensure that other information of the target interface is obtained; you can also continue to stay in the user interface of the target application, so that the user can quickly send the screenshot of the user interface To friends, or to view and reply to other messages in the user interface.
上述为目标分类选项为通知栏选项的实施过程,需要说明的是,在目标界面显示通知栏的情况下,还可以显示所运行的其他应用程序,下面以目标界面运行视频应用程序、电子书应用程序以及第三方应用程序为例对上述过程进行举例阐述。如图2所示,目标界面包括视频播放界面、电子书阅读界面和第三方应用的通知栏,且在目标界面还可以通过悬浮窗显示多个截屏分类选项(包括通知栏选项),图中未示出,根据用户对通知栏选项的选择输入,可以检测第三方应用的通知栏中的通知消息是否显示完整,在没有显示完整的情况下,可以进行界面的更新,直接全屏显示第三方应用的包括完整通知信息的用户界面,然后生成包含用户界面的截图。在通知栏中的通知消息显示完整时,可以直接对通知栏进行截图,获取包含通知栏的截图。The above is the implementation process of the target classification option is the notification bar option. It should be noted that when the notification bar is displayed on the target interface, other running applications can also be displayed. Below, the video application and e-book application are run on the target interface. Programs and third-party applications are taken as examples to illustrate the above process. As shown in Figure 2, the target interface includes the video playback interface, the e-book reading interface, and the notification bar of third-party applications, and the target interface can also display multiple screen capture classification options (including notification bar options) through the floating window. It is shown that according to the user's selection and input of the notification bar options, it can be detected whether the notification message in the notification bar of the third-party application is displayed completely. If the display is not complete, the interface can be updated to directly display the third-party application's information in full screen. Include the user interface of the complete notification information, and then generate a screenshot containing the user interface. When the notification message in the notification bar is displayed completely, you can directly take a screenshot of the notification bar to obtain a screenshot containing the notification bar.
上述过程,可以在目标界面中显示弹窗消息时,不管弹窗消息显示的内 容是否完整,都可以在当前界面(目标界面)对弹窗消息的内容进行截屏,且都能得到完整内容信息的截屏图片,不需要点击进入相应的应用程序,简化了用户的操作步骤,可以快速提取用户想要截屏的信息并保存。In the above process, when the pop-up message is displayed in the target interface, regardless of whether the displayed content of the pop-up message is complete, you can take a screenshot of the content of the pop-up message on the current interface (target interface), and the complete content information can be obtained. Take screenshots without clicking to enter the corresponding application, which simplifies the user's operation steps, and can quickly extract the information that the user wants to take a screenshot and save.
在本发明一实施例中,目标分类选项为组合分类选项;In an embodiment of the present invention, the target classification option is a combined classification option;
接收用户针对目标分类选项的选择输入,包括:Receive user input for target classification options, including:
在目标界面显示图像、文字和通知栏的情况下,接收用户针对组合分类选项的选择输入;When the target interface displays images, text, and notification bars, receiving user input for selection of combined classification options;
响应于选择输入,生成包含有目标内容的截屏图片,包括:In response to the selection input, a screenshot containing the target content is generated, including:
响应于选择输入,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片;In response to the selection input, generate a first screenshot picture, a second screenshot picture, a third screenshot picture, and a fourth screenshot picture;
其中,第一截屏图片仅包含目标界面中的图像,第二截屏图片仅包含目标界面中的文字,第三截屏图片仅包含目标界面中的通知栏,第四截屏图片包含目标界面中的图像、文字和通知栏中的至少两项。Among them, the first screenshot picture only contains the image in the target interface, the second screenshot picture only contains the text in the target interface, the third screenshot picture only contains the notification bar in the target interface, and the fourth screenshot picture contains the image in the target interface, At least two items in the text and notification bar.
目标分类选项可以为组合分类选项,接收用户针对目标分类选项的选择输入的具体过程为:在目标界面显示图像、文字和通知栏的情况下,可以接收用户对目标界面上的组合分类选项的选择输入。响应于选择输入,生成包含有目标内容的截屏图片的过程为:根据用户对组合分类选项的选择输入,可以针对目标界面中的图像生成第一截屏图像;针对目标界面中的文字生成第二截屏图像;针对目标界面中的通知栏生成第三截屏图像;针对目标界面中的图像、文字和通知栏中的至少两项,生成第四截屏图像。The target classification option can be a combination classification option, and the specific process of receiving the user's selection input for the target classification option is: when the target interface displays images, text, and a notification bar, the user's selection of the combination classification option on the target interface can be received enter. In response to the selection input, the process of generating a screenshot containing the target content is: according to the user's selection input of the combination classification option, a first screenshot image can be generated for the image in the target interface; a second screenshot image can be generated for the text in the target interface Image; generate a third screenshot image for the notification bar in the target interface; generate a fourth screenshot image for at least two of the image, text, and notification bar in the target interface.
需要说明的是,在生成第二截屏图片时,可以显示转化文本编辑选项,在用户开启转化文本编辑选项的情况下,可以自动提取图像中的文字信息,然后将提取出的文字信息与目标界面中的文字进行自动组合,然后生成截屏图片。It should be noted that when the second screenshot is generated, the converted text editing option can be displayed. When the user turns on the converted text editing option, the text information in the image can be automatically extracted, and then the extracted text information can be combined with the target interface The text in is automatically combined, and then a screenshot is generated.
其中,电子设备可以根据预先建立的第一组合关系生成第四截屏图像,第一组合关系可以包括图像和文字的第一组合关系,图像和通知栏的第一组合关系,文字和通知栏的第一组合关系,以及图像、文字和通知栏的第一组合关系。下面以一具体实例对该情况进行阐述。在目标界面显示图像、文字和通知栏,且多个截屏分类选项以预设透明度呈现在目标界面的情况下,接 收用户对组合分类选项的选择输入,根据用户所执行的选择输入以及预先建立的第一组合关系,生成仅包含目标界面中的图像的第一截屏图片,仅包含目标界面中的文字的第二截屏图片,仅包含目标界面中的通知栏的第三截屏图片,以及包含目标界面中的图像、文字和通知栏中的至少两项的第四截屏图片。其中,第四截屏图片中的内容根据预设的第一组合关系确定,当第一组合关系为图像和文字的第一组合关系时,第四截屏图片中的内容包括图像和文字;当第一组合关系为图像和通知栏的第一组合关系时,第四截屏图片中的内容包括图像和通知栏;当第一组合关系为文字和通知栏的第一组合关系时,第四截屏图片中的内容包括文字和通知栏;当第一组合关系为图像、文字和通知栏的第一组合关系时,第四截屏图片中的内容包括图像、文字和通知栏。The electronic device may generate the fourth screenshot image according to the first combination relationship established in advance. The first combination relationship may include the first combination relationship between the image and the text, the first combination relationship between the image and the notification bar, and the first combination between the text and the notification bar. A combination relationship, and the first combination relationship of image, text, and notification bar. The situation is explained below with a specific example. When the target interface displays images, text, and notification bars, and multiple screenshot classification options are presented on the target interface with preset transparency, the user's selection input for the combination classification options is received, based on the selection input performed by the user and the pre-established The first combination relationship is to generate the first screenshot that only contains the image in the target interface, the second screenshot that only contains the text in the target interface, the third screenshot that contains only the notification bar in the target interface, and the third screenshot that contains the target interface The fourth screenshot of the image, text, and at least two items in the notification bar. Wherein, the content in the fourth screenshot picture is determined according to the preset first combination relationship. When the first combination relationship is the first combination relationship between image and text, the content in the fourth screenshot picture includes image and text; When the combination relationship is the first combination relationship between the image and the notification bar, the content in the fourth screenshot picture includes the image and the notification bar; when the first combination relationship is the first combination relationship between the text and the notification bar, the content in the fourth screenshot picture The content includes text and notification bar; when the first combination relationship is the first combination relationship of image, text, and notification bar, the content in the fourth screenshot picture includes image, text, and notification bar.
上述过程,通过根据用户针对组合分类选项的选择输入,生成与各类内容分别对应的独立截屏图片以及包括至少两类内容的组合截屏图片,可以高效的进行截屏,获取对应的截屏图像。In the above process, by generating independent screenshots corresponding to various types of content and combined screenshots including at least two types of content according to the user's selection input for the combination classification options, screenshots can be efficiently taken and corresponding screenshots can be obtained.
可选的,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片之后,还包括:Optionally, after generating the first screenshot picture, the second screenshot picture, the third screenshot picture, and the fourth screenshot picture, it also includes:
将第一截屏图片、第二截屏图片、第三截屏图片以及第四截屏图片存储为一组图片。Store the first screenshot picture, the second screenshot picture, the third screenshot picture, and the fourth screenshot picture as a set of pictures.
在生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片之后,还可以对所生成的第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片进行存储,在存储时,可以将这些截屏图片在图像库中保存为一组图片,实现将同一目标界面中所对应的内容存储至相同的位置。After generating the first, second, third, and fourth screenshots, you can also store the generated first, second, third, and fourth screenshots , When storing, you can save these screenshots as a set of pictures in the image library, so that the corresponding content in the same target interface can be stored in the same location.
在目标界面中仅包括图像的情况下,也可以根据用户对文字分类选项的选择输入,开启转化文本编辑选项,根据用户对转化文本编辑选项的确认操作,自动提取图像中的文字信息,然后根据提取出的文字信息生成对应的文字截屏图片。如图3所示,目标界面包括图像,图像中显示有文字内容,且在目标界面还包括通过预设透明度显示的多个截屏分类选项,其中多个截屏分类选项中包括文字分类选项,接收用户对文字分类选项的选择输入,可以开启转化文本编辑选项,并根据用户对转化文本编辑选项的确认操作,提取 图像中的文字信息进行组合后生成对应的截屏图片。In the case that only images are included in the target interface, you can also open the converted text editing option according to the user's selection and input of the text classification options, and automatically extract the text information in the image according to the user's confirmation operation on the converted text editing options, and then The extracted text information generates a corresponding text screenshot. As shown in Figure 3, the target interface includes an image, and text content is displayed in the image, and the target interface also includes multiple screenshot classification options displayed with preset transparency, wherein the multiple screenshot classification options include a text classification option, and the user For the selection and input of the text classification option, the converted text editing option can be turned on, and according to the user's confirmation operation on the converted text editing option, the text information in the image is extracted and combined to generate the corresponding screenshot picture.
可选的,在本发明一实施例中,目标界面所显示的截屏分类选项可以根据目标界面的内容不同而有所更新。在显示目标界面的情况下,接收用户的第一输入之后,还包括:对目标界面进行特征识别,在特征识别之后,按照具有相同特征的内容对应于同一分类类别的原则,对目标界面进行分类,进而生成多个截屏分类选项并显示。其中每一个截屏分类选项可以对应于一个类别,且截屏分类选项还可以为组合分类选项。通过特征识别,根据特征识别结果对目标界面进行分类,可以准确的显示对应的截屏分类选项。Optionally, in an embodiment of the present invention, the screenshot classification options displayed on the target interface may be updated according to the content of the target interface. In the case of displaying the target interface, after receiving the first input from the user, it also includes: recognizing the characteristics of the target interface. After the characteristic recognition, the target interface is classified according to the principle that content with the same characteristics corresponds to the same classification category. , And then generate multiple screen capture classification options and display. Each of the screenshot classification options may correspond to a category, and the screenshot classification options may also be combined classification options. Through feature recognition, the target interface is classified according to the result of feature recognition, and the corresponding screenshot classification options can be displayed accurately.
可选的,在本发明一实施例中,在目标界面分屏显示至少两个应用程序且目标分类选项为组合分类选项的情况下,还可以根据用户对组合分类选项的选择输入,分别针对至少两个应用程序生成对应的截屏图片以及生成包括至少两个应用程序的组合截屏图片。例如,在目标界面分屏显示至少3个应用程序的情况下,接收用户对组合分类选项的选择输入,响应于选择输入,根据第二预设组合关系在3个应用程序(应用程序A、B、C)中确定两个应用程序(应用程序A和C),然后针对应用程序A和C对应的用户界面分别进行截屏,并对应用程序A和C对应的用户界面进行组合截屏。通过根据不同应用程序进行独立截屏和组合截屏,增加了截屏方式的可选性,提升用户使用体验,同时便于截屏图像的区分及整理。Optionally, in an embodiment of the present invention, in the case where the target interface displays at least two applications in split screens and the target classification option is a combined classification option, it may also be based on the user's selection and input of the combined classification option, respectively targeting at least Two application programs generate corresponding screenshot pictures and a combined screenshot picture including at least two applications. For example, in the case where the target interface displays at least 3 application programs in split screens, the user's selection input for the combination classification option is received, and in response to the selection input, the 3 application programs (application A, B , C) Determine two applications (applications A and C), and then take screenshots of the user interfaces corresponding to applications A and C, and take a combined screenshot of the user interfaces corresponding to applications A and C. By taking independent screenshots and combined screenshots according to different applications, the choice of the screenshot method is increased, the user experience is improved, and the screenshots can be easily distinguished and organized.
如图4所示,为本发明一实施例的实施流程示意图,包括如下步骤:As shown in FIG. 4, it is a schematic diagram of the implementation process of an embodiment of the present invention, which includes the following steps:
步骤401、在显示目标界面的情况下,接收用户的第一输入。Step 401: When the target interface is displayed, receive the first input of the user.
步骤402、根据第一输入对目标界面进行特征识别,根据识别结果检测目标界面是否包括至少两种类别的显示内容,若包括执行步骤403,否则执行步骤407。Step 402: Perform feature recognition on the target interface according to the first input, and detect whether the target interface includes at least two types of display content according to the recognition result. If it includes, perform step 403, otherwise perform step 407.
步骤403、根据识别结果生成多个截屏分类选项并显示。Step 403: Generate and display multiple screenshot classification options according to the recognition result.
步骤404、接收用户对多个截屏分类选项中组合分类选项的选择操作。Step 404: Receive the user's selection operation of the combined classification option among the multiple screenshot classification options.
步骤405、针对选择操作,根据目标界面内不同类别的显示内容分别生成独立截屏图片并生成目标界面的组合截屏图片。Step 405: For the selection operation, independent screenshots are generated according to different types of display content in the target interface and a combined screenshot of the target interface is generated.
步骤406、将独立截屏图片和组合截屏图片保存为一组图片进行存储。然后结束流程。Step 406: Save the independent screenshot pictures and the combined screenshot pictures as a set of pictures for storage. Then the process ends.
步骤407、采用常规方式进行截屏,在截屏完成后结束该流程。Step 407: Take a screenshot in a conventional manner, and end the process after the screenshot is completed.
上述过程,可以将目标界面显示的信息进行分类,并显示对应的截屏分类选项供用户选择,可以快速提取用户想要截屏的信息并保存,实现优化截屏图像的显示数据,方便区分及整理。In the above process, the information displayed on the target interface can be classified, and the corresponding screenshot classification options can be displayed for the user to choose. The information that the user wants to take a screenshot can be quickly extracted and saved, so as to optimize the display data of the screenshot image, which is convenient to distinguish and organize.
综上,为本发明实施例截屏方法的整体实施过程,通过用户的第一输入,显示多个截屏分类选项,在接收到对多个截屏分类选项中的目标分类选项的选择输入时,生成包含有与目标分类选项对应的目标内容的截屏图片,可以实现通过显示多个截屏分类选项增加截屏方式的可选性,减少修图编辑带来的繁琐操作,能更好的满足用户不同的截屏需求,方便快捷,提升用户使用体验,同时便于截屏图片的区分及整理。In summary, this is the overall implementation process of the screenshot method according to the embodiment of the present invention. Through the first input of the user, multiple screenshot classification options are displayed. When the selection input of the target classification option among the multiple screenshot classification options is received, the generated include There are screenshots of the target content corresponding to the target classification options, which can increase the selectability of the screenshot method by displaying multiple screenshot classification options, reduce the cumbersome operation brought by retouching and editing, and better meet the different screen capture needs of users , Convenient and fast, enhance the user experience, and at the same time facilitate the distinction and organization of screenshots.
本发明实施例还提供一种电子设备,如图5所示,包括:An embodiment of the present invention also provides an electronic device, as shown in FIG. 5, including:
第一接收模块10,用于在显示目标界面的情况下,接收用户的第一输入;The first receiving module 10 is configured to receive the first input of the user when the target interface is displayed;
显示模块20,用于响应于第一输入,显示多个截屏分类选项;The display module 20 is configured to display multiple screenshot classification options in response to the first input;
第二接收模块30,用于接收用户针对目标分类选项的选择输入,目标分类选项为多个截屏分类选项中的任意一个分类选项;The second receiving module 30 is configured to receive a user's selection input for a target classification option, where the target classification option is any one of a plurality of screen capture classification options;
生成模块40,用于响应于选择输入,生成包含有目标内容的截屏图片;The generating module 40 is used to generate a screenshot containing the target content in response to the selection input;
其中,目标内容为目标界面中与目标分类选项对应的内容。Among them, the target content is the content corresponding to the target classification option in the target interface.
可选的,目标分类选项为通知栏选项;Optionally, the target classification option is a notification bar option;
第二接收模块具体用于:The second receiving module is specifically used for:
在目标界面显示通知栏的情况下,接收用户针对通知栏选项的选择输入;When the notification bar is displayed on the target interface, receive the user's selection input for the notification bar options;
生成模块包括:The generation modules include:
处理子模块,用于在通知栏中的目标内容符合预设条件的情况下,显示通知栏对应的目标应用程序的用户界面,生成包含用户界面的截图;其中,目标应用程序的用户界面包括目标内容。The processing sub-module is used to display the user interface of the target application corresponding to the notification bar when the target content in the notification bar meets the preset conditions, and generate a screenshot containing the user interface; wherein, the user interface of the target application includes the target content.
可选的,处理子模块具体用于:Optionally, the processing sub-module is specifically used for:
在通知栏中的目标内容为通知栏中通知消息的部分内容的情况下,全屏显示通知栏对应的目标应用程序的用户界面,用户界面包括通知消息;When the target content in the notification bar is part of the notification message in the notification bar, the user interface of the target application corresponding to the notification bar is displayed in full screen, and the user interface includes the notification message;
对目标应用程序的用户界面进行截图。Take a screenshot of the user interface of the target application.
可选的,在目标界面显示通知栏的情况下,生成模块还包括:Optionally, when the notification bar is displayed on the target interface, the generating module further includes:
生成子模块,用于在通知栏中的目标内容不符合预设条件的情况下,生成包含通知栏的截图;Generate a sub-module for generating a screenshot containing the notification bar when the target content in the notification bar does not meet the preset conditions;
其中,在通知栏中的目标内容为通知栏中通知消息的全部内容的情况下,确定通知栏中的目标内容不符合预设条件。Wherein, in the case that the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet the preset condition.
可选的,目标分类选项为组合分类选项;Optionally, the target classification option is a combined classification option;
第二接收模块具体用于:The second receiving module is specifically used for:
在目标界面显示图像、文字和通知栏的情况下,接收用户针对组合分类选项的选择输入;When the target interface displays images, text, and notification bars, receiving user input for selection of combined classification options;
生成模块具体用于:The generating module is specifically used for:
响应于选择输入,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片;In response to the selection input, generate a first screenshot picture, a second screenshot picture, a third screenshot picture, and a fourth screenshot picture;
其中,第一截屏图片仅包含目标界面中的图像,第二截屏图片仅包含目标界面中的文字,第三截屏图片仅包含目标界面中的通知栏,第四截屏图片包含目标界面中的图像、文字和通知栏中的至少两项。Among them, the first screenshot picture only contains the image in the target interface, the second screenshot picture only contains the text in the target interface, the third screenshot picture only contains the notification bar in the target interface, and the fourth screenshot picture contains the image in the target interface, At least two items in the text and notification bar.
可选的,电子设备还包括:Optionally, the electronic equipment also includes:
存储模块,用于在生成模块生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片之后,将第一截屏图片、第二截屏图片、第三截屏图片以及第四截屏图片存储为一组图片。The storage module is used to store the first screenshot, the second screenshot, the third screenshot, and the fourth screenshot after the generation module generates the first screenshot, the second screenshot, the third screenshot, and the fourth screenshot. Store as a set of pictures.
本发明实施例的电子设备,通过用户的第一输入,显示多个截屏分类选项,在接收到对多个截屏分类选项中的目标分类选项的选择输入时,生成包含有与目标分类选项对应的目标内容的截屏图片,可以实现通过显示多个截屏分类选项增加截屏方式的可选性,减少修图编辑带来的繁琐操作,能更好的满足用户不同的截屏需求,方便快捷,提升用户使用体验,同时便于截屏图片的区分及整理。The electronic device of the embodiment of the present invention displays a plurality of screen capture classification options through the user's first input, and when receiving a selection input for a target classification option among the multiple screen capture classification options, it generates a message containing a corresponding target classification option. The screenshot of the target content can increase the selectability of the screenshot method by displaying multiple screenshot classification options, reduce the tedious operation brought by retouching, and better meet the different needs of users for screenshots, which is convenient and fast, and improves user use Experience, at the same time, it is convenient to distinguish and organize screenshots.
图6为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。6 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, and a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, a power supply 611 and other components.
本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子 设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,用户输入单元607用于:在显示单元606显示目标界面的情况下,接收用户的第一输入;处理器610用于:响应于第一输入,控制显示单元606显示多个截屏分类选项;用户输入单元607还用于:接收用户针对目标分类选项的选择输入,目标分类选项为多个截屏分类选项中的任意一个分类选项;处理器610还用于:响应于选择输入,生成包含有目标内容的截屏图片;其中,目标内容为目标界面中与目标分类选项对应的内容。Wherein, the user input unit 607 is configured to: when the display unit 606 displays the target interface, receive a first input from the user; the processor 610 is configured to: in response to the first input, control the display unit 606 to display a plurality of screen capture classification options; The user input unit 607 is further configured to: receive a user's selection input for a target classification option, where the target classification option is any one of a plurality of screen capture classification options; the processor 610 is also configured to: in response to the selection input, generate the target classification option A screenshot of the content; where the target content is the content corresponding to the target classification option in the target interface.
可选的,目标分类选项为通知栏选项;在接收用户针对目标分类选项的选择输入时,用户输入单元607还用于:在目标界面显示通知栏的情况下,接收用户针对通知栏选项的选择输入;响应于选择输入,生成包含有目标内容的截屏图片时,处理器610还用于:在通知栏中的目标内容符合预设条件的情况下,控制显示单元606显示通知栏对应的目标应用程序的用户界面,生成包含用户界面的截图;其中,目标应用程序的用户界面包括目标内容。Optionally, the target classification option is a notification bar option; when receiving the user's selection input for the target classification option, the user input unit 607 is further configured to: receive the user's selection of the notification bar option when the notification bar is displayed on the target interface Input; in response to the selection input, when generating a screenshot containing the target content, the processor 610 is further configured to: when the target content in the notification bar meets a preset condition, control the display unit 606 to display the target application corresponding to the notification bar The user interface of the program generates a screenshot containing the user interface; among them, the user interface of the target application includes the target content.
可选的,在通知栏中的目标内容符合预设条件的情况下,显示通知栏对应的目标应用程序的用户界面,生成包含用户界面的截图时,处理器610还用于:Optionally, when the target content in the notification bar meets a preset condition, the user interface of the target application corresponding to the notification bar is displayed, and when a screenshot containing the user interface is generated, the processor 610 is further configured to:
在通知栏中的目标内容为通知栏中通知消息的部分内容的情况下,控制显示单元606全屏显示通知栏对应的目标应用程序的用户界面,用户界面包括通知消息;对目标应用程序的用户界面进行截图。When the target content in the notification bar is part of the notification message in the notification bar, the control display unit 606 displays the user interface of the target application corresponding to the notification bar in full screen, and the user interface includes the notification message; Take a screenshot.
可选的,在目标界面显示通知栏的情况下,处理器610还用于:Optionally, when the notification bar is displayed on the target interface, the processor 610 is further configured to:
在通知栏中的目标内容不符合预设条件的情况下,生成包含通知栏的截图;When the target content in the notification bar does not meet the preset conditions, a screenshot containing the notification bar is generated;
其中,在通知栏中的目标内容为通知栏中通知消息的全部内容的情况下,确定通知栏中的目标内容不符合预设条件。Wherein, in the case that the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet the preset condition.
可选的,目标分类选项为组合分类选项;接收用户针对目标分类选项的选择输入时,用户输入单元607还用于:在目标界面显示图像、文字和通知栏的情况下,接收用户针对组合分类选项的选择输入;响应于选择输入,生 成包含有目标内容的截屏图片时,处理器610还用于:响应于选择输入,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片;Optionally, the target classification option is a combination classification option; when receiving a user's selection input for the target classification option, the user input unit 607 is also used to: when the target interface displays images, text, and a notification bar, receiving the user's combination classification Selection input of options; in response to the selection input, when generating a screenshot containing the target content, the processor 610 is further configured to: in response to the selection input, generate a first screenshot, a second screenshot, a third screenshot, and a fourth screenshot. Screenshot
其中,第一截屏图片仅包含目标界面中的图像,第二截屏图片仅包含目标界面中的文字,第三截屏图片仅包含目标界面中的通知栏,第四截屏图片包含目标界面中的图像、文字和通知栏中的至少两项。Among them, the first screenshot picture only contains the image in the target interface, the second screenshot picture only contains the text in the target interface, the third screenshot picture only contains the notification bar in the target interface, and the fourth screenshot picture contains the image in the target interface, At least two items in the text and notification bar.
可选的,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片之后,处理器610还用于:将第一截屏图片、第二截屏图片、第三截屏图片以及第四截屏图片存储为一组图片。Optionally, after generating the first screenshot image, the second screenshot image, the third screenshot image, and the fourth screenshot image, the processor 610 is further configured to: combine the first screenshot image, the second screenshot image, the third screenshot image, and the first screenshot image. The four screenshot pictures are stored as a group of pictures.
这样,通过用户的第一输入,显示多个截屏分类选项,在接收到对多个截屏分类选项中的目标分类选项的选择输入时,生成包含有与目标分类选项对应的目标内容的截屏图片,可以实现通过显示多个截屏分类选项增加截屏方式的可选性,减少修图编辑带来的繁琐操作,能更好的满足用户不同的截屏需求,方便快捷,提升用户使用体验,同时便于截屏图片的区分及整理。In this way, through the user's first input, multiple screen capture classification options are displayed, and when a selection input for a target classification option among the multiple screen capture classification options is received, a screenshot image containing the target content corresponding to the target classification option is generated, It can be realized by displaying multiple screen capture classification options to increase the selectability of the screen capture method, reduce the cumbersome operation caused by retouching and editing, and better meet the different screen capture needs of users, convenient and fast, improve the user experience, and facilitate screenshots Distinguish and sort out.
应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and sent to the processor 610 for processing; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与电子设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The audio output unit 603 can convert the audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sounds. Moreover, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic device 600 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606 上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The input unit 604 is used to receive audio or video signals. The input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042, and the graphics processor 6041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 606. The image frame processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 601 for output in the case of a telephone call mode.
电子设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在电子设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 600 further includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light. The proximity sensor can close the display panel 6061 and the display panel 6061 when the electronic device 600 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元607可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控 面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 607 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 6071 or near the touch panel 6071. operating). The touch panel 6071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 610, the command sent by the processor 610 is received and executed. In addition, the touch panel 6071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 6071, the user input unit 607 may also include other input devices 6072. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 6071 can cover the display panel 6061. When the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 6061. Although in FIG. 6, the touch panel 6071 and the display panel 6061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元608为外部装置与电子设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备600内的一个或多个元件或者可以用于在电子设备600和外部装置之间传输数据。The interface unit 608 is an interface for connecting an external device and the electronic device 600. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 608 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 600 or can be used to connect the electronic device 600 to an external device. Transfer data between devices.
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器610是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线 通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 609, and calls the data stored in the memory 609. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
电子设备600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 600 may also include a power source 611 (such as a battery) for supplying power to various components. Preferably, the power source 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备600包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 600 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器610,存储器609,存储在存储器609上并可在处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 610, a memory 609, and a computer program stored in the memory 609 and running on the processor 610. When the computer program is executed by the processor 610, the foregoing Each process of the embodiment of the screenshot method can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above screenshot method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的, 本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, without departing from the purpose of the present invention and the scope of protection of the claims, many forms can be made, which are all protected by the present invention.

Claims (16)

  1. 一种截屏方法,应用于电子设备,包括:A screenshot method applied to electronic equipment, including:
    在显示目标界面的情况下,接收用户的第一输入;In the case of displaying the target interface, receiving the user's first input;
    响应于所述第一输入,显示多个截屏分类选项;In response to the first input, display a plurality of screen shot classification options;
    接收用户针对目标分类选项的选择输入,所述目标分类选项为所述多个截屏分类选项中的任意一个分类选项;Receiving a user's selection input for a target classification option, where the target classification option is any one of the multiple screenshot classification options;
    响应于所述选择输入,生成包含有目标内容的截屏图片;In response to the selection input, a screenshot containing the target content is generated;
    其中,所述目标内容为所述目标界面中与所述目标分类选项对应的内容。Wherein, the target content is content corresponding to the target classification option in the target interface.
  2. 根据权利要求1所述的方法,其中,所述目标分类选项为通知栏选项;The method according to claim 1, wherein the target classification option is a notification bar option;
    所述接收用户针对目标分类选项的选择输入,包括:The receiving user's selection input for the target classification option includes:
    在所述目标界面显示通知栏的情况下,接收用户针对所述通知栏选项的选择输入;In the case that the target interface displays a notification bar, receiving a user's selection input for the notification bar option;
    所述响应于所述选择输入,生成包含有目标内容的截屏图片,包括:The generating a screenshot containing target content in response to the selection input includes:
    在所述通知栏中的目标内容符合预设条件的情况下,显示所述通知栏对应的目标应用程序的用户界面,生成包含所述用户界面的截图;其中,所述目标应用程序的用户界面包括所述目标内容。In the case that the target content in the notification bar meets the preset condition, the user interface of the target application corresponding to the notification bar is displayed, and a screenshot containing the user interface is generated; wherein, the user interface of the target application Including the target content.
  3. 根据权利要求2所述的方法,其中,所述在所述通知栏中的目标内容符合预设条件的情况下,显示所述通知栏对应的目标应用程序的用户界面,生成包含所述用户界面的截图,包括:The method according to claim 2, wherein when the target content in the notification bar meets a preset condition, the user interface of the target application corresponding to the notification bar is displayed, and the user interface is generated. Screenshots of including:
    在所述通知栏中的目标内容为所述通知栏中通知消息的部分内容的情况下,全屏显示所述通知栏对应的目标应用程序的用户界面,所述用户界面包括所述通知消息;In the case where the target content in the notification bar is part of the content of the notification message in the notification bar, display a user interface of the target application corresponding to the notification bar in full screen, and the user interface includes the notification message;
    对所述目标应用程序的用户界面进行截图。Take a screenshot of the user interface of the target application.
  4. 根据权利要求2所述的方法,其中,在所述目标界面显示通知栏的情况下,还包括:The method according to claim 2, wherein, when the target interface displays a notification bar, the method further comprises:
    在所述通知栏中的目标内容不符合预设条件的情况下,生成包含所述通知栏的截图;In the case that the target content in the notification bar does not meet the preset conditions, generating a screenshot containing the notification bar;
    其中,在所述通知栏中的目标内容为所述通知栏中通知消息的全部内容 的情况下,确定所述通知栏中的目标内容不符合预设条件。Wherein, in the case that the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet a preset condition.
  5. 根据权利要求1所述的方法,其中,所述目标分类选项为组合分类选项;The method according to claim 1, wherein the target classification option is a combined classification option;
    所述接收用户针对目标分类选项的选择输入,包括:The receiving user's selection input for the target classification option includes:
    在所述目标界面显示图像、文字和通知栏的情况下,接收用户针对所述组合分类选项的选择输入;In the case that the target interface displays images, text, and a notification bar, receiving a user's selection input for the combination classification option;
    所述响应于所述选择输入,生成包含有目标内容的截屏图片,包括:The generating a screenshot containing target content in response to the selection input includes:
    响应于所述选择输入,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片;In response to the selection input, generating a first screenshot picture, a second screenshot picture, a third screenshot picture, and a fourth screenshot picture;
    其中,所述第一截屏图片仅包含所述目标界面中的图像,所述第二截屏图片仅包含所述目标界面中的文字,所述第三截屏图片仅包含所述目标界面中的通知栏,所述第四截屏图片包含所述目标界面中的图像、文字和通知栏中的至少两项。Wherein, the first screenshot picture only includes the image in the target interface, the second screenshot picture only includes the text in the target interface, and the third screenshot picture only includes the notification bar in the target interface , The fourth screenshot picture includes at least two items of an image, a text, and a notification bar in the target interface.
  6. 根据权利要求5所述的方法,其中,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片之后,还包括:The method according to claim 5, wherein after generating the first screenshot picture, the second screenshot picture, the third screenshot picture, and the fourth screenshot picture, the method further comprises:
    将所述第一截屏图片、所述第二截屏图片、所述第三截屏图片以及所述第四截屏图片存储为一组图片。The first screenshot picture, the second screenshot picture, the third screenshot picture, and the fourth screenshot picture are stored as a set of pictures.
  7. 一种电子设备,包括:An electronic device including:
    第一接收模块,用于在显示目标界面的情况下,接收用户的第一输入;The first receiving module is configured to receive the first input of the user when the target interface is displayed;
    显示模块,用于响应于所述第一输入,显示多个截屏分类选项;The display module is configured to display a plurality of screen capture classification options in response to the first input;
    第二接收模块,用于接收用户针对目标分类选项的选择输入,所述目标分类选项为所述多个截屏分类选项中的任意一个分类选项;The second receiving module is configured to receive a user's selection input for a target classification option, where the target classification option is any one of the multiple screenshot classification options;
    生成模块,用于响应于所述选择输入,生成包含有目标内容的截屏图片;A generating module for generating a screenshot containing target content in response to the selection input;
    其中,所述目标内容为所述目标界面中与所述目标分类选项对应的内容。Wherein, the target content is content corresponding to the target classification option in the target interface.
  8. 根据权利要求7所述的电子设备,其中,所述目标分类选项为通知栏选项;8. The electronic device according to claim 7, wherein the target classification option is a notification bar option;
    所述第二接收模块具体用于:The second receiving module is specifically configured to:
    在所述目标界面显示通知栏的情况下,接收用户针对所述通知栏选项的选择输入;In the case that the target interface displays a notification bar, receiving a user's selection input for the notification bar option;
    所述生成模块包括:The generating module includes:
    处理子模块,用于在所述通知栏中的目标内容符合预设条件的情况下,显示所述通知栏对应的目标应用程序的用户界面,生成包含所述用户界面的截图;其中,所述目标应用程序的用户界面包括所述目标内容。The processing sub-module is configured to display the user interface of the target application corresponding to the notification bar when the target content in the notification bar meets preset conditions, and generate a screenshot containing the user interface; wherein, the The user interface of the target application includes the target content.
  9. 根据权利要求8所述的电子设备,其中,所述处理子模块具体用于:The electronic device according to claim 8, wherein the processing sub-module is specifically configured to:
    在所述通知栏中的目标内容为所述通知栏中通知消息的部分内容的情况下,全屏显示所述通知栏对应的目标应用程序的用户界面,所述用户界面包括所述通知消息;In the case where the target content in the notification bar is part of the content of the notification message in the notification bar, display a user interface of the target application corresponding to the notification bar in full screen, and the user interface includes the notification message;
    对所述目标应用程序的用户界面进行截图。Take a screenshot of the user interface of the target application.
  10. 根据权利要求8所述的电子设备,其中,在所述目标界面显示通知栏的情况下,所述生成模块还包括:The electronic device according to claim 8, wherein, in a case where a notification bar is displayed on the target interface, the generating module further comprises:
    生成子模块,用于在所述通知栏中的目标内容不符合预设条件的情况下,生成包含所述通知栏的截图;A generating sub-module for generating a screenshot containing the notification bar when the target content in the notification bar does not meet a preset condition;
    其中,在所述通知栏中的目标内容为所述通知栏中通知消息的全部内容的情况下,确定所述通知栏中的目标内容不符合预设条件。Wherein, when the target content in the notification column is the entire content of the notification message in the notification column, it is determined that the target content in the notification column does not meet a preset condition.
  11. 根据权利要求7所述的电子设备,其中,所述目标分类选项为组合分类选项;The electronic device according to claim 7, wherein the target classification option is a combined classification option;
    所述第二接收模块具体用于:The second receiving module is specifically configured to:
    在所述目标界面显示图像、文字和通知栏的情况下,接收用户针对所述组合分类选项的选择输入;In the case that the target interface displays images, text, and a notification bar, receiving a user's selection input for the combination classification option;
    所述生成模块具体用于:The generating module is specifically used for:
    响应于所述选择输入,生成第一截屏图片、第二截屏图片、第三截屏图片和第四截屏图片;In response to the selection input, generating a first screenshot picture, a second screenshot picture, a third screenshot picture, and a fourth screenshot picture;
    其中,所述第一截屏图片仅包含所述目标界面中的图像,所述第二截屏图片仅包含所述目标界面中的文字,所述第三截屏图片仅包含所述目标界面中的通知栏,所述第四截屏图片包含所述目标界面中的图像、文字和通知栏中的至少两项。Wherein, the first screenshot picture only includes the image in the target interface, the second screenshot picture only includes the text in the target interface, and the third screenshot picture only includes the notification bar in the target interface , The fourth screenshot picture includes at least two items of an image, a text, and a notification bar in the target interface.
  12. 根据权利要求11所述的电子设备,还包括:The electronic device according to claim 11, further comprising:
    存储模块,用于在所述生成模块生成第一截屏图片、第二截屏图片、第 三截屏图片和第四截屏图片之后,将所述第一截屏图片、所述第二截屏图片、所述第三截屏图片以及所述第四截屏图片存储为一组图片。The storage module is used for storing the first screenshot, the second screenshot, and the first screenshot after the generation module generates the first screenshot, the second screenshot, the third screenshot, and the fourth screenshot. The three screenshot pictures and the fourth screenshot picture are stored as a set of pictures.
  13. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的截屏方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 1 to 6 One of the steps of the screenshot method.
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的截屏方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screenshot method according to any one of claims 1 to 6 are realized.
  15. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至6中任一项所述的截屏方法。A computer program product, which is executed by at least one processor to implement the screenshot method according to any one of claims 1 to 6.
  16. 一种电子设备,用于执行如权利要求1至6中任一项所述的截屏方法。An electronic device for executing the screenshot method according to any one of claims 1 to 6.
PCT/CN2020/140064 2019-12-31 2020-12-28 Screenshot method and electronic device WO2021136159A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911412310.3 2019-12-31
CN201911412310.3A CN111143015B (en) 2019-12-31 2019-12-31 Screen capturing method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021136159A1 true WO2021136159A1 (en) 2021-07-08

Family

ID=70522640

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140064 WO2021136159A1 (en) 2019-12-31 2020-12-28 Screenshot method and electronic device

Country Status (2)

Country Link
CN (1) CN111143015B (en)
WO (1) WO2021136159A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143015B (en) * 2019-12-31 2022-03-08 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN111638839A (en) * 2020-05-20 2020-09-08 维沃移动通信有限公司 Screen capturing method and device and electronic equipment
CN113723397B (en) * 2020-05-26 2023-07-25 华为技术有限公司 Screen capturing method and electronic equipment
CN111859881A (en) * 2020-06-28 2020-10-30 维沃移动通信(杭州)有限公司 Data processing method, device, electronic equipment and medium
CN112684963A (en) * 2020-12-24 2021-04-20 维沃移动通信(杭州)有限公司 Screenshot method and device and electronic equipment
CN112732089A (en) * 2021-01-18 2021-04-30 海信视像科技股份有限公司 Virtual reality equipment and quick interaction method
CN113504854A (en) * 2021-07-08 2021-10-15 维沃移动通信(杭州)有限公司 Display method and device thereof
CN115291777A (en) * 2022-08-04 2022-11-04 维沃移动通信有限公司 Screen capturing method and device, terminal and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
US20150347367A1 (en) * 2014-05-30 2015-12-03 Xerox Corporation User experience feedback recorder
CN106371694A (en) * 2016-08-26 2017-02-01 乐视控股(北京)有限公司 Intelligent image capture method and apparatus used for optional global or local image capture, and terminal device
CN107291355A (en) * 2017-06-29 2017-10-24 珠海市魅族科技有限公司 Screenshotss control method and device, terminal device and storage medium
CN111143015A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Screen capturing method and electronic equipment

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9215266B2 (en) * 2012-01-26 2015-12-15 Zoom International S.R.O. System and method for zero-footprint screen capture
KR102138505B1 (en) * 2013-07-10 2020-07-28 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN104090762B (en) * 2014-07-10 2017-04-19 福州瑞芯微电子股份有限公司 Screenshot processing device and method
CN104407804B (en) * 2014-11-25 2018-09-04 广州酷狗计算机科技有限公司 Screenshotss method, apparatus and electronic equipment
CN104536658B (en) * 2014-12-12 2017-12-29 天津三星通信技术研究有限公司 The apparatus and method of snapshot picture are generated in the terminal
US11032229B2 (en) * 2015-07-31 2021-06-08 International Business Machines Corporation System and method for visual classification of email participants
US20170257353A1 (en) * 2016-03-07 2017-09-07 Ricoh Company, Ltd. System For Using Login Information And Historical Data To Determine Processing For Data Received From Various Data Sources
US9946638B1 (en) * 2016-03-30 2018-04-17 Open Text Corporation System and method for end to end performance response time measurement based on graphic recognition
CN106168872A (en) * 2016-06-23 2016-11-30 珠海市魅族科技有限公司 Screenshotss method and apparatus
CN106202194A (en) * 2016-06-27 2016-12-07 北京小米移动软件有限公司 The storage method and device of screenshot picture
CN106371718A (en) * 2016-08-19 2017-02-01 乐视控股(北京)有限公司 Screen capture method and device
CN106502524A (en) * 2016-09-27 2017-03-15 乐视控股(北京)有限公司 Screenshotss method and device
US11003331B2 (en) * 2016-10-18 2021-05-11 Huawei Technologies Co., Ltd. Screen capturing method and terminal, and screenshot reading method and terminal
CN106970754B (en) * 2017-03-28 2020-09-08 北京小米移动软件有限公司 Screen capture processing method and device
US10637674B2 (en) * 2017-06-07 2020-04-28 Tg-17, Inc. System and method for real-time decoding and monitoring for encrypted instant messaging and other information exchange applications
CN108055589B (en) * 2017-12-20 2021-04-06 聚好看科技股份有限公司 Intelligent television
CN109164966A (en) * 2018-08-23 2019-01-08 珠海格力电器股份有限公司 A kind of method and device of screenshot capture
CN109683756B (en) * 2018-11-26 2022-02-08 平安科技(深圳)有限公司 Picture processing method and device, electronic equipment and storage medium
CN109710349B (en) * 2018-11-28 2022-09-20 维沃移动通信(深圳)有限公司 Screen capturing method and mobile terminal
CN110222212B (en) * 2019-04-25 2021-07-20 南京维沃软件技术有限公司 Display control method and terminal equipment
CN110413363B (en) * 2019-07-26 2023-02-21 维沃移动通信有限公司 Screenshot method and terminal equipment
CN110456956A (en) * 2019-08-05 2019-11-15 腾讯科技(深圳)有限公司 Screenshot method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150347367A1 (en) * 2014-05-30 2015-12-03 Xerox Corporation User experience feedback recorder
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
CN106371694A (en) * 2016-08-26 2017-02-01 乐视控股(北京)有限公司 Intelligent image capture method and apparatus used for optional global or local image capture, and terminal device
CN107291355A (en) * 2017-06-29 2017-10-24 珠海市魅族科技有限公司 Screenshotss control method and device, terminal device and storage medium
CN111143015A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Screen capturing method and electronic equipment

Also Published As

Publication number Publication date
CN111143015A (en) 2020-05-12
CN111143015B (en) 2022-03-08

Similar Documents

Publication Publication Date Title
WO2021136159A1 (en) Screenshot method and electronic device
US11429248B2 (en) Unread message prompt method and mobile terminal
WO2020156111A1 (en) Interface display method and terminal
WO2021077897A1 (en) File sending method and apparatus, and electronic device
WO2021012931A1 (en) Icon management method and terminal
WO2021017776A1 (en) Information processing method and terminal
WO2020151512A1 (en) Image storage method and terminal apparatus
WO2020259024A1 (en) Icon classification method, mobile terminal, and computer-readable storage medium
WO2021088720A1 (en) Information sending method and electronic device
CN107943390B (en) Character copying method and mobile terminal
WO2020156118A1 (en) Management method and terminal apparatus
US11354017B2 (en) Display method and mobile terminal
WO2020238938A1 (en) Information input method and mobile terminal
WO2021004426A1 (en) Content selection method, and terminal
WO2020238463A1 (en) Message processing method and terminal
US11250046B2 (en) Image viewing method and mobile terminal
WO2021036553A1 (en) Icon display method and electronic device
WO2020151513A1 (en) Information processing method and terminal device
WO2020238408A1 (en) Application icon display method and terminal
WO2020156123A1 (en) Information processing method and terminal device
WO2021083091A1 (en) Screenshot capturing method and terminal device
WO2020199988A1 (en) Content copying method and terminal
WO2021057301A1 (en) File control method and electronic device
WO2020220893A1 (en) Screenshot method and mobile terminal
WO2020020213A1 (en) Information input method and terminal

Legal Events

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

Ref document number: 20910716

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20910716

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 03/01/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20910716

Country of ref document: EP

Kind code of ref document: A1