CN111522613A - Screen capturing method and electronic equipment - Google Patents

Screen capturing method and electronic equipment Download PDF

Info

Publication number
CN111522613A
CN111522613A CN202010298941.3A CN202010298941A CN111522613A CN 111522613 A CN111522613 A CN 111522613A CN 202010298941 A CN202010298941 A CN 202010298941A CN 111522613 A CN111522613 A CN 111522613A
Authority
CN
China
Prior art keywords
input
priority
relationship
feature information
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010298941.3A
Other languages
Chinese (zh)
Other versions
CN111522613B (en
Inventor
郑少伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010298941.3A priority Critical patent/CN111522613B/en
Publication of CN111522613A publication Critical patent/CN111522613A/en
Priority to PCT/CN2021/086837 priority patent/WO2021208890A1/en
Application granted granted Critical
Publication of CN111522613B publication Critical patent/CN111522613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a screen capture method and electronic equipment, wherein the method comprises the following steps: receiving a first input to a first object; generating a screen capture image in response to the first input; the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation. The screen capturing method and the electronic equipment can improve the screen capturing efficiency of the electronic equipment.

Description

Screen capturing method and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a screen capturing method and electronic equipment.
Background
With the continuous development of electronic information technology, electronic devices (such as smart phones, tablet computers, and the like) are applied more and more widely, and play an indispensable role in both work and life of people. With the increasing popularity of electronic devices, a lot of important information is provided to users through the electronic devices, and users often need to capture partial pictures displayed by the electronic devices for sharing or saving.
In the related art, a user needs to set a frame selection range of a pre-screen-capture when performing a local screen-capture, however, generally, the user needs to continuously adjust the boundary of the frame selection range in order to accurately capture an image of an expected content, which is cumbersome to operate. Therefore, the related electronic device has a problem of low screen capture efficiency.
Disclosure of Invention
The embodiment of the invention provides a screen capturing method and electronic equipment, and aims to solve the problem of low screen capturing efficiency of the electronic equipment.
In order to solve the technical problem, the invention is realized as follows: a screen capture method is applied to an electronic device and comprises the following steps:
receiving a first input to a first object;
generating a screen capture image in response to the first input;
the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
In a first aspect, an embodiment of the present invention provides a screen capture method, which is applied to an electronic device, and the method includes:
receiving a first input to a first object;
generating a screen capture image in response to the first input;
the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
a receiving module for receiving a first input to a first object;
a generating module for generating a screen capture image in response to the first input;
the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the screen capturing method described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screen capturing method are implemented.
In an embodiment of the present invention, the first input is received by receiving a first input to a first object; generating a screen capture image in response to the first input; the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation. Therefore, after the user inputs the first input to the first object, the electronic equipment can generate the screen capture graph comprising the first object and the second object, the user does not need to repeatedly adjust the screen capture range, and the screen capture efficiency of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a screen capture method according to an embodiment of the present invention;
FIG. 2a is a diagram illustrating an arrangement relationship between objects according to an embodiment of the present invention;
FIG. 2b is a diagram illustrating another arrangement relationship between objects according to an embodiment of the present invention;
FIG. 2c is a diagram illustrating another arrangement relationship between objects according to an embodiment of the present invention;
FIG. 3a is a schematic diagram illustrating a selection of a first object in another screen capture method according to an embodiment of the present invention;
FIG. 3b is a schematic diagram illustrating a selection of one of the first object and the second object in another screen capture method according to the embodiment of the invention;
fig. 3c is a second schematic diagram illustrating selection of a first object and a second object in another screen capturing method according to the embodiment of the invention;
fig. 3d is a third schematic diagram illustrating selection of a first object and a second object in another screen capturing method according to the embodiment of the present invention;
FIG. 4 is a schematic diagram of a display interface in another screen capture method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a target screenshot image in another screenshot method according to an embodiment of the present invention;
fig. 6 is a structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is a block diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a screen capturing method applied to an electronic device according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, a first input to a first object is received.
In the case that the electronic device includes a touch display screen, the first input may be input by a user by touching the touch display screen with a finger; in the case that the electronic device includes a non-touch display screen, the first input may be input by a user through other external input devices (e.g., a mouse, a keyboard, an electronic pen, and a button). The embodiment of the present invention does not limit the input mode of the first input.
It should be noted that, before the user performs the first input, the user completes the input for starting the screen capture function to the electronic device, where the first input is an input related to selecting the first object; alternatively, the first input may be both an input for turning on the screen capture function and an input related to selecting the first object.
In the embodiment of the present invention, the first input is an input related to the first object, and specifically, the first input to the first object may be understood as a first input acting on a display area of the first object, in other words, a position of the first input is within the display area of the first object, and the first object can be directly determined through the first input.
The first object may be a single object; the set of mutually related objects may be a plurality of objects whose display regions overlap with each other, or may be a plurality of objects whose display regions are independent from each other.
Step 102, responding to the first input, and generating a screen capture image; the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
Wherein 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.
It should be noted that the layout relationship among the objects in the display screen can be divided into three types: a nested relationship, an overlapping relationship and a parallel relationship, wherein the nested relationship means that a display area of one object is located inside a display area of another object, as shown in fig. 2a, an object with a large area in the two objects having the nested relationship is a parent object, and an object with a small area is a child object; the overlapping relationship means that the display area of one object is partially overlapped with the display area of another object, as shown in fig. 2 b; the juxtaposition is such that the display area of one object does not overlap the display area of another object, as shown in FIG. 2 c. That is, any two objects in the display screen have one of the layout relations.
For example: the first input is a long press input, after an object corresponding to the position of the long press input is determined to be a first object, a second object having a preset layout relation with the first object is determined by taking the first object as a base object.
The number of the second objects is not limited to one, for example: in the case where the first object is a single object, a plurality of objects having a preset layout relationship with the first object may be collectively used as the second object; alternatively, in the case where the first object is a group of objects, a plurality of objects having a preset layout relationship with each of the first objects may be collectively used as the second object.
The screenshot image includes the first object and the second object, and may be understood as a display area including the first object and the second object, that is, the number of times of the screenshot process is one, for example: the first object and the second object comprise 3 objects in total, and a screen capture image is generated, namely, a screen capture process is carried out on a display area comprising the 3 objects.
The screenshot image includes the first object and the second object, and may also be understood as to screenshot at least one display area including the first object or the second object, that is, the number of times of the screenshot process is not limited to one, may be two times, or may be other times, and each screenshot process includes at least one first object or at least one second object in the corresponding display area, for example: the number of the first objects is 1, the number of the second objects is 2 (a second object 1 and a second object 2), and the first object can be respectively subjected to screen capture processing for 1 time in a display area on which the first object is displayed, the second object 1 can be subjected to screen capture processing for one time in the display area on which the second object 1 is displayed, and the second object 2 can be subjected to screen capture processing for three times in total; or twice screen capturing may be performed, where one screen capturing process performs screen capturing on a display area in which the first object is displayed, and the other screen capturing process performs screen capturing on a display area in which 2 second objects are displayed, or twice screen capturing may be performed, where one screen capturing is performed on a display area in which the first object and the second object 1 are displayed, and the second screen capturing is performed on a display area in which the first object and the second object 2 are displayed.
When the number of times of screen capturing is greater than one, the multiple times of screen capturing may be performed simultaneously or in a time-sharing manner, which is not limited herein. It should be noted that, only when the display areas of the two objects do not overlap with each other, that is, the two objects are juxtaposed, the two objects may be subjected to the screen capturing process twice.
When the number of times of the screen capturing process is one, the screen capturing image can be one image; when the number of times of the screen capturing process is multiple, the screen capturing image may be multiple images obtained by multiple screen capturing processes, or at least one image obtained by stitching and synthesizing multiple images obtained by multiple screen capturing processes, for example: if 5 images are obtained by the 5 times screen capture process, the screen capture images may be 2 images obtained by stitching, one of the 5 images is obtained by stitching 2 images and the other is obtained by stitching the remaining 3 images, or one is an image obtained by stitching 5 images in one stitching order and the other is an image obtained by stitching 5 images in another stitching order, which is not limited herein.
In an embodiment of the present invention, the electronic Device may be a Mobile phone, a Tablet personal Computer (Tablet personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
In the embodiment of the invention, the first input to the first object is received; generating a screen capture image in response to the first input; the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation. Therefore, after the user inputs the first input to the first object, the electronic equipment can generate the screen capture graph comprising the first object and the second object, the user does not need to repeatedly adjust the screen capture range, and the screen capture efficiency of the electronic equipment is improved.
Optionally, in an embodiment, the preset layout relationship is associated with the feature information of the first input;
when the first input feature information is a first feature value, the preset layout relationship is an overlapping relationship
Under the condition that the first input feature information is a second feature value, the preset layout relationship is a parallel relationship;
and under the condition that the first input feature information is a third feature value, the preset layout relationship is a nested relationship.
In this embodiment, after the electronic device receives the first input, the electronic device can determine feature information of the first input, for example: the user presses the display screen through the finger, and the electronic equipment can confirm the pressing position, the pressing area, the pressing duration, the pressing pressure and other characteristic information of the finger.
The feature information is a specific feature value, and the embodiment presets a mapping relationship between the feature information and each preset layout relationship when the feature information is different feature values, so that the electronic device determines that the first input feature information is different feature values, and can respectively determine the preset layout relationships corresponding to the respective feature values.
Further, when the first input is a long press input, the feature information of the first input is a press duration;
when the first input is a pressing input, the characteristic information of the first input is a pressing pressure;
under the condition that the first input is double-click input, the characteristic information of the first input is the interval duration of two clicks;
and when the first input is a sliding input, the characteristic information of the first input is sliding speed, sliding distance or sliding time length.
For example: when the first input is a long-press input, the characteristic information is a press duration, and when the characteristic value is the first press duration, the preset layout relationship is an overlapping relationship; under the condition that the characteristic value is the second pressing duration, the preset layout relationship is a parallel relationship; under the condition that the characteristic value is the third pressing duration, the preset layout relationship is a nesting relationship;
another example is: when the first input is a pressing input, the characteristic information is pressing pressure, and when the characteristic value is the first pressure, the preset layout relationship is an overlapping relationship; under the condition that the characteristic value is the second pressure, the preset layout relationship is a parallel relationship; under the condition that the characteristic value is the third pressure, the preset layout relationship is a nesting relationship;
also for example: under the condition that the first input is double-click input, the characteristic information is interval duration of two clicks, and under the condition that the characteristic value is the first interval duration, the preset layout relationship is an overlapping relationship; under the condition that the characteristic value is the second interval duration, the preset layout relationship is a parallel relationship; under the condition that the characteristic value is the third interval duration, the preset layout relationship is a nesting relationship;
also for example: when the first input is a sliding input, the characteristic information is a sliding distance, and when the characteristic value is a first distance, the preset layout relationship is an overlapping relationship; under the condition that the characteristic value is the second distance, the preset layout relationship is a parallel relationship; and in the case that the characteristic value is the third distance, the preset layout relationship is a nesting relationship.
Further, the first characteristic value may be smaller than the second characteristic value, and the second characteristic value may be smaller than the third characteristic value.
By making the first characteristic value smaller than the second characteristic value and making the second characteristic value smaller than the third characteristic value, the user can determine the layout relationship by controlling the characteristic value of the characteristic information corresponding to the first input, and then complete the selection of the second object, which is convenient for the screen capture operation of the user.
In addition, in an optional embodiment, in a case that the feature information of the first input is a first feature value, the preset layout relationship includes an overlapping relationship; under the condition that the first input feature information is a second feature value, the preset layout relationship comprises an overlapping relationship and a parallel relationship; and under the condition that the first input feature information is a third feature value, the preset layout relationship comprises an overlapping relationship, a parallel relationship and a nested relationship.
That is, taking the case that the first input is the long press input, the feature information is the press duration as an example, and when the first press duration is less than or equal to 0.5 second, there is no preset layout relationship, the electronic device only selects the first object, as shown in fig. 3a, the object filled with the pattern in fig. 3a is the first object; in the case that the first pressing duration is greater than 0.5 second and less than or equal to 1 second, the preset layout relationship includes an overlapping relationship, as shown in fig. 3b, where the objects having the filling patterns in fig. 3b are the first object and the second object; in the case where the second pressing time period is greater than 1 second and less than or equal to 2 seconds, the preset layout relationship includes an overlapping relationship and a parallel relationship, as shown in fig. 3c, the objects having the filling patterns in fig. 3c are the first object and the second object; in the case where the third pressing time period is longer than 2 seconds, the preset layout relationship includes an overlapping relationship, a side-by-side relationship, and a nested relationship, as shown in fig. 3d, and the objects having the fill patterns in fig. 3d are the first object and the second object.
In this embodiment, a manner that 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 the second object having the preset layout relationship with the first object is determined.
Optionally, in another embodiment, the second object includes N objects, and the priority of each object in the N objects is associated with the feature information of the first input.
In this embodiment, after the electronic device receives the first input, the electronic device can determine feature information of the first input, for example: the user presses the display screen through the finger, and the electronic equipment can confirm the pressing position, the pressing area, the pressing duration, the pressing pressure and other characteristic information of the finger.
In this embodiment, each of the N second objects has a priority. The priority that an object has may be associated with the attributes that the object has, such as: the priority of an object is associated with the distance between the display position of the object and the display position of the first object, i.e. objects whose display positions are closer to the display position of the first object have a higher priority, or objects whose display positions are closer to the display position of the first object have a lower priority. Of course, the user may set a priority level for each object, which is not limited herein.
As shown in fig. 4, taking as an example that the closer the display position of the first object to the display position of the "short message" has a higher priority, the priority of the "short message" is higher than the priority of the "map" when the first input to the "electronic book" is received, that is, the "electronic book" is the first object, and the display position of the "short message" is closer to the display position of the "electronic book" and the display position of the "map" is farther from the display position of the "electronic book".
In addition, when the distance between the display position of the "short message" and the display position of the "electronic book" is equal to the distance between the display position of the "friend" and the display position of the "electronic book", the "short message" and the "friend" may be prioritized to be the same priority, or the "short message" and the "friend" may be prioritized in other ways, such as the priority of an object with a large display area is higher than the priority of an object with a small display area, the priority of an object positioned above the first object is higher than the priority of an object positioned on the right side of the second object, the priority of an object positioned on the left side is higher than the priority of an object positioned on the right side, or a user sets different priorities by himself.
The feature information may correspond to feature values, and the embodiment presets a mapping relationship between the feature information and each preset priority when the feature information is different feature values, so that when the electronic device determines that the first input feature information is different feature values, the electronic device can respectively determine priorities corresponding to the respective feature values.
For example, in a case where the feature information of the first input is a first feature value, the preset priority is a first priority; and under the condition that the first input feature information is a second feature value, the preset priority is a second priority, and the first priority is higher than the second priority.
Further, in the case that the feature information of the first input is a fourth feature value, the second object includes a first target object;
in the case that the feature information of the first input 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.
For example: when the first input is a long-press input, the feature information is press duration, and when the fourth feature value is the first press duration, the preset priority is a first priority, and a first target object with the first priority is determined to be a second object; under the condition that the fifth characteristic value is the second pressing duration, presetting the priority as a first priority and a second priority, and determining a first target object with the first priority and a second target object with the second priority as second objects;
another example is: when the first input is a press input, the feature information is a press pressure, and when the fourth feature value is the first pressure, the preset priority is a first priority, and a first target object with the first priority is determined to be a second object; in the case that the fifth characteristic value is the second pressure, the preset priority is the first priority and the second priority, and the first target object with the first priority and the second target object with the second priority are determined to be the second object.
Also for example: under the condition that the first input is double-click input, the characteristic information is interval duration of two clicks, under the condition that the fourth characteristic value is the first interval duration, the preset priority is a first priority, and a first target object with the first priority is determined to be a second object; under the condition that the fifth characteristic value is the second interval duration, presetting the priority as a first priority and a second priority, and determining a first target object with the first priority and a second target object with the second priority as second objects;
also for example: when the first input is a sliding input, the characteristic information is a sliding distance, when the fourth characteristic value is a first distance, the preset priority is a first priority, and a first target object with the first priority is determined to be a second object; and in the case that the fifth characteristic value is the second distance, presetting the priority as the first priority and the second priority, and determining that the first target object with the first priority and the second target object with the second priority are the second objects.
Further, the fourth feature value is smaller than the fifth feature value, and the first priority is higher than the second priority.
In other words, for example, when the first input is the long press input and the characteristic information is the press duration, the priority is preset as the first priority when the first press duration is less than or equal to 1 second; and under the condition that the second pressing time is longer than 1 second, the preset priority is a first priority and a second priority.
For example: when the first input is a long press input, the characteristic information is a press duration, and when the press duration is less than or equal to 1 second, the electronic device generates a screenshot image including a first target object and a first object with a first priority; in the case where the pressing duration is greater than 1 second, the electronic device generates a screen capture image including a first target object having a first priority, a second target object having a second priority, and the first object
By making the fourth characteristic value smaller than the fifth characteristic value and making the first priority higher than the second priority, the user can determine the priority by controlling the characteristic value of the characteristic information corresponding to the first input, so as to complete the selection of the second object, and facilitate the screen capture operation of the user.
In this embodiment, a mode that the first input feature information is associated with the preset priority is preset, so that the preset priority is determined according to the first input feature information, and then the second object with the preset priority is determined.
Optionally, in another embodiment, step 102 may include:
and under the condition that the display area of the first object is partially overlapped with the display area of the second object, performing screen capture processing on the display area comprising the first object and the second object to obtain a screen capture image comprising the first object and the second object, wherein the outline of the screen capture image comprises an outline corresponding to the union of the display area of the first object and the display area of the second object.
In this embodiment, the first object and the second object have an overlapping relationship with each other, as shown in fig. 2 b. In the present embodiment, the outline of the screen shot image obtained by the screen shot processing is an outline corresponding to a union of the display area of the first object and the display area of the second object on the display screen, as shown by an outline with line filling in fig. 5.
The obtained screenshot image has no other redundant information except the first object and the second object, so that a user can share the screenshot image quickly, and the user does not need to worry about privacy disclosure and shield privacy information (such as black tracing, mosaic and the like) additionally.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
A scheme in which a preset layout relationship is associated with the feature information of the first input and a scheme in which a priority of each of the N objects is associated with the feature information of the first input may be combined. For example: taking the first input as a long press input and the feature information as a press duration as an example, when the second press duration is longer than 1 second and less than or equal to 2 seconds, on the basis that the preset layout relationship is a parallel relationship, and when the second press duration is longer than 1 and less than or equal to 1.5 seconds, selecting an object which has a parallel relationship with the first object and has a first priority as a second object; in the case where the second pressing time period is greater than 1.5 and 2 seconds or less, an object having a parallel relationship with the first object and having the first priority and the second priority is selected as the second object.
Referring to fig. 6, fig. 6 is a structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 6, the electronic device 600 includes a receiving module 610 and a generating module 620, where:
a receiving module 610 for receiving a first input to a first object;
a generating module 620 for generating a screen capture image in response to the first input;
the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
Optionally, the preset layout relationship is associated with the feature information of the first input;
when the first input feature information is a first feature value, the preset layout relationship is an overlapping relationship
Under the condition that the first input feature information is a second feature value, the preset layout relationship is a parallel relationship;
and under the condition that the first input feature information is a third feature value, the preset layout relationship is a nested relationship.
Optionally, when the first input is a long press input, the feature information of the first input is a press duration;
when the first input is a pressing input, the characteristic information of the first input is a pressing pressure;
under the condition that the first input is double-click input, the characteristic information of the first input is the interval duration of two clicks;
and when the first input is a sliding input, the characteristic information of the first input is sliding speed, sliding distance or sliding time length.
Optionally, the first characteristic value is smaller than the second characteristic value, and the second characteristic value is smaller than the third characteristic value.
Optionally, the second object includes N objects, and the priority of each object in the N objects is associated with the feature information of the first input.
Optionally, in a case that the feature information of the first input is a fourth feature value, the second object includes a first target object;
in the case that the feature information of the first input 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.
Optionally, 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 present invention is capable of implementing each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 5, and is not described herein again to avoid repetition.
According to the electronic device 600 of the embodiment of the invention, after the user inputs the first input to the first object, the electronic device can generate the screen capture graph comprising the first object and the second object, the user does not need to repeatedly adjust the screen capture range, and the screen capture efficiency of the electronic device is improved.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing 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, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 710 is configured to receive a first input to a first object; generating a screen capture image in response to the first input; the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
Optionally, the processor 710 is further configured to associate the preset layout relationship with the feature information of the first input; when the first input feature information is a first feature value, the preset layout relationship is an overlapping relationship; under the condition that the first input feature information is a second feature value, the preset layout relationship is a parallel relationship; and under the condition that the first input feature information is a third feature value, the preset layout relationship is a nested relationship.
Optionally, the processor 710 is further configured to, when the first input is a long press input, determine that characteristic information of the first input is a press duration; when the first input is a pressing input, the characteristic information of the first input is a pressing pressure; under the condition that the first input is double-click input, the characteristic information of the first input is the interval duration of two clicks; and when the first input is a sliding input, the characteristic information of the first input is sliding speed, sliding distance or sliding time length.
Optionally, the processor 710 is further configured to determine that the first characteristic value is smaller than the second characteristic value, and that the second characteristic value is smaller than the third characteristic value.
Optionally, the processor 710 is further configured to determine that the second object includes N objects, and the priority of each object in the N objects is associated with the feature information of the first input.
Optionally, the processor 710 is further configured to, in a case that the feature information of the first input is a fourth feature value, include the first target object; in the case that the feature information of the first input 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.
Optionally, the processor 710 is further configured to determine that 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 is capable of implementing each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 5, and details are not repeated here to avoid repetition.
According to the electronic device 700 provided by the embodiment of the invention, after the user inputs the first input to the first object, the electronic device can generate the screen capture graph comprising the first object and the second object, the user does not need to repeatedly adjust the screen capture range, and the screen capture efficiency of the electronic device is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, 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. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a 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, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
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), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program, when executed by the processor 710, implements each process of the screen capturing method in the embodiments shown in fig. 1 to 5, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the screen capturing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A screen capture method is applied to an electronic device, and is characterized by comprising the following steps:
receiving a first input to a first object;
generating a screen capture image in response to the first input;
the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
2. The method of claim 1, wherein the preset layout relationship is associated with feature information of the first input;
when the first input feature information is a first feature value, the preset layout relationship is an overlapping relationship;
under the condition that the first input feature information is a second feature value, the preset layout relationship is a parallel relationship;
and under the condition that the first input feature information is a third feature value, the preset layout relationship is a nested relationship.
3. The method according to claim 2, wherein in a case where the first input is a long press input, the characteristic information of the first input is a press duration;
when the first input is a pressing input, the characteristic information of the first input is a pressing pressure;
under the condition that the first input is double-click input, the characteristic information of the first input is the interval duration of two clicks;
and when the first input is a sliding input, the characteristic information of the first input is sliding speed, sliding distance or sliding time length.
4. The method of claim 2, wherein the first eigenvalue is less than the second eigenvalue, and wherein the second eigenvalue is less than the third eigenvalue.
5. The method of claim 1, wherein the second object comprises N objects, and wherein the priority of each of the N objects is associated with the feature information of the first input.
6. The method according to claim 5, wherein in a case where the feature information of the first input is a fourth feature value, the second object includes a first target object;
in the case that the feature information of the first input 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.
7. The method of claim 6, wherein the fourth characteristic value is less than the fifth characteristic value, and wherein the first priority is higher than the second priority.
8. An electronic device, comprising:
a receiving module for receiving a first input to a first object;
a generating module for generating a screen capture image in response to the first input;
the screen capture image comprises the first object and a second object, and the second object and the first object have a preset layout relation.
9. The electronic device of claim 8, wherein the preset layout relationship is associated with feature information of the first input;
when the first input feature information is a first feature value, the preset layout relationship is an overlapping relationship
Under the condition that the first input feature information is a second feature value, the preset layout relationship is a parallel relationship;
and under the condition that the first input feature information is a third feature value, the preset layout relationship is a nested relationship.
10. The electronic device according to claim 9, wherein in a case where the first input is a long press input, the feature information of the first input is a press duration;
when the first input is a pressing input, the characteristic information of the first input is a pressing pressure;
under the condition that the first input is double-click input, the characteristic information of the first input is the interval duration of two clicks;
and when the first input is a sliding input, the characteristic information of the first input is sliding speed, sliding distance or sliding time length.
11. The electronic device of claim 9, wherein the first eigenvalue is less than the second eigenvalue and the second eigenvalue is less than the third eigenvalue.
12. The electronic device of claim 8, wherein the second object comprises N objects, and wherein a priority of each of the N objects is associated with the first input feature information.
13. The electronic device according to claim 12, wherein in a case where the feature information of the first input is a fourth feature value, the second object includes a first target object;
in the case that the feature information of the first input 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.
14. The electronic device of claim 13, wherein the fourth characteristic value is less than the fifth characteristic value, and wherein the first priority is higher than the second priority.
15. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the screen capturing method as claimed in any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the screen capture method according to any one of claims 1-7.
CN202010298941.3A 2020-04-16 2020-04-16 Screen capturing method and electronic equipment Active CN111522613B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010298941.3A CN111522613B (en) 2020-04-16 2020-04-16 Screen capturing method and electronic equipment
PCT/CN2021/086837 WO2021208890A1 (en) 2020-04-16 2021-04-13 Screen capturing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010298941.3A CN111522613B (en) 2020-04-16 2020-04-16 Screen capturing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111522613A true CN111522613A (en) 2020-08-11
CN111522613B CN111522613B (en) 2024-03-22

Family

ID=71903731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010298941.3A Active CN111522613B (en) 2020-04-16 2020-04-16 Screen capturing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111522613B (en)
WO (1) WO2021208890A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579230A (en) * 2020-12-10 2021-03-30 珠海格力电器股份有限公司 Screen capturing method and device of industrial touch screen and industrial touch screen
WO2021208890A1 (en) * 2020-04-16 2021-10-21 维沃移动通信有限公司 Screen capturing method and electronic device
CN114637446A (en) * 2022-03-15 2022-06-17 深圳传音控股股份有限公司 Information processing method, intelligent terminal and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110059759A1 (en) * 2009-09-07 2011-03-10 Samsung Electronics Co., Ltd. Method and apparatus for providing POI information in portable terminal
US20140002389A1 (en) * 2012-06-29 2014-01-02 Lg Electronics Inc. Mobile terminal and method of controlling the same
CN104750495A (en) * 2015-04-08 2015-07-01 魅族科技(中国)有限公司 Screenshot method and device
CN106775368A (en) * 2015-11-25 2017-05-31 中兴通讯股份有限公司 The screenshotss method of touch screen terminal, device and touch screen terminal
CN107797838A (en) * 2017-09-08 2018-03-13 百度在线网络技术(北京)有限公司 A kind of screenshot method and device
WO2018072459A1 (en) * 2016-10-18 2018-04-26 华为技术有限公司 Screenshot and reading method and terminal
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
US20190147026A1 (en) * 2017-05-16 2019-05-16 Apple Inc. Device, Method, and Graphical User Interface for Editing Screenshot Images
US20190230293A1 (en) * 2016-09-19 2019-07-25 Lg Electronics Inc. Mobile terminal and control method therefor
CN110096203A (en) * 2019-04-29 2019-08-06 维沃移动通信有限公司 A kind of screenshot method and mobile terminal
US20190266034A1 (en) * 2017-01-06 2019-08-29 Tencent Technology (Shenzhen) Company Limited Screen capture method, terminal, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PL395376A1 (en) * 2011-06-22 2013-01-07 Google Inc. Rendering approximate webpage screenshot client-side
CN111522613B (en) * 2020-04-16 2024-03-22 维沃移动通信有限公司 Screen capturing method and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110059759A1 (en) * 2009-09-07 2011-03-10 Samsung Electronics Co., Ltd. Method and apparatus for providing POI information in portable terminal
US20140002389A1 (en) * 2012-06-29 2014-01-02 Lg Electronics Inc. Mobile terminal and method of controlling the same
CN104750495A (en) * 2015-04-08 2015-07-01 魅族科技(中国)有限公司 Screenshot method and device
CN106775368A (en) * 2015-11-25 2017-05-31 中兴通讯股份有限公司 The screenshotss method of touch screen terminal, device and touch screen terminal
US20190230293A1 (en) * 2016-09-19 2019-07-25 Lg Electronics Inc. Mobile terminal and control method therefor
WO2018072459A1 (en) * 2016-10-18 2018-04-26 华为技术有限公司 Screenshot and reading method and terminal
US20200042148A1 (en) * 2016-10-18 2020-02-06 Huawei Technologies Co., Ltd. Screen capturing method and terminal, and screenshot reading method and terminal
US20190266034A1 (en) * 2017-01-06 2019-08-29 Tencent Technology (Shenzhen) Company Limited Screen capture method, terminal, and storage medium
US20190147026A1 (en) * 2017-05-16 2019-05-16 Apple Inc. Device, Method, and Graphical User Interface for Editing Screenshot Images
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
CN110096203A (en) * 2019-04-29 2019-08-06 维沃移动通信有限公司 A kind of screenshot method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021208890A1 (en) * 2020-04-16 2021-10-21 维沃移动通信有限公司 Screen capturing method and electronic device
CN112579230A (en) * 2020-12-10 2021-03-30 珠海格力电器股份有限公司 Screen capturing method and device of industrial touch screen and industrial touch screen
CN114637446A (en) * 2022-03-15 2022-06-17 深圳传音控股股份有限公司 Information processing method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
WO2021208890A1 (en) 2021-10-21
CN111522613B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN107943390B (en) Character copying method and mobile terminal
CN108897473B (en) Interface display method and terminal
CN110109604B (en) Application interface display method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN110752981B (en) Information control method and electronic equipment
CN110531915B (en) Screen operation method and terminal equipment
CN111522613B (en) Screen capturing method and electronic equipment
CN107728923B (en) Operation processing method and mobile terminal
CN108108113B (en) Webpage switching method and device
CN109710130B (en) Display method and terminal
CN110795189A (en) Application starting method and electronic equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN111026305A (en) Audio processing method and electronic equipment
CN110806832A (en) Parameter adjusting method and electronic equipment
CN111610903A (en) Information display method and electronic equipment
CN108093137B (en) Dialing method and mobile terminal
CN110703972B (en) File control method and electronic equipment
CN109491964B (en) File sharing method and terminal
CN111061446A (en) Display method and electronic equipment
CN109597546B (en) Icon processing method and terminal equipment
CN110795021A (en) Information display method and device and electronic equipment
CN108021315B (en) Control method and mobile terminal
CN111163227B (en) Sharing method and electronic equipment
CN110007821B (en) Operation method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant