CN113535014A - Screen capturing method, device, setting and medium - Google Patents

Screen capturing method, device, setting and medium Download PDF

Info

Publication number
CN113535014A
CN113535014A CN202010285006.3A CN202010285006A CN113535014A CN 113535014 A CN113535014 A CN 113535014A CN 202010285006 A CN202010285006 A CN 202010285006A CN 113535014 A CN113535014 A CN 113535014A
Authority
CN
China
Prior art keywords
acceleration
preset
terminal equipment
screen
average
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.)
Granted
Application number
CN202010285006.3A
Other languages
Chinese (zh)
Other versions
CN113535014B (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.)
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Shanghai ICT Co Ltd
CM Intelligent Mobility Network 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 China Mobile Communications Group Co Ltd, China Mobile Shanghai ICT Co Ltd, CM Intelligent Mobility Network Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010285006.3A priority Critical patent/CN113535014B/en
Publication of CN113535014A publication Critical patent/CN113535014A/en
Application granted granted Critical
Publication of CN113535014B publication Critical patent/CN113535014B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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 a screen capturing method, a screen capturing device and a screen capturing medium. The method comprises the following steps: acquiring the acceleration of the terminal equipment in at least one direction under the condition that the terminal equipment is monitored to shake; calculating a first average acceleration according to the acceleration in at least one direction; and intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration. The screen capture method, the screen capture device, the screen capture setting and the screen capture medium can improve the screen capture efficiency.

Description

Screen capturing method, device, setting and medium
Technical Field
The invention relates to the technical field of terminal equipment, in particular to a screen capturing method, a screen capturing device and a screen capturing medium.
Background
The screen capture is a short for capturing the content displayed on the screen of the terminal device. Through screen capture, the user can store the content in which the user is interested or share the content to other users.
At present, the main screen capture modes are as follows: the user finds a "screen capture function button" (for example, slides down a notification bar of the terminal device) through various operations, and clicks the "screen capture function button" to complete capturing of the content displayed on the screen of the terminal device.
However, by the screen capturing mode, a screen capturing function button needs to be found, the operation is complicated, and the screen capturing efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a screen capture method, a screen capture device, a screen capture setting and a screen capture medium, which can improve screen capture efficiency.
In a first aspect, an embodiment of the present invention provides a screen capture method, including:
acquiring the acceleration of the terminal equipment in at least one direction under the condition that the terminal equipment is monitored to shake;
calculating a first average acceleration according to the acceleration in at least one direction;
and intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration.
In some possible implementations of the embodiment of the present invention, before the monitoring of the shaking of the terminal device, the method for capturing a screen provided in the embodiment of the present invention further includes:
setting a preset acceleration threshold value;
intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration, and comprising the following steps:
and intercepting the content displayed on the screen of the terminal equipment under the condition that the condition of meeting the screen intercepting condition is determined according to the first average acceleration and the preset acceleration threshold.
In some possible implementations of the embodiments of the invention, setting the preset acceleration threshold includes:
displaying prompt information, wherein the prompt information is used for prompting a user to shake the terminal equipment;
acquiring the acceleration of the terminal equipment in at least one direction;
calculating a second average acceleration according to the acceleration in at least one direction;
and setting the second average acceleration as a preset acceleration threshold value.
In some possible implementations of the embodiment of the present invention, the screen capture method provided in the embodiment of the present invention further includes:
after content displayed on a screen of the terminal equipment is intercepted, a preset acceleration threshold value is adjusted according to the acceleration of the terminal equipment in at least one direction in a previous preset time period in the shaking process.
In some possible implementations of the embodiment of the present invention, adjusting the preset acceleration threshold according to an acceleration of the terminal device in at least one direction in a previous preset time period in a shaking process includes:
calculating the average value of the acceleration of the terminal equipment in at least one direction in a previous preset time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is within a preset range, adjusting the preset acceleration threshold value to be the average value.
In some possible implementations of the embodiment of the present invention, the screen capture method provided in the embodiment of the present invention further includes:
acquiring the average value of the acceleration of the preset number of the terminal equipment in at least one direction within a preset range and a preset time period before the terminal equipment shakes;
and adjusting the preset acceleration threshold value to be the average value of the average values of the preset number.
In a second aspect, an embodiment of the present invention provides a screen capture apparatus, including:
the acquisition module is used for acquiring the acceleration of the terminal equipment in at least one direction under the condition that the terminal equipment is monitored to shake;
the calculation module is used for calculating a first average acceleration according to the acceleration in at least one direction;
and the intercepting module is used for intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration.
In some possible implementations of the embodiment of the present invention, the screen capture device provided in the embodiment of the present invention further includes:
the setting module is used for setting a preset acceleration threshold;
the intercepting module is specifically configured to:
and intercepting the content displayed on the screen of the terminal equipment under the condition that the condition of meeting the screen intercepting condition is determined according to the first average acceleration and the preset acceleration threshold.
In some possible implementations of the embodiments of the present invention, the setting module is specifically configured to:
displaying prompt information, wherein the prompt information is used for prompting a user to shake the terminal equipment;
acquiring the acceleration of the terminal equipment in at least one direction;
calculating a second average acceleration according to the acceleration in at least one direction;
and setting the second average acceleration as a preset acceleration threshold value.
In some possible implementations of the embodiment of the present invention, the screen capture device provided in the embodiment of the present invention further includes:
and the adjusting module is used for adjusting the preset acceleration threshold value according to the acceleration of the terminal equipment in at least one direction in the previous preset time period in the shaking process after intercepting the content displayed on the screen of the terminal equipment.
In some possible implementations of the embodiments of the present invention, the adjusting module is specifically configured to:
calculating the average value of the acceleration of the terminal equipment in at least one direction in a previous preset time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is within a preset range, adjusting the preset acceleration threshold value to be the average value.
In some possible implementations of the embodiments of the present invention, the adjusting module is specifically configured to:
acquiring the average value of the acceleration of the preset number of the terminal equipment in at least one direction within a preset range and a preset time period before the terminal equipment shakes;
and adjusting the preset acceleration threshold value to be the average value of the average values of the preset number.
In a third aspect, an embodiment of the present invention provides a terminal device, including: the screen capture device comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the screen capture method in the first aspect of the embodiments of the present invention or any possible implementation manner of the first aspect is implemented.
In a fourth aspect, an embodiment of the present invention 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 steps of the screen capturing method in the first aspect or any possible implementation manner of the first aspect of the embodiment of the present invention are implemented.
According to the screen capture method, the screen capture equipment and the screen capture medium, screen capture can be achieved by shaking the terminal equipment, a user does not need to capture a screen through a screen capture function button, operation is simple, and screen capture efficiency can be improved. And, it is possible to set a preset acceleration threshold by shaking the terminal device. The set preset acceleration threshold is related to shaking operation of a user and is unrelated to the type and hardware characteristics of the terminal equipment, so that when shaking screen capturing is carried out based on the preset acceleration threshold, the screen capturing accuracy can be improved. Furthermore, the preset acceleration threshold value can be dynamically adjusted based on the acceleration of the terminal equipment in the shaking process, so that the accuracy of screen capture can be improved when the screen capture is carried out subsequently by shaking the terminal equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a screen capture method according to an embodiment of the present invention;
FIG. 2 is a schematic interface diagram illustrating a function of turning on a shaking screen shot according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface for prompting a user to set an acceleration threshold according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another screen capture method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a further screen capture method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a screen capture device according to an embodiment of the present invention;
fig. 7 is a schematic 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.
In order to solve the problem of the prior art, embodiments of the present invention provide a screen capture method, device, and medium. First, a screen capture method provided by an embodiment of the present invention is described in detail below.
The screen capture method provided by the embodiment of the invention is preferably used for terminal equipment. The terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palm computers, vehicle-mounted terminals, wearable devices, pedometers, and the like.
Fig. 1 is a schematic flowchart of a screen capture method according to an embodiment of the present invention. The screen capture method may include:
s101: and acquiring the acceleration of the terminal equipment in at least one direction under the condition that the terminal equipment is monitored to shake.
S102: a first average acceleration is calculated based on the acceleration in at least one direction.
S103: and intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration.
According to the screen capture method provided by the embodiment of the invention, the screen capture can be realized by shaking the terminal equipment, a user does not need to capture the screen through a screen capture function button, the operation is simple, and the screen capture efficiency can be improved. Compared with the terminal equipment which is operated by pressing two physical keys (such as a power key and a volume key, a power key and an HOME key) of the terminal equipment, the terminal equipment is convenient and simple without two-hand operation of a user.
The embodiment of the invention does not limit the shaking mode of the monitoring terminal equipment, and any available monitoring mode can be applied to the embodiment of the invention. For example, the acceleration detected by the accelerometer changes from zero to a non-zero value, which indicates that the terminal device shakes; for another example, the gyroscope detects that the rotation angular speed of the terminal device changes, and indicates that the terminal device shakes.
In some possible implementations of embodiments of the invention, the at least one direction includes six directions, which are a positive X-axis direction, a negative X-axis direction, a positive Y-axis direction, a negative Y-axis direction, a positive Z-axis direction, and a negative Z-axis direction.
In some possible implementations of the embodiments of the present invention, the right direction of the screen of the terminal device is a positive X-axis direction, the left direction of the screen of the terminal device is a negative X-axis direction, the upper direction of the screen of the terminal device is a positive Y-axis direction, the lower direction of the screen of the terminal device is a negative Y-axis direction, the upward direction perpendicular to the screen of the terminal device is a positive Z-axis direction, and the downward direction perpendicular to the screen of the terminal device is a negative Z-axis direction.
In some possible implementations of embodiments of the present invention, the sensor may be used to obtain an acceleration of the terminal device in at least one direction.
In some possible implementations of embodiments of the invention, the sensor may be an accelerometer. An accelerometer is an electronic device capable of measuring acceleration. The accelerometer may be built into the terminal device.
Generally, the terminal device is in a shaking state except a stationary state, for example, the terminal device is packed in a bag and held by a user, and the terminal device will shake along with the user's action. In order to avoid screen capture when the terminal device slightly shakes, the screen capture occupies a large amount of storage space. In some possible implementations of the embodiment of the present invention, the content displayed on the screen of the terminal device may be intercepted under the condition that the screen interception condition is determined to be satisfied according to the first average acceleration and the preset acceleration threshold.
The screen capture condition may be that a difference value between the first average acceleration and a preset acceleration threshold is within a preset acceleration range.
By the embodiment of the invention, the occupation of storage space can be reduced, and the screen capture error can be avoided.
In some possible implementations of embodiments of the present invention, a preset acceleration threshold may also be set.
In some possible implementations of the embodiment of the present invention, a prompt message may be displayed, where the prompt message is used to prompt a user to shake the terminal device; acquiring the acceleration of the terminal equipment in at least one direction; calculating a second average acceleration according to the acceleration in at least one direction; and setting the second average acceleration as a preset acceleration threshold value.
Specifically, after the user starts the shaking screen capture function, an interface for prompting the user to shake the terminal device is displayed, and after the user acquires information needing to shake the terminal device through the interface, the terminal device is shaken. Acquiring the acceleration of the terminal equipment in at least one direction; calculating a second average acceleration according to the acceleration in at least one direction; and setting the second average acceleration as a preset acceleration threshold value.
Fig. 2 shows an interface for starting the panning functions, and fig. 2 is a schematic view of an interface for starting the panning functions according to an embodiment of the present invention. Fig. 3 shows an interface for prompting a user to set an acceleration threshold, and fig. 3 is a schematic view of an interface for prompting a user to set an acceleration threshold according to an embodiment of the present invention.
According to the embodiment of the invention, the preset acceleration threshold value can be set by shaking the terminal equipment. The set preset acceleration threshold is related to shaking operation of a user and is unrelated to the type and hardware characteristics of the terminal equipment, so that when shaking screen capturing is carried out based on the preset acceleration threshold, the screen capturing accuracy can be improved.
In some possible implementations of the embodiments of the present invention, after the screen capture is completed, the preset acceleration threshold may be further optimally adjusted.
In some possible implementations of the embodiment of the present invention, the preset acceleration threshold may be adjusted according to an acceleration of the terminal device in at least one direction within a previous preset time period in the shaking process.
In some possible implementations of embodiments of the invention, the acceleration in at least one direction within a previous preset time period (e.g., 2 seconds) during the shaking process may be obtained. And calculating the average value of the acquired acceleration, and if the difference value of the average value and a preset acceleration threshold value is within a preset range, adjusting the preset acceleration threshold value to be the average value.
Fig. 4 is a flowchart illustrating another screen capture method according to an embodiment of the present invention. The embodiment of the invention shown in fig. 4 is based on the embodiment shown in fig. 1, and the following three steps are added:
s104: and calculating the average value of the acceleration in at least one direction in the previous preset time period in the shaking process.
S105: and judging whether the difference value of the average value and a preset acceleration threshold value is in a preset range, and if so, executing S106.
S106: and adjusting the preset acceleration threshold value to be the average value.
In some possible implementations of embodiments of the present invention, the preset range may be from-5% to + 5% of the preset acceleration threshold.
And if the difference value between the average value and the preset acceleration threshold value is + 3% of the preset acceleration threshold value, adjusting the preset acceleration threshold value to be the average value.
Assuming that the difference between the average value and the preset acceleration threshold is + 6% of the preset acceleration threshold, the preset acceleration threshold is not adjusted.
In some possible implementations of the embodiment of the present invention, the acceleration in at least one direction in the previous preset time period in the shaking process corresponding to multiple screen captures may also be obtained, and the average value of the accelerations in at least one direction in the previous preset time period in the shaking process corresponding to each screen capture is calculated. If the difference value between the average value of the acceleration in at least one direction in the previous preset time period in the shaking process corresponding to each screen capture and the preset acceleration threshold value is within the preset range, the average value of the acceleration in at least one direction in the previous preset time period in the shaking process corresponding to multiple screen captures can be subjected to average calculation again, and the preset acceleration threshold value is adjusted to be the result obtained by the average calculation.
Fig. 5 is a flowchart illustrating a further screen capture method according to an embodiment of the present invention. The embodiment of the invention shown in fig. 5 is based on the embodiment shown in fig. 1, and the following five steps are added:
s107: and calculating the average value of the acceleration in at least one direction in the previous preset time period in the shaking process.
S108: and judging whether the difference value of the average value and a preset acceleration threshold value is in a preset range, and if so, executing S109.
S109: the average value is recorded.
S110: an average value of a preset number of records is obtained.
S111: and adjusting the preset acceleration threshold value to be the average value of the acquired average values of the preset number.
According to the embodiment of the invention, the preset acceleration threshold value can be optimally adjusted based on the acceleration of the terminal equipment in the shaking process, and the preset acceleration threshold value can be dynamically adjusted, so that the accuracy of subsequent shaking screen capture can be improved, and the screen capture error can be avoided.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a screen capture device.
Fig. 6 is a schematic structural diagram of a screen capture device according to an embodiment of the present invention. The screen intercepting apparatus may include:
the obtaining module 601 is configured to obtain an acceleration of the terminal device in at least one direction when the terminal device is monitored to shake;
a calculating module 602, configured to calculate a first average acceleration according to an acceleration in at least one direction;
and the intercepting module 603 is configured to intercept content displayed on a screen of the terminal device according to the first average acceleration.
In some possible implementations of the embodiment of the present invention, the screen capture device provided in the embodiment of the present invention may further include:
the setting module is used for setting a preset acceleration threshold;
the intercept module 603 may specifically be configured to:
and intercepting the content displayed on the screen of the terminal equipment under the condition that the condition of meeting the screen intercepting condition is determined according to the first average acceleration and the preset acceleration threshold.
In some possible implementations of the embodiments of the present invention, the setting module may be specifically configured to:
displaying prompt information, wherein the prompt information is used for prompting a user to shake the terminal equipment;
acquiring the acceleration of the terminal equipment in at least one direction;
calculating a second average acceleration according to the acceleration in at least one direction;
and setting the second average acceleration as a preset acceleration threshold value.
In some possible implementations of the embodiment of the present invention, the screen capture device provided in the embodiment of the present invention may further include:
and the adjusting module is used for adjusting the preset acceleration threshold value according to the acceleration of the terminal equipment in at least one direction in the previous preset time period in the shaking process after intercepting the content displayed on the screen of the terminal equipment.
In some possible implementations of the embodiments of the present invention, the adjusting module may be specifically configured to:
calculating the average value of the acceleration of the terminal equipment in at least one direction in a previous preset time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is within a preset range, adjusting the preset acceleration threshold value to be the average value.
In some possible implementations of the embodiments of the present invention, the adjusting module may be specifically configured to:
acquiring the average value of the acceleration of the preset number of the terminal equipment in at least one direction within a preset range and a preset time period before the terminal equipment shakes;
and adjusting the preset acceleration threshold value to be the average value of the average values of the preset number.
For the embodiment of the screen capture device in the embodiment of the present invention, since it is basically similar to the embodiment of the screen capture method in the embodiment of the present invention, the description is relatively simple, and for relevant points, reference may be made to part of the description of the embodiment of the screen capture method in the embodiment of the present invention. The embodiments of the present invention are not described herein in detail.
According to the screen capture device provided by the embodiment of the invention, screen capture can be realized by shaking the terminal equipment, a user does not need to capture a screen through a screen capture function button, the operation is simple, and the screen capture efficiency can be improved.
Fig. 7 shows a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention. The terminal device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 7 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 terminal, a wearable device, a pedometer, and the like.
The processor 710 is configured to, when it is monitored that the terminal device shakes, obtain an acceleration of the terminal device in at least one direction; calculating a first average acceleration according to the acceleration in at least one direction; and intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration.
According to the embodiment of the invention, the screen capture can be realized by shaking the terminal equipment, a user does not need to capture the screen through a screen capture function button, the operation is simple, and the screen capture efficiency can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 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 701 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 702, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the terminal device 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture 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 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds 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 701 in case of a phone call mode.
The terminal device 700 further comprises at least one sensor 705, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the luminance of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 7061 and/or a backlight when the terminal device 700 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 705 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 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 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 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 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 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although in fig. 7, the touch panel 7071 and the display panel 7061 are implemented as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the terminal apparatus 700. 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 708 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 700 or may be used to transmit data between the terminal apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 709 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 710 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 709 and calling data stored in the memory 709, thereby performing overall monitoring of the terminal device. Processor 710 may include one or more processing units; preferably, the processor 710 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 processor 710.
The terminal device 700 may further include a power supply 711 (e.g., a battery) for supplying power to various components, and preferably, the power supply 711 may be logically connected to the processor 710 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 700 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 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the foregoing screen capture method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium has computer program instructions stored thereon; when executed by a processor, the computer program instructions implement the processes of the screen capture method embodiments provided by the embodiments of the present invention, and can achieve the same technical effects, and are not described herein again to avoid repetition. 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 (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. A method of screen capture, the method comprising:
under the condition that the terminal equipment is monitored to shake, acquiring the acceleration of the terminal equipment in at least one direction;
calculating a first average acceleration according to the acceleration in the at least one direction;
and intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration.
2. The method according to claim 1, wherein before monitoring the terminal device for shaking, the method further comprises:
setting a preset acceleration threshold value;
the intercepting the content displayed on the screen of the terminal device according to the first average acceleration comprises the following steps:
and intercepting the content displayed on the screen of the terminal equipment under the condition that a screen intercepting condition is met is determined according to the first average acceleration and the preset acceleration threshold.
3. The method of claim 2, wherein the setting a preset acceleration threshold comprises:
displaying prompt information, wherein the prompt information is used for prompting a user to shake the terminal equipment;
acquiring the acceleration of the terminal equipment in at least one direction;
calculating a second average acceleration according to the acceleration in the at least one direction;
and setting the second average acceleration as the preset acceleration threshold.
4. The method of claim 2, further comprising:
and after the content displayed on the screen of the terminal equipment is intercepted, adjusting the preset acceleration threshold value according to the acceleration of the terminal equipment in at least one direction in the previous preset time period in the shaking process.
5. The method according to claim 4, wherein the adjusting the preset acceleration threshold according to the acceleration of the terminal device in at least one direction within a previous preset time period during shaking comprises:
calculating the average value of the acceleration of the terminal equipment in at least one direction in a previous preset time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is within a preset range, adjusting the preset acceleration threshold value to be the average value.
6. The method according to claim 4, wherein the adjusting the preset acceleration threshold according to the acceleration of the terminal device in at least one direction within a previous preset time period during shaking comprises:
acquiring the average value of the acceleration of the terminal equipment in at least one direction within a preset time period before the terminal equipment shakes within a preset range of the difference value between a preset number of acceleration thresholds and the preset acceleration threshold;
and adjusting the preset acceleration threshold value to be the average value of the preset number of average values.
7. A screen capture apparatus, the apparatus comprising:
the device comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring the acceleration of the terminal equipment in at least one direction under the condition that the terminal equipment is monitored to shake;
the calculation module is used for calculating a first average acceleration according to the acceleration in at least one direction;
and the intercepting module is used for intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration.
8. A terminal device, characterized in that the terminal device comprises: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the screen shot method of any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the screen shot method of any one of claims 1 to 6.
CN202010285006.3A 2020-04-13 2020-04-13 Screen capturing method, device, setting and medium Active CN113535014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010285006.3A CN113535014B (en) 2020-04-13 2020-04-13 Screen capturing method, device, setting and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010285006.3A CN113535014B (en) 2020-04-13 2020-04-13 Screen capturing method, device, setting and medium

Publications (2)

Publication Number Publication Date
CN113535014A true CN113535014A (en) 2021-10-22
CN113535014B CN113535014B (en) 2024-02-02

Family

ID=78119923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010285006.3A Active CN113535014B (en) 2020-04-13 2020-04-13 Screen capturing method, device, setting and medium

Country Status (1)

Country Link
CN (1) CN113535014B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799383A (en) * 2012-07-18 2012-11-28 腾讯科技(深圳)有限公司 Screen sectional drawing method and screen sectional drawing device for mobile terminals
CN103034423A (en) * 2012-12-25 2013-04-10 珠海金山办公软件有限公司 Method for rotating screen display direction of equipment through shaking equipment
US20130282325A1 (en) * 2012-04-19 2013-10-24 Fujitsu Limited Operating movement detection device, operating movement detection method, and program
US20140270275A1 (en) * 2013-03-13 2014-09-18 Cisco Technology, Inc. Kinetic Event Detection in Microphones
CN105007376A (en) * 2015-07-21 2015-10-28 惠州Tcl移动通信有限公司 Antidinic processing method and system based on mobile terminal
CN105573630A (en) * 2015-12-14 2016-05-11 北京奇虎科技有限公司 Method and device for detecting shaking event of terminal device and terminal device
CN105718161A (en) * 2016-01-15 2016-06-29 努比亚技术有限公司 Method and device for terminal screen capturing
CN105847532A (en) * 2016-03-07 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method and device for replacing wallpaper by shaking mobile terminal
CN107329670A (en) * 2017-06-23 2017-11-07 上海展扬通信技术有限公司 A kind of screenshotss operating method, device and terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130282325A1 (en) * 2012-04-19 2013-10-24 Fujitsu Limited Operating movement detection device, operating movement detection method, and program
CN102799383A (en) * 2012-07-18 2012-11-28 腾讯科技(深圳)有限公司 Screen sectional drawing method and screen sectional drawing device for mobile terminals
CN103034423A (en) * 2012-12-25 2013-04-10 珠海金山办公软件有限公司 Method for rotating screen display direction of equipment through shaking equipment
US20140270275A1 (en) * 2013-03-13 2014-09-18 Cisco Technology, Inc. Kinetic Event Detection in Microphones
CN105007376A (en) * 2015-07-21 2015-10-28 惠州Tcl移动通信有限公司 Antidinic processing method and system based on mobile terminal
CN105573630A (en) * 2015-12-14 2016-05-11 北京奇虎科技有限公司 Method and device for detecting shaking event of terminal device and terminal device
CN105718161A (en) * 2016-01-15 2016-06-29 努比亚技术有限公司 Method and device for terminal screen capturing
CN105847532A (en) * 2016-03-07 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method and device for replacing wallpaper by shaking mobile terminal
WO2017152590A1 (en) * 2016-03-07 2017-09-14 乐视控股(北京)有限公司 Method and device for replacing wallpaper by shaking mobile terminal
CN107329670A (en) * 2017-06-23 2017-11-07 上海展扬通信技术有限公司 A kind of screenshotss operating method, device and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
R.D. VANYA: "Comparison of reaction times between acceleration and displacement threshold testing in young adults on an anterior translating platform", 《PROCEEDINGS OF THE 25TH ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY (IEEE CAT. NO.03CH37439)》, pages 1706 - 1798 *
冯林;孙焘;谢辉;: "基于差值的动态屏幕截取快速算法", 计算机技术与发展, no. 12, pages 76 - 78 *

Also Published As

Publication number Publication date
CN113535014B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN108279948B (en) Application program starting method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN107832067B (en) Application updating method, mobile terminal and computer readable storage medium
CN109257489B (en) Display method and mobile terminal
CN111061404A (en) Control method and first electronic device
CN108540642B (en) Mobile terminal and operation method thereof
CN108089935B (en) Application program management method and mobile terminal
CN111163227B (en) Sharing method and electronic equipment
CN110099170B (en) Picture deleting method and mobile terminal
CN110007821B (en) Operation method and terminal equipment
CN109462727B (en) Filter adjusting method and mobile terminal
CN109327605B (en) Display control method and device and mobile terminal
CN108965701B (en) Jitter correction method and terminal equipment
CN111328132A (en) Method for adjusting transmitting power and electronic equipment
CN110764650A (en) Key trigger detection method and electronic equipment
CN108062465B (en) Unlocking method and mobile terminal
CN110851219A (en) Information processing method and electronic equipment
CN110673761A (en) Detection method of touch key and terminal equipment thereof
CN110210197B (en) Screen sensitivity adjusting method and mobile terminal
CN110489037B (en) Screen capturing method and mobile terminal
CN110769153B (en) Image processing 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