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

Screen capturing method, device, setting and medium Download PDF

Info

Publication number
CN113535014B
CN113535014B CN202010285006.3A CN202010285006A CN113535014B CN 113535014 B CN113535014 B CN 113535014B CN 202010285006 A CN202010285006 A CN 202010285006A CN 113535014 B CN113535014 B CN 113535014B
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.)
Active
Application number
CN202010285006.3A
Other languages
Chinese (zh)
Other versions
CN113535014A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a screen capturing method, a device and a medium. The method comprises the following steps: under the condition that shaking of the terminal equipment is monitored, acquiring acceleration of the terminal equipment 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. The screen capturing method, the device, the setting and the medium can improve the screen capturing efficiency.

Description

Screen capturing method, device, setting and medium
Technical Field
The present invention relates to the field of terminal devices, and in particular, to a method, an apparatus, a device, and a medium for screen capturing.
Background
The screen capturing is an abbreviation for capturing content displayed on a screen of the terminal device. Through screen capturing, the user can save the content of interest to the user or share the content with other users.
At present, the main screen capturing modes are as follows: the user finds a "screen capturing function button" (e.g., a notification bar of the terminal device is down-drawn) by various operations, and clicks the "screen capturing 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, so that the operation is complex, and the screen capturing efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a screen capturing method, a device and a medium, which can improve the screen capturing efficiency.
In a first aspect, an embodiment of the present invention provides a screen capturing method, including:
under the condition that shaking of the terminal equipment is monitored, acquiring acceleration of the terminal equipment 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.
In some possible implementations of the embodiment of the present invention, before the terminal device is monitored to shake, the screen capturing method provided by 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, wherein the method comprises the following steps:
and intercepting the content displayed on the screen of the terminal equipment under the condition that the screen interception condition is met according to the first average acceleration and the preset acceleration threshold value.
In some possible implementations of the embodiments of the present 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 acceleration of the terminal equipment in at least one direction;
calculating a second average acceleration based on the acceleration in at least one direction;
setting the second average acceleration as a preset acceleration threshold.
In some possible implementations of the embodiments of the present invention, the screen capturing method provided by the embodiments of the present invention further includes:
after intercepting the content displayed on the screen of the terminal equipment, adjusting a preset acceleration threshold according to the acceleration of the terminal equipment in at least one direction in a preset time period in the shaking process.
In some possible implementations of the embodiments of the present invention, adjusting the preset acceleration threshold according to the acceleration of the terminal device in at least one direction in a pre-preset time period during the shaking process includes:
calculating an average value of acceleration of the terminal equipment in at least one direction in a pre-preset time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is in the 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 screen capturing method provided by the embodiments of the present invention further includes:
acquiring average values of accelerations of at least one direction of a preset number of differences with a preset acceleration threshold value within a preset range and in a preset time period before a terminal device shakes;
and adjusting the preset acceleration threshold value to be an average value of a preset number of average values.
In a second aspect, an embodiment of the present invention provides a screen capturing 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 shaking of the terminal equipment is monitored;
the calculating 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 embodiments of the present invention, the screen capturing apparatus provided in the embodiments of the present invention further includes:
the setting module is used for setting a preset acceleration threshold value;
the intercepting module is specifically used for:
and intercepting the content displayed on the screen of the terminal equipment under the condition that the screen interception condition is met according to the first average acceleration and the preset acceleration threshold value.
In some possible implementations of the embodiments of the present invention, a 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 acceleration of the terminal equipment in at least one direction;
calculating a second average acceleration based on the acceleration in at least one direction;
setting the second average acceleration as a preset acceleration threshold.
In some possible implementations of the embodiments of the present invention, the screen capturing apparatus provided in the embodiments of the present invention further includes:
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 preset time period before the shaking process after the content displayed on the screen of the terminal equipment is intercepted.
In some possible implementations of the embodiments of the present invention, the adjustment module is specifically configured to:
calculating an average value of acceleration of the terminal equipment in at least one direction in a pre-preset time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is in the 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 adjustment module is specifically configured to:
acquiring average values of accelerations of at least one direction of a preset number of differences with a preset acceleration threshold value within a preset range and in a preset time period before a terminal device shakes;
and adjusting the preset acceleration threshold value to be an average value of a preset number of average values.
In a third aspect, an embodiment of the present invention provides a terminal device, including: 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 method of screen capture in the first aspect of the embodiments of the present invention or any possible implementation manner of the first aspect.
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, where the computer program when executed by a processor implements the steps of the screen capturing method according to the first aspect or any possible implementation manner of the first aspect of the embodiment of the present invention.
According to the screen capturing method, device and medium, the screen capturing can be realized by shaking the terminal device, the user is not required to capture the screen through the screen capturing function button, the operation is simple, and the screen capturing efficiency can be improved. And, the preset acceleration threshold can be set by shaking the terminal device. The preset acceleration threshold value is related to the shaking operation of the user and is irrelevant to the type and hardware characteristics of the terminal equipment, so that the accuracy of screen capturing can be improved when the screen capturing is performed based on the preset acceleration threshold value. 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 capturing can be improved when the terminal equipment is shaking for screen capturing in the follow-up process.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a screen capturing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an interface for turning on a shake screen capture function 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 of another screen capturing method according to an embodiment of the present invention;
FIG. 5 is a flowchart of another screen capturing method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a screen capturing 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 following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to solve the problems in the prior art, the embodiment of the invention provides a screen capturing method, equipment and a medium. The following first describes in detail a screen capturing method provided by an embodiment of the present invention.
The screen interception method provided by the embodiment of the invention is preferably used for terminal equipment. Terminal devices include, but are not limited to, cell phones, tablet computers, notebook computers, palm computers, vehicle terminals, wearable devices, pedometers, and the like.
Fig. 1 is a flowchart of a screen capturing method according to an embodiment of the present invention. The screen capturing method may include:
s101: and under the condition that the shaking of the terminal equipment is monitored, acquiring the acceleration of the terminal equipment in at least one direction.
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 capturing method, the screen capturing can be realized by shaking the terminal equipment, the user does not need to capture the screen through the screen capturing function button, the operation is simple, and the screen capturing efficiency can be improved. Compared with the method that two physical keys (such as a power key and a volume key, a power key and a HOME key) of the terminal equipment are pressed, the method is convenient and simple without two hands 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 equipment shakes; for another example, the gyroscope detects that the rotational angular velocity of the terminal device changes, which indicates that the terminal device shakes.
In some possible implementations of the embodiments of the present invention, the at least one direction includes six directions, which are an X-axis positive direction, an X-axis negative direction, a Y-axis positive direction, a Y-axis negative direction, a Z-axis positive direction, and a Z-axis negative direction, respectively.
In some possible implementations of the embodiments of the present invention, the right direction of the terminal device screen is the positive X-axis direction, the left direction of the terminal device screen is the negative X-axis direction, the upper direction of the terminal device screen is the positive Y-axis direction, the lower direction of the terminal device screen is the negative Y-axis direction, the upward direction perpendicular to the terminal device screen is the positive Z-axis direction, and the downward direction perpendicular to the terminal device screen is the negative Z-axis direction.
In some possible implementations of embodiments of the invention, the acceleration of the terminal device in at least one direction may be obtained using an inductor.
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.
In general, the terminal device is in a shaking state except in a static state, for example, the terminal device is held in a bag by a user, held in the hand, and the terminal device shakes along with the action of the user. In order to avoid the screen capturing of the terminal equipment when slight shaking occurs, the screen capturing occupies a large amount of storage space. In some possible implementations of the embodiments of the present invention, the content displayed on the screen of the terminal device may be intercepted when it is determined that the screen interception condition is satisfied according to the first average acceleration and the preset acceleration threshold.
The screen capturing condition may be that a difference 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 the storage space can be reduced, and the false screen capturing can be avoided.
In some possible implementations of the embodiments of the present invention, the preset acceleration threshold may also be set.
In some possible implementations of the embodiments of the present invention, a prompt message may be displayed, where the prompt message is used to prompt the user to shake the terminal device; acquiring acceleration of the terminal equipment in at least one direction; calculating a second average acceleration based on the acceleration in at least one direction; setting the second average acceleration as a preset acceleration threshold.
Specifically, after the user opens the shake screen capturing function, an interface for prompting the user to shake the terminal equipment is displayed, and after the user obtains information of the terminal equipment to be shake through the interface, the terminal equipment is shake. Acquiring acceleration of the terminal equipment in at least one direction at the moment; calculating a second average acceleration based on the acceleration in at least one direction; setting the second average acceleration as a preset acceleration threshold.
Fig. 2 is a schematic diagram of an interface for turning on a shake screen capturing function according to an embodiment of the present invention. An interface for prompting a user to set an acceleration threshold is shown in fig. 3, and 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.
By the embodiment of the invention, the preset acceleration threshold value can be set by shaking the terminal equipment. The preset acceleration threshold value is related to the shaking operation of the user and is irrelevant to the type and hardware characteristics of the terminal equipment, so that the accuracy of screen capturing can be improved when the screen capturing is performed based on the preset acceleration threshold value.
In some possible implementations of the embodiments of the present invention, when the screen capturing is completed, the preset acceleration threshold may also be optimally adjusted.
In some possible implementations of the embodiments 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 pre-preset time period during the shaking process.
In some possible implementations of the embodiments of the present invention, the acceleration in at least one direction may be obtained during a pre-set period of time (e.g., 2 seconds) during shaking. And calculating an average value of the obtained acceleration, and if the difference value between 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 of another screen capturing method according to an embodiment of the present invention. The embodiment of the invention shown in fig. 4 adds the following three steps on the basis of the embodiment shown in fig. 1:
s104: and calculating an average value of acceleration in at least one direction in a pre-set time period in the shaking process.
S105: and judging whether the difference value between the average value and the preset acceleration threshold value is within a preset range, and if so, executing S106.
S106: and adjusting a preset acceleration threshold value to be the average value.
In some possible implementations of the embodiments of the present invention, the preset range may be-5% preset acceleration threshold to +5% preset acceleration threshold.
And if the difference 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 value is +6% of the preset acceleration threshold value, the preset acceleration threshold value is not adjusted.
In some possible implementations of the embodiments of the present invention, the acceleration in at least one direction in the pre-set time period in the shaking process corresponding to the multiple screen shots may also be obtained, and the average value of the acceleration in at least one direction in the pre-set time period in the shaking process corresponding to each screen shot may be calculated. If the difference value between the average value of the acceleration in at least one direction in the front preset time period in the shaking process corresponding to each screen capturing and the preset acceleration threshold value is within the preset range, the average value of the acceleration in at least one direction in the front preset time period in the shaking process corresponding to multiple screen capturing can be calculated on average, and the preset acceleration threshold value is adjusted to be the result obtained by average calculation.
Fig. 5 is a flowchart of another screen capturing method according to an embodiment of the present invention. The embodiment of the invention shown in fig. 5 adds the following five steps on the basis of the embodiment shown in fig. 1:
s107: and calculating an average value of acceleration in at least one direction in a pre-set time period in the shaking process.
S108: whether the difference between the average value and the preset acceleration threshold value is within the preset range is determined, and if so, S109 is executed.
S109: the average value is recorded.
S110: an average of a preset number of records is obtained.
S111: and adjusting the preset acceleration threshold value to be the average value of the obtained preset number of average values.
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 the subsequent shaking screen capturing can be improved, and the error screen capturing can be avoided.
Corresponding to the method embodiment, the embodiment of the invention also provides a screen capturing device.
Fig. 6 is a schematic structural diagram of a screen capturing device according to an embodiment of the present invention. The screen capturing apparatus may include:
the acquiring module 601 is configured to acquire acceleration of the terminal device in at least one direction when shake of the terminal device is monitored;
a calculation module 602, configured to calculate a first average acceleration according to the 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 embodiments of the present invention, the screen capturing apparatus provided by the embodiment of the present invention may further include:
the setting module is used for setting a preset acceleration threshold value;
the intercepting module 603 may specifically be configured to:
and intercepting the content displayed on the screen of the terminal equipment under the condition that the screen interception condition is met according to the first average acceleration and the preset acceleration threshold value.
In some possible implementations of the embodiments of the present invention, the setting module may specifically be configured to:
displaying prompt information, wherein the prompt information is used for prompting a user to shake the terminal equipment;
acquiring acceleration of the terminal equipment in at least one direction;
calculating a second average acceleration based on the acceleration in at least one direction;
setting the second average acceleration as a preset acceleration threshold.
In some possible implementations of the embodiments of the present invention, the screen capturing apparatus provided by the embodiment of the present invention may further include:
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 preset time period before the shaking process after the content displayed on the screen of the terminal equipment is intercepted.
In some possible implementations of the embodiments of the present invention, the adjustment module may be specifically configured to:
calculating an average value of acceleration of the terminal equipment in at least one direction in a pre-preset time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is in the 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 adjustment module may be specifically configured to:
acquiring average values of accelerations of at least one direction of a preset number of differences with a preset acceleration threshold value within a preset range and in a preset time period before a terminal device shakes;
and adjusting the preset acceleration threshold value to be an average value of a preset number of average values.
For the embodiment of the screen capturing apparatus according to the embodiment of the present invention, since it is substantially similar to the embodiment of the screen capturing method according to the embodiment of the present invention, the description is relatively simple, and the relevant points will be referred to in the description of the embodiment of the screen capturing method according to the embodiment of the present invention. The embodiments of the present invention are not described herein in detail.
According to the screen capturing device provided by the embodiment of the invention, the screen capturing can be realized by shaking the terminal equipment, the screen capturing by a user through a screen capturing function button is not needed, the operation is simple, and the screen capturing efficiency can be improved.
Fig. 7 shows a schematic hardware structure of a terminal device according to an embodiment of the present invention. The terminal device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, and power supply 711. It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 7 does not constitute a limitation of the terminal device, and the terminal device may comprise more or less components than shown, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the terminal equipment comprises, 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.
A processor 710, configured to obtain an acceleration of the terminal device in at least one direction when it is monitored that the terminal device is rocked; 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 capturing can be realized by shaking the terminal equipment, the screen capturing by a user through the screen capturing function button is not needed, the operation is simple, and the screen capturing 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 transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station, and then processing the received downlink data by the processor 710; and, the uplink data is transmitted to the base station. Typically, the radio 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 unit 701 may also communicate with networks and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user via the network module 702, such as helping the user to send and receive e-mail, browse web pages, access streaming media, etc.
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 (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal device 700. The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used for receiving an audio or video signal. The input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, the graphics processor 7041 processing image data of still pictures or video obtained by an image capturing apparatus (such as 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 graphics processor 7041 may be stored in memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 701 in the case of a telephone call mode.
The terminal device 700 further comprises at least one sensor 705, such as a light sensor, a motion sensor and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or the backlight when the terminal device 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when the accelerometer sensor is stationary, and can be used for recognizing the gesture (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking) and the like of the terminal equipment; the sensor 705 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described again here.
The display unit 706 is used to display information input by a 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 (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 is operable to receive input numeric or character information and to 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 thereon or thereabout by a user (e.g., operations of the user on the touch panel 7071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 7071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 710, and receives and executes commands sent from the processor 710. In addition, the touch panel 7071 may be implemented in 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, other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 710 to determine a type of a 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 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 to which an external device is connected to the terminal apparatus 700. For example, the external devices may include a wired or wireless headset port, an external power (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 an 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 that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, 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 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 that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 710.
The terminal device 700 may further include a power supply 711 (e.g., a battery) for supplying power to the respective components, and preferably, the power supply 711 may be logically connected to the processor 710 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
In addition, the terminal device 700 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the 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 when executed by the processor 710 implements each process of the above embodiment of the screen capturing method, and can achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
Embodiments of the present invention also provide a computer readable storage medium having computer program instructions stored thereon; when the computer program instructions are executed by the processor, the processes of the screen capturing method embodiment provided by the embodiment of the invention are realized, the same technical effects can be achieved, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (7)

1. A method of screen capture, the method comprising:
under the condition that shaking of the terminal equipment is monitored, acquiring 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;
intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration;
before the monitoring terminal device shakes, the method further comprises the following steps:
setting a preset acceleration threshold value;
intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration, wherein the method comprises the following steps:
intercepting the content displayed on the screen of the terminal equipment under the condition that the screen interception condition is met according to the first average acceleration and the preset acceleration threshold;
the method further comprises the steps of:
after the content displayed on the screen of the terminal equipment is intercepted, the preset acceleration threshold value is adjusted according to the acceleration of the terminal equipment in at least one direction in the preset time period before the shaking process.
2. The method of claim 1, 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 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;
setting the second average acceleration as the preset acceleration threshold value.
3. The method according to claim 1, wherein said adjusting the preset acceleration threshold according to the acceleration of the terminal device in at least one direction during a pre-preset period of time during shaking comprises:
calculating an average value of acceleration of the terminal equipment in at least one direction in a pre-set time period in the shaking process;
and if the difference value between the average value and the preset acceleration threshold value is in a preset range, adjusting the preset acceleration threshold value to be the average value.
4. The method according to claim 1, wherein said adjusting the preset acceleration threshold according to the acceleration of the terminal device in at least one direction during a pre-preset period of time during shaking comprises:
acquiring average values of accelerations of at least one direction of a preset number of terminal equipment in a preset time period before shaking in a preset range, wherein the difference value between the preset number of acceleration values and the preset acceleration threshold value is within a preset range;
and adjusting the preset acceleration threshold value to be an average value of the preset number of average values.
5. A screen capture apparatus, the apparatus comprising:
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 calculating module is used for calculating a first average acceleration according to the acceleration in the at least one direction;
the intercepting module is used for intercepting the content displayed on the screen of the terminal equipment according to the first average acceleration;
the setting module is used for setting a preset acceleration threshold before the monitoring terminal equipment shakes;
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 a preset time period before the shaking process after the content displayed on the screen of the terminal equipment is intercepted;
the intercepting module is specifically configured to intercept content displayed on a screen of the terminal device when it is determined that a screen intercepting condition is met according to the first average acceleration and the preset acceleration threshold.
6. 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, which when executed by the processor implements the screen capture method of any of claims 1 to 4.
7. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, which computer program, when executed by a processor, implements the screen capture method of any of claims 1 to 4.
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 CN113535014A (en) 2021-10-22
CN113535014B true 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 (7)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5987443B2 (en) * 2012-04-19 2016-09-07 富士通株式会社 Operation motion detection device, operation motion detection method, and program
US9560444B2 (en) * 2013-03-13 2017-01-31 Cisco Technology, Inc. Kinetic event detection in microphones

Patent Citations (8)

* 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
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
Comparison of reaction times between acceleration and displacement threshold testing in young adults on an anterior translating platform;R.D. Vanya;《Proceedings of the 25th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (IEEE Cat. No.03CH37439)》;1706-1798 *
基于差值的动态屏幕截取快速算法;冯林;孙焘;谢辉;;计算机技术与发展(第12期);76-78 *

Also Published As

Publication number Publication date
CN113535014A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN109078319B (en) Game interface display method and terminal
CN108279948B (en) Application program starting method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN111049510B (en) Touch key, control method and electronic equipment
CN111443815A (en) Vibration reminding method and electronic equipment
CN111522613B (en) Screen capturing method and electronic equipment
CN107832067B (en) Application updating method, mobile terminal and computer readable storage medium
CN110456923B (en) Gesture sensing data processing method and electronic equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN109257489B (en) Display method and mobile terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN108089935B (en) Application program management method and mobile terminal
CN107967086B (en) Icon arrangement method and device for mobile terminal and mobile terminal
CN111328132B (en) Method for adjusting transmitting power and electronic equipment
CN110673761B (en) Touch key detection method and terminal equipment thereof
CN109739430B (en) Display method and mobile terminal
CN109450508B (en) Antenna determination method and device and mobile terminal
CN109327605B (en) Display control method and device and mobile terminal
CN108632466B (en) Volume compensation method and mobile terminal
CN108965701B (en) Jitter correction method and terminal equipment
CN108897467B (en) Display control method and terminal equipment
CN108628508B (en) Method for adjusting clipping window and mobile terminal
CN111352566A (en) Parameter adjusting 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