Method for scrolling screenshot and electronic device
By detecting and responding to user screenshots and sliding gesture operations on the touch screen of an electronic device, and automatically updating and scrolling screenshots, the cumbersome operation problems in the prior art are solved, and efficiency and user experience are improved.
Patent Information
- Application Number
- CN201910853979.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-07-28
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2038-07-28
AI Technical Summary
In the prior art, the operation of scrolling screenshots by electronic devices is cumbersome, which reduces the efficiency of use and user experience.
By displaying the application's graphical user interface on the touch screen, detect the user's screenshot operations and respond to the user's touch operations on the screenshot preview, such as swipe gestures, automatic updates and scrolling screenshots.
It greatly improves the efficiency of scrolling screenshots of electronic devices, simplifies user operations, and improves the user experience and the intelligent interaction capabilities of the device.
Smart Images

Figure CN110764673B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of terminals, and in particular, to a method for scrolling screenshot and an electronic device. Background Art
[0002] In the prior art, a graphical user interface (hereinafter referred to as GUI) of various application programs (hereinafter referred to as Apps) can be displayed on a touch screen 101 of an electronic device (such as a mobile phone, a tablet computer, etc.). If a user needs to perform a scrolling screenshot of the GUI currently displayed on the touch screen 101, generally, the user needs to first take a screenshot by a predetermined gesture or a physical button, and then perform an operation of scrolling screenshot by clicking a control for scrolling screenshot displayed on the touch screen 101. The above method for scrolling screenshot is cumbersome in operation, greatly reducing the usage efficiency of the electronic device. Summary of the Invention
[0003] To solve the above technical problems, this application provides a method for scrolling screenshot and an electronic device, which can improve the usage efficiency of the electronic device and also improve the intelligent interaction ability between the electronic device and the user.
[0004] In a first aspect, this application provides a method for scrolling screenshot, which can be implemented in an electronic device with a touch screen. The method may include: displaying a graphical user interface (GUI) of a first application program on the touch screen; the electronic device detecting a screenshot operation of the user (for example, the user clicks a control in the touch screen 101); in response to the above screenshot operation, the electronic device taking a screenshot of the above GUI and displaying a first preview image corresponding to the obtained first screenshot on the touch screen; the electronic device detecting a first touch operation on the above first preview image. For example, the first touch operation may be a downward sliding gesture made by the user's finger on the above first preview image; in response to the above first touch operation, updating the first preview image to a second preview image and displaying it on the touch screen. Through the technical solution of the above embodiment, the electronic device can enable the user to perform a scrolling screenshot by a touch operation (such as a sliding gesture) on the preview image, thus greatly improving the efficiency of the electronic device for performing a scrolling screenshot and also improving the user experience.
[0005] In a possible implementation, the above method further includes: The electronic device detects a second touch operation on the above second preview image, and this second touch operation can be a long press or a heavy press operation; In response to this second touch operation, at least two controls are displayed on the touch screen, and these controls are used to perform different processes on the second screenshot corresponding to the above second preview image; The electronic device detects a third touch operation on one of the controls; In response to the above third touch operation, the second screenshot corresponding to the above second preview image is shared with the contacts of the second application. Through this implementation solution, the electronic device can facilitate the user to delete the scroll screenshot, improving the processing efficiency of the scroll screenshot.
[0006] In another possible implementation, the above first preview image can be automatically updated according to the distance of the above downward sliding gesture and the updated first preview image (such as the second preview image) is synchronously displayed. In this way, during the gesture sliding of the user's scroll screenshot, the electronic device can, through the automatically updated preview image or GUI on the touch screen, prompt the user about the real-time situation of the scroll screenshot, further guiding the user to correctly take a screenshot, thereby improving the efficiency of the electronic device's scroll screenshot and further enhancing the user experience.
[0007] In a possible implementation, the above first preview image is a preview image of the first screenshot obtained by taking a screenshot of the displayed above GUI, and the above second preview image is a preview image of the second screenshot obtained by taking a scroll screenshot of the first application.
[0008] In a possible implementation, the above first touch operation is a downward sliding gesture acting on the first preview image. Then, in response to the first touch operation, updating the first preview image to the second preview image can specifically include: The electronic device automatically updates the first preview image to the second preview image according to the sliding distance of the gesture.
[0009] In another possible implementation, while the first preview image is automatically updated to the second preview image, the GUI of the first application is automatically updated and displayed. In this way, the process of the user's scroll screenshot can be prompted through the display effect on the touch screen, enhancing the user experience.
[0010] In another possible implementation, since the first screenshot corresponding to the first preview image is a screenshot of the currently displayed GUI, while the second screenshot corresponding to the second preview image is a screenshot that, in addition to the screenshot of the currently displayed GUI, also includes the content of the first application (such as weather) that is not displayed in the current GUI. Therefore, in terms of the display effect, the size of the above-mentioned first preview image can be smaller than the size of the second preview image, so that it is easy for the user to identify whether the currently displayed preview image is an ordinary screenshot or a scrolling screenshot. Of course, in another possible implementation, although the content of the first preview image is less than that of the second preview image, for the sake of unified display effect, the size of the first preview image can also be the same as the size of the second preview image.
[0011] In a second aspect, the present embodiment provides a method for scrolling screenshot, which can be implemented on an electronic device with a touch screen and includes: displaying a graphical user interface (GUI) of a first application on the touch screen; the electronic device detecting a screenshot operation; in response to the screenshot operation, the electronic device taking a screenshot of the GUI; the electronic device displaying a first preview image corresponding to the obtained first screenshot at a first position on the touch screen; the electronic device detecting a first touch operation on the first preview image; and in response to the first touch operation, the electronic device performing a scrolling screenshot of the GUI of the first application. The technical solution of the above embodiment enables very convenient scrolling screenshot through the gesture operation on the first preview image, thereby improving the efficiency of the electronic device and also enhancing the user experience.
[0012] In some possible implementations, the above method may further include: displaying a second preview image on the touch screen, where the second preview image is a preview image of the second screenshot corresponding to the scrolling screenshot.
[0013] In some other possible implementations, the first touch operation may be a downward sliding gesture on the first preview image; then, in response to the first touch operation, the electronic device performing a scrolling screenshot of the GUI of the first application may specifically include: the electronic device automatically updating the displayed GUI of the first application on the touch screen according to the sliding distance of the above gesture.
[0014] In some possible implementations, the first preview image may move downward correspondingly according to the sliding of the gesture and keep the size unchanged; in some possible implementations, the first preview image may move downward correspondingly according to the sliding of the gesture, and the first preview image is automatically updated according to the sliding distance of the gesture.
[0015] In some possible implementation manners, when the above gesture stops, the first preview image rebounds and is displayed at the first position; in some other embodiments, when the above gesture stops, the first preview image rebounds and is displayed at the first position, and the first preview image is automatically updated to a second preview image, where the second preview image is a preview image of a second screenshot intercepted according to the sliding distance of the gesture.
[0016] In a third aspect, the present application provides an electronic device, including: a touch screen, one or more processors, a memory, a plurality of application programs, and one or more programs; wherein, the processor is coupled to the memory, the above one or more programs are stored in the memory, and when the electronic device runs, the processor executes the one or more programs stored in the memory, so that the electronic device executes the above method for scrolling screenshot.
[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions run on any one of the above terminals, the terminal is enabled to execute any one of the above text selection methods.
[0018] In a fifth aspect, an embodiment of the present application provides a computer program product including instructions, and when the computer program product runs on any one of the above terminals, the terminal is enabled to execute any one of the above text selection methods.
[0019] In a sixth aspect, the present application further provides a device for scrolling screenshot, and the device has a function of implementing the behavior of the electronic device in the above method in practice. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above function.
[0020] In a seventh aspect, the present application further provides a graphical user interface, where the graphical user interface is stored in an electronic device, and the electronic device includes a touch screen, a memory, and one or more processors, and the one or more processors are configured to execute one or more computer programs stored in the memory, and is characterized in that the graphical user interface includes:
[0021] Display a first GUI of a first application program on the touch screen;
[0022] In response to a screenshot operation of a user, display a first preview image of a screenshot of the first GUI on the touch screen;
[0023] In response to a touch operation on the above first preview image, the above first preview image is automatically updated to a second preview image, and the second preview image is displayed; the size of the above first preview image is less than or equal to the size of the second preview image.
[0024] In a possible implementation, if the above touch operation is a downward sliding gesture, the above first preview image is automatically updated to a second preview image, which specifically includes: according to the sliding distance of the gesture, the above first preview image is automatically updated and displayed.
[0025] In another possible implementation, while the first preview image is automatically updated to the second preview image, the first GUI displayed on the touch screen is automatically updated to the second GUI.
[0026] It should be understood that the description of technical features, technical solutions, advantages or similar languages in the specification does not imply that all features and advantages can be achieved in any single embodiment. On the contrary, it can be understood that the description of features or advantages means that specific technical features, technical solutions or advantages are included in at least one embodiment. Therefore, the description of technical features, technical solutions or advantages in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and advantages described in the following various embodiments can be combined in any appropriate manner. Those skilled in the art will understand that an embodiment can be implemented without one or more specific technical features, technical solutions or advantages of a specific embodiment. In other embodiments, additional technical features and advantages can also be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a schematic structural diagram of an electronic device 100 in some embodiments;
[0028] Figure 2A and 2B is a schematic diagram of a graphical user interface of a home screen displayed on a touch screen in some embodiments;
[0029] Figures 3A to 3G is a schematic diagram of some graphical user interfaces displayed on a touch screen in some embodiments;
[0030] Figures 4A to 4J is a schematic diagram of some graphical user interfaces displayed on a touch screen in other some embodiments;
[0031] Figure 5 is a schematic flowchart of a method for scrolling screenshots in some other embodiments;
[0032] Figure 6 is a schematic structural diagram of an electronic device 600 in some other embodiments;
[0033] Figure 7 is a schematic flowchart of a method for scrolling screenshots in some other embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0034] The terms used in the following application embodiments are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification and appended claims of this application, the singular forms "a", "an", "the", "above", "said", "this" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in this application refers to and includes any and all possible combinations of one or more of the associated listed items.
[0035] Embodiments of an electronic device, a graphical user interface (hereinafter may be simply referred to as GUI) for such an electronic device, and an associated process for using such an electronic device are introduced below. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smartwatch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices equipped with or other operating systems. The above portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments, the above electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0036] Figure 1 A schematic structural diagram of the electronic device 100 is shown.
[0037] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0038] It can be understood that Figure 1The structure shown does not constitute a specific limitation on the electronic device 100. In some other embodiments, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The components shown may be implemented in hardware, software, or a combination of software and hardware.
[0039] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0040] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0041] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0042] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0043] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface to implement the touch function of the electronic device 100.
[0044] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple groups of I2S buses. The processor 110 may be coupled to the audio module 170 through the I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface to implement the function of answering a call through a Bluetooth headset.
[0045] The PCM interface can also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through the PCM bus interface. In some embodiments, the audio module 170 may also transmit an audio signal to the wireless communication module 160 through the PCM interface to implement the function of answering a call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0046] The UART interface is a general-purpose serial data bus for asynchronous communication. This bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface to implement the function of playing music through Bluetooth headphones.
[0047] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
[0048] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0049] The USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as AR devices, etc.
[0050] It can be understood that the interface connection relationships between the modules illustrated in this embodiment are only illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments, the electronic device 100 can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0051] The charging management module 140 is used to receive a charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input of the wired charger through a USB interface. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.
[0052] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be provided in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be provided in the same device.
[0053] The wireless communication function of the electronic device 100 can be implemented through the antenna module 1, the antenna module 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[0054] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the cellular network antenna can be multiplexed as the wireless local area network diversity antenna. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0055] The mobile communication module 150 may provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter, amplify, and process the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be disposed in the same device.
[0056] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and disposed in the same device as the mobile communication module 150 or other functional modules.
[0057] The wireless communication module 160 may provide solutions for wireless communications such as wireless local area networks (WLAN), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied to the electronic device 100. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 for radiation.
[0058] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0059] Electronic device 100 implements a display function through a GPU, display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0060] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be an LCD (liquid crystal display), an OLED (organic light-emitting diode), an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens, where N is a positive integer greater than 1.
[0061] The electronic device 100 can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
[0062] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light passes through the lens and is transmitted to the camera photosensitive element. The optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image through algorithms. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0063] The camera 193 is used to capture static images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in standard RGB, YUV, etc. formats. In some embodiments, the electronic device 100 may include one or N cameras, where N is a positive integer greater than 1.
[0064] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0065] The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple coding formats, such as: MPEG1, MPEG2, MPEG3, MPEG4, etc.
[0066] The NPU is a neural-network (NN) computing processor. By learning from the structure of biological neural networks, such as learning from the transmission pattern between human brain neurons, it can quickly process input information and can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as: image recognition, face recognition, voice recognition, text understanding, etc.
[0067] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.
[0068] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the memory 121 can include high-speed random access memory and can also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0069] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor, etc. For example, music playback, recording, etc.
[0070] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.
[0071] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or a hands-free call through the speaker 170A.
[0072] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the voice can be listened to by bringing the receiver 170B close to the human ear.
[0073] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by bringing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 can be provided with two microphones, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones to implement functions such as collecting sound signals, noise reduction, identifying the sound source, and implementing a directional recording function.
[0074] The headphone jack 170D is used to connect a wired headphone. The headphone jack can be a USB interface, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0075] The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can include at least two parallel plates with conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
[0076] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. Exemplarily, when the shutter is pressed, the gyroscope sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and makes the lens offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenarios.
[0077] The barometric pressure sensor 180C is used to measure barometric pressure. In some embodiments, the electronic device 100 calculates the altitude according to the barometric pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0078] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the leather case or the opening and closing state of the flip, features such as automatic flip unlocking are set.
[0079] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0080] A distance sensor 180F for measuring distance. The electronic device 100 can measure distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve rapid focusing.
[0081] The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device 100 emits infrared light outward through the light-emitting diode. The electronic device 100 uses the photodiode to detect the infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for a call, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used for automatic unlocking and locking of the holster mode and pocket mode.
[0082] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
[0083] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
[0084] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by low temperature. In some other embodiments, when the temperature is lower than yet another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0085] The touch sensor 180K, also known as a touch panel or a touch-sensitive surface. The touch sensor 180K can be disposed on the display screen 194 and form a touch screen 101 with the display screen 194 ( Figure 1(not shown in the figure). It is used to detect touch operations acting on or near it. The detected touch operations can be passed to the application processor to determine the touch event type and provide corresponding visual output through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100 at a different position from that of the display screen 194.
[0086] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals of the vibrating bone mass of the human vocal part. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulsation signals. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M to implement the voice function. The application processor can parse out heart rate information based on the blood pressure pulsation signals acquired by the bone conduction sensor 180M to implement the heart rate detection function.
[0087] The button 190 includes a power-on button, a volume button, etc. The button can be a mechanical button or a touch button. The electronic device 100 can receive button inputs and generate key signal inputs related to the user settings and function controls of the electronic device 100.
[0088] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playing, etc.) can correspond to different vibration feedback effects. Touch operations acting on different regions of the display screen 194 can also correspond to different vibration feedback effects for the motor 191. Different application scenarios (such as time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0089] The indicator 192 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0090] The SIM card interface 195 is used to connect to a subscriber identity module (SIM). The SIM card can be inserted into or removed from the SIM card interface to achieve contact and separation from the electronic device 100. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface simultaneously. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0091] The following embodiments can all be implemented in the electronic device 100 (such as a mobile phone, a tablet computer) having the above structure.
[0092] Exemplarily, Figure 2A and 2B are a series of graphical user interfaces (GUI) displayed on the touch screen 101 of the electronic device 100, and these GUIs are the home screen of the electronic device. Generally speaking, since the size of the touch screen 101 of the electronic device is fixed, only a limited number of controls can be displayed on the touch screen 101 of the electronic device. A control is a GUI element, which is a software component included in an application and controls all the data processed by the application and the interaction operations regarding this data; the user can interact with the control through direct manipulation to read or edit relevant information of the App. Generally speaking, controls can include visible interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. When there are too many controls on the home screen of the electronic device or the user customizes the arrangement of the controls on the home screen, the home screen of the electronic device can be divided into multiple pages (Page), for example Figure 2A The GUI shown in can be called Page 1 of the home screen, Figure 2B The GUI shown in can be called Page 2 of the home screen, and each page can include different controls. Taking Figure 2AFor example, the GUI may be page 1 in the home screen of the electronic device. Page 1 is displayed on the display screen 194 of the electronic device 100, and specifically includes a status bar 201, a hideable navigation bar 202, a home screen indicator 203, and various icon controls (such as App icons, Widget icons). Among them, the home screen indicator 203 is used to prompt the user which page is currently displayed. Exemplarily, page 1 includes 2 rows and 4 columns of App icons, a weather widget, and time and date; when the user's finger (or stylus, etc.) touches a position on the touch screen 101, then in response to the touch event, the electronic device can open the graphical user interface of the App corresponding to a certain App icon or widget. For example, in Figure 2A In the embodiment, when the user taps the position of the touch screen 101 corresponding to the weather icon 205, the weather application is started and the graphical user interface of the weather App is displayed on the touch screen 101. It is understood that in some other embodiments, a Dock bar may also be displayed on the display screen, and the Dock bar may include icons of commonly used Apps, etc. These App icons may not change with the change of the home screen page on the touch screen 101.
[0093] In some other embodiments, the electronic device may further include a home screen key 204. The home screen key 204 may be a physical key or a virtual key. The home screen key 204 is used to receive a user's instruction to return the currently displayed GUI to the home screen, thereby displaying a specific sub-screen in the main screen, so that the user can view the home screen at any time. The above instruction may specifically be an operation instruction for the user to press the home screen key 204 once, or an operation instruction for the user to press the home screen key 204 twice in a short period of time, or an operation instruction for the user to continuously press the home screen key 204 within a predetermined time. In some other embodiments, the home screen key 204 may also be integrated with a fingerprint identifier 112 so that fingerprint collection and identification can be performed when the home screen key 204 is pressed.
[0094] In the prior art, the user can perform a screenshot operation by pressing the home button 204 and the power button at the same time to obtain a screenshot of the GUI related to the displayed App. If the user needs to further share the screenshot, after the screenshot operation is completed, click the sharing control displayed on the touch screen 101, and then select a certain App, and then select a contact in the contact list of the App; then the electronic device determines the contact based on the user's selection and sends the screenshot to the contact through the App. As can be seen from the above, the solution for sharing screenshots in the prior art is too cumbersome to operate, which reduces the interaction efficiency between the electronic device and the user, and also seriously reduces the user experience.
[0095] This embodiment provides a screenshot sharing method, which can greatly improve the sharing efficiency of the electronic device and also improve the user experience. Figures 3A to 3G To describe the technical solution of this embodiment to solve the above technical problems.
[0096] exist Figure 2A The first page of the home screen of the electronic device 100 is shown in FIG. 1 , and the icon 205 of the weather app is shown in the first page. In response to the user's touch operation on the icon 205, the GUI 301 of the weather app is displayed on the touch screen 101, as shown in FIG. Figure 3A The GUI shows the weather information of Shenzhen City within a week, including the temperature (highest temperature, lowest temperature) and specific weather conditions. When the user wants to share the above weather information with other users, the GUI displayed on the touch screen 101 can be screenshotted. For example, the screenshot operation can be performed by the user pressing the power button 206 and the home button 204 (such as Figure 2A ); the screenshot operation can also be performed by the user clicking on the control in the touch screen 101, which is faster. For another example, the screenshot operation can be based on a gesture made by the user on the touch screen 101. When the electronic device 100 determines that the gesture is a preset gesture, the electronic device determines that the user is performing a screenshot operation. In response to the above-mentioned screenshot operation, the electronic device 100 executes the screenshot instruction corresponding to the screenshot operation, and displays the preview image of the obtained screenshot on the touch screen 101.
[0097] Specifically, in some embodiments, after receiving the user's screenshot operation, the electronic device 100 can call the surface.screenshot() function to take a screenshot of the GUI displayed on the display screen 194. It is understandable that the electronic device 100 can also use other methods to take a screenshot, and this embodiment does not impose any restrictions. It is understandable that the screenshot obtained can be in various picture formats, such as JPG format, PNG format, etc. Figure 3B As shown, a weather GUI 301 is displayed on the touch screen 101, and a preview image 302 of the above screenshot is displayed at the lower left of the touch screen 101; the preview image 302 may be displayed at a certain ratio at the lower left of the touch screen 101. Of course, the preview image may also be displayed at the lower right of the touch screen 101. In some embodiments, the preview image 302 may be displayed near two mutually perpendicular frames of the touch screen 101, that is, close to the two frames of the display screen but not overlapping with them; in other embodiments, the preview image 302 may also overlap with the above two frames.
[0098] In some embodiments, in order to share the obtained screenshots with other users more conveniently and quickly, the electronic device 100 can display the preview image 302 of the screenshot at a position on the touch screen 101 that the user's finger can touch. For example, after the electronic device 100 executes the screenshot instruction, the electronic device 100 can first determine the posture of the user holding the phone with one hand, and then based on the determined posture, display the preview image of the above screenshot at the position corresponding to the above posture. Exemplarily, after the mobile phone executes the screenshot instruction, it first determines the posture of the user holding the mobile phone with one hand with the left hand; according to the posture, the mobile phone displays the preview image of the screenshot obtained by executing the screenshot instruction at the lower left of the touch screen 101, so that it is convenient for the user to perform subsequent operations on the preview image, such as sharing, when holding it with the left hand, thereby improving the user experience. For another example, after the mobile phone executes the screenshot instruction, it first determines the posture of the user holding the mobile phone with one hand with the right hand; according to the posture, the mobile phone displays the preview image of the obtained screenshot at the lower right of the touch screen 101. It should be noted that how the electronic device 100 determines the user's one-handed holding posture is a prior art in the art and will not be elaborated herein.
[0099] In some embodiments, when the electronic device 100 detects a user's touch operation (e.g., click) on the preview image 302, in response to the touch operation, a GUI for editing the screenshot corresponding to the preview image 302 may be displayed on the touch screen 101. The GUI may include various editing controls, such as cropping, rotation, brightness, color temperature, and other graphic controls.
[0100] In some embodiments, Figure 3B As shown, when the electronic device 100 detects that the user's finger 303 makes an upward sliding gesture 304 on the touch screen 101, in response to the gesture, a function menu 305 is displayed on the touch screen 101. The function menu 305 may include a sharing control. When the electronic device 100 detects that the user touches the above-mentioned sharing control, in response to the touch operation, a submenu 308 may be displayed on the touch screen 101, and the original function menu 305 may no longer be displayed, such as Figure 3CAs shown. Among them, submenu 308 includes some applications (Apps) that can be used to share screenshots, such as WeChat, Skype, Facebook and QQ. Exemplarily, after the user touches the WeChat icon, the WeChat contact list can be displayed on the touch screen 101, which is convenient for the user to select the contact to be shared. After the electronic device 100 detects the user's touch operation to select a contact, in response to the touch operation, the electronic device 100 can send the above screenshot 302 to the selected contact through WeChat. Through the technical solution of the above embodiment, the electronic device 100 can very conveniently share the screenshot with other users (such as contacts or friends of other apps, etc.), so the above technical solution improves the efficiency of electronic devices sharing screenshots, and also improves the user experience.
[0101] In some other embodiments, when the electronic device 100 detects that the user's finger 303 makes a downward sliding gesture 307 on the touch screen 101, in response to the gesture, the touch screen 101 may display a function menu 306, such as Figure 3D The function menu 306 includes a control for scrolling screenshots. When the electronic device 100 detects a user's touch operation on the control, in response to the touch operation, the electronic device executes the instruction for scrolling screenshots and displays a preview image 313 of the acquired screenshots on the touch screen 101, as shown in FIG. Figure 3E In some embodiments, the preview image 313 may be larger or longer than the preview image, because the content captured in the scrolling screenshot is more than that captured in the ordinary screenshot, which also facilitates the user to distinguish which type of screenshot is the ordinary screenshot or the scrolling screenshot.
[0102] In some embodiments, while the preview image 313 is displayed on the touch screen 101, the electronic device 100 can save the screenshot corresponding to the preview image 313 to the album, and pop up a prompt box 314 on the touch screen 101 to prompt the user. Through the technical solution of this embodiment, the electronic device 100 can automatically perform scrolling screenshots based on the user's gestures, and automatically save the acquired screenshots to the album. This improves the efficiency of screenshot processing and further improves the user experience.
[0103] In some other embodiments, the electronic device 100 may also perform different operations on the screenshot based on different gestures of the user. Figure 3FAs shown, after the electronic device 100 executes the screenshot instruction according to the user's screenshot operation, the obtained screenshot preview image 302 is displayed on the touch screen 101; when the electronic device 100 detects the user's finger 303's selection operation (such as heavy pressure or long press) on the preview image 302, in response to the selection operation, the electronic device 100 can move the preview image 302 from the lower left of the touch screen 101 and display it to the middle of the touch screen 101, and display more controls, such as Figure 3G As shown. Figure 3G In the example, the GUI 301 of the weather app is blurred, the preview image 302 is displayed in the middle of the touch screen 101, and controls 309-312 are displayed. Among them, control 309 is used to delete the screenshot, control 310 is used to save the screenshot to the album, control 311 is used to share the screenshot with WeChat contacts, and control 312 is used to scroll the screenshot.
[0104] For example, Figure 3G As shown, when the electronic device 100 detects a leftward sliding gesture of the user on the preview image 302, in response to the gesture, the electronic device 100 executes an instruction to delete the screenshot. When the electronic device 100 detects a rightward sliding gesture of the user on the preview image 302, in response to the gesture, the electronic device 100 executes an instruction to save the screenshot; when the electronic device 100 detects an upward sliding gesture of the user on the preview image 302, in response to the gesture, the electronic device 100 executes an instruction to share the screenshot; when the electronic device 100 detects a downward sliding gesture of the user on the preview image 302, in response to the gesture, the electronic device 100 executes an instruction to scroll the screenshot. In this way, the user can perform different operations on the screenshot based on different gestures, which improves the efficiency of the electronic device in processing the screenshot and further improves the user experience.
[0105] It is understandable that in some other embodiments, Figure 3G In the example, the user's finger 303 can also click on one of the controls to execute the corresponding command without making gestures such as sliding up or sliding down. For example, when the user's finger 303 clicks on the control 309, in response to the click operation, the screenshot corresponding to the preview image 302 is deleted, and the GUI 301 of the weather app is redisplayed on the touch screen 101; for another example, when the user's finger 303 clicks on the control 312, in response to the click operation, the electronic device 100 performs a scrolling screenshot operation. This method of using controls can improve the accuracy of the user's screenshot processing and avoid the problem of incorrect operations on the screenshot due to incorrect gestures.
[0106] In some other embodiments, Figure 3FOn the basis of, when the electronic device 100 detects the user's finger 303 performing a selected operation (such as heavy pressure or long press) on the preview image 302, in response to the selected operation, the electronic device 100 can put the preview image 302 in an intermediate state; the intermediate state is used to prompt the user that the preview image 302 can be further operated, for example, the user can make a sliding gesture acting on the preview image, etc. The intermediate state can be presented on the touch screen 101 as: the display of the preview image 302 becomes larger, or the preview image 302 is displayed with a shaking effect, or the preview image 302 is displayed with a floating effect. In some other embodiments, in addition to the above presentation, the intermediate state can also display controls 309-312 around the preview image 302 to further prompt the user to perform the next operation.
[0107] By presenting a display effect indicating that the preview image 302 is in an intermediate state on the touch screen 101, the user can be given an operation guide very intuitively, and the operation guide can guide the user to continue to perform subsequent operations on the preview image 302 without leaving the touch screen 101. This saves the user's operation time and further improves the user experience.
[0108] Exemplarily, in the case where the above-mentioned selected operation, such as a long press operation, does not leave the touch screen 101, the user can continue to make a downward sliding gesture. In response to the downward sliding gesture, the electronic device 100 can perform an operation of scrolling the screenshot; or, in the case where the above-mentioned selected operation, such as a long press operation, does not leave the touch screen 101, the user can make an upward sliding gesture. In response to the upward sliding gesture, the electronic device 100 can perform an operation of sharing the screenshot. Through the technical solution of the above-mentioned embodiment, the electronic device 100 can respond to the user's selection operation on the preview image of the screenshot, and then perform the next step of processing on the screenshot, which improves the efficiency of the electronic device 100 in processing the screenshot and further improves the user experience.
[0109] In some other embodiments, Figure 3F On the basis of, when the electronic device 100 detects that the user's finger 303 has performed a selection operation (such as heavy pressing or long pressing) on the preview image 302, if the user's finger 303 makes a sliding gesture again, the electronic device 100 can respond to the sliding gesture to perform different processing on the preview image 302. That is to say, in this embodiment, the electronic device 100 does not need to put the preview image 302 in an intermediate state. Only after detecting that the user has performed a selection operation of heavy pressing or long pressing on the preview image 302, the electronic device 100 detects that the user has performed a sliding gesture (such as gestures 304, 307, etc.), in response to the sliding gesture, the electronic device 100 performs corresponding processing on the preview image 302. The specific processing is shown in the above embodiment and will not be repeated here. As shown in 2A, in Figure 2AThe first page of the home screen of the electronic device 100 is shown in FIG. 1 , and the icon 205 of the weather app is shown in the first page. In response to the user's touch operation on the icon 205, the GUI 401 of the weather app is displayed on the touch screen 101, as shown in FIG. Figure 4A As shown. The GUI displays the weather information of Shenzhen City within a week, which may include the temperature (highest temperature, lowest temperature) and specific weather conditions. When the electronic device 100 detects the upward sliding gesture 404 of the user's finger 403 on the above GUI, in response to the gesture 404, the GUI of the weather app also slides with the sliding of the gesture and displays more weather information. Figure 4B As shown, the GUI shows the Figure 4A Weather information displayed in the app, such as today's detailed weather conditions, sunrise time, sunset time, wind speed, and perceived temperature.
[0110] When the user wants to take a screenshot to get Figure 4A and 4B To view all weather information, you usually need to first use a preset gesture or physical button to capture a normal screenshot (the screenshot is Figure 4A Then, the user can scroll and take screenshots by clicking the controls displayed on the touch screen 101. Another way is that the user can take screenshots first to obtain Figure 4A Then take a screenshot to get the content Figure 4B The content in the image is then combined into a scrolling screenshot (also called a long screenshot) through an algorithm. As can be seen from the above, the above two scrolling screenshot methods are cumbersome to operate and greatly reduce the efficiency of using electronic devices.
[0111] To solve the above technical problems, this embodiment provides a scrolling screenshot method, which can greatly improve the efficiency of scrolling screenshots of the electronic device 100 and also improve the user experience. The specific implementation scheme is described in detail in the following embodiments.
[0112] like Figure 4C As shown, when the user makes a screenshot operation for GUI 401, the electronic device 100 responds to the screenshot operation, executes the screenshot instruction and displays a preview image 402 of the screenshot on the touch screen 101. The preview image 402 is a preview image of the GUI 401 currently displayed on the touch screen 101 captured by the electronic device 100. When the user's finger 403 touches the preview image 402, a GUI for editing the screenshot corresponding to the preview image 402 can be displayed on the electronic touch screen 101. The GUI can include various editing controls, such as graphic controls such as cropping, rotation, brightness, and color temperature.
[0113] In some embodiments, Figure 4CAs shown, after the electronic device 100 detects that the user's finger 403 performs a selection operation of pressing or long pressing the preview image 402, the electronic device 100 detects that the user performs a downward sliding gesture 405; in response to the gesture 405, the electronic device 100 performs a scrolling screenshot operation, and displays the captured scrolling screenshot preview image 403 on the touch screen 101, as shown in FIG. Figure 4F As shown. Figure 4F In the embodiment, the user's finger 403 has been lifted from the touch screen 101, and a preview image 403 of the scrolling screenshot is displayed on the touch screen; in some other embodiments, in response to the user's finger 403 being lifted from the touch screen 101, the electronic device 100 can automatically save the acquired scrolling screenshot (i.e., the long screenshot), and can display a prompt box 404 on the touch screen, wherein the prompt box 404 is used to prompt the user that the scrolling screenshot has been saved in the album. Figure 4H is a schematic diagram of a screenshot obtained after the electronic device 100 performs a scrolling screenshot operation. The content in the screenshot can be Figure 4A and Figure 4B All of the weather information displayed. In other embodiments, such as Figure 4H As shown, the electronic device may display a mark 413 in the screenshot, and the mark 413 is used to indicate which screenshot software is used to make the screenshot.
[0114] It should be noted that, in the above embodiment, if the electronic device 100 does not detect that the user performs a selection operation of pressing or long pressing on the preview image 402, but detects that the user performs a gesture 405; then in response to the gesture 405, the electronic device 100 can hide the preview image 402. At this time, the GUI 401 of the weather app is still displayed on the touch screen 101, and the preview image 402 is no longer displayed, such as Figure 4A That is, only when the electronic device 100 detects the above-mentioned heavy pressing or long pressing selection operation, the above-mentioned gesture 405 indicates that the user wants to perform a scrolling screenshot operation, and then the electronic device performs the scrolling screenshot operation in response to the gesture 405. In this way, the problem of incorrectly performing a scrolling screenshot due to the user's misoperation is avoided, thereby improving the user experience.
[0115] In some other embodiments, when the electronic device 100 detects that the user's finger makes a downward sliding gesture 405 on the preview image 402, in response to the gesture 405, the electronic device 100 performs a scrolling screenshot operation, and displays the captured scrolling screenshot thumbnail preview image 403 on the touch screen 101. In this embodiment, the user does not need to long press or press the preview image 402 first, but can click on the preview image 402 and then drag it downward, so that the electronic device can perform the scrolling screenshot operation accordingly and update the preview image 402 to the preview image 411.
[0116] In some other embodiments, when the user's finger 403 performs a selection operation of pressing or long pressing the preview image 402, in response to the selection operation, the electronic device 100 can make the preview image 402 in an intermediate state; the intermediate state is used to prompt the user to perform further operations on the preview image 302, for example, the user can make a sliding gesture acting on the preview image, etc., and the intermediate state can be presented on the touch screen 101 as: the display of the preview image 402 becomes larger, or the preview image 402 is displayed as a shaking effect, or the preview image 402 is displayed as a floating effect. In some other embodiments, in addition to the above presentation, the intermediate state can also display controls 309-312 around the preview image 302 to further prompt the user to perform the next operation, which further improves the use efficiency of the electronic device 100 and further improves the user experience. By presenting a display effect on the touch screen 101 to indicate that the preview image 402 is in an intermediate state, the electronic device 100 can give the user an operation guide very intuitively, and the operation guide can guide the user to continue to perform subsequent operations on the preview image 402 without leaving the touch screen 101 during the above selection operation. This saves user operation time and further improves the user experience.
[0117] In some other embodiments, the electronic device 100 may correspondingly capture the image on the touch screen 101 according to the sliding distance of the gesture 405. Figure 4A The part or all of the content of the weather app not displayed in the image can be displayed, and previews of different screenshots can be dynamically displayed on the touch screen 101. The greater the sliding distance of the gesture 405, the more content is captured, and vice versa.
[0118] For example, Figure 4C As shown, the electronic device 100 detects a downward sliding gesture 405 of the user on the preview image 402; in response to the gesture 405, the electronic device 100 starts to perform a scrolling screenshot operation on the weather app. Figure 4D As shown, when the gesture 405 slides from position A of the touch screen to position B of the touch screen 101, a preview image 410 of the acquired screenshot is displayed on the touch screen 101. This indicates that the scrolling screenshot corresponding to the sliding distance AB from position A to position B is the screenshot represented by the preview image 410. Specifically, in the preview image 410, the last content 410-1 of the acquired screenshot can be seen. The screenshot corresponding to the sliding distance of the gesture 405 from position A to position B is shown from the captured status bar to the last content 410-1.
[0119] like Figure 4EAs shown, when the gesture 405 slides from position A to position B and then continues to slide to position C, a preview image 411 of the captured screenshot is displayed on the touch screen. This indicates that the scrolling screenshot corresponding to the sliding distance AC from position A to position C is the screenshot represented by the preview image 411. Specifically, in the preview image 411, the content 411-1 at the very end of the captured screenshot can be seen. The screenshot corresponding to the sliding distance of the gesture 405 from position A to position C is from the captured status bar to the content 411-1 at the very end. At this time, when the user continues to perform a sliding operation, such as sliding from position C to position D (not shown in the figure), in response to the touch operation of the gesture 405 sliding from position C to position D, a prompt box is displayed on the touch screen 101. This prompt box is used to prompt the user that there is no more content available for screenshotting currently. That is, since all the content of the Weather App has been screenshot, the electronic device 100 cannot obtain the corresponding screenshot based on the sliding distance from position C to position D. In this way, by means of the above-mentioned prompt box, the user can be prompted, which can further improve the user experience of scrolling screenshot. It can be understood that position A, position B, and position C can be located within each of the above preview images or outside each of the above preview images.
[0120] In some other embodiments, during the process of the user making a downward sliding gesture 405, the preview image of the screenshot displayed on the touch screen 101 can be automatically updated. In some other embodiments, in addition to the preview image being automatically updated according to the sliding distance of the gesture 405, at the same time, the GUI of the Weather App can also be automatically updated according to the sliding distance of the gesture 405. Exemplarily, as Figure 4DAs shown, when the electronic device detects that the gesture 405 slides from position A to position B, the preview image 402 is updated to the preview image 410. The content of the screenshot corresponding to the sliding distance AB is added to the preview image 410. At the same time, an updated GUI of the Weather App is displayed on the touch screen 101, including the weather condition 409. The weather condition 409 is the same as the content of the weather condition 410-1 in the preview image 410, that is, the GUI of the Weather App is automatically updated. Similarly, when the gesture 405 slides from position A to position B and then continues to slide to position C, the preview image 410 is updated to the preview image 411. The content of the screenshot corresponding to the sliding distance BC is added to the preview image 411. At the same time, an updated GUI of the Weather App is displayed on the touch screen 101, including the weather condition 411. The weather condition 411 is the same as the content of the weather condition 411-1 in the preview image 411, that is, the GUI of the Weather App is automatically updated again. It should be understood that as long as the above sliding distance is changed (such as increased or decreased), the GUI of the above Weather App will be automatically updated accordingly, and the preview image will also be automatically updated for display. Through the above technical solution, the electronic device 100 can, during the user's gesture of scrolling the screenshot, prompt the user about the real-time situation of scrolling the screenshot through the automatically updated preview image or GUI on the touch screen, further guiding the user to take screenshots correctly, thereby improving the efficiency of scrolling screenshots on the electronic device and further enhancing the user experience.
[0121] In some other embodiments, during the process of the user making a downward sliding gesture 405, it is also possible to slide in the opposite direction (such as upward). In this case, the preview image can also be automatically updated. Exemplarily, as Figure 4E shown, the gesture 405 can be sliding from position A to position C. At this time, the preview image 411 is displayed on the touch screen 101. Then, without the user's finger leaving the touch screen 101, the user makes an upward sliding gesture 415 (not shown in the figure). This gesture 415 slides upward from position C to position B. At this time, the preview image 411 can be automatically updated to the preview image 410, indicating that the content of the scrolled screenshot has decreased accordingly; and the preview image 410 is displayed on the touch screen 101, as Figure 4D shown.
[0122] In some other embodiments, when the user's finger 403 makes a downward sliding gesture 405 on the preview image 402, the size and content of the preview image 402 can remain unchanged, and the preview image 402 can move downward as the user's finger 403 is dragged downward, as Figure 4IAs shown. Meanwhile, during the execution of the gesture 405, the graphical user interface of the Weather App displayed on the touch screen 101 can also slide upward accordingly, so that updated weather information that was not previously displayed is shown on the touch screen 101. For example, currently weather information 409 is shown, as Figure 4I shown. When the user's finger is lifted and leaves the touch screen 101, this operation indicates that the user has ended the gesture 405; therefore, in response to this lift operation, the preview image 402 on the touch screen 101 can move back to its original position with an animation effect of bouncing upward, as Figure 4J shown. This position can be the position where the preview image 402 was located when it was not touched by the user's finger 403, as Figure 4C the position where the preview image 402 is located in
[0123] It should be noted that in this embodiment, the above selection operation and the gesture 405 can be operations continuously performed by the user. For example, the user first performs a heavy press or long press selection operation, and then, without lifting the finger 403 from the touch screen 101, makes a downward sliding gesture 405.
[0124] In some other embodiments, as Figure 4C shown, when a selection operation (such as a heavy press or long press, etc.) by the user on the preview image 402 is detected, in response to this selection operation, the electronic device 100 can display a GUI as Figure 4G shown. In this GUI, the preview image is floatingly displayed, and the controls 405 - 408 are shown. When the user makes a left / right / up / down sliding gesture on the preview image 402 (or 410, 411, 413, etc.), in response to the above gesture, the electronic device 100 can perform different processing on the screenshot corresponding to the preview image.
[0125] It should be noted that the above Figures 3A to 3G , Figures 4A to 4J etc. are schematic diagrams for explaining and illustrating the technical solutions in the above related embodiments. The numbering and arrangement order of the figures do not indicate the operation sequence of a series of graphical user interfaces in the embodiments. The numbering and arrangement order of the above figures can also be in other forms.
[0126] Combined with the above embodiments and the corresponding drawings, this embodiment provides a method for scrolling screenshots, which can be implemented in an electronic device 100 (such as a mobile phone, a tablet computer, etc.) having the Figure 1 structure shown. As Figure 5 shown, this method can include:
[0127] Step S501: The electronic device displays the GUI of the first application on the touch screen. The first App may be a weather application as in the above embodiments, and its GUI may be Figure 3A , 3B , 4A or 4B.
[0128] Step S502: The electronic device detects a screenshot operation by the user. Exemplarily, as Figure 2A shown, the screenshot operation may be that the user presses the power key 206 and the home screen key 204 simultaneously; the screenshot operation may also be that the user clicks a control in the touch screen 101, which is more convenient. For another example, the screenshot operation may be based on a gesture made by the user on the touch screen 101. When the electronic device 100 determines that the gesture is a preset gesture, the electronic device determines that the user is performing a screenshot operation. This embodiment does not limit how to perform the screenshot operation.
[0129] Step S503: In response to the above screenshot operation, the electronic device takes a screenshot of the above GUI and displays a first preview image corresponding to the obtained first screenshot on the touch screen. As Figure 4C shown, the above first preview image may be preview image 402.
[0130] Step S504: The electronic device detects a first touch operation on the above first preview image.
[0131] In some embodiments, the above first touch operation may be: a downward sliding gesture made by the user's finger on the above first preview image. In some other embodiments, the above first touch operation may also be: a selection operation of long pressing or pressing hard on the above first preview image by the user's finger, and then making a downward sliding gesture without the finger leaving the touch screen. Exemplarily, as Figure 4C shown, the first touch operation may be that the user's finger 403 makes a pressing hard selection operation on the preview image 402, and then the finger 403 does not leave the touch screen 101 and makes a downward sliding gesture 405.
[0132] Step S505: In response to the above first touch operation, update the first preview image to a second preview image and display it on the touch screen.
[0133] Exemplarily, in the case where the above-mentioned selected operation is detected, if the electronic device further receives a user's swipe gesture (such as a downward swipe gesture 405) for the preview image 402, then in response to the above-mentioned swipe gesture, the electronic device starts to perform the operation of scrolling screenshot. As described in the above embodiments, the electronic device can intercept screenshots of different contents correspondingly according to the swipe distance of the above-mentioned swipe gesture (such as gesture 405) on the touch screen, and can dynamically display the preview images of different screenshots on the touch screen. For example, the above-mentioned first preview image is the preview image corresponding to the first screenshot intercepted by the user's screenshot operation, and the above-mentioned second preview image is the preview image of the second screenshot intercepted according to the above-mentioned first touch operation.
[0134] In some embodiments, the above-mentioned first touch operation may be a downward swipe gesture. Then, the electronic device can intercept screenshots containing different contents according to the swipe distance of this gesture, and display the second preview image corresponding to this screenshot on the touch screen. That is, the first preview image is updated and displayed as the second preview image.
[0135] In some embodiments, both the first preview image and the second preview image may be of the first application. That is to say, the two preview images are different preview images displayed for the screenshots of the above-mentioned first application.
[0136] Through the technical solutions of the above embodiments, the electronic device can enable the user to perform scrolling screenshots through touch operations (such as swipe gestures) on the preview image, which greatly improves the efficiency of the electronic device in performing scrolling screenshots and also improves the user experience.
[0137] In some other embodiments, the above-mentioned first preview image can be automatically updated to the second preview image according to the touch operation (such as the distance of the swipe gesture) in step S504, and the second preview image is displayed on the touch screen. In some other embodiments, while the first preview image is automatically updated to the second preview image, the GUI of the above-mentioned first application is automatically updated and displayed.
[0138] In some embodiments, since the first screenshot corresponding to the first preview image is a screenshot of the currently displayed GUI, and the second screenshot corresponding to the second preview image is a screenshot that in addition to the currently displayed GUI, also includes the content of the first application (such as weather) that is not displayed in the current GUI. Therefore, in terms of the display effect, the size of the above-mentioned first preview image can be smaller than the size of the second preview image, so that it is easy for the user to identify whether the currently displayed preview image is an ordinary screenshot or a scrolling screenshot. Of course, in some other embodiments, although the content of the first preview image is less than the content of the second preview image, for the sake of unified display effect, the size of the first preview image can also be the same as the size of the second preview image.
[0139] In some other embodiments, the above method for scrolling screenshots may further include:
[0140] Step S506: The electronic device detects a second touch operation on the above second preview image, and the second touch operation may be a long - press or a heavy - press operation.
[0141] Step S507: In response to the second touch operation, at least two controls are displayed on the touch screen, and these controls are used to perform different processes on the second screenshot corresponding to the above second preview image.
[0142] Exemplarily, these controls may be such as Figure 4G the controls 405 - 408 in. In Figure 4G when the electronic device 100 detects a touch operation by the user on the control 414, in response to the touch operation, the electronic device 100 deletes the screenshot. When the electronic device 100 detects a touch operation by the user on the control 406, in response to the operation, the electronic device 100 saves the screenshot; when the electronic device 100 detects a touch operation by the user on the control 407, in response to the operation, the electronic device 100 shares the screenshot with WeChat contacts; when the electronic device 100 detects a touch operation by the user on the control 408, in response to the operation, the electronic device 100 performs an operation of scrolling screenshot on the Weather App displayed on the touch screen 101. In this way, the user can perform different operations on the second screenshot based on different controls, improving the efficiency of the electronic device in processing screenshots and further enhancing the user experience.
[0143] Step S508: The electronic device detects a third touch operation on one of the controls;
[0144] Step S509: In response to the above third touch operation, the second screenshot corresponding to the above second preview image is shared with the contacts of the second application.
[0145] Exemplarily, the control may be Figure 4G the control 407 in, and the control 407 is used to share the second screenshot corresponding to the preview image with the contacts of WeChat.
[0146] In some other embodiments, such as Figure 4GAs shown in the figure, when the electronic device 100 detects a left - swipe gesture of the user on the preview image 410, in response to this gesture, the electronic device 100 deletes the screenshot. When the electronic device 100 detects a right - swipe gesture of the user on the preview image 410, in response to this gesture, the electronic device 100 saves the screenshot; when the electronic device 100 detects an up - swipe gesture of the user on the preview image 410, in response to this gesture, the electronic device 100 shares the screenshot with WeChat contacts; when the electronic device 100 detects a down - swipe gesture of the user on the preview image 410, in response to this gesture, the electronic device 100 performs an operation of scrolling the screenshot on the weather App displayed on the touch screen 101. In this way, the user can perform different operations on the screenshot based on different gestures, improving the efficiency of the electronic device in processing screenshots.
[0147] It can be understood that the gestures in the above - mentioned embodiments, such as gestures 304, 307, 405, 415, can be swipe gestures acting on (or targeting) any position on the touch screen 101, or can be swipe gestures acting on the preview image of the screenshot (such as 302). In the latter case, only the swipe gestures acting on the preview image 302 (such as gestures 304, 307) can trigger the display of the function menu 305 or the function menu 305 on the touch screen 101. In some embodiments, the swipe gesture acting on (or targeting) the preview image 302 can specifically be: the user's finger 303 touches the displayed preview image 302 and makes an up - swipe or down - swipe gesture without leaving the touch screen 101; in some other embodiments, the gesture acting on the preview image 302 can also be: the user's finger 303 presses hard on the preview image 302 and then makes an up - swipe or down - swipe gesture without leaving the touch screen 101. Of course, the above is only an example of the gesture acting on the preview image 302. In some other embodiments, the gesture can also be other types of gestures, and this embodiment does not limit the gesture in any way.
[0148] As Figure 7 shown, this embodiment provides a method for scrolling screenshots, which can be implemented on an electronic device 100 with a touch screen, including:
[0149] Step S701: Display a graphical user interface (GUI) of a first application on the touch screen;
[0150] Step S702: The electronic device detects a screenshot operation;
[0151] Step S703: In response to the screenshot operation, the electronic device takes a screenshot of the GUI;
[0152] Step S704: The electronic device displays the first preview image corresponding to the first screenshot at the first position on the touch screen;
[0153] Step S705: The electronic device detects a first touch operation on the first preview image;
[0154] Step S706: In response to the first touch operation, the electronic device performs a scrolling screenshot of the GUI of the first application.
[0155] The technical solution of the above embodiment enables convenient scrolling screenshot through gesture operations on the first preview image, thus improving the efficiency of the electronic device and the user experience.
[0156] In some other embodiments, the above method may further include:
[0157] Step S707: Display a second preview image on the touch screen, where the second preview image is a preview image of the second screenshot corresponding to the scrolling screenshot.
[0158] In some other embodiments, the first touch operation may be a downward sliding gesture on the first preview image;
[0159] Then, in response to the first touch operation, the electronic device performs a scrolling screenshot of the GUI of the first application, which may specifically include: The electronic device automatically updates the displayed GUI of the first application on the touch screen according to the sliding distance of the above gesture.
[0160] In some embodiments, the first preview image may move downward accordingly with the sliding of the gesture and remain the same size; in some other embodiments, the first preview image may move downward accordingly with the sliding of the gesture, and the first preview image is automatically updated according to the sliding distance of the gesture.
[0161] In some embodiments, when the above gesture stops, the first preview image rebounds and is displayed at the first position; in some other embodiments, when the above gesture stops, the first preview image rebounds and is displayed at the first position, and the first preview image is automatically updated to the second preview image, where the second preview image is a preview image of the second screenshot intercepted according to the sliding distance of the gesture.
[0162] Such as Figure 6As shown, some other embodiments of the present application disclose an electronic device 600, which may include: a touch screen 601, where the touch screen 601 includes a touch-sensitive surface 606 and a display screen 607; one or more processors 602; a memory 603; a plurality of application programs 608; and one or more computer programs 604. The above-mentioned devices can be connected through one or more communication buses 605. Wherein the one or more computer programs 804 are stored in the above-mentioned memory 603 and are configured to be executed by the one or more processors 602. The one or more computer programs 604 include instructions, and the above instructions can be used to execute as Figure 5 and the respective steps in the corresponding embodiments. In some other embodiments, the above instructions can be used to execute as Figure 7 and the respective steps in the corresponding embodiments.
[0163] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above-mentioned division of each functional module is used as an example for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0164] In each embodiment of the embodiments of the present application, each functional unit can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0165] It should be noted that in the above embodiments, the screenshot may include the status bar or may not include the status bar. The screenshot can include the entire GUI of the App, or can only include a part of the GUI of the App. In the second case, the screenshot can also be called a screenshot of the App.
[0166] As used in the above embodiments, depending on the context, the term "when..." can be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if detecting (the stated condition or event)" can be interpreted to mean "if determining..." or "in response to determining..." or "when detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)".
[0167] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive), etc.
[0168] For purposes of explanation, the foregoing description has been presented by reference to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive, nor is it intended to limit the present application to the precise forms disclosed. Many modifications and variations are possible in light of the above teachings. The embodiments were chosen and described in order to best explain the principles of the present application and its practical applications, to thereby enable others skilled in the art to best utilize the present application with various modifications suited to the particular uses contemplated.
Claims
1. A method for scrolling screenshot, characterized in that, The method is implemented on an electronic device with a touch screen, and the method includes: Displaying a graphical user interface (GUI) of a first application on the touch screen; The electronic device detecting a screenshot operation; In response to the screenshot operation, the electronic device performing a first screenshot of the GUI to obtain a first preview image, wherein the size of the first preview image is smaller than the size of the GUI, and the first preview image is a preview image of the GUI currently displayed on the touch screen; The electronic device displaying the first preview image at a first position on the touch screen; If the electronic device detects a first touch operation on the first preview image that is not a downward swipe, then displaying a GUI for editing the screenshot corresponding to the first preview image, where the GUI includes editing controls; If the electronic device detects a downward swipe gesture on the first preview image, then in response to the downward swipe gesture, the electronic device scrolls the screen downward and performs a scrolling screenshot of the first application. The first preview image moves downward accordingly with the swipe of the downward swipe gesture, and the content of the first preview image is automatically updated according to the swipe distance of the downward swipe gesture. When the downward swipe gesture stops, the first preview image rebounds and is displayed at the first position, and a second preview image is displayed on the touch screen; Wherein, the distance that the electronic device scrolls the screen downward is proportional to the swipe distance of the downward swipe gesture; the second preview image is a preview image of a second screenshot obtained by performing a scrolling screenshot of the first application.
2. The method according to claim 1, wherein The method further includes: The electronic device detecting a second touch operation on the second preview image; In response to the second touch operation, displaying at least two controls on the touch screen; The electronic device detecting a third touch operation on one of the controls; In response to the third touch operation, sharing the second screenshot corresponding to the second preview image with a contact of a second application.
3. The method according to claim 2, characterized in that, The size of the first preview image is less than or equal to the size of the second preview image.
4. The method according to any one of claims 2 to 3, wherein: The first preview image corresponds to a first screenshot, and the second preview image corresponds to a second screenshot; or The first application is Weather, and the second application is WeChat; or The screenshot operation is that the user simultaneously presses the power button and the home screen button of the electronic device; or The content of the first screenshot is the content of the GUI displayed on the touch screen; or The second touch is a heavy press or long press operation.
5. The method according to claim 1, wherein The method further includes: the first preview image moves downward accordingly with the swipe of the downward swipe gesture and maintains its size.
6. The method according to claim 1, wherein Displaying the second preview image on the touch screen specifically means: automatically updating the first preview image to the second preview image and displaying it on the touch screen.
7. An electronic device, comprising: A touch screen; One or more processors; A memory; Multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory and, when executed by the one or more processors, cause the electronic device to perform the method according to any one of claims 1 to 6.
8. A computer-readable storage medium, comprising instructions, characterized in that, When the instructions are run on an electronic device, cause the electronic device to perform the method according to any one of claims 1-6.
Citation Information
Patent Citations
Screenshot method, mobile terminal and storage medium
CN107145293A