CN107346200B - Interval screenshot method and terminal - Google Patents

Interval screenshot method and terminal Download PDF

Info

Publication number
CN107346200B
CN107346200B CN201710526869.3A CN201710526869A CN107346200B CN 107346200 B CN107346200 B CN 107346200B CN 201710526869 A CN201710526869 A CN 201710526869A CN 107346200 B CN107346200 B CN 107346200B
Authority
CN
China
Prior art keywords
screenshot
intercepted
information
target object
interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710526869.3A
Other languages
Chinese (zh)
Other versions
CN107346200A (en
Inventor
吴苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710526869.3A priority Critical patent/CN107346200B/en
Publication of CN107346200A publication Critical patent/CN107346200A/en
Application granted granted Critical
Publication of CN107346200B publication Critical patent/CN107346200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention discloses an interval screenshot method and a terminal, wherein an interval screenshot instruction is received in a current display interface corresponding to a current application, and a screenshot target object is selected from the current display interface according to a preset division rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image.

Description

Interval screenshot method and terminal
Technical Field
The invention relates to the technical field of terminals, in particular to an interval screenshot method and a terminal.
Background
The screenshot is a means for capturing a picture or a character on a display interface and forming a screenshot by the terminal, and is also a terminal application technology. The user can intercept required character or image information from a browsed webpage to form a screenshot through the technical means of screenshot so as to facilitate watching and learning, and meanwhile, the character or image information on the display interface can be sent to other terminals in the form of screenshot pictures to share information through the screenshot. Because the technical means of screenshot is simple and easy to learn and convenient to use, more and more terminals have the screenshot function, and the screenshot processing is convenient for users.
As one of the functions commonly used in a terminal, screenshots are often divided into a long screenshot and a common screenshot, and both the long screenshot and the common screenshot are used for storing all information displayed on a current display interface as one screenshot. Because some useful information can be randomly distributed in different positions in the screenshot and is not easily and directly acquired by the user, and in order to include all the useful information in the screenshot, the terminal needs to acquire a larger screenshot, for example, when the current display interface is a wechat group interface, if a message sent by a certain user needs to be intercepted, messages sent by other users need to be intercepted at the same time, and finally a larger screenshot is obtained, and the useful information cannot be highlighted in the screenshot. That is to say, the existing screenshot method cannot directly intercept useful information images without irrelevant information, and at the same time, the defect that the intercepted screenshot is too large is caused.
Disclosure of Invention
The embodiment of the invention provides an interval screenshot method and a terminal, which can effectively avoid irrelevant information and directly intercept useful information images when a current display interface is subjected to screenshot, and can simultaneously intercept all key information in current application corresponding to the current display interface and ensure that the intercepted interval screenshot images are not too large.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an interval screenshot method, which comprises the following steps:
receiving an interval screenshot instruction in a current display interface corresponding to a current application, and selecting a screenshot target object from the current display interface according to a preset division rule;
inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space;
switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted;
and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image.
In the above scheme, the selecting a screenshot target object from the current display interface according to a preset division rule includes:
receiving a point touch instruction in the current display interface, and detecting a touch point corresponding to the point touch instruction;
intercepting a first target range by taking the touch point as a first circle center and a first preset length as a first radius;
selecting the screenshot target object from the first target range.
In the foregoing scheme, the selecting a screenshot target object from the current display interface according to a preset partition rule further includes:
receiving a sliding instruction in the current display interface, and detecting a touch line corresponding to the sliding instruction;
selecting interval points on the touch line according to a preset interval;
intercepting a second target range by taking the interval point as a second circle center and a second preset length as a second radius;
selecting the screenshot target object from the second target range.
In the above scheme, the extracting information to be intercepted corresponding to the screenshot target object from the storage space includes:
inquiring the information to be intercepted corresponding to the screenshot target object in the storage space;
and combining the screenshot target object and the information to be intercepted.
In the foregoing solution, the extracting information to be intercepted corresponding to the screenshot target object from the storage space further includes:
dividing a region to be intercepted in the storage space by taking the screenshot target object as a reference according to a preset interception unit area;
and extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
In the above scheme, after responding to the interval screenshot instruction and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image, the method further includes:
extracting information to be processed in the interval screenshot image;
and saving the information to be processed.
An embodiment of the present invention provides a terminal, where the terminal includes: a processor, a memory, a receiver, and a communication bus; the communication bus is used for realizing connection communication among the processor, the memory and the receiver; the processor and the receiver are configured to execute an interval screenshot program stored in the memory to implement the steps of:
the receiver is used for receiving an interval screenshot instruction in a current display interface corresponding to a current application;
the processor is used for selecting a screenshot target object from the current display interface according to a preset division rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image.
In the above scheme, the receiver is further configured to receive a touch instruction in the current display interface;
the processor is specifically configured to detect a touch point corresponding to the point-touch instruction; taking the touch point as a first circle center and a first preset length as a first radius, and intercepting a first target range; and selecting the screenshot target object from the first target range;
the receiver is further used for receiving a sliding instruction in the current display interface;
the processor is further specifically configured to detect a touch line corresponding to the sliding instruction; selecting interval points on the touch line according to a preset interval; taking the interval point as a second circle center, taking a second preset length as a second radius, and intercepting a second target range; and selecting the screenshot target object from the second target range;
the processor is further specifically configured to query the information to be intercepted in the storage space, where the information to be intercepted corresponds to the screenshot target object; combining the screenshot target object and the information to be intercepted;
the processor is further specifically configured to divide an area to be intercepted in the storage space based on the screenshot target object according to a preset interception unit area; and extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
In the above scheme, the processor is further configured to respond to the interval screenshot instruction, perform screenshot processing on the interface to be intercepted, obtain an interval screenshot image, and then extract information to be processed in the interval screenshot image; and saving the information to be processed.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors and a receiver to implement the steps of:
receiving an interval screenshot instruction in a current display interface corresponding to a current application, and selecting a screenshot target object from the current display interface according to a preset division rule;
inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space;
switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted;
and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image.
Therefore, in the technical scheme of the embodiment of the invention, the interval screenshot command is received in the current display interface corresponding to the current application, and the screenshot target object is selected from the current display interface according to the preset division rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image. Therefore, the interval screenshot method and the terminal provided by the embodiment of the invention can perform selective interval screenshot on the current display interface, only specific key information is intercepted, all useful information can be intercepted, and the intercepted interval screenshot image can not be too large, so that the problem that the useful information image can not be directly intercepted without irrelevant information in the prior art of screenshot can be solved, and the defect that the intercepted screenshot is too large is overcome.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a first schematic flow chart illustrating an implementation of an interval screenshot method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a screenshot target object selection method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interval screenshot image obtained in an embodiment of the present invention;
FIG. 6 is a schematic diagram of a process for implementing the interval screenshot method according to the embodiment of the present invention
FIG. 7 is a schematic diagram of a method for intercepting a first target range according to an embodiment of the present invention;
fig. 8 is a schematic flow chart illustrating an implementation of the interval screenshot method according to the embodiment of the present invention;
FIG. 9 is a schematic diagram of a method for intercepting a second target range according to an embodiment of the present invention;
fig. 10 is a schematic flow chart illustrating an implementation of an interval screenshot method according to an embodiment of the present invention;
fig. 11 is a schematic flow chart illustrating an implementation of the interval screenshot method according to the embodiment of the present invention;
fig. 12 is a schematic diagram illustrating an implementation flow of an interval screenshot method according to an embodiment of the present invention;
fig. 13 is a first schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
Fig. 3 is a schematic flow chart of a first implementation process of the interval screenshot method provided in the embodiment of the present invention, as shown in fig. 3, in the embodiment of the present invention, the method for the terminal to perform interval screenshot may include the following steps:
step 101, receiving an interval screenshot instruction in a current display interface corresponding to a current application, and selecting a screenshot target object from the current display interface according to a preset division rule.
In the embodiment of the invention, the terminal can firstly receive the interval screenshot command in the current display interface corresponding to the current application, and then select the screenshot target object from the current display interface according to the preset division rule. The terminal can be a mobile phone with a screenshot function, a tablet personal computer, an intelligent camera and the like.
It should be noted that, in the embodiment of the present invention, the current application may be a variety of applications with display interfaces running in the terminal, for example. QQ, WeChat, short message, etc.; further, the current display interface is an interface displayed when the terminal obtains the interval screenshot command, and preferably, in an embodiment of the present invention, the current display interface may be an interface of a current application that the terminal is running, for example, the current display interface may be a wechat interface or a QQ chat interface.
Further, in the embodiment of the present invention, the terminal may obtain the interval screenshot instruction in multiple ways, for example, the terminal may obtain the interval screenshot instruction by detecting a pressing operation of a preset combination key; the terminal can also obtain the interval screenshot command by detecting a preset touch gesture of the display interface.
Further, in the embodiment of the present invention, after the terminal receives the interval screenshot instruction in the current display interface, a screenshot method corresponding to the interval screenshot instruction may be determined first.
Further, in the embodiment of the present invention, the screenshot method corresponding to the interval screenshot instruction may be multiple, for example, the screenshot method may be to intercept and splice the related information corresponding to the screenshot target object, so as to form an interval screenshot image; the terminal can also intercept and splice information adjacent to the screenshot target object, so as to form an interval screenshot image.
Further, in the embodiment of the present invention, the terminal may detect the current application through a plurality of methods, for example, the terminal may determine the current application by acquiring a program currently running in a foreground of the terminal.
Further, in the embodiment of the present invention, after the terminal obtains the interval screenshot command, at least one screenshot target object may be selected from the current display interface according to a preset division rule. Preferably, in an embodiment of the present invention, if the current display interface is a wechat group interface, the screenshot target object may be an avatar or a nickname of at least one user of the group chat users, or may be partial text or picture information in the group chat information.
Further, in an embodiment of the present invention, a terminal may further provide a novel display manner, fig. 4 is a schematic diagram of a screenshot target object selection method provided in an embodiment of the present invention, and as shown in fig. 4, the terminal may divide a current display interface into an area 1 and an area 2, where content and lighting displayed in the area 1 and the area 2 are separately controlled, and the terminal may display a screenshot target object selected from the area 1 in the area 2, so that a user may further control the selected screenshot target object in the area 2.
And 102, inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space.
In the embodiment of the invention, after the terminal receives the interval screenshot command in the current display interface corresponding to the current application and selects the screenshot target object from the current display interface according to the preset division rule, the storage space corresponding to the current application can be inquired, and then the information to be intercepted corresponding to the screenshot target object is extracted from the storage space.
It should be noted that, in the embodiment of the present invention, since the useful information to be intercepted corresponding to the screenshot target object may not be displayed only in the current display interface, the terminal may obtain the information to be intercepted corresponding to the screenshot target object in the storage space corresponding to the current application, so as to obtain an image including only the useful information related to the screenshot target object, that is, an interval screenshot image.
Further, in an embodiment of the present invention, the storage space stores all information records of the current application, and the storage space may be a plurality of storage addresses of the current application, for example, the storage space may be a local storage file of the current application, and meanwhile, the storage space may also be a backend server.
Further, in the embodiment of the present invention, after querying a storage space corresponding to the screenshot target object, the terminal may extract information to be intercepted corresponding to the screenshot target object from the storage space, where the information to be intercepted may be text information or picture information corresponding to the screenshot target object, for example, the current application is a WeChat, the current display interface is a WeChat group chat interface, and the screenshot target object is an avatar of a contact 1, and then the information to be intercepted extracted from the storage space corresponding to the WeChat is the text information and the picture information corresponding to the contact 1.
And 103, switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted.
In the embodiment of the invention, after the terminal queries the storage space corresponding to the current application and extracts the information to be intercepted corresponding to the screenshot target object from the storage space, the current display interface can be switched to the interface to be intercepted, and finally the screenshot target object and the information to be intercepted are displayed in the interface to be intercepted. The interface to be intercepted is a display interface used for the terminal to perform screen interception processing.
It should be noted that, in the embodiment of the present invention, since the useful information to be intercepted corresponding to the screenshot target object may not be displayed only in the current display interface, the terminal may display the screenshot target object and the information to be intercepted together in the interface to be intercepted after acquiring the information to be intercepted corresponding to the screenshot target object in the storage space corresponding to the current application, so as to avoid the irrelevant information in the current display interface, and thus obtain an image including only the useful information related to the screenshot target object, that is, an interval screenshot image.
In the embodiment of the invention, after the terminal switches the current display interface into the interface to be intercepted, the screenshot target object and the information to be intercepted can be displayed in the interface to be intercepted.
Further, in the embodiment of the present invention, after the terminal displays the screenshot target object and the information to be intercepted in the interface to be intercepted, the terminal may screen and delete all information displayed in the interface to be intercepted, so as to display only key information related to the screenshot target object.
Further, in the embodiment of the present invention, the terminal may perform screening and deleting on all information displayed in the interface to be intercepted through a plurality of methods, for example, the terminal may perform screening and deleting on all information displayed in the interface to be intercepted according to a selection operation of a user, and meanwhile, the terminal may also perform screening and deleting on all information displayed in the interface to be intercepted according to a preset time interval or a keyword.
And 104, responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image.
In the embodiment of the invention, after the terminal displays the screenshot target object and the information to be intercepted in the interface to be intercepted, the terminal can respond to the interval screenshot command and perform screenshot processing on the interface to be intercepted, so that an interval screenshot image can be obtained.
It should be noted that, in the embodiment of the present invention, the one interval screenshot image only includes the screenshot target object and key information related to the screenshot target object. For example, after the above-mentioned interval interception instruction is obtained in the wechat group chat interface, the avatar of the contact 1 is selected as the screenshot target object, and after the above-mentioned interval screenshot processing, an interval screenshot image is obtained that only displays the avatar of the contact 1 and the key information sent by the contact 1.
Preferably, in an embodiment of the present invention, fig. 5 is a schematic diagram of an interval screenshot image obtained in the embodiment of the present invention, and as shown in fig. 5, the terminal extracts, in the WeChat, related information corresponding to the head image of the contact 1, that is, a text or a picture sent by the contact 1, then combines the head image of the contact 1 and the text or the picture sent by the contact 1, and splices the combined information to obtain an interval screenshot image only including the related information of the contact 1.
The interval screenshot method provided by the embodiment of the invention receives an interval screenshot instruction in a current display interface corresponding to a current application, and selects a screenshot target object from the current display interface according to a preset division rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image. Therefore, the interval screenshot method provided by the embodiment of the invention can be used for selectively and intermittently screenshot the current display interface, only specific key information is intercepted, all useful information can be intercepted, and simultaneously, the intercepted interval screenshot image can not be too large, so that the problem that the useful information image can not be directly intercepted without irrelevant information in the screenshot in the prior art can be solved, and the defect that the intercepted screenshot is too large is overcome.
Example two
Based on the first embodiment, fig. 6 is a schematic view of a second implementation flow of the interval screenshot method provided in the embodiment of the present invention, as shown in fig. 6, in the embodiment of the present invention, a method for a terminal to select a screenshot target object from a current display interface according to a preset partition rule may include the following steps:
step 101a, receiving a point touch instruction in a current display interface, and detecting a touch point corresponding to the point touch instruction.
In the embodiment of the present invention, the terminal may receive a touch instruction in the current display interface, and then detect a touch point corresponding to the touch instruction. The terminal can acquire the point touch instruction by clicking the touch screen of the terminal by a user.
Further, in the embodiment of the present invention, the terminal may detect the touch point corresponding to the point touch instruction through a plurality of methods, for example, the terminal may detect the touch point corresponding to the point touch instruction through a pressure sensing device disposed below the touch screen; the terminal can also detect a touch point corresponding to the point touch instruction through an infrared sensing device arranged below the touch screen.
And step 101b, intercepting a first target range by taking the touch point as a first circle center and the first preset length as a first radius.
In the embodiment of the invention, after the terminal receives the point touch instruction in the current display interface and detects the touch point corresponding to the point touch instruction, the terminal may intercept the first target range by using the touch point as a first circle center and using the first preset length as a first radius.
Further, in the embodiment of the present invention, after the terminal detects the touch point, the terminal may use the touch point as a first circle center, use a preset first preset length as a first radius, and then intercept a first target range in the current display interface according to the first circle center and the first radius. The terminal may preset the first preset length by a plurality of methods, for example, the terminal may set the first preset length according to an input operation of a user, and the terminal may also set the first preset length according to initial data.
Fig. 7 is a schematic diagram of a method for intercepting a first target range according to an embodiment of the present invention, and as shown in fig. 7, after the terminal determines the touch point a, the terminal intercepts the first target range with a center a as a center and a radius of a first preset length r1 as a radius.
And step 101c, selecting a screenshot target object from the first target range.
In the embodiment of the invention, after the terminal intercepts the first target range by taking the touch point as a first circle center and taking the first preset length as a first radius, the screenshot target object can be selected from the first target range.
Further, in an embodiment of the present invention, the first target range includes a plurality of pieces of information in the current display interface, the terminal may determine the plurality of pieces of information in the first target range as a screenshot target object, and the terminal may further determine part of the information in the first target range as the screenshot target object according to a user selection operation. As shown in fig. 7, the contact 1 avatar is included in the first target range, and then the terminal may determine the contact 1 avatar as the screenshot target object.
According to the above description, through the steps 101a to 101c, the terminal may receive a touch instruction in the current display interface and detect a touch point corresponding to the touch instruction; intercepting a first target range by taking the touch point as a first circle center and a first preset length as a first radius; selecting a screenshot target object from a first target range; therefore, the problem that the prior art cannot avoid irrelevant information and directly intercept useful information images during screenshot can be solved, and the defect of overlarge intercepted screenshot is overcome; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
EXAMPLE III
Based on the first embodiment, fig. 8 is a schematic flow chart illustrating an implementation process of the interval screenshot method provided in the embodiment of the present invention, as shown in fig. 8, in the embodiment of the present invention, the method for the terminal to select the screenshot target object from the current display interface according to the preset partition rule may further include the following steps:
and step 101d, receiving a sliding instruction in the current display interface, and detecting a touch line corresponding to the sliding instruction.
In the embodiment of the present invention, the terminal may receive a sliding instruction in the current display interface, and then detect a touch line corresponding to the sliding instruction. The terminal can obtain the sliding instruction by sliding the touch screen of the terminal by a user.
Further, in the embodiment of the present invention, the terminal may detect the touch line corresponding to the sliding instruction through a plurality of methods, for example, the terminal may detect the touch line corresponding to the sliding instruction through a pressure sensing device disposed below the touch screen; the terminal can also detect the touch line corresponding to the sliding instruction through an infrared sensing device arranged below the touch screen.
And step 101e, selecting interval points on the touch line according to preset intervals.
In the embodiment of the invention, after the terminal receives the sliding instruction in the current display interface and detects the touch line corresponding to the sliding instruction, the terminal can select the interval point on the touch line according to the preset interval.
Further, in an embodiment of the present invention, the preset interval may be a fixed interval preset by the terminal, or may be a preset interval corresponding to the touch line, where the preset interval is set by the terminal according to the length of the touch line. For example, the terminal may preset the preset interval to be 0.5mm, that is, there is one interval point every 0.5mm on the touch line; the terminal may first determine the length of the touch line to be xmm, and then the terminal may determine spaced points on the touch line at a spaced distance of (x/10) mm.
And 101f, intercepting a second target range by taking the interval point as a second circle center and a second preset length as a second radius.
In the embodiment of the present invention, after selecting the interval point on the touch line according to the preset interval, the terminal may intercept the second target range by using the interval point as a second circle center and a second preset length as a second radius.
Further, in the embodiment of the present invention, after the terminal selects the interval point on the touch line, the terminal may use the interval point as a second circle center, use a preset second preset length as a second radius, and then intercept a second target range in the current display interface according to the second circle center and the second radius. The terminal may preset the second preset length by a plurality of methods, for example, the terminal may set the second preset length according to an input operation of a user, and the terminal may also set the second preset length according to initial data.
Fig. 9 is a schematic diagram of a method for intercepting a second target range according to an embodiment of the present invention, and as shown in fig. 8, after determining the spacing point B, C, D, E, the terminal may intercept the second target range respectively with B, C, D, E as a center and a second preset length r2 as a radius.
And step 101g, selecting a screenshot target object from the second target range.
In the embodiment of the invention, after the terminal intercepts the second target range by taking the interval point as the second circle center and taking the second preset length as the second radius, the terminal may select the screenshot target object from the second target range.
Further, in the embodiment of the present invention, the second target range includes a plurality of pieces of information in the current display interface, the terminal may determine the plurality of pieces of information in the second target range as the screenshot target object, and the terminal may further determine part of the information in the second target range as the screenshot target object according to a user selection operation. As shown in fig. 9, the second target range includes the contact 1 avatar, the contact 2 avatar, and the contact 3 avatar, and then the terminal may determine the contact 1 avatar, the contact 2 avatar, and the contact 3 avatar as the screenshot target object.
According to the above description, through the steps 101d to 101g, the terminal may receive the sliding instruction in the current display interface, and detect the touch line corresponding to the sliding instruction; selecting interval points on the touch line according to a preset interval; intercepting a second target range by taking the interval point as a second circle center and a second preset length as a second radius; selecting a screenshot target object from the second target range; therefore, the problem that the prior art cannot avoid irrelevant information and directly intercept useful information images during screenshot can be solved, and the defect of overlarge intercepted screenshot is overcome; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
Example four
Based on the first embodiment, fig. 10 is a schematic view of an implementation flow of an interval screenshot method provided in the embodiment of the present invention, as shown in fig. 10, in the embodiment of the present invention, a method for a terminal to extract information to be intercepted corresponding to a screenshot target object from a storage space may include the following steps:
and 102a, inquiring information to be intercepted corresponding to the screenshot target object in the storage space.
In the embodiment of the invention, after the terminal selects the screenshot target object from the current display interface according to the preset division rule, the information to be intercepted corresponding to the screenshot target object can be inquired in the storage space corresponding to the current application.
Further, in the embodiment of the present invention, since the useful information that needs to be captured and corresponds to the screenshot target object may not be displayed only in the current display interface, the terminal may query the relevant information corresponding to the screenshot target in the storage space corresponding to the current application, so as to perform interval screenshot processing on the information to be captured.
Preferably, in the embodiment of the present invention, for example, the current display interface is a wechat group chat interface, the current application is wechat, and the screenshot target object is a contact 1 avatar, so that the terminal may extract information to be intercepted corresponding to the contact 1, such as a text or a picture sent by the contact 1, from a storage space corresponding to the wechat.
And 102b, combining the screenshot target object and the information to be intercepted.
In the embodiment of the invention, after inquiring the information to be intercepted corresponding to the screenshot target object in the storage space, the terminal can combine the screenshot target object and the information to be intercepted corresponding to the screenshot target object.
Further, in the embodiment of the present invention, after the terminal extracts the information to be intercepted corresponding to the screenshot target object in the storage space corresponding to the current application, the screenshot target object and the extracted information to be intercepted corresponding to the screenshot target object may be respectively spliced, and then the spliced screenshot target object and the information to be intercepted corresponding to the screenshot target object are combined, so as to obtain an image including only the screenshot target object and the information to be intercepted corresponding to the screenshot target object, that is, an interval screenshot image.
According to the above description, through the steps 102a to 102b, the terminal can query the information to be intercepted corresponding to the screenshot target object in the storage space; combining the screenshot target object and the information to be intercepted; therefore, the problem that the prior art cannot avoid irrelevant information and directly intercept useful information images during screenshot can be solved, and the defect of overlarge intercepted screenshot is overcome; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
EXAMPLE five
Based on the first embodiment, fig. 11 is a schematic flow chart of a fifth implementation process of the interval screenshot method provided in the embodiment of the present invention, as shown in fig. 11, in the embodiment of the present invention, the method for the terminal to extract the information to be intercepted corresponding to the screenshot target object from the storage space may further include the following steps:
and 102c, dividing the area to be intercepted in the storage space by taking the screenshot target object as a reference according to the preset interception unit area.
In the embodiment of the invention, after the terminal selects the screenshot target object from the current display interface according to the preset division rule, the terminal can divide the area to be intercepted in the storage space by taking the screenshot target object as a reference according to the preset interception unit area. The terminal may use the screenshot target object as multiple references, for example, the terminal may use the screenshot target object as a center reference, and the terminal may use the screenshot target object as an edge reference in any direction.
It should be noted that, in the embodiment of the present invention, the preset interception unit area may be an interception frame with a fixed area preset by the terminal, or may be an interception frame with an area determined by the terminal according to a user dragging operation.
Further, in the embodiment of the present invention, since the useful information that needs to be intercepted and corresponds to the screenshot target object may not be displayed only in the current display interface, the terminal may divide the area to be intercepted in the storage space corresponding to the current application based on the screenshot target object and according to a preset interception unit area.
Preferably, in the embodiment of the present invention, for example, the current display interface is a QQ group chat interface, the current application is a QQ, and the screenshot target object is a contact 3 avatar, so that the terminal may use the screenshot target object contact 3 avatar in the storage space corresponding to the QQ as a central reference, and then divide the area to be intercepted according to a preset intercepting unit area.
And 102d, extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
In the embodiment of the invention, after the terminal divides the region to be intercepted in the storage space by taking the screenshot target object as a reference according to the preset intercepting unit area, the information to be intercepted in the region to be intercepted can be extracted, and then the information to be intercepted is spliced.
Further, in the embodiment of the present invention, after the terminal divides the area to be intercepted based on the screenshot target object, the information to be intercepted in the area to be intercepted may be spliced, so as to obtain an image including only the screenshot target object and the information to be intercepted, that is, an interval screenshot image.
According to the above description, through the steps 102c to 102d, the terminal may divide the region to be intercepted in the storage space based on the screenshot target object according to the preset interception unit area; extracting information to be intercepted in an area to be intercepted, and splicing the information to be intercepted; therefore, the problem that the prior art cannot avoid irrelevant information and directly intercept useful information images during screenshot can be solved, and the defect of overlarge intercepted screenshot is overcome; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
EXAMPLE six
Based on the first embodiment, fig. 12 is a schematic view illustrating an implementation flow of a method for interval screenshot according to an embodiment of the present invention, as shown in fig. 12, in an embodiment of the present invention, after a terminal responds to an interval screenshot instruction, and performs screenshot processing on an interface to be intercepted, and obtains an interval screenshot image, the method for interval screenshot of the terminal may further include the following steps:
and 105, extracting information to be processed in an interval screenshot image.
In the embodiment of the invention, the terminal performs screenshot processing on the interface to be intercepted, and can extract the information to be processed in one interval screenshot image after obtaining the interval screenshot image.
Further, in the embodiment of the present invention, the terminal may recognize the information to be processed in the one interval screenshot image through Optical Character Recognition (OCR). Preferably, in the embodiment of the present invention, the terminal may filter background information or edge information in the one interval screenshot image by a plurality of methods to determine information to be processed in the one interval screenshot image, for example, the terminal may perform graying and binarization processing on the one interval screenshot image to determine the information to be processed in the one interval screenshot image.
And step 106, storing the information to be processed.
In the embodiment of the invention, after the terminal extracts the information to be processed in one interval screenshot image, the information to be processed can be stored separately.
Further, in the embodiment of the present invention, the terminal may save the information to be processed in another format, such as a document, a picture, etc., so as to perform separate reading or sending.
The interval screenshot method provided by the embodiment of the invention receives an interval screenshot instruction in a current display interface corresponding to a current application, and selects a screenshot target object from the current display interface according to a preset division rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image. Therefore, the interval screenshot method provided by the embodiment of the invention can be used for selectively and intermittently screenshot the current display interface, only specific key information is intercepted, all useful information can be intercepted, and simultaneously, the intercepted interval screenshot image can not be too large, so that the problem that the useful information image can not be directly intercepted without irrelevant information in the screenshot in the prior art can be solved, and the defect that the intercepted screenshot is too large is overcome.
EXAMPLE seven
Fig. 13 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention, and in practical applications, based on the same inventive concept of the first embodiment to the sixth embodiment, as shown in fig. 13, a terminal 3 according to an embodiment of the present invention includes: a processor 31, a memory 32, a receiver 33, and a communication bus 34. It should be noted that, in the embodiment of the present invention, the processor 31 and the memory 32 in fig. 13 correspond to the processor 110 and the memory 109 in the above-mentioned first drawing, respectively. In the process of the Specific embodiment, the Processor 31 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronic devices used to implement the processor functions described above may be other devices, and embodiments of the present invention are not limited in particular.
In the embodiment of the present invention, the communication bus 34 is used for realizing connection communication among the processor 31, the memory 32 and the receiver 33; the processor 31 and the receiver 33 are configured to execute the interval screenshot program stored in the memory 32 to implement the following steps:
and the receiver 33 is configured to receive an interval screenshot instruction in a current display interface corresponding to the current application.
The processor 31 is configured to select a screenshot target object from a current display interface according to a preset partition rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image.
In an embodiment of the present invention, the receiver 33 is further configured to receive a touch instruction in the current display interface.
The processor 31 is specifically configured to detect a touch point corresponding to the point-touch instruction; taking the touch point as a first circle center and a first preset length as a first radius, and intercepting a first target range; and selecting the screenshot target object from the first target range.
In an embodiment of the present invention, further, the receiver 33 is further configured to receive a slide instruction in the current display interface.
The processor 31 is further specifically configured to detect a touch line corresponding to the sliding instruction; selecting interval points on the touch line according to a preset interval; taking the interval point as a second circle center, taking a second preset length as a second radius, and intercepting a second target range; and selecting the screenshot target object from the second target range.
In an embodiment of the present invention, further, the processor 31 is further specifically configured to query information to be intercepted, which corresponds to the screenshot target object, in the storage space; and combining the screenshot target object and the information to be intercepted.
In an embodiment of the present invention, further, the processor 31 is further specifically configured to divide an area to be intercepted in a storage space based on a screenshot target object according to a preset interception unit area; and extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
In an embodiment of the present invention, further, the processor 31 is further configured to respond to an interval screenshot instruction, perform screenshot processing on an interface to be intercepted, obtain an interval screenshot image, and then extract information to be processed in the interval screenshot image; and saving the information to be processed.
The terminal provided by the embodiment of the invention receives an interval screenshot instruction in a current display interface corresponding to a current application, and selects a screenshot target object from the current display interface according to a preset division rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image. Therefore, the terminal provided by the embodiment of the invention can selectively perform interval screenshot on the current display interface, only specific key information is intercepted, all useful information can be intercepted, and the intercepted interval screenshot image can not be too large, so that the problem that the useful information image can not be directly intercepted without irrelevant information in the screenshot in the prior art can be solved, and the defect that the intercepted screenshot is too large is overcome; moreover, the method is simple and convenient to realize, convenient to popularize and wide in application range.
The embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, where the one or more programs are executable by one or more processors and a receiver and are applied to a terminal, and when the program is executed by the processors, the method according to the first to sixth embodiments is implemented.
Specifically, the program instructions corresponding to an interval screenshot method in this embodiment may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the program instructions corresponding to an interval screenshot method in the storage medium are read or executed by an electronic device, the method includes the following steps:
receiving an interval screenshot instruction in a current display interface corresponding to a current application, and selecting a screenshot target object from the current display interface according to a preset division rule;
inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space;
switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted;
and responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image.
In an embodiment of the present invention, further, when a screenshot target object is selected from a current display interface according to a preset partition rule, the one or more programs are executed by the one or more processors and the receiver, and the following steps are specifically implemented:
receiving a point touch instruction in a current display interface, and detecting a touch point corresponding to the point touch instruction;
intercepting a first target range by taking the touch point as a first circle center and a first preset length as a first radius;
a screenshot target object is selected from a first target range.
In an embodiment of the present invention, further, when a screenshot target object is selected from a current display interface according to a preset partition rule, the one or more programs are executed by the one or more processors and the receiver, and the following steps are further specifically implemented:
receiving a sliding instruction in a current display interface, and detecting a touch line corresponding to the sliding instruction;
selecting interval points on the touch line according to a preset interval;
intercepting a second target range by taking the interval point as a second circle center and a second preset length as a second radius;
and selecting the screenshot target object from the second target range.
In the embodiment of the present invention, further, when the terminal extracts the information to be intercepted corresponding to the screenshot target object from the storage space, the one or more programs are executed by the one or more processors, and the following steps are specifically implemented:
inquiring information to be intercepted corresponding to the screenshot target object in the storage space;
and combining the screenshot target object and the information to be intercepted.
In the embodiment of the present invention, further, when the terminal extracts the information to be intercepted corresponding to the screenshot target object from the storage space, the one or more programs are executed by the one or more processors, and the following steps are further specifically implemented:
dividing a region to be intercepted in a storage space by taking a screenshot target object as a reference according to a preset intercepting unit area;
and extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
In the embodiment of the present invention, further, after the terminal responds to the interval screenshot instruction, and performs screenshot processing on an interface to be intercepted to obtain an interval screenshot image, the one or more programs may be further executed by the one or more processors to implement the following steps:
extracting information to be processed in an interval screenshot image;
and storing the information to be processed.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An interval screenshot method, the method comprising:
receiving an interval screenshot instruction in a current display interface corresponding to a current application, and selecting a screenshot target object from the current display interface according to a preset division rule;
inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; the information to be intercepted is character information or picture information corresponding to the screenshot target object;
switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted;
responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image;
the extracting of the information to be intercepted corresponding to the screenshot target object from the storage space further comprises: dividing a region to be intercepted in the storage space by taking the screenshot target object as a reference according to a preset interception unit area; and extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
2. The method according to claim 1, wherein the selecting a screenshot target object from the current display interface according to a preset partition rule comprises:
receiving a point touch instruction in the current display interface, and detecting a touch point corresponding to the point touch instruction;
intercepting a first target range by taking the touch point as a first circle center and a first preset length as a first radius;
selecting the screenshot target object from the first target range.
3. The method of claim 1, wherein selecting a screenshot target object from the current display interface according to a preset partitioning rule further comprises:
receiving a sliding instruction in the current display interface, and detecting a touch line corresponding to the sliding instruction;
selecting interval points on the touch line according to a preset interval;
intercepting a second target range by taking the interval point as a second circle center and a second preset length as a second radius;
selecting the screenshot target object from the second target range.
4. The method according to claim 1, wherein the extracting information to be intercepted corresponding to the screenshot target object from the storage space comprises:
inquiring the information to be intercepted corresponding to the screenshot target object in the storage space;
and combining the screenshot target object and the information to be intercepted.
5. The method according to claim 1, wherein, in response to the interval screenshot instruction, screenshot processing is performed on the interface to be intercepted, and after an interval screenshot image is obtained, the method further comprises:
extracting information to be processed in the interval screenshot image;
and saving the information to be processed.
6. A terminal, characterized in that the terminal comprises: a processor, a memory, a receiver, and a communication bus; the communication bus is used for realizing connection communication among the processor, the memory and the receiver; the processor and the receiver are configured to execute an interval screenshot program stored in the memory to implement the steps of:
the receiver is used for receiving an interval screenshot instruction in a current display interface corresponding to a current application;
the processor is used for selecting a screenshot target object from the current display interface according to a preset division rule; inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; the information to be intercepted is character information or picture information corresponding to the screenshot target object; switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted; responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image;
the processor is further specifically configured to divide an area to be intercepted in the storage space based on the screenshot target object according to a preset interception unit area; and extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
7. The terminal of claim 6,
the receiver is further used for receiving a point touch instruction in the current display interface;
the processor is specifically configured to detect a touch point corresponding to the point-touch instruction; taking the touch point as a first circle center and a first preset length as a first radius, and intercepting a first target range; and selecting the screenshot target object from the first target range;
the receiver is further used for receiving a sliding instruction in the current display interface;
the processor is further specifically configured to detect a touch line corresponding to the sliding instruction; selecting interval points on the touch line according to a preset interval; taking the interval point as a second circle center, taking a second preset length as a second radius, and intercepting a second target range; and selecting the screenshot target object from the second target range;
the processor is further specifically configured to query the information to be intercepted in the storage space, where the information to be intercepted corresponds to the screenshot target object; and combining the screenshot target object and the information to be intercepted.
8. The terminal of claim 6,
the processor is further configured to respond to the interval screenshot instruction, perform screenshot processing on the interface to be intercepted, obtain an interval screenshot image, and then extract information to be processed in the interval screenshot image; and saving the information to be processed.
9. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors and a receiver to perform the steps of:
receiving an interval screenshot instruction in a current display interface corresponding to a current application, and selecting a screenshot target object from the current display interface according to a preset division rule;
inquiring a storage space corresponding to the current application, and extracting information to be intercepted corresponding to the screenshot target object from the storage space; the information to be intercepted is character information or picture information corresponding to the screenshot target object;
switching the current display interface into an interface to be intercepted, and displaying the screenshot target object and the information to be intercepted in the interface to be intercepted;
responding to the interval screenshot command, and performing screenshot processing on the interface to be intercepted to obtain an interval screenshot image;
the extracting of the information to be intercepted corresponding to the screenshot target object from the storage space further comprises: dividing a region to be intercepted in the storage space by taking the screenshot target object as a reference according to a preset interception unit area; and extracting the information to be intercepted in the area to be intercepted, and splicing the information to be intercepted.
CN201710526869.3A 2017-06-30 2017-06-30 Interval screenshot method and terminal Active CN107346200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710526869.3A CN107346200B (en) 2017-06-30 2017-06-30 Interval screenshot method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710526869.3A CN107346200B (en) 2017-06-30 2017-06-30 Interval screenshot method and terminal

Publications (2)

Publication Number Publication Date
CN107346200A CN107346200A (en) 2017-11-14
CN107346200B true CN107346200B (en) 2021-02-05

Family

ID=60257328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710526869.3A Active CN107346200B (en) 2017-06-30 2017-06-30 Interval screenshot method and terminal

Country Status (1)

Country Link
CN (1) CN107346200B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920239B (en) * 2018-06-29 2021-01-08 维沃移动通信有限公司 Long screen capture method and mobile terminal
CN109036523B (en) * 2018-09-04 2022-08-09 珠海横琴圣澳云智科技有限公司 Method, device, equipment and storage medium for inquiring case ID diagnosis information
CN110456956A (en) * 2019-08-05 2019-11-15 腾讯科技(深圳)有限公司 Screenshot method, device, computer equipment and storage medium
CN111443968A (en) * 2020-03-23 2020-07-24 维沃移动通信有限公司 Screenshot method and electronic equipment
CN112684963A (en) * 2020-12-24 2021-04-20 维沃移动通信(杭州)有限公司 Screenshot method and device and electronic equipment
CN112698894A (en) * 2020-12-24 2021-04-23 维沃移动通信(杭州)有限公司 Screen capturing method and device and electronic equipment
CN113805993B (en) * 2021-09-03 2023-06-06 四川新网银行股份有限公司 Method for rapidly and continuously capturing images

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN103491446A (en) * 2013-08-15 2014-01-01 华为终端有限公司 Method for grabbing picture, set top box and television equipment
CN104899832A (en) * 2015-06-23 2015-09-09 上海卓易科技股份有限公司 Splicing screenshot method of mobile terminal and splicing screenshot device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297315B (en) * 2012-02-27 2018-01-30 腾讯科技(深圳)有限公司 Information processing method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN103491446A (en) * 2013-08-15 2014-01-01 华为终端有限公司 Method for grabbing picture, set top box and television equipment
CN104899832A (en) * 2015-06-23 2015-09-09 上海卓易科技股份有限公司 Splicing screenshot method of mobile terminal and splicing screenshot device

Also Published As

Publication number Publication date
CN107346200A (en) 2017-11-14

Similar Documents

Publication Publication Date Title
CN107247746B (en) Data sharing method and terminal
CN107346200B (en) Interval screenshot method and terminal
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN107222613B (en) Display method and terminal
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN108280136B (en) Multimedia object preview method, equipment and computer readable storage medium
CN107547741B (en) Information processing method and device and computer readable storage medium
CN109697008B (en) Content sharing method, terminal and computer readable storage medium
CN107741802B (en) Application starting method, terminal and computer readable storage medium
CN109151216B (en) Application starting method, mobile terminal, server and computer readable storage medium
CN107656678B (en) Long screenshot realization method, terminal and computer readable storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN112188058A (en) Video shooting method, mobile terminal and computer storage medium
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN108063863B (en) Information browsing method, terminal, server and computer readable storage medium
CN108153477B (en) Multi-touch operation method, mobile terminal and computer-readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN109495643B (en) Object multi-chat frame setting method and terminal
CN108900696B (en) Data processing method, terminal and computer readable storage medium
CN107844353B (en) Display method, terminal and computer readable storage medium
CN107766544B (en) Information management method, terminal and computer readable storage medium
CN107562304B (en) Control method, mobile terminal and computer readable storage medium
CN107404568B (en) Control switch management method and mobile terminal
CN115914719A (en) Screen projection display method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant