CN111324263B - Screen capture method, electronic equipment and computer readable storage medium - Google Patents

Screen capture method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111324263B
CN111324263B CN202010070753.5A CN202010070753A CN111324263B CN 111324263 B CN111324263 B CN 111324263B CN 202010070753 A CN202010070753 A CN 202010070753A CN 111324263 B CN111324263 B CN 111324263B
Authority
CN
China
Prior art keywords
screen
input
display area
display
target
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
CN202010070753.5A
Other languages
Chinese (zh)
Other versions
CN111324263A (en
Inventor
王丛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010070753.5A priority Critical patent/CN111324263B/en
Publication of CN111324263A publication Critical patent/CN111324263A/en
Application granted granted Critical
Publication of CN111324263B publication Critical patent/CN111324263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Abstract

The embodiment of the invention provides a screen capturing method, electronic equipment and a computer readable storage medium, and relates to the technical field of electronic equipment application. The method comprises the following steps: receiving a first input under the condition that a screen capture function of the electronic equipment is started; responding to the first input, adjusting the display size of a screen of the electronic equipment, and updating display content; and generating a screen capture picture according to the updated display content. According to the embodiment of the invention, a user can conveniently obtain a desired screenshot picture, and the user experience is improved.

Description

Screen capture method, electronic equipment and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment application, in particular to a screen capturing method, electronic equipment and a computer readable storage medium.
Background
With the development of technology, electronic devices are more and more commonly used, and screen capture is a common function on the current electronic devices. The current electronic equipment has two screen capture modes: one is conventional screen capture, which captures all the content currently displayed on the screen; the other mode is long screen capture, which is a novel screen capture mode, can obtain pictures beyond the size of the screen display range, retains more information, and is popular with users, for example, the starting and ending range of the screen capture pictures is determined by sliding the screen. However, in the two current screen capturing methods, in many cases, the operation of obtaining a desired screen capturing picture is troublesome for a user. Specifically, for a conventional screen shot, the whole content currently displayed on the screen is shot, but sometimes the user only wants part of the content but not all of the content; for long screen capture, when the start-stop position of a screen capture picture is determined by sliding the screen, a user is difficult to accurately grasp the range of the screen capture, and particularly difficult to accurately grasp the screen capture end position, so that the picture obtained by screen capture is often not an intended picture, and multiple screen capture or clipping of the picture obtained by screen capture are required.
Disclosure of Invention
The embodiment of the invention provides a screen capture method, electronic equipment and a computer readable storage medium, which are used for solving the problem that a user cannot conveniently capture a desired picture in the current screen capture mode.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a screen capture method, which is applied to an electronic device, and the method includes:
receiving a first input under the condition that a screen capture function of the electronic equipment is started;
responding to the first input, adjusting the display size of a screen of the electronic equipment, and updating display content;
and generating a screen capture picture according to the updated display content.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the receiving module is used for receiving a first input under the condition that the screen capturing function is started;
the display updating module is used for responding to the first input, adjusting the display size of the screen of the electronic equipment and updating the display content;
and the first generation module is used for generating a screen capture picture according to the updated display content.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the screen capturing method according to any one of the above items.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the screen capturing method according to any one of the above items.
In the embodiment of the invention, a user can adjust the display size of the screen of the electronic equipment through a first input, adjust the display content on the screen to display the content which is wanted to be intercepted on the screen, and then the electronic equipment can generate the screenshot picture according to the adjusted display content on the screen. Therefore, the user can conveniently obtain the desired screenshot picture, and the user experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating a screen capture method according to an embodiment of the present invention;
FIG. 2 is a second flowchart illustrating a screen capturing method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a display interface of a screen before a first input is received according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a display interface of a screen after receiving a first input according to an embodiment of the present invention;
FIG. 5 is a second schematic view of a display interface of the screen after receiving the first input according to the embodiment of the present invention;
FIG. 6 is a third flowchart illustrating a screen capturing method according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 8 is a second schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 9 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 10 is a schematic structural diagram of an electronic device in an embodiment of the 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.
The terms "comprises," "comprising," or any other variation thereof, in the description and claims of this application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Furthermore, the use of "and/or" in the specification and claims means that at least one of the connected objects, such as a and/or B, means that three cases, a alone, B alone, and both a and B, exist.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Referring to fig. 1, fig. 1 is a schematic flow chart of a screen capturing method according to an embodiment of the present invention, where the screen capturing method is applied to an electronic device, and the method includes:
step 101: receiving a first input under the condition that a screen capture function of the electronic equipment is started.
And under the condition of starting the screen capture function, displaying a screen capture window on the interface. The content within the screenshot window may be an object to be screenshot.
The first input may be an input by a user, such as a voice input, a touch input, a key input, a shaking input, and the like.
Step 102: and responding to the first input, adjusting the display size of the screen of the electronic equipment, and updating the display content.
After receiving the first input, the display size of the screen of the electronic device is enlarged or reduced, and it is understood that the display area before and after adjusting the display size may be unchanged or changed, for example, the screen is adjusted from a rectangle to a square, but the display area is unchanged, for example, the screen is adjusted from a width of 4cm and a length of 6cm to a width of 5cm and a length of 7 cm.
After the display size is adjusted, the display content is correspondingly updated to match the new display size, which may be that the display content on the screen increases as the display size increases and decreases as the display size decreases. In the case that the display area is not changed, the layout of the display content may be adjusted, for example, the previous layout may be a rectangle, and the updated layout may be a square.
Step 103: and generating a screen capture picture according to the updated display content.
It should be noted that, in the embodiment of the present invention, the updated display content may be wholly captured to generate the screenshot picture, or a part of the content may be captured to generate the screenshot picture.
In the above embodiment of the present invention, the user may adjust the display size of the screen of the electronic device through the first input, adjust the display content on the screen, so as to display the content that is desired to be captured on the screen, and then the electronic device may generate the screenshot picture according to the display content adjusted on the screen. Therefore, the user can conveniently obtain the desired screenshot picture, and the user experience is improved.
Optionally, in the embodiment of the present invention, a user may adjust how much and how much the display content is typeset by adjusting the size of the display size of the screen, so that the user may visually and definitely see the start position and the end position of the to-be-generated screenshot picture, and a problem that the start position and the end position of an existing long screenshot scheme are difficult to grasp may be avoided. Furthermore, the electronic device can capture all the displayed contents, and the problem that part of contents in the captured picture needs to be deleted by cutting after the contents are captured by the conventional screen capture scheme can be avoided. Optionally, in the embodiment of the present invention, the electronic device may capture a partial content of the display content, and reduce the display size to avoid visual interference of the content that is desired to be captured by the excessive display content.
The above screen capture method is exemplified below.
Optionally, the screen is a telescopic screen, and the length or the width of the screen is telescopic. The first input is for changing a size of the retractable screen. Specifically, the first input may be an input of a user stretching or compressing the telescopic screen.
In some embodiments of the present invention, optionally, the screen includes at least two display areas, as shown in fig. 2, where the step 102 specifically includes:
step 201: according to the first input, determining a target display area from the at least two display areas, and adjusting the display size of the target display area according to the first input.
The target display area may be one display area or a plurality of display areas. That is, the first input may be directed to only one of the at least two display regions, or may be directed to a plurality of the at least two display regions.
Schematically, as shown in fig. 3 to 5, fig. 3 is a schematic diagram of a display interface of a screen before a first input is received, where the screen includes a first display area 301 and a second display area 302; if the first input is used to stretch a portion of the telescopic screen corresponding to the first display area 301, as shown in fig. 4, the display size of the first display area 301 increases in response to the first input, and the display content increases; if the first input is used to simultaneously stretch the portions of the telescopic screen corresponding to the first display area 301 and the second display area 302, as shown in fig. 5, the display sizes of the first display area 301 and the second display area 302 are both increased in response to the first input, and the display content is increased compared to before the first input is received.
Step 202: and updating the display content in the target display area according to the adjusted display size of the target display area.
In the embodiment of the invention, when the display size of the screen is adjusted by a user, the display size can be adjusted according to different display areas, so that the user can more accurately adjust the currently displayed content of the screen, and a screenshot picture desired by the user can be more accurately generated.
In addition, in the prior art, long screen capture is not supported during screen capture, but screen capture is more and more commonly used, and the requirement that a user wants to capture a screen while screen capture is performed is stronger and stronger. If the current mode of realizing long screen capture through sliding is used during screen splitting, both hands of a user are needed to be used simultaneously, for example, the left hand slides to be used for screen up, and the right hand slides to be used for screen down, so that the user experience is very poor in the operation mode. However, in the embodiment of the present invention, the display contents of the plurality of display areas can be adjusted by adjusting the display sizes of the plurality of display areas, so that long screen capture during screen splitting can be achieved. Moreover, the problems that when the existing long screen capture is realized in a sliding mode, the screen capture range cannot be visually seen, and the area and the position of the screen capture cannot be easily grasped are solved.
In some embodiments of the present invention, optionally, as shown in fig. 2, the step 103 includes:
step 203: and generating a screen capture picture according to the updated display content in the target display area.
And if the target display area is one display area, generating a screen capture picture according to the display content in the one display area. And if the target display areas are multiple, generating a screen capture picture according to the display contents in the multiple display areas.
Of course, in other optional embodiments, if there are a plurality of target display areas, one screenshot picture may be generated according to the display content of each target display area, that is, several screenshot pictures may be generated by using several target display areas.
When the screen capture pictures are multiple, marks of the multiple screen capture pictures can be displayed on the telescopic screen, and a user can conveniently select the marks.
In the embodiment of the invention, the screen capture in the split screen state is realized, and the area where the content required to be captured by the user is located can be judged through the specific adjusted position of the screen, so that the screen capture is performed more specifically, the steps of clipping the picture obtained by the screen capture are reduced, and the screen capture operation of the user is simplified.
In addition, in the above-described embodiment of the present invention, the screenshot is generated according to the display content updated in the target display region to which the first input is directed, and therefore, the user can see the screenshot content on the screen before generating the screenshot. In addition, in the case of split screen, one screen shot of display content having one display area, one screen shot of display content having a plurality of display areas, or a plurality of screen shots of display content having different display areas, respectively, can be generated according to the difference in the position of the screen (display area to which the first input is directed) adjusted by the user, thereby improving the convenience of screen shot operation of the user.
In some embodiments of the present invention, optionally, the first input is a stretching or compressing operation of the target display area along a target direction.
In the embodiment of the invention, the user changes the display size and the display content of the target display area through stretching or compressing the screen in a certain direction, so that the display content desired by the user is selected, and an ideal picture is captured.
In some embodiments of the present invention, optionally, the target display area comprises a first target display area and a second target display area; the first input includes a second sub-input and a third sub-input.
The second sub-input is a stretching or compressing operation on the first target display area along a first direction; the third sub-input is a stretching or compressing operation of the second target display area along a second direction.
Wherein the first direction and the second direction are opposite directions to each other. Illustratively, as shown in fig. 3, if the first direction is a direction a, the second direction is a direction B, and the direction a and the direction B are two opposite directions on the same straight line.
In the embodiment of the invention, the display area can be stretched or compressed in different directions in the screen capturing process, so that a user can adjust the size of the screen and the display contents of different display areas in different modes, and the contents of the screen capturing picture can be selected more conveniently to obtain the required picture.
In some embodiments of the present invention, optionally, as shown in fig. 6, the screen capturing method further includes:
step 601: and acquiring the display content of the screen in the process of receiving the first input.
Step 602: and generating a dynamic image according to the display content.
In the embodiment of the invention, the image is displayed on the screen, and when the user adjusts the display size of the screen, the change of the display content can be recorded in a dynamic image mode, so that various forms of information can be provided for the user.
In addition, an embodiment of the present invention further provides an electronic device, as shown in fig. 7, further including:
a receiving module 701, configured to receive a first input when a screen capture function is turned on;
a display updating module 702, configured to adjust a display size of a screen of the electronic device and update display content in response to the first input;
a first generating module 703 is configured to generate a screenshot picture according to the updated display content.
In the above embodiment of the present invention, the user may adjust the display size of the screen of the electronic device through the first input, adjust the display content on the screen, so as to display the content that is desired to be captured on the screen, and then the electronic device may generate the screenshot picture according to the display content adjusted on the screen. Therefore, the user can conveniently obtain the desired screenshot picture, and the user experience is improved.
In some embodiments of the present invention, optionally, the screen includes at least two display areas, as shown in fig. 8, the display update module 702 includes:
a size adjustment unit 801, configured to determine a target display area from the at least two display areas according to the first input, and adjust a display size of the target display area according to the first input;
a content updating unit 802, configured to update the display content in the target display area according to the adjusted display size of the target display area.
In some embodiments of the present invention, optionally, the first generating module 703 includes:
the generating unit 803 is configured to generate a screenshot picture according to the updated display content in the target display area.
In the embodiment of the invention, the screen capture in the split screen state is realized, and the area where the content required to be captured by the user is located can be judged through the specific adjusted position of the screen, so that the screen capture is performed more specifically, the steps of clipping the picture obtained by the screen capture are reduced, and the screen capture operation of the user is simplified.
In addition, in the above-described embodiment of the present invention, the screenshot is generated according to the display content updated in the target display region to which the first input is directed, and therefore, the user can see the screenshot content on the screen before generating the screenshot. In addition, in the case of split screen, one screen shot of display content having one display area, one screen shot of display content having a plurality of display areas, or a plurality of screen shots of display content having different display areas, respectively, can be generated according to the difference in the position of the screen (display area to which the first input is directed) adjusted by the user, thereby improving the convenience of screen shot operation of the user.
In some embodiments of the present invention, optionally, the first input is a stretching or compressing operation of the target display area along a target direction.
In the above embodiment of the present invention, the user can adjust the display content of the screen only by adjusting the display size of the screen in a certain direction, that is, stretching or compressing the telescopic screen, so that the content to be captured can be adjusted to the screen for display, so as to capture an ideal picture.
In some embodiments of the present invention, optionally, the target display area comprises a first target display area and a second target display area; the first input includes a second sub-input and a third sub-input.
The second sub-input is a stretching or compressing operation on the first target display area along a first direction; the third sub-input is a stretching or compressing operation of the second target display area along a second direction.
Wherein the first direction and the second direction are opposite directions to each other.
In the embodiment of the invention, in the screen capturing process, the user can adjust the display size of the display area in two directions, so as to adjust the length and the width of the picture obtained by screen capturing and determine the display content of the picture.
In some embodiments of the present invention, optionally, as shown in fig. 9, the electronic device further includes:
an obtaining module 901, configured to obtain display content of the screen in a process of receiving the first input;
a second generating module 902, configured to generate a dynamic image according to the display content.
In the above embodiment of the present invention, in the process of receiving the adjustment of the display size of the screen by the user, the content displayed on the screen is recorded in the form of a dynamic image, so as to provide various forms of information for the user and increase the selection of the user.
The electronic device provided by the embodiment of the present invention can implement each process in the method embodiments of fig. 1 to 6, and is not described here again to avoid repetition.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device in an embodiment of the invention, where the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic 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 user input unit 1007 is used for receiving a first input when the screen capture function of the electronic device is turned on;
a processor 1010, configured to adjust a display size of a screen of the electronic device and update display content in response to the first input; and generating a screen capture picture according to the updated display content.
In the embodiment of the invention, a user can adjust the display size of the screen of the electronic equipment through a first input, adjust the display content on the screen to display the content to be intercepted on the screen, and then the electronic equipment can generate the screenshot picture according to the adjusted display content on the screen. Therefore, the user can conveniently obtain the desired screenshot picture, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1002, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic apparatus 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 1041 and a microphone 10042, and the Graphics processor 10041 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 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
The electronic device 1000 also includes at least one sensor 1005, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the electronic device 1000 moves to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1005 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., which will not be described in detail herein.
The display unit 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, that is, the screen, and the Display panel 10061 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 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, 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 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 1008 is an interface for connecting an external device to the electronic apparatus 1000. 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 1008 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and the external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), 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 1009 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 1010 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the electronic device. Processor 1010 may include one or more processing units; preferably, the processor 1010 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 1010.
The electronic device 1000 may further include a power source 1011 (e.g., a battery) for supplying power to various components, and preferably, the power source 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the foregoing screenshot method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned screen capturing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A screen capture method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first input under the condition that a screen capture function of the electronic equipment is started;
responding to the first input, adjusting the display size of a screen of the electronic equipment, and updating display content, wherein the screen is a telescopic screen, the length or the width of the screen is telescopic, and the first input is input of a user for stretching or compressing the telescopic screen;
and generating a screen capture picture according to the updated display content.
2. The screen capture method of claim 1, wherein the screen comprises at least two display areas, and wherein adjusting the display size of the screen of the electronic device and updating the display content in response to the first input comprises:
according to the first input, determining a target display area from the at least two display areas, and adjusting the display size of the target display area according to the first input;
and updating the display content in the target display area according to the adjusted display size of the target display area.
3. The screen capture method of claim 2, wherein generating the screen capture picture according to the updated display content comprises:
and generating a screen capture picture according to the updated display content in the target display area.
4. The screen capture method of claim 2, wherein the first input is a stretching or compressing operation of the target display area in a target direction.
5. The screen capture method of claim 2, wherein the target display area comprises a first target display area and a second target display area; the first input comprises a second sub-input and a third sub-input;
the second sub-input is a stretching or compressing operation on the first target display area along a first direction; the third sub-input is a stretching or compressing operation on the second target display area along a second direction;
wherein the first direction and the second direction are opposite directions to each other.
6. The screen capture method of claim 1, wherein the method further comprises:
acquiring display content of the screen in the process of receiving the first input;
and generating a dynamic image according to the display content.
7. An electronic device, comprising:
the receiving module is used for receiving a first input under the condition that the screen capturing function is started;
the display updating module is used for responding to the first input, adjusting the display size of a screen of the electronic equipment and updating display content, wherein the screen is a telescopic screen, the length or the width of the screen is telescopic, and the first input is input of stretching or compressing the telescopic screen by a user;
and the first generation module is used for generating a screen capture picture according to the updated display content.
8. The electronic device of claim 7, wherein the screen comprises at least two display regions, and wherein the display update module comprises:
the size adjusting unit is used for determining a target display area from the at least two display areas according to the first input and adjusting the display size of the target display area according to the first input;
and the content updating unit is used for updating the display content in the target display area according to the adjusted display size of the target display area.
9. The electronic device of claim 8, wherein the first generating module comprises:
and the generating unit is used for generating a screen capture picture according to the updated display content in the target display area.
10. The electronic device of claim 8, wherein the first input is a stretching or compressing operation of the target display area in a target direction.
11. The electronic device of claim 8, wherein the target display area comprises a first target display area and a second target display area; the first input comprises a second sub-input and a third sub-input;
the second sub-input is a stretching or compressing operation on the first target display area along a first direction; the third sub-input is a stretching or compressing operation on the second target display area along a second direction;
wherein the first direction and the second direction are opposite directions to each other.
12. The electronic device of claim 7, further comprising:
the acquisition module is used for acquiring the display content of the screen in the process of receiving the first input;
and the second generation module is used for generating dynamic images according to the display contents.
13. An electronic device comprising 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 steps of the screen capturing method as claimed in any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the screen capture method of one of claims 1 to 6.
CN202010070753.5A 2020-01-21 2020-01-21 Screen capture method, electronic equipment and computer readable storage medium Active CN111324263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010070753.5A CN111324263B (en) 2020-01-21 2020-01-21 Screen capture method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010070753.5A CN111324263B (en) 2020-01-21 2020-01-21 Screen capture method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111324263A CN111324263A (en) 2020-06-23
CN111324263B true CN111324263B (en) 2021-09-03

Family

ID=71170977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010070753.5A Active CN111324263B (en) 2020-01-21 2020-01-21 Screen capture method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111324263B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306607A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Screenshot method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708540A (en) * 2012-04-21 2012-10-03 上海量明科技发展有限公司 Method and client side for zooming screen capturing areas
CN104820548A (en) * 2015-04-08 2015-08-05 魅族科技(中国)有限公司 Screenshot method and device
EP3236650A1 (en) * 2012-10-30 2017-10-25 Samsung Electronics Co., Ltd. Method and device for controlling a camera
CN108958615A (en) * 2018-07-25 2018-12-07 维沃移动通信有限公司 A kind of display control method, terminal and computer readable storage medium
CN109144370A (en) * 2018-09-30 2019-01-04 珠海市君天电子科技有限公司 A kind of screenshotss method, apparatus, terminal and computer-readable medium
CN110036363A (en) * 2016-12-02 2019-07-19 三星电子株式会社 Adjust the method for screen size and the electronic device for it
CN110704784A (en) * 2019-10-10 2020-01-17 深圳前海微众银行股份有限公司 Web page screen capturing method, device, equipment and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150099297A (en) * 2014-02-21 2015-08-31 삼성전자주식회사 Method and apparatus for displaying screen on electronic devices
CN105760103A (en) * 2016-02-22 2016-07-13 深圳市金立通信设备有限公司 Screen capturing method and terminal
CN108196775B (en) * 2017-12-19 2020-12-01 努比亚技术有限公司 Screenshot control method, flexible screen terminal and computer-readable storage medium
CN109669516B (en) * 2018-12-25 2023-04-18 三星电子(中国)研发中心 Flexible screen, interaction method and device based on flexible screen

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708540A (en) * 2012-04-21 2012-10-03 上海量明科技发展有限公司 Method and client side for zooming screen capturing areas
EP3236650A1 (en) * 2012-10-30 2017-10-25 Samsung Electronics Co., Ltd. Method and device for controlling a camera
CN104820548A (en) * 2015-04-08 2015-08-05 魅族科技(中国)有限公司 Screenshot method and device
CN110036363A (en) * 2016-12-02 2019-07-19 三星电子株式会社 Adjust the method for screen size and the electronic device for it
CN108958615A (en) * 2018-07-25 2018-12-07 维沃移动通信有限公司 A kind of display control method, terminal and computer readable storage medium
CN109144370A (en) * 2018-09-30 2019-01-04 珠海市君天电子科技有限公司 A kind of screenshotss method, apparatus, terminal and computer-readable medium
CN110704784A (en) * 2019-10-10 2020-01-17 深圳前海微众银行股份有限公司 Web page screen capturing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111324263A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN108471498B (en) Shooting preview method and terminal
CN109461117B (en) Image processing method and mobile terminal
CN109542306B (en) Screen capturing method and terminal equipment
CN108898555B (en) Image processing method and terminal equipment
CN109558046B (en) Information display method and terminal equipment
CN111090408A (en) Display method and electronic equipment
CN108196753B (en) Interface switching method and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109710130B (en) Display method and terminal
CN109656636B (en) Application starting method and device
CN109388324B (en) Display control method and terminal
CN108881782B (en) Video call method and terminal equipment
CN111026305A (en) Audio processing method and electronic equipment
CN108600544B (en) Single-hand control method and terminal
CN108132749B (en) Image editing method and mobile terminal
CN110933494A (en) Picture sharing method and electronic equipment
CN110928407B (en) Information display method and device
CN110413363B (en) Screenshot method and terminal equipment
CN109542321B (en) Control method and device for screen display content
CN109491741B (en) Method and terminal for switching background skin
CN111050214A (en) Video playing method and electronic equipment
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN111666024B (en) Screen recording method and device and electronic equipment
CN111475066B (en) Background switching method of application program and electronic equipment
CN110737376B (en) Application control method and terminal

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