CN109388304B - Screen capturing method and terminal equipment - Google Patents

Screen capturing method and terminal equipment Download PDF

Info

Publication number
CN109388304B
CN109388304B CN201811140905.3A CN201811140905A CN109388304B CN 109388304 B CN109388304 B CN 109388304B CN 201811140905 A CN201811140905 A CN 201811140905A CN 109388304 B CN109388304 B CN 109388304B
Authority
CN
China
Prior art keywords
screen
display
user
display window
finger sliding
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
CN201811140905.3A
Other languages
Chinese (zh)
Other versions
CN109388304A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811140905.3A priority Critical patent/CN109388304B/en
Publication of CN109388304A publication Critical patent/CN109388304A/en
Application granted granted Critical
Publication of CN109388304B publication Critical patent/CN109388304B/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/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
    • 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/0485Scrolling or panning

Abstract

The invention relates to the technical field of communication, and discloses a screen capturing method and terminal equipment, which aim to solve the problem that the screen capturing effect is poor because the terminal equipment can only capture the screen of the display content of all screens. The method comprises the following steps: receiving a first operation of a user; under the condition that the screen display state of the terminal equipment is a split screen display state, the content in a display window operated by a user is captured; if the first operation is a multi-finger sliding operation on the display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received. Therefore, when the terminal equipment displays the content in the plurality of display windows at the same time, the user can capture the screen of the content in any display window, and the screen capture effect can be improved.

Description

Screen capturing method and terminal equipment
Technical Field
The invention relates to the technical field of communication, in particular to a screen capturing method and terminal equipment.
Background
With the rapid development of terminal devices, the terminal devices are becoming an indispensable part of people's lives. When people use terminal equipment to browse a webpage, if interested contents are viewed, a user can quickly store the interested contents in a picture form, so that a screen capture technology is developed.
In the prior art, screen capturing is usually performed for a single screen window of a screen, and for a terminal device with a folded screen, if the terminal device receives a screen capturing operation of a user when displaying content on a plurality of display screens, the terminal device can only capture the screen of the display content of all the screens, and the screen capturing effect is poor.
Disclosure of Invention
The embodiment of the invention provides a screen capturing method and terminal equipment, and aims to solve the problem that the screen capturing effect is poor because the terminal equipment can only capture the screen of the display content of all screens.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a screen capture method, including:
receiving a first operation of a user;
under the condition that the screen display state of the terminal equipment is a split screen display state, the content in a display window operated by a user is captured;
if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the receiving module is used for receiving a first operation of a user;
the screen capture module is used for capturing the screen of the content in the display window operated by the user under the condition that the screen display state of the terminal equipment is the split screen display state;
if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received.
In a third aspect, an embodiment of the present invention further provides a terminal device, including: the screen capture device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the screen capture method.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the screen capturing method described above.
In the embodiment of the invention, a first operation of a user is received; under the condition that the screen display state of the terminal equipment is a split screen display state, the content in a display window operated by a user is captured; if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received. Therefore, when the terminal equipment displays the content in the plurality of display windows at the same time, the user can capture the screen of the content in any display window, and the screen capture effect can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flowchart of a screen capture method provided by an embodiment of the invention;
fig. 1a is one of schematic interface diagrams of a terminal device according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a screen capture method according to an embodiment of the present invention;
fig. 2a is a second schematic interface diagram of a terminal device according to an embodiment of the present invention;
fig. 2b is a third schematic interface diagram of a terminal device according to the embodiment of the present invention;
fig. 2c is a fourth schematic interface diagram of the terminal device according to the embodiment of the present invention;
fig. 3 is one of the structural diagrams of the terminal device provided in the embodiment of the present invention;
fig. 4 is a second structural diagram of a terminal device according to the embodiment of the present invention;
fig. 5 is a structural diagram of a screen capture module in a terminal device according to an embodiment of the present invention;
fig. 6 is a third structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a screen capture method provided by an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, receiving a first operation of a user.
Wherein the first operation may be an operation for triggering screen capture. The first operation may specifically include a touch operation on a screen or a pressing operation of a physical key.
And 102, under the condition that the screen display state of the terminal equipment is the split screen display state, capturing the screen of the content in the display window operated by the user.
If the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received.
Before this step, the terminal device may detect that the display state of the screen is a split-screen display state or a full-screen display state. The split-screen display state is a state in which interface contents are respectively displayed in at least two display windows, specifically, two display windows may be used, and three or more display windows may also be used. For example, the terminal device shown in fig. 1a includes a foldable display screen a and a display screen B, and displays contents in the two display screens, respectively; for another example, the terminal device displays two split-screen interfaces in one display screen, and the two split-screen interfaces respectively display contents. Under the condition that the terminal equipment is in the split-screen display state, the terminal equipment can perform screen capture according to a display window corresponding to the operation of a user in a screen.
If the first operation is a multi-finger sliding operation of the user on the display screen, the terminal device may acquire a display window where the first operation is located, and capture the content in the display window. Wherein, the multi-finger sliding operation can be a two-finger sliding operation, a three-finger sliding operation, and the like. In order to prevent misoperation, the terminal can trigger screen capture when the sliding distance of the multi-finger sliding operation is detected to be greater than the preset distance.
For example, as shown in fig. 1a, the terminal device includes a display screen a and a display screen B, and the terminal device displays in split screen mode, where the display screen a and the display screen B respectively display different contents. The user slides upwards on the display screen B of the terminal device, the terminal device detects that the sliding operation is a multi-finger sliding operation, and a display window where the multi-finger sliding operation is located is the display screen B, so that the terminal device captures the content in the display screen B.
If the first operation is the operation of the user on the physical key of the terminal device, the terminal device may acquire the display window where the second operation is located, and capture the content in the display window. Wherein, the operation of the physical key can be a pressing operation of a single or a combination of physical keys.
For example, as shown in fig. 1a, the terminal device includes a display screen a and a display screen B, and the terminal device displays in split screen mode, where the display screen a and the display screen B respectively display different contents. The user presses the power key and the volume key of the terminal equipment simultaneously, the terminal equipment detects the pressing operation of the combined physical key, the display window where the second operation is located is obtained as the display screen A, namely, before the terminal equipment receives the pressing operation of the combined physical key, the display window where the last operation of the display screen is received is the display screen A, and therefore the terminal captures the display screen A.
And if the display state of the terminal equipment is a full-screen display state, capturing the screen of the content in the whole display screen of the terminal equipment. The screen capture trigger operation may include the screen capture trigger operation under the screen splitting operation described above, for example, a multi-finger sliding operation or an operation on a physical key.
In the embodiment of the present invention, the screen capture method may be applied to a terminal device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The screen capture method of the embodiment of the invention receives a first operation of a user; under the condition that the screen display state of the terminal equipment is a split screen display state, the content in a display window operated by a user is captured; if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, wherein the second operation is the operation on the display screen received last time before the first operation is received. Therefore, when the terminal equipment displays the content in the plurality of display windows at the same time, the user can capture the screen of the content in any display window, and the screen capture effect can be improved.
Referring to fig. 2, the present embodiment is mainly different from the above-described embodiments in that, in a case where the multi-finger sliding operation passes through at least two display windows, the content in the display window through which the multi-finger sliding operation passes is subjected to screen capture.
Fig. 2 is a flowchart of a screen capture method provided in an embodiment of the present invention, as shown in fig. 2, including the following steps:
step 201, receiving a first operation of a user, wherein the first operation is a multi-finger sliding operation on a display screen.
The implementation manner of this step may refer to the description in step 101, and is not described herein again to avoid repetition.
Step 202, when the screen display state of the terminal device is a split screen display state and the multi-finger sliding operation passes through at least two display windows, capturing a screen of the content in the display window through which the multi-finger sliding operation passes.
The description of the split-screen display state and the multi-finger sliding operation may refer to the description in the above embodiments, and will not be described herein again. The multi-finger sliding operation passes through at least two display windows, and the sliding track of the multi-finger sliding operation can be understood to pass through at least two display windows.
For example, as shown in fig. 2a, the terminal device includes a display screen a and a display screen B, the user slides from the display screen a to the display screen B, the terminal device detects a multi-finger sliding operation that continues on the two display screens, and the content in the display screens a and B is captured. In order to prevent misoperation, screen capture may be triggered when it is detected that the sliding distances in both display screen a and display screen B are greater than a preset threshold.
If the terminal device includes three display screens, and the terminal device only detects the multi-finger sliding operation on two adjacent display screens, the content in the two display screens where the multi-finger sliding operation is detected can be subjected to screen capture.
Therefore, the user can control the terminal device to quickly capture the content in any display screen by controlling the operation position of the sliding operation, and the operation of the user is convenient.
Optionally, after the step of receiving the first operation of the user, the method further includes: and under the condition that the multi-finger sliding operation passes through at least two display windows and the sliding starting point and the sliding ending point of the multi-finger sliding operation are positioned in the same display window, canceling the response to the screen capturing operation.
In this embodiment, the sliding track of the multi-finger sliding operation passes through at least two display windows at the same time, and the sliding starting point and the sliding terminal are located in the same display window, so that the terminal device does not perform the screen capture operation. And if the terminal has sent the screen capturing instruction, canceling the response to the screen capturing operation.
For example, as shown in fig. 2B, the user slides from the display screen a to the display screen B, and if the user finds that the screen content needs to be adjusted in the sliding process, the user may slide from the display screen B to the display screen a in the reverse direction, and the terminal detects the sliding operation, and may cancel the screen capture, that is, the screen capture operation is not currently performed.
Therefore, when the user needs to cancel the screen capture in misoperation or other scenes, the screen capture can be stopped, and the operation of the user is convenient.
Optionally, the first operation is an operation on a physical key of the terminal device; the step of capturing the screen of the content in the display window operated by the user comprises the following steps:
detecting an operation duration of the first operation;
under the condition that the operation duration is longer than the preset duration, displaying a floating window of a display window where the second operation is located, and controlling display contents to be sequentially displayed in the floating window in a rolling manner;
and under the condition that the end of the first operation is detected, performing screen capture on the content displayed in the floating window from the time of displaying the floating window to the time of ending the first operation.
In this embodiment, the terminal device may detect an operation duration of the physical key of the terminal device by the user, that is, a pressing duration of the physical key by the terminal device, and the terminal device acquires the display window where the second operation is located when the pressing duration is longer than a preset duration. And the display window where the second operation is located is the display window corresponding to the operation of the display screen which is received for the last time before the first operation. For example, after the user performs a touch operation on the display screen a, the user operates the physical key to capture a screen, and then the display screen a is a display window where the second operation is located.
The terminal device displays the floating window and controls the display content to move in the floating window. For example, as shown in fig. 2c, the terminal device displays the display screen a as a floating window to prompt the user that a screen capture of the content in the display screen is about to be performed. The content in the display screen A automatically moves upwards or downwards, and the user can browse the content in the floating window so as to determine the content needing to be shot.
When the user releases the physical key, namely the physical key operation is finished, the content in the floating window stops moving, and the terminal device intercepts the content currently displayed in the floating window, namely the content displayed in the floating window from the time of displaying the floating window to the time of finishing the first operation.
When the first operation is a multi-finger sliding operation on the screen, the screen capture can be performed in the same manner as described above. For example, when the user performs a three-finger sliding operation on the display screen a, the terminal device may obtain a duration of the sliding operation at the sliding end, and when the duration is greater than a preset duration, the terminal device displays a floating window of the display screen a and controls content in the floating window to move and display. And when the finger of the user leaves the screen, namely the sliding operation is finished, the content currently displayed in the floating window is subjected to screen capture.
Therefore, the user captures the display contents on the non-identical interface, the operation times of the user are reduced, and the user operation is convenient and fast. For example, when a user views webpage contents, the webpage interface contents in a plurality of continuous interfaces need to be captured, and the screen capturing can be performed in the above manner, so that the operation of the user is convenient and fast, the screen capturing contents are continuous, and the screen capturing effect is good.
Optionally, the first operation is a multi-finger sliding operation on the display screen, wherein in an operation process of the multi-finger sliding operation, content in a display window where the multi-finger sliding operation is located is kept in a static state.
In the prior art, when a user performs a multi-finger sliding operation, the screen content can be controlled to move along with the sliding operation. In this embodiment, during the multi-finger sliding operation, the content in the display window through which the multi-finger sliding operation passes remains static, that is, does not move along with the sliding of the multi-finger sliding operation, which is convenient for the user to browse the content in the display window and for the user to accurately capture the content in the screen.
According to the screen capturing method provided by the embodiment of the invention, the screen capturing is carried out on the content in the display window through which the multi-finger sliding operation passes, a user can rapidly capture the screen of the content in the display window needing to be captured, the operation of the user is convenient and fast, and the screen capturing mode is flexible.
Referring to fig. 3, fig. 3 is a structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 3, the terminal device 300 includes: a receiving module 301 and a screen capture module 302.
A receiving module 301, configured to receive a first operation of a user;
the screen capture module 302 is configured to capture a screen of content in a display window operated by a user when a screen display state of the terminal device is a split-screen display state;
if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received.
Optionally, the first operation is a multi-finger sliding operation on a display screen, and the screen capture module 302 is specifically configured to capture a screen of content in a display window through which the multi-finger sliding operation passes when the multi-finger sliding operation passes through at least two display windows.
Optionally, as shown in fig. 4, the terminal device further includes:
a canceling module 303, configured to cancel a response to the screen capturing operation when the multi-finger sliding operation passes through at least two display windows, and a sliding start point and a sliding end point of the multi-finger sliding operation are located in the same display window.
Optionally, as shown in fig. 5, the first operation is an operation on a physical key of the terminal device; the screen capture module 302 comprises:
a detection submodule 3021 configured to detect an operation duration of the first operation;
the display submodule 3022 is configured to, when the operation duration is longer than a preset duration, display a floating window of a display window where the second operation is located, and control display contents to be sequentially displayed in the floating window in a rolling manner;
a screen capture sub-module 3023, configured to capture, when the end of the first operation is detected, a screen of content displayed in the floating window from a time when the floating window is displayed to a time when the first operation is ended.
Optionally, the first operation is a multi-finger sliding operation on the display screen, wherein in an operation process of the multi-finger sliding operation, content in a display window where the multi-finger sliding operation is located is kept in a static state.
The terminal device 300 can implement each process implemented by the terminal device in the above method embodiments, and is not described here again to avoid repetition.
According to the terminal device 300 of the embodiment of the invention, when the terminal device displays the content in the plurality of display windows simultaneously, a user can capture the screen of the content in any display window, so that the screen capture effect can be improved.
Fig. 6 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal 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, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 6 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to receive a first operation of a user;
under the condition that the screen display state of the terminal equipment is a split screen display state, the content in a display window operated by a user is captured;
if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received.
Therefore, when the terminal equipment displays the content in the plurality of display windows at the same time, the user can capture the screen of the content in any display window, and the screen capture effect can be improved.
Optionally, the first operation is a multi-finger sliding operation on the display screen, and the processor 610 performs the step of capturing the screen of the content in the display window operated by the user, including:
and under the condition that the multi-finger sliding operation passes through at least two display windows, the content in the display window through which the multi-finger sliding operation passes is subjected to screen capture.
Optionally, after the step of receiving the first operation of the user is executed by the processor 610, the method further includes:
and under the condition that the multi-finger sliding operation passes through at least two display windows and the sliding starting point and the sliding ending point of the multi-finger sliding operation are positioned in the same display window, canceling the response to the screen capturing operation.
Optionally, the first operation is an operation on a physical key of the terminal device; the processor 610 performs the screen capturing of the content in the display window operated by the user, including:
detecting an operation duration of the first operation;
under the condition that the operation duration is longer than the preset duration, displaying a floating window of a display window where the second operation is located, and controlling display contents to be sequentially displayed in the floating window in a rolling manner;
and under the condition that the end of the first operation is detected, performing screen capture on the content displayed in the floating window from the time of displaying the floating window to the time of ending the first operation.
Optionally, the first operation is a multi-finger sliding operation on the display screen, wherein in an operation process of the multi-finger sliding operation, content in a display window where the multi-finger sliding operation is located is kept in a static state.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 can also provide audio output related to a specific function performed by the terminal apparatus 600 (e.g., a call signal reception sound, a 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 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted 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 may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The terminal device 600 further comprises 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 that can adjust the luminance of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the terminal apparatus 600 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), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
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 by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the terminal device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the terminal apparatus 600. 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 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 600 or may be used to transmit data between the terminal apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage 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 609 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 610 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby performing overall monitoring of the terminal device. Processor 610 may include one or more processing units; preferably, the processor 610 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 610.
The terminal device 600 may further include a power supply 611 (such as a battery) for supplying power to various components, and preferably, the power supply 611 may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process in the foregoing screenshot method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the screen capturing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 device (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 (12)

1. A screen capture method, comprising:
receiving a first operation of a user;
under the condition that the screen display state of the terminal equipment is a split screen display state, the content in a display window operated by a user is captured; the split-screen display state is a state in which interface contents are respectively displayed in at least two display windows;
if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received.
2. The method according to claim 1, wherein the first operation is a multi-finger sliding operation on a display screen, and the step of capturing the screen of the content in the display window operated by the user comprises:
and under the condition that the multi-finger sliding operation passes through at least two display windows, the content in the display window through which the multi-finger sliding operation passes is subjected to screen capture.
3. The method of claim 1, wherein after the step of receiving the first operation by the user, the method further comprises:
and under the condition that the multi-finger sliding operation passes through at least two display windows and the sliding starting point and the sliding ending point of the multi-finger sliding operation are positioned in the same display window, canceling the response to the screen capturing operation.
4. The method according to claim 1, wherein the first operation is an operation of a physical key of the terminal device; the screen capture of the content in the display window operated by the user comprises:
detecting an operation duration of the first operation;
under the condition that the operation duration is longer than the preset duration, displaying a floating window of a display window where the second operation is located, and controlling display contents to be sequentially displayed in the floating window in a rolling manner;
and under the condition that the end of the first operation is detected, performing screen capture on the content displayed in the floating window from the time of displaying the floating window to the time of ending the first operation.
5. The method according to claim 1, wherein the first operation is a multi-finger sliding operation on a display screen, and wherein during the operation of the multi-finger sliding operation, the content in the display window in which the multi-finger sliding operation is located is kept in a static state.
6. A terminal device, comprising:
the receiving module is used for receiving a first operation of a user;
the screen capture module is used for capturing the screen of the content in the display window operated by the user under the condition that the screen display state of the terminal equipment is the split screen display state; the split-screen display state is a state in which interface contents are respectively displayed in at least two display windows;
if the first operation is a multi-finger sliding operation on a display screen, the display window operated by the user is the display window where the first operation is located; and if the first operation is the operation on the physical keys of the terminal equipment, the display window operated by the user is the display window where the second operation is located, and the second operation is the operation on the display screen received last time before the first operation is received.
7. The terminal device according to claim 6, wherein the first operation is a multi-finger sliding operation on a display screen, and the screen capture module is specifically configured to, in a case where the multi-finger sliding operation passes through at least two display windows, capture a screen of content in the display window through which the multi-finger sliding operation passes.
8. The terminal device according to claim 6, wherein the terminal device further comprises:
and the cancellation module is used for canceling the response to the screen capturing operation under the condition that the multi-finger sliding operation passes through at least two display windows, and the sliding starting point and the sliding ending point of the multi-finger sliding operation are positioned in the same display window.
9. The terminal device according to claim 6, wherein the first operation is an operation of a physical key of the terminal device; the screen capture module comprises:
the detection submodule is used for detecting the operation duration of the first operation;
the display submodule is used for displaying the floating window of the display window where the second operation is positioned and controlling the display content to be sequentially displayed in the floating window in a rolling manner under the condition that the operation duration is longer than the preset duration;
and the screen capture submodule is used for capturing the screen of the content displayed in the floating window from the time of displaying the floating window to the time of finishing the first operation under the condition of detecting that the first operation is finished.
10. The terminal device according to claim 6, wherein the first operation is a multi-finger sliding operation on a display screen, and wherein during the operation of the multi-finger sliding operation, content in a display window in which the multi-finger sliding operation is performed remains in a static state.
11. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps in the screen capturing method of any of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the screen capturing method according to any one of claims 1 to 5.
CN201811140905.3A 2018-09-28 2018-09-28 Screen capturing method and terminal equipment Active CN109388304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811140905.3A CN109388304B (en) 2018-09-28 2018-09-28 Screen capturing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811140905.3A CN109388304B (en) 2018-09-28 2018-09-28 Screen capturing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109388304A CN109388304A (en) 2019-02-26
CN109388304B true CN109388304B (en) 2021-05-11

Family

ID=65418171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811140905.3A Active CN109388304B (en) 2018-09-28 2018-09-28 Screen capturing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109388304B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032418A (en) * 2019-04-16 2019-07-19 珠海格力电器股份有限公司 A kind of screenshot method, system, terminal device and computer readable storage medium
CN110096203B (en) * 2019-04-29 2021-06-25 维沃移动通信有限公司 Screenshot method and mobile terminal
CN110389702A (en) * 2019-07-19 2019-10-29 珠海格力电器股份有限公司 A kind of screenshot method, device and storage medium
CN110658971B (en) * 2019-08-26 2021-04-23 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN110737386A (en) 2019-09-06 2020-01-31 华为技术有限公司 screen capturing method and related equipment
CN110908750B (en) * 2019-10-28 2021-10-26 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN110780796B (en) * 2019-10-31 2021-06-18 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN111338543B (en) * 2020-02-24 2021-12-24 联想(北京)有限公司 Screen capturing method and electronic equipment
CN113448658A (en) * 2020-03-24 2021-09-28 华为技术有限公司 Screen capture processing method, graphical user interface and terminal
CN115079874A (en) * 2021-03-10 2022-09-20 Oppo广东移动通信有限公司 Screenshot method and device, electronic equipment and storage medium
CN114047870A (en) * 2021-11-15 2022-02-15 珠海读书郎软件科技有限公司 Screen capturing method, storage medium and equipment of double-screen watch

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473012A (en) * 2013-09-09 2013-12-25 华为技术有限公司 Screen capturing method, device and terminal equipment
CN105933544A (en) * 2016-06-29 2016-09-07 努比亚技术有限公司 Screen capture method and mobile terminal
CN107291355A (en) * 2017-06-29 2017-10-24 珠海市魅族科技有限公司 Screenshotss control method and device, terminal device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808116A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Screen capture method, screen capture device and mobile terminal
CN104850350A (en) * 2015-05-25 2015-08-19 上海卓易科技股份有限公司 Screenshot method and system for touchscreen device
CN105094617A (en) * 2015-08-24 2015-11-25 北京锤子数码科技有限公司 Screen capturing method and device
CN105760103A (en) * 2016-02-22 2016-07-13 深圳市金立通信设备有限公司 Screen capturing method and terminal
CN107635110A (en) * 2017-09-30 2018-01-26 维沃移动通信有限公司 A kind of video interception method and terminal
CN107977144B (en) * 2017-12-15 2020-05-12 维沃移动通信有限公司 Screen capture processing method and mobile terminal
CN108052263B (en) * 2017-12-28 2020-07-03 广东小天才科技有限公司 Screen capturing method based on terminal equipment and terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473012A (en) * 2013-09-09 2013-12-25 华为技术有限公司 Screen capturing method, device and terminal equipment
CN105933544A (en) * 2016-06-29 2016-09-07 努比亚技术有限公司 Screen capture method and mobile terminal
CN107291355A (en) * 2017-06-29 2017-10-24 珠海市魅族科技有限公司 Screenshotss control method and device, terminal device and storage medium

Also Published As

Publication number Publication date
CN109388304A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN109388304B (en) Screen capturing method and terminal equipment
CN109495711B (en) Video call processing method, sending terminal, receiving terminal and electronic equipment
CN108182019B (en) Suspension control display processing method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN109714485B (en) Display method and mobile terminal
CN110096326B (en) Screen capturing method, terminal equipment and computer readable storage medium
CN109525874B (en) Screen capturing method and terminal equipment
CN109240577B (en) Screen capturing method and terminal
CN109032445B (en) Screen display control method and terminal equipment
CN110109593B (en) Screen capturing method and terminal equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN108958593B (en) Method for determining communication object and mobile terminal
CN108898555B (en) Image processing method and terminal equipment
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109491634B (en) Screen display control method and terminal equipment
CN109523253B (en) Payment method and device
CN108108113B (en) Webpage switching method and device
CN111143011B (en) Display method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
CN111367483A (en) Interaction control method and electronic equipment
CN109669656B (en) Information display method and terminal equipment
CN110769303A (en) Playing control method and device and mobile terminal
CN111050214A (en) Video playing method and electronic equipment
CN111061446A (en) Display method and electronic equipment

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