Screenshot method and device, and computer readable storage medium

A technology of screenshots and screen images, applied in the input/output process of calculation and data processing, instruments, etc., can solve the problems of different picture content and affect the beauty of pictures, so as to ensure no distortion and reduce the processing volume.

Pending Publication Date: 2017-11-17
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
5 Cites 22 Cited by

AI-Extracted Technical Summary

Problems solved by technology

However, the captured screen image will contain some information on the status bar of the mobile phone, such as time, date, and mobile phone system and other information that is not rel...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Method used

By responding to the screenshot instruction, triggering the status bar to carry out screen image interception after automatically hiding, can solve the problem that can not directly intercept the screen image that does not contain the status bar information in the related art; In addition, do not need to pass through image after screenshot Processing technology is used to hide the status bar, and the screen image without status bar information can be intercepted directly. It is convenient and fast, and it can also reduce the amount of processing and ensure that the image ratio is not distorted.
[0063] The processing component 702 generally ...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention relates to a screenshot method and device, and a computer-readable storage medium. The method comprises the steps of receiving screen capture instructions; hiding a status bar in response to screen capture instructions; intercepting screen images to obtain screen images that do not contain the status bar information. By responding to the screen capture instructions, the status bar is triggered to automatically hide, interception of the screen images is conducted, and the problem that related technologies cannot directly intercept screen images which do not contain the status bar information is solved; additionally, it is not necessary to hide the status bar through an image processing technology after the screenshot, and the screen images without the status bar information can be directly intercepted; the method is convenient and fast, can reduce the processing volume, and ensures that the image ratio is not distorted.

Application Domain

Technology Topic

Medical physicsScreen capture +4

Image

  • Screenshot method and device, and computer readable storage medium
  • Screenshot method and device, and computer readable storage medium
  • Screenshot method and device, and computer readable storage medium

Examples

  • Experimental program(1)

Example Embodiment

[0027] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
[0028] figure 1 is a flowchart of a method for taking screenshots according to an exemplary embodiment, such as figure 1 shown, including the following steps:
[0029] In step S11, a screenshot instruction is received. Wherein, the screenshot instruction can be generated by triggering a key combination, or can be generated by clicking a screenshot button.
[0030] In step S12, in response to the screenshot instruction, the status bar is hidden. For example, the status bar can be hidden by moving the status bar layer down below the desktop layer.
[0031] In step S13, a screen image is captured to obtain a screen image that does not contain status bar information.
[0032] In this embodiment, the user can generate a screenshot command by clicking the screenshot widget. After receiving the screenshot command, the system moves the status bar layer down to the desktop layer to hide the status bar, and then , take a screenshot to get an image of the screen without the status bar information.
[0033] By responding to the screenshot instruction, triggering the status bar to automatically hide and then capturing the screen image, the problem in the related art that the screen image that does not contain the status bar information cannot be directly captured can be solved; The status bar is hidden, and the screen image without the status bar information can be directly captured, which is convenient and quick, and can also reduce the processing amount and ensure that the image ratio is not distorted.
[0034] figure 2 is a flowchart of a method for taking screenshots according to another exemplary embodiment, such as figure 2 shown in figure 1 On the basis of , the method may further include the following steps:
[0035] Before executing step S13, step S21 is executed. In step S21, in response to the screenshot instruction, the icon content generated when each key in the key combination is triggered is hidden. For example, the icon content can be hidden by moving the icon content layer generated when each key in the key combination is triggered to below the desktop layer.
[0036] In addition, it should be noted that although the figure 2 It is shown that step S21 is executed before step S12, but the present disclosure is not limited to this, step S21 can also be executed after step S12, or be executed simultaneously with step S12, and these modified embodiments all fall within the scope of the present disclosure. within the range.
[0037] Screenshot commands are generated by triggering key combinations. Illustratively, the key combination may include, for example, an on-screen menu key and a volume down key. In actual operation, when the user wants to take a screenshot by combining the keys, it often happens that the keys are not activated synchronously. refer to image 3 , when the user first presses the volume down key 2, the icon content generated when the volume down key 2 is triggered will appear at the top of the phone screen, such as image 3 As shown in the sign box 3 at the top of the screen, a volume-down icon will be displayed at the top of the screen. At this time, when the user presses the screen menu key 1 again to generate a screenshot command, in the related art, the screen image captured will include the screen image of the logo frame 3, which will cause the captured image to be different from the one that the user originally intended to capture. The content of the image is inconsistent, and the user needs to perform the screenshot operation again to obtain the expected screen image. In order to solve this problem, in this embodiment of the present disclosure, for the screenshot instruction triggered by the combination key, before taking the screenshot, the icon content generated by each key in the combination key when the key combination is triggered is hidden, and then, Then perform a screenshot operation to obtain a screen image that does not include the status bar information and the icon content generated when each key in the key combination is triggered. like Figure 4 As shown, through this embodiment, when the user first presses the volume down key and then presses the screen menu key to take a screenshot, the captured screen image does not include the icon content generated when the volume down key is triggered.
[0038] Through the above technical solution, when the user triggers a screenshot with a combination key, the icon content generated by each key in the combination key is hidden, and when each key in the combination key is triggered asynchronously, the corresponding icon can be hidden, so that the It is avoided that the captured screen image contains other information generated by triggering the screenshot operation, so that the captured screen image does not contain interfering information, conforms to the user's original screenshot intent, and meets the user's usage needs. In addition, the user does not need to perform the screenshot operation again, which reduces the operation difficulty when the user performs the screenshot operation by triggering the combination key, and does not have to trigger the combination key synchronously, so it is more convenient for the user to use.
[0039]Optionally, before the step of capturing a screen image, the method further includes: hiding a screen notification message in response to the screenshot instruction. For example, the on-screen notification message can be hidden by moving the layer of the on-screen notification message below the desktop layer.
[0040] In practice, when a user receives a notification message, the notification message is displayed on the screen and remains displayed for a period of time. If the notification message appears on the screen when the user captures the screen image, in the related art, the captured screen image will include the notification message, and the notification message is often the content of the image that the user does not want to capture. It makes the user have to take a screenshot again after the notification message exits the display. In order to solve this problem, in this embodiment of the present disclosure, the notification message is hidden before the screen image is captured, and then the screen image is captured to obtain a screen image that does not contain status bar information and notification message.
[0041] Through the above technical solution, when a notification message is displayed on the screen and the user wants to take a screenshot, the screen notification message is hidden, so that the screen image captured by the user does not contain interference information, which conforms to the user's original screenshot intent and satisfies the user's use. requirements, while preventing users from taking screenshots again, which is convenient for users to use.
[0042] Optionally, the step of hiding the status bar in response to the screenshot instruction may include:
[0043] It is judged whether the screen capture mode of the interference removal information is enabled, wherein the screen capture mode of the interference removal information refers to the mode of performing the operation of removing interference information when taking a screenshot, and the interference information at least includes status bar information. When the user turns on the screen capture mode of the de-interference information, it means that the user wishes to capture a screen image that at least does not include the status bar information.
[0044] The status bar is hidden in response to the screenshot instruction when the screenshot mode of the de-interference information is turned on.
[0045] Through the above technical solution, the user can choose whether to enable the screen capture mode for de-interference information according to his own usage requirements. When this mode is enabled, the user can obtain a screen image with at least the status bar information hidden only after the user performs a screen capture operation. If this mode is not enabled, the user obtains a screen image with status bar information after taking a screenshot. In this way, the screenshot modes are made more diverse, more choices are provided for the user to meet the user's usage needs, and the user experience is improved.
[0046] In other embodiments, the interference information may further include: icon content corresponding to a key, a screen notification message, and the like. Correspondingly, when the screen capture mode of the de-interference information is turned on, the terminal may perform the following operations: in response to the screen capture instruction, hide the icon content generated when each key in the key combination is triggered; and, in response to the screen capture instruction , to hide the on-screen notification message.
[0047] According to a second aspect of the embodiments of the present disclosure, an apparatus for taking screenshots is provided. Figure 5 It is a block diagram of an apparatus for taking screenshots according to an exemplary embodiment. refer to Figure 5 , the device 10 includes:
[0048] an instruction receiving module 110, configured to receive a screenshot instruction;
[0049] a first hiding module 120, configured to hide the status bar in response to the screenshot instruction;
[0050] The capturing image module 130 is configured to capture a screen image to obtain a screen image that does not contain status bar information.
[0051] Image 6 It is a block diagram of an apparatus for taking screenshots according to another exemplary embodiment. refer to Image 6 ,exist Figure 5 On the basis of , the screenshot instruction is a combination key screenshot instruction; and the device 10 may also include:
[0052] The second hiding module 210 is configured to hide the icon content generated when each key in the key combination is triggered in response to the screenshot instruction before the image capturing module 130 captures the screen image.
[0053] Optionally, the device 10 may also include:
[0054] The third hiding module is configured to hide the screen notification message in response to the screenshot instruction before the image capturing module 130 captures the screen image.
[0055] Optionally, the first concealment module 120 includes:
[0056] The layer moving sub-module is configured to move the status bar layer down below the desktop layer in response to the screenshot instruction, so as to hide the status bar.
[0057] Optionally, the first concealment module 120 includes:
[0058] The judgment sub-module is configured to judge whether the screen capture mode of the de-interference information is enabled;
[0059] The hiding submodule is configured to hide the status bar in response to the screenshot instruction when the screenshot mode of the de-interference information is turned on.
[0060] Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
[0061] Figure 7 A block diagram of an apparatus 700 for taking screenshots according to an exemplary embodiment. For example, apparatus 700 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
[0062] refer to Figure 7 , the apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
[0063] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 can include one or more processors 720 to execute instructions to perform all or some of the steps of the method of screenshotting. Additionally, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
[0064] Memory 704 is configured to store various types of data to support operations at device 700 . Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and the like. Memory 704 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
[0065] Power component 706 provides power to various components of device 700 . Power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 700 .
[0066] Multimedia component 708 includes screens that provide an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, multimedia component 708 includes a front-facing camera and/or a rear-facing camera. When the apparatus 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
[0067] Audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a microphone (MIC) that is configured to receive external audio signals when device 700 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 704 or transmitted via communication component 716 . In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
[0068] The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
[0069] Sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of device 700 . For example, the sensor assembly 714 can detect the open/closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, and the sensor assembly 714 can also detect a change in the position of the device 700 or a component of the device 700 , the presence or absence of user contact with the device 700 , the orientation or acceleration/deceleration of the device 700 and the temperature change of the device 700 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0070] Communication component 716 is configured to facilitate wired or wireless communication between apparatus 700 and other devices. Device 700 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0071] In an exemplary embodiment, apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the above screenshot method.
[0072] In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 704 including instructions, which are executable by the processor 720 of the apparatus 700 to accomplish the above-described screenshot method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
[0073] Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
[0074] It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Method for providing milling services

InactiveUS7104479B1Reduce processingReduction and elimination of flowCocoaGrain millingEngineeringSize reduction
Owner:THE QUAKER OATS CO

Classification and recommendation of technical efficacy words

  • Reduce processing
  • Guaranteed no distortion

Tool for detecting high-temperature acoustic emission signal of thermal barrier coating

ActiveCN104914168AGuaranteed no distortionReduce signal attenuationMaterial analysis using acoustic emission techniquesThermal insulationAcoustic emission
Owner:SHANGHAI INST OF CERAMIC CHEM & TECH CHINESE ACAD OF SCI

Space-based infrared hyperspectral image intelligent compression method

ActiveCN108198228AGuaranteed no distortionGreat practical value and economic benefitsImage codingColor/spectral properties measurementsDistortionNarrow band
Owner:HUAZHONG UNIV OF SCI & TECH

Large-scale scene infrared imaging real-time simulation method for airborne enhanced synthetic vision system

PendingCN111223191AGuaranteed no distortionImprove R&D efficiency3D modellingPhysicsSignal perception
Owner:XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products