WO2021208890A1 - Screen capturing method and electronic device - Google Patents
Screen capturing method and electronic device Download PDFInfo
- Publication number
- WO2021208890A1 WO2021208890A1 PCT/CN2021/086837 CN2021086837W WO2021208890A1 WO 2021208890 A1 WO2021208890 A1 WO 2021208890A1 CN 2021086837 W CN2021086837 W CN 2021086837W WO 2021208890 A1 WO2021208890 A1 WO 2021208890A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- input
- priority
- case
- relationship
- electronic device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000004044 response Effects 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 11
- TVEXGJYMHHTVKP-UHFFFAOYSA-N 6-oxabicyclo[3.2.1]oct-3-en-7-one Chemical compound C1C2C(=O)OC1C=CC2 TVEXGJYMHHTVKP-UHFFFAOYSA-N 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Definitions
- the present invention relates to the field of computer technology, in particular to a screen capture method and electronic equipment.
- the user needs to set a frame selection range of the pre-screenshot when taking a partial screenshot.
- the user needs to constantly adjust the boundary of the frame selection range in order to accurately capture the image of the expected content, and the operation is cumbersome. Therefore, related electronic devices have the problem of low screen capture efficiency.
- the embodiment of the present invention provides a screenshot method and electronic device to solve the problem of low screenshot efficiency of the electronic device.
- a screen capture method applied to an electronic device the method includes:
- the screenshot image includes the first object and a second object, and there is a preset layout relationship between the second object and the first object.
- an embodiment of the present invention provides a screenshot method applied to an electronic device, and the method includes:
- the screenshot image includes the first object and a second object, and there is a preset layout relationship between the second object and the first object.
- an embodiment of the present invention also provides an electronic device, including:
- the receiving module is used to receive the first input to the first object
- a generating module configured to generate a screenshot image in response to the first input
- the screenshot image includes the first object and a second object, and there is a preset layout relationship between the second object and the first object.
- an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When implementing the steps of the above screenshot method.
- an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above screenshot method are implemented.
- a screenshot image is generated; wherein the screenshot image includes the first object and the second object, and the first object There is a preset layout relationship between the second object and the first object.
- the electronic device can generate screenshots including the first object and the second object, without the user repeatedly adjusting the scope of the screenshot, and improving the efficiency of the electronic device for screenshots.
- FIG. 1 is a flowchart of a screenshot method provided by an embodiment of the present invention
- Figure 2a is a schematic diagram of a layout relationship between objects in an embodiment of the present invention.
- 2b is a schematic diagram of another layout relationship between objects in an embodiment of the present invention.
- 2c is a schematic diagram of another layout relationship between objects in an embodiment of the present invention.
- 3a is a schematic diagram of selecting a first object in another screenshot method provided by an embodiment of the present invention.
- 3b is one of the schematic diagrams of selecting the first object and the second object in another screenshot method provided by an embodiment of the present invention
- 3c is the second schematic diagram of selecting the first object and the second object in another screenshot method provided by an embodiment of the present invention.
- 3d is the third schematic diagram of selecting the first object and the second object in another screenshot method provided by an embodiment of the present invention.
- FIG. 4 is a schematic diagram of a display interface in another screenshot method provided by an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a target screenshot image in another screenshot method provided by an embodiment of the present invention.
- FIG. 6 is a structural diagram of an electronic device provided by an embodiment of the present invention.
- FIG. 7 is a structural diagram of another electronic device provided by an embodiment of the present invention.
- FIG. 1 is a flowchart of a screenshot method provided by an embodiment of the present invention, which is applied to an electronic device. As shown in FIG. 1, it includes the following steps:
- Step 101 Receive a first input to a first object.
- the above-mentioned first input may be input by the user by touching the touch screen with a finger; in the case where the electronic device includes a non-touch display screen, the above-mentioned first input may be The user inputs through other external input devices (for example: mouse, keyboard, electronic pen, keys).
- the embodiment of the present invention does not limit the input mode of the first input.
- the user completes the input for enabling the screen capture function on the electronic device, and the first input is an input related to selecting the first object; or, the first input is also It may be both an input used to start the screenshot function and an input related to selecting the first object.
- the first input is an input related to the first object.
- the first input to the first object can be understood as the first input acting on the display area of the first object, in other words, the first input
- the position of an input is in the display area of the first object, and the first object can be directly determined through the first input.
- the above-mentioned first object may be a single object; it may also be a group of interrelated objects, and this group of interrelated objects may be multiple objects with overlapping display areas, or multiple objects with independent display areas.
- Step 102 In response to the first input, generate a screenshot image; wherein the screenshot image includes the first object and a second object, and there is a preset layout relationship between the second object and the first object .
- the second object is determined after the first object is determined, and the second object has at least one layout relationship with the first object in the display screen.
- the layout relationship between the objects in the display screen can be divided into three types: nesting relationship, overlapping relationship and side-by-side relationship.
- the nesting relationship refers to the display area of one object located in the display of another object.
- the overlap relationship refers to the display area of one object and the display area of the other object.
- the side-by-side relationship means that the display area of one object does not overlap with the display area of another object, as shown in Figure 2c. That is, any two objects in the display screen have one of the above-mentioned layout relationships.
- the first input is a long-press input
- the first object is used as the base object to determine the second object having a preset layout relationship with the first object.
- the number of the aforementioned second object is not limited to one.
- the first object is a single object, multiple objects that have a preset layout relationship with the first object can be used as the second object; or In the case where the objects are a group of objects, multiple objects having a preset layout relationship with each first object can be collectively used as the second object.
- the screenshot image includes the first object and the second object, which can be understood as a screenshot of a display area including the first object and the second object, that is, the number of screenshot processing is once, for example: the first object and the second object include a total of 3 Generate a screenshot image for each object, that is, perform a screenshot process on the display area including these three objects.
- the screenshot image includes the first object and the second object, and can also be understood as taking a screenshot of at least one display area that includes the first object or the second object, that is, the number of screenshot processing is not limited to one, and it can be two or other Number of times, the display area corresponding to each screenshot processing includes at least one first object or at least one second object, for example: 1 first object, 2 second objects (second object 1 and second object 2) , It can be a screenshot process for the display area where the first object is displayed, another screenshot process for the display area where the second object 1 is displayed, and a screenshot process for the display area where the second object 2 is displayed.
- a total of three screenshots can also be two screenshots, one of which is to take a screenshot of the display area where the first object is displayed, and the other is to take a screenshot of the display area where two second objects are displayed.
- the screenshot processing may be performed twice, one of which is to take a screenshot of the display area where the first object and the second object 1 are displayed, and the second time to take a screenshot of the display area where the first object and the second object 2 are displayed.
- multiple screenshot processing may be performed simultaneously or time-sharing, which is not limited here. It should be noted that only when the display areas of the two objects do not overlap each other, that is, when the two objects are side by side, can the two objects be screened twice.
- the screenshot image can be one image; when the number of times of the above screenshot processing is multiple, the screenshot image can be multiple images obtained by multiple screenshot processing, or it can be multiple screenshots At least one image of multiple images obtained by splicing, for example: 5 images obtained through 5 screenshot processing, the screenshot image can be 2 images obtained by stitching, one of which consists of 2 images out of 5 Spliced, the other is spliced from the remaining 3 images, or one is the image of 5 images spliced in one splicing sequence, and the other is the image of 5 images spliced in another splicing sequence , There is no limitation here.
- the above-mentioned electronic device may be a mobile phone, a tablet computer (Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (PDA for short), and a mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device), etc.
- a first input to a first object is received; a screenshot image is generated in response to the first input; wherein the screenshot image includes the first object and the second object, and the second There is a preset layout relationship between the object and the first object.
- the electronic device can generate screenshots including the first object and the second object, without the user repeatedly adjusting the scope of the screenshot, and improving the efficiency of the electronic device for screenshots.
- the foregoing preset layout relationship is associated with the first input feature information
- the preset layout relationship is an overlap relationship
- the preset layout relationship is a parallel relationship
- the preset layout relationship is a nesting relationship.
- the electronic device can determine the characteristic information of the first input. For example, if the user presses the display screen with a finger, the electronic device can determine the finger's pressing position, pressing area, pressing duration, Characteristic information such as pressing pressure.
- the feature information is a specific feature value.
- the mapping relationship between the feature information and each preset layout relationship when the feature information is different feature values is preset, so that the electronic device determines that the first input feature information is a different feature value ,
- the preset layout relationship corresponding to each feature value can be determined respectively.
- the characteristic information of the first input is the pressing time
- the characteristic information of the first input is pressing pressure
- the characteristic information of the first input is the interval time between two clicks
- the characteristic information of the first input is a sliding speed, or a sliding distance, or a sliding duration.
- the characteristic information is the pressing duration; when the characteristic value is the first pressing duration, the preset layout relationship is an overlapping relationship; when the characteristic value is the second pressing duration , The preset layout relationship is a side-by-side relationship; when the characteristic value is the third pressing duration, the preset layout relationship is a nested relationship;
- the characteristic information is pressing pressure
- the preset layout relationship is an overlap relationship
- the characteristic value is the second pressure
- the preset layout relationship is the overlap relationship
- the layout relationship is a parallel relationship
- the preset layout relationship is a nested relationship
- the characteristic information is the interval duration between two clicks, and when the characteristic value is the first interval duration, the preset layout relationship is an overlapping relationship; when the characteristic value is the second interval In the case of duration, the preset layout relationship is a side-by-side relationship; when the characteristic value is the third interval duration, the preset layout relationship is a nested relationship;
- the feature information is the sliding distance
- the preset layout relationship is an overlap relationship
- the preset layout relationship is the overlap relationship
- the layout relationship be a side-by-side relationship
- the preset layout relationship is a nested relationship
- the first characteristic value is smaller than the second characteristic value, and the second characteristic value is smaller than the third characteristic value.
- the user can determine the layout relationship by controlling the feature value of the feature information corresponding to the first input, and then complete the selection of the second object , It is convenient for users to take screenshots.
- the preset layout relationship when the first input feature information is a first feature value, the preset layout relationship includes an overlapping relationship; the first input feature information is In the case of the second feature value, the preset layout relationship includes an overlap relationship and a parallel relationship; in the case where the first input feature information is a third feature value, the preset layout relationship includes an overlap relationship, a parallel relationship Relationships and nesting relationships.
- the first input is a long-press input
- the characteristic information is the pressing duration as an example
- the first pressing duration is less than or equal to 0.5 seconds
- the pattern filled object in Fig. 3a is the first object; when the first pressing duration is greater than 0.5 second and less than or equal to 1 second, the preset layout relationship includes an overlap relationship, as shown in Fig. 3b
- the objects with filling patterns in Figure 3b are the first object and the second object; in the case where the second pressing duration is greater than 1 second and less than or equal to 2 seconds, the preset layout relationship includes an overlap relationship and a parallel relationship, such as As shown in Fig.
- the objects with filling patterns in Fig. 3c are the first object and the second object; in the case that the third pressing time is greater than 2 seconds, the preset layout relationship includes overlapping relationship, side-by-side relationship and nesting relationship, such as As shown in FIG. 3d, the objects with filling patterns in FIG. 3d are the first object and the second object.
- the manner in which the first input feature information is associated with the preset layout relationship is preset, so that the preset layout relationship is determined according to the first input feature information, and then the preset layout relationship with the first object is determined.
- the second object includes N objects, and the priority of each object in the N objects is associated with the first input feature information.
- the electronic device can determine the characteristic information of the first input. For example, if the user presses the display screen with a finger, the electronic device can determine the finger's pressing position, pressing area, pressing duration, Characteristic information such as pressing pressure.
- each of the N second objects has a priority.
- the priority of the object can be associated with the attributes of the object, for example: the priority of the object is associated with the distance between the display position of the object and the display position of the first object, that is, the distance between the display position and the first object An object whose display position is closer to has a higher priority, or an object whose display position is closer to the display position of the first object has a lower priority.
- the user sets a priority level for each object, which is not limited here.
- the distance between the display position of the "short message” and the display position of the "ebook” is equal to the distance between the display position of the "friend” and the display position of the “ebook”, it can be a "short message” It has the same priority as “friends”, or other ways to distinguish the priorities of "short messages” and "friends", for example, the priority of objects with a large display area is higher than the priority of objects with a small display area, and is ranked first The priority of the object above the object is higher than the priority of the object on the right of the second object, the priority of the object on the left is higher than the priority of the object on the right, or the user can set a different priority .
- the feature information will correspond to feature values.
- the mapping relationship between the feature information and each preset priority is preset when the feature information is different feature values, so that the electronic device determines that the first input feature information is different feature values At the time, the priority corresponding to each feature value can be determined respectively.
- the preset priority is the first priority
- the preset priority is the second priority
- the first priority is higher than the second priority
- the second object includes a first target object
- the second object includes a first target object and a second target object;
- the first target object has a first priority
- the second target object has a second priority
- the characteristic information is the pressing duration
- the fourth characteristic value is the first pressing duration
- the preset priority is the first priority
- the first priority is determined
- a target object is the second object
- the preset priorities are the first priority and the second priority
- the first target object with the first priority and the The second target object of the second priority is the second object
- the characteristic information is pressing pressure
- the preset priority is the first priority
- the first priority with the first priority is determined.
- the target object is the second object
- the preset priorities are the first priority and the second priority
- the first target object with the first priority and the second priority are determined.
- the characteristic information is the interval duration between two clicks
- the preset priority is the first priority
- it is determined that the The first target object with the first priority is the second object
- the preset priorities are the first priority and the second priority
- the first priority is determined
- a target object and a second target object with a second priority are the second objects
- the characteristic information is the sliding distance
- the preset priority is the first priority
- the first priority is determined
- a target object is the second object
- the preset priorities are the first priority and the second priority
- the first target object with the first priority and the first target object with the first priority are determined
- the second target object with the second priority is the second object.
- the fourth characteristic value is smaller than the fifth characteristic value, and the first priority is higher than the second priority.
- the preset priority is the first priority
- the preset priorities are the first priority and the second priority.
- the characteristic information is the pressing time
- the electronic device when the pressing time is less than or equal to 1 second, the electronic device generates the first target object with the first priority and the first object.
- Screenshot image when the pressing time is longer than 1 second, the electronic device generates a screenshot image including a first target object with a first priority, a second target object with a second priority, and a first object
- the user can determine the priority by controlling the characteristic value of the characteristic information corresponding to the first input , And then complete the selection of the second object, facilitating the user's screen capture operation.
- the manner in which the feature information of the first input is associated with the preset priority is preset, so that the preset priority is determined according to the feature information of the first input, and the second input with the preset priority is determined.
- the user actually only needs to input one time to determine the first object and the second object, the operation is simple, and the screen capture efficiency can be improved.
- step 102 may include:
- a screenshot process is performed on the display area including the first object and the second object to obtain the first object and the second object.
- the first object and the second object have an overlapping relationship with each other, as shown in FIG. 2b.
- the outline of the screenshot image obtained by the screenshot processing is the outline corresponding to the union of the display area of the first object and the display area of the second object on the display screen, as shown in the outline with line filling in FIG. 5.
- the screenshot image obtained in this way has no other redundant information, which is convenient for users to quickly share the screenshot image without worrying about the leakage of privacy and the user does not need to mask the private information. (For example: trace black, mosaic, etc.).
- the preset layout relationship is a parallel relationship.
- the object that has a parallel relationship with the first object and has the first priority is selected as the second object; in the case that the second pressing duration is greater than 1.5 and less than or equal to 2 seconds , Select the object that has a parallel relationship with the first object and has the first priority and the second priority as the second object.
- FIG. 6 is a structural diagram of an electronic device provided by an embodiment of the present invention.
- the electronic device 600 includes a receiving module 610 and a generating module 620, wherein:
- the receiving module 610 is configured to receive the first input to the first object
- the generating module 620 is configured to generate a screenshot image in response to the first input
- the screenshot image includes the first object and a second object, and there is a preset layout relationship between the second object and the first object.
- the preset layout relationship is associated with the first input feature information
- the preset layout relationship is an overlap relationship
- the preset layout relationship is a parallel relationship
- the preset layout relationship is a nesting relationship.
- the characteristic information of the first input is the pressing time
- the characteristic information of the first input is pressing pressure
- the characteristic information of the first input is the interval time between two clicks
- the characteristic information of the first input is a sliding speed, or a sliding distance, or a sliding duration.
- the first characteristic value is smaller than the second characteristic value, and the second characteristic value is smaller than the third characteristic value.
- the second object includes N objects, and the priority of each object in the N objects is associated with the characteristic information of the first input.
- the second object when the first input feature information is a fourth feature value, the second object includes a first target object;
- the second object includes a first target object and a second target object;
- the first target object has a first priority
- the second target object has a second priority
- the fourth characteristic value is smaller than the fifth characteristic value, and the first priority is higher than the second priority.
- the electronic device 600 of the embodiment of the invention can implement the various processes implemented by the electronic device in the method embodiments of FIG. 1 to FIG.
- the electronic device 600 of the embodiment of the present invention after the user inputs the first input to the first object, the electronic device can generate screenshots including the first object and the second object, without the user repeatedly adjusting the scope of the screenshot, and improving the screenshot of the electronic device s efficiency.
- FIG. 7 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
- the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power 711 and other components.
- a radio frequency unit 701 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power 711 and other components.
- the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
- electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
- the processor 710 is configured to receive a first input to a first object; in response to the first input, generate a screenshot image; wherein the screenshot image includes the first object and the second object, and the first object There is a preset layout relationship between the second object and the first object.
- the processor 710 is further configured to associate the preset layout relationship with the feature information of the first input; when the feature information of the first input is a first feature value, The preset layout relationship is an overlapping relationship; when the first input feature information is a second feature value, the preset layout relationship is a parallel relationship; the first input feature information is a third feature In the case of a value, the preset layout relationship is a nested relationship.
- the processor 710 is further configured to: when the first input is a long-press input, the characteristic information of the first input is a pressing time; when the first input is a pressing input Below, the characteristic information of the first input is pressing pressure; when the first input is a double-click input, the characteristic information of the first input is the interval between two clicks; when the first input is In the case of sliding input, the characteristic information of the first input is sliding speed, or sliding distance, or sliding duration.
- the processor 710 is further configured to: the first characteristic value is smaller than the second characteristic value, and the second characteristic value is smaller than the third characteristic value.
- the processor 710 is further configured to include N objects in the second object, and the priority of each object in the N objects is associated with the first input feature information.
- the processor 710 is further configured to: when the first input feature information is a fourth feature value, the second object includes a first target object; When the information is the fifth characteristic value, the second object includes a first target object and a second target object; wherein, the first target object has a first priority, and the second target object has a second priority. class.
- the processor 710 is further configured to: the fourth characteristic value is smaller than the fifth characteristic value, and the first priority is higher than the second priority.
- the electronic device 700 can implement each process implemented by the electronic device in the method embodiments of FIGS. 1 to 5, and to avoid repetition, details are not described herein again.
- the electronic device 700 of the embodiment of the present invention after the user inputs the first input to the first object, the electronic device can generate screenshots including the first object and the second object, without the user repeatedly adjusting the scope of the screenshot, which improves the screenshot of the electronic device. s efficiency.
- the radio frequency unit 701 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, Uplink data is sent to the base station.
- the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 703 can convert the audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output it as sound. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic device 700 (for example, call signal reception sound, message reception sound, etc.).
- the audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 704 is used to receive audio or video signals.
- the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042.
- the graphics processor 7041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
- the processed image frame may be displayed on the display unit 706.
- the image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702.
- the microphone 7042 can receive sound, and can process such sound into audio data.
- the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.
- the electronic device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 7061 and the display panel 7061 when the electronic device 700 is moved to the ear. / Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
- the display unit 706 is used to display information input by the user or information provided to the user.
- the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 707 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
- the user input unit 707 includes a touch panel 7071 and other input devices 7072.
- the touch panel 7071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operate).
- the touch panel 7071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed.
- the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 707 may also include other input devices 7072.
- other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
- the touch panel 7071 can be overlaid on the display panel 7061.
- the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 7061.
- the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated
- the implementation of the input and output functions of the electronic device is not specifically limited here.
- the interface unit 708 is an interface for connecting an external device and the electronic device 700.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 700 or can be used to connect the electronic device 700 to an external device. Transfer data between devices.
- the memory 709 can be used to store software programs and various data.
- the memory 709 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
- the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 710 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 709, and calls data stored in the memory 709 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
- the processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs.
- the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
- the electronic device 700 may also include a power source 711 (such as a battery) for supplying power to various components.
- a power source 711 such as a battery
- the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
- the electronic device 700 includes some functional modules not shown, which will not be repeated here.
- the embodiment of the present invention also provides an electronic device, including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, when the computer program is executed by the processor 710
- an electronic device including a processor 710, a memory 709, a computer program stored on the memory 709 and running on the processor 710, when the computer program is executed by the processor 710
- the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer program is executed by a processor, each process of the above screenshot method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
- the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
- the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
- a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Abstract
Description
Claims (18)
- 一种截屏方法,应用于电子设备,包括:A screenshot method applied to electronic equipment, including:接收对第一对象的第一输入;Receiving the first input to the first object;响应于所述第一输入,生成截屏图像;In response to the first input, generate a screenshot image;其中,所述截屏图像包括所述第一对象和第二对象,所述第二对象与所述第一对象之间具有预设布局关系。Wherein, the screenshot image includes the first object and a second object, and there is a preset layout relationship between the second object and the first object.
- 根据权利要求1所述的方法,其中,所述预设布局关系与所述第一输入的特征信息相关联;The method according to claim 1, wherein the preset layout relationship is associated with the characteristic information of the first input;在所述第一输入的特征信息为第一特征值的情况下,所述预设布局关系为重叠关系;In a case where the first input feature information is a first feature value, the preset layout relationship is an overlap relationship;在所述第一输入的特征信息为第二特征值的情况下,所述预设布局关系为并列关系;In a case where the first input feature information is a second feature value, the preset layout relationship is a parallel relationship;在所述第一输入的特征信息为第三特征值的情况下,所述预设布局关系为嵌套关系。In a case where the first input feature information is a third feature value, the preset layout relationship is a nesting relationship.
- 根据权利要求2所述的方法,在所述第一输入为长按输入的情况下,所述第一输入的特征信息为按压时长;The method according to claim 2, in the case that the first input is a long press input, the characteristic information of the first input is the pressing time;在所述第一输入为按压输入的情况下,所述第一输入的特征信息为按压压力;In a case where the first input is a pressing input, the characteristic information of the first input is pressing pressure;在所述第一输入为双击输入的情况下,所述第一输入的特征信息为两次点击的间隔时长;In a case where the first input is a double-click input, the characteristic information of the first input is the interval time between two clicks;在所述第一输入为滑动输入的情况下,所述第一输入的特征信息为滑动速度、或者滑动距离、或者滑动时长。In the case where the first input is a sliding input, the characteristic information of the first input is a sliding speed, or a sliding distance, or a sliding duration.
- 根据权利要求2所述的方法,其中,所述第一特征值小于所述第二特征值,所述第二特征值小于所述第三特征值。The method according to claim 2, wherein the first characteristic value is smaller than the second characteristic value, and the second characteristic value is smaller than the third characteristic value.
- 根据权利要求1所述的方法,其中,所述第二对象包括N个对象,所述N个对象中每个对象的优先级与所述第一输入的特征信息相关联。The method according to claim 1, wherein the second object includes N objects, and the priority of each object in the N objects is associated with the characteristic information of the first input.
- 根据权利要求5所述的方法,其中,在所述第一输入的特征信息为第四特征值的情况下,所述第二对象包括第一目标对象;The method according to claim 5, wherein, in a case where the first input characteristic information is a fourth characteristic value, the second object includes a first target object;在所述第一输入的特征信息为第五特征值的情况下,所述第二对象包括第一目标对象和第二目标对象;In a case where the first input feature information is a fifth feature value, the second object includes a first target object and a second target object;其中,所述第一目标对象具有第一优先级,所述第二目标对象具有第二优先级。Wherein, the first target object has a first priority, and the second target object has a second priority.
- 根据权利要求6所述的方法,其中,所述第四特征值小于所述第五特征值,所述第一优先级高于所述第二优先级。The method according to claim 6, wherein the fourth characteristic value is smaller than the fifth characteristic value, and the first priority is higher than the second priority.
- 一种电子设备,包括:An electronic device including:接收模块,用于接收对第一对象的第一输入;The receiving module is used to receive the first input to the first object;生成模块,用于响应于所述第一输入,生成截屏图像;A generating module, configured to generate a screenshot image in response to the first input;其中,所述截屏图像包括所述第一对象和第二对象,所述第二对象与所述第一对象之间具有预设布局关系。Wherein, the screenshot image includes the first object and a second object, and there is a preset layout relationship between the second object and the first object.
- 根据权利要求8所述的电子设备,其中,所述预设布局关系与所述第一输入的特征信息相关联;8. The electronic device according to claim 8, wherein the preset layout relationship is associated with the characteristic information of the first input;在所述第一输入的特征信息为第一特征值的情况下,所述预设布局关系为重叠关系In a case where the first input feature information is a first feature value, the preset layout relationship is an overlap relationship在所述第一输入的特征信息为第二特征值的情况下,所述预设布局关系为并列关系;In a case where the first input feature information is a second feature value, the preset layout relationship is a parallel relationship;在所述第一输入的特征信息为第三特征值的情况下,所述预设布局关系为嵌套关系。In a case where the first input feature information is a third feature value, the preset layout relationship is a nesting relationship.
- 根据权利要求9所述的电子设备,其中,在所述第一输入为长按输入的情况下,所述第一输入的特征信息为按压时长;9. The electronic device according to claim 9, wherein, in a case where the first input is a long-press input, the characteristic information of the first input is a pressing time;在所述第一输入为按压输入的情况下,所述第一输入的特征信息为按压压力;In a case where the first input is a pressing input, the characteristic information of the first input is pressing pressure;在所述第一输入为双击输入的情况下,所述第一输入的特征信息为两次点击的间隔时长;In a case where the first input is a double-click input, the characteristic information of the first input is the interval time between two clicks;在所述第一输入为滑动输入的情况下,所述第一输入的特征信息为滑动速度、或者滑动距离、或者滑动时长。In the case where the first input is a sliding input, the characteristic information of the first input is a sliding speed, or a sliding distance, or a sliding duration.
- 根据权利要求9所述的电子设备,其中,所述第一特征值小于所述第二特征值,所述第二特征值小于所述第三特征值。9. The electronic device according to claim 9, wherein the first characteristic value is smaller than the second characteristic value, and the second characteristic value is smaller than the third characteristic value.
- 根据权利要求8所述的电子设备,其中,所述第二对象包括N个对象,所述N个对象中每个对象的优先级与所述第一输入的特征信息相关联。8. The electronic device according to claim 8, wherein the second object includes N objects, and the priority of each object in the N objects is associated with the first input feature information.
- 根据权利要求12所述的电子设备,其中,在所述第一输入的特征信息为第四特征值的情况下,所述第二对象包括第一目标对象;The electronic device according to claim 12, wherein, in a case where the first input characteristic information is a fourth characteristic value, the second object includes a first target object;在所述第一输入的特征信息为第五特征值的情况下,所述第二对象包括第一目标对象和第二目标对象;In a case where the first input feature information is a fifth feature value, the second object includes a first target object and a second target object;其中,所述第一目标对象具有第一优先级,所述第二目标对象具有第二优先级。Wherein, the first target object has a first priority, and the second target object has a second priority.
- 根据权利要求13所述的电子设备,其中,所述第四特征值小于所述第五特征值,所述第一优先级高于所述第二优先级。The electronic device according to claim 13, wherein the fourth characteristic value is smaller than the fifth characteristic value, and the first priority is higher than the second priority.
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,其中,所述程序被所述处理器执行时实现如权利要求1至7中任一项所述的截屏方法的步骤。An electronic device comprising a processor, a memory, and a program stored on the memory and capable of running on the processor, wherein the program is executed by the processor to implement any of claims 1 to 7 One of the steps of the screenshot method.
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的截屏方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screenshot method according to any one of claims 1 to 7 are realized .
- 一种截屏装置,其特征在于,所述截屏装置用于执行如权利要求1至7中任一项所述的截屏方法的步骤。A screen capture device, characterized in that the screen capture device is used to execute the steps of the screen capture method according to any one of claims 1 to 7.
- 一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至7中任一项所述的截屏方法的步骤。A computer program product, wherein the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the screen capture method according to any one of claims 1 to 7 A step of.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010298941.3A CN111522613B (en) | 2020-04-16 | 2020-04-16 | Screen capturing method and electronic equipment |
CN202010298941.3 | 2020-04-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021208890A1 true WO2021208890A1 (en) | 2021-10-21 |
Family
ID=71903731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/086837 WO2021208890A1 (en) | 2020-04-16 | 2021-04-13 | Screen capturing method and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111522613B (en) |
WO (1) | WO2021208890A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111522613B (en) * | 2020-04-16 | 2024-03-22 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
CN112579230A (en) * | 2020-12-10 | 2021-03-30 | 珠海格力电器股份有限公司 | Screen capturing method and device of industrial touch screen and industrial touch screen |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8225197B1 (en) * | 2011-06-22 | 2012-07-17 | Google Inc. | Rendering approximate webpage screenshot client-side |
CN104750495A (en) * | 2015-04-08 | 2015-07-01 | 魅族科技(中国)有限公司 | Screenshot method and device |
CN107797838A (en) * | 2017-09-08 | 2018-03-13 | 百度在线网络技术(北京)有限公司 | A kind of screenshot method and device |
CN109284045A (en) * | 2018-09-13 | 2019-01-29 | 武汉轻工大学 | It is a kind of that element screenshot method and device are pressed based on browser plug-in |
CN111522613A (en) * | 2020-04-16 | 2020-08-11 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101622196B1 (en) * | 2009-09-07 | 2016-05-18 | 삼성전자주식회사 | Apparatus and method for providing poi information in portable terminal |
US9176703B2 (en) * | 2012-06-29 | 2015-11-03 | Lg Electronics Inc. | Mobile terminal and method of controlling the same for screen capture |
CN106775368A (en) * | 2015-11-25 | 2017-05-31 | 中兴通讯股份有限公司 | The screenshotss method of touch screen terminal, device and touch screen terminal |
KR20180031239A (en) * | 2016-09-19 | 2018-03-28 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
US11003331B2 (en) * | 2016-10-18 | 2021-05-11 | Huawei Technologies Co., Ltd. | Screen capturing method and terminal, and screenshot reading method and terminal |
CN106873871B (en) * | 2017-01-06 | 2018-09-11 | 腾讯科技(深圳)有限公司 | Page screenshot method and apparatus |
US10783320B2 (en) * | 2017-05-16 | 2020-09-22 | Apple Inc. | Device, method, and graphical user interface for editing screenshot images |
CN110096203B (en) * | 2019-04-29 | 2021-06-25 | 维沃移动通信有限公司 | Screenshot method and mobile terminal |
-
2020
- 2020-04-16 CN CN202010298941.3A patent/CN111522613B/en active Active
-
2021
- 2021-04-13 WO PCT/CN2021/086837 patent/WO2021208890A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8225197B1 (en) * | 2011-06-22 | 2012-07-17 | Google Inc. | Rendering approximate webpage screenshot client-side |
CN104750495A (en) * | 2015-04-08 | 2015-07-01 | 魅族科技(中国)有限公司 | Screenshot method and device |
CN107797838A (en) * | 2017-09-08 | 2018-03-13 | 百度在线网络技术(北京)有限公司 | A kind of screenshot method and device |
CN109284045A (en) * | 2018-09-13 | 2019-01-29 | 武汉轻工大学 | It is a kind of that element screenshot method and device are pressed based on browser plug-in |
CN111522613A (en) * | 2020-04-16 | 2020-08-11 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111522613B (en) | 2024-03-22 |
CN111522613A (en) | 2020-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021012931A1 (en) | Icon management method and terminal | |
WO2021129762A1 (en) | Application sharing method, electronic device and computer-readable storage medium | |
WO2021083132A1 (en) | Icon moving method and electronic device | |
WO2021098705A1 (en) | Display method and electronic device | |
CN107943390B (en) | Character copying method and mobile terminal | |
WO2021036531A1 (en) | Screenshot method and terminal device | |
WO2021129536A1 (en) | Icon moving method and electronic device | |
WO2020151513A1 (en) | Information processing method and terminal device | |
WO2020151512A1 (en) | Image storage method and terminal apparatus | |
WO2021057290A1 (en) | Information control method and electronic device | |
WO2020057257A1 (en) | Application interface switching method and mobile terminal | |
WO2021057301A1 (en) | File control method and electronic device | |
WO2021115172A1 (en) | Display method and electronic device | |
WO2021068885A1 (en) | Control method and electronic device | |
WO2020199783A1 (en) | Interface display method and terminal device | |
WO2020156123A1 (en) | Information processing method and terminal device | |
US20210200432A1 (en) | Display method and mobile terminal | |
WO2021037074A1 (en) | Audio output method and electronic apparatus | |
WO2021088706A1 (en) | Method for controlling application program and electronic device | |
WO2021238788A1 (en) | Icon arrangement method, electronic device, and storage medium | |
WO2021104232A1 (en) | Display method and electronic device | |
WO2021190373A1 (en) | Interaction method, interaction system, and display device | |
WO2021115220A1 (en) | Information sharing method, electronic device and computer-readable storage medium | |
WO2021083091A1 (en) | Screenshot capturing method and terminal device | |
WO2021208890A1 (en) | Screen capturing method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21789592 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21789592 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 28/04/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21789592 Country of ref document: EP Kind code of ref document: A1 |