CN111338543A - Screen capturing method and electronic equipment - Google Patents

Screen capturing method and electronic equipment Download PDF

Info

Publication number
CN111338543A
CN111338543A CN202010111824.1A CN202010111824A CN111338543A CN 111338543 A CN111338543 A CN 111338543A CN 202010111824 A CN202010111824 A CN 202010111824A CN 111338543 A CN111338543 A CN 111338543A
Authority
CN
China
Prior art keywords
screen
target
display screen
display screens
display
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
CN202010111824.1A
Other languages
Chinese (zh)
Other versions
CN111338543B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010111824.1A priority Critical patent/CN111338543B/en
Publication of CN111338543A publication Critical patent/CN111338543A/en
Application granted granted Critical
Publication of CN111338543B publication Critical patent/CN111338543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Abstract

The application provides a screen capture method and electronic equipment, wherein the method comprises the steps of obtaining screen capture operation and determining a capture strategy corresponding to the screen capture operation; determining a target display screen in a plurality of display screens of the electronic device; and establishing a corresponding relation between the target display screen and the interception strategy, thereby improving the accuracy of screen interception.

Description

Screen capturing method and electronic equipment
Technical Field
The application relates to the technical field of expansion screens, in particular to a screen capturing method and electronic equipment.
Background
For the content currently displayed on the display screen of the electronic device, the user can acquire the screen information in a screen capture mode. And under the condition that the electronic equipment is connected with the extended screen, when screen capturing operation of a user is received, the electronic equipment captures screen information of all screens.
That is to say, the existing screen capture mode does not pay attention to which screen information the user actually wants to obtain, and the accuracy of screen capture is reduced.
Disclosure of Invention
In view of the above, the present application provides a screen capture method and an electronic device to solve the above technical problems.
In order to achieve the above purpose, the present application provides the following technical solutions:
a screen shot method, comprising:
acquiring screen capturing operation, and determining an capturing strategy corresponding to the screen capturing operation;
determining a target display screen in a plurality of display screens of the electronic device;
and establishing a corresponding relation between the target display screen and the interception strategy.
Preferably, the intercepting policy includes a policy of intercepting only target screen information of the target display screen; the method further comprises the following steps:
intercepting target screen information of the target display screen based on the interception strategy;
generating a screen image based on the target screen information;
and saving the screen image.
Preferably, the intercepting policy includes a policy of intercepting a plurality of screen information of the plurality of display screens; the method further comprises the following steps:
intercepting a plurality of screen information of the plurality of display screens based on the interception policy;
splicing the plurality of screen information according to a specific splicing mode to generate a screen image; the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as a first factor;
and saving the screen image.
Preferably, when the number of the plurality of display screens is greater than or equal to 3, the specific splicing mode is generated as follows:
determining the operation frequency of other display screens except the target display screen within a historical time which is a first time away from the current time;
and determining the splicing sequence of the screen information of other display screens spliced by the target screen information in the sequence from high to low of the operation frequency.
Preferably, when the number of the plurality of display screens is greater than or equal to 3, the specific splicing mode is generated as follows:
determining an operation time for other display screens except the target display screen; wherein the operation time is the time closest to the current time;
and determining the splicing sequence of the screen information of other display screens spliced by the target screen information as the first according to the sequence of the operation time from the near to the far of the current time.
Preferably, the determining a target display screen among a plurality of display screens of the electronic device includes:
determining a display screen where a cursor is located in a plurality of display screens of the electronic equipment as a target display screen;
or tracking the sight of the user by using a sensor, and determining a display screen of the electronic equipment, wherein the display screen of the sight of the user is a target display screen;
or determining that a display screen with a movable window in a plurality of display screens of the electronic equipment is a target display screen;
or determining that a display screen on which an application program with the operation time closest to the current time is located in a plurality of display screens of the electronic equipment is a target display screen;
or acquiring dialogue data on currently running target software in the electronic equipment; a target display screen is determined based on the dialog data.
An electronic device, comprising:
a plurality of display screens;
the processor is used for acquiring screen capturing operation, determining an capturing strategy corresponding to the screen capturing operation, determining a target display screen in the plurality of display screens, and establishing a corresponding relation between the target display screen and the capturing strategy.
Preferably, the method further comprises the following steps:
a memory;
the intercepting policy comprises a policy of only intercepting target screen information of the target display screen; the processor is further configured to intercept target screen information of the target display screen based on the interception policy, generate a screen image based on the target screen information, and store the screen image to the memory.
Preferably, the method further comprises the following steps:
a memory;
the intercepting policy comprises a policy of intercepting a plurality of screen information of the plurality of display screens; the processor is further configured to intercept a plurality of screen information of the plurality of display screens based on the interception policy;
splicing the plurality of screen information according to a specific splicing mode to generate a screen image, and storing the screen image to the memory; and the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as a first factor.
Preferably, the method further comprises the following steps:
a sensor for tracking a user's gaze;
correspondingly, the processor is specifically configured to determine that, among a plurality of display screens of the electronic device, a display screen in which the user's sight line is located is a target display screen.
According to the technical scheme, the screen capture method comprises the steps of obtaining screen capture operation, determining the capture strategy corresponding to the screen capture operation, determining the target display screen in the display screens of the electronic equipment, and establishing the corresponding relation between the target display screen and the capture strategy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a screen capture method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a screen capture method according to a second embodiment of the present application;
fig. 3 is a schematic flowchart of a screen capture method according to a third embodiment of the present application;
FIG. 4a is a schematic diagram of a plurality of display screens provided in a third embodiment of the method of the present application;
FIG. 4b is a diagram of a screen image provided in the third embodiment of the present application;
fig. 5 is a schematic flowchart of a screen capture method according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
An embodiment of the present application provides a screen capture method, as shown in fig. 1, the method includes the following steps:
step 101: acquiring screen capturing operation, and determining an capturing strategy corresponding to the screen capturing operation;
the intercepting policy is a policy of intercepting screen information of the display screen. Specifically, the interception policy corresponding to the screen capture operation may be a pre-specified interception policy, and after the screen capture operation is obtained, the pre-specified interception policy is directly determined as the interception policy corresponding to the screen capture operation.
Or, storing corresponding relations between different screen capturing operations and different capturing strategies in advance, and after the screen capturing operations are obtained, determining the capturing strategy corresponding to the currently obtained screen capturing operation in the corresponding relations.
Or after the screen capture operation is acquired, a plurality of capture strategies can be provided, and the currently selected capture strategy is determined to be the capture strategy corresponding to the screen capture operation.
In the present application, the screen capturing operation may be implemented in various ways, for example, a user may send the screen capturing operation through a shortcut key, such as a combination key or a specific key.
Step 102: determining a target display screen in a plurality of display screens of the electronic device;
when the electronic device is in the extended screen mode and has at least two display screens, a target display screen may be determined from the at least two display screens, where the target display screen is used to represent a display screen that is currently focused by a user, and there are various ways to determine which display screen of the plurality of display screens is the display screen focused by the user, specifically, determining the target display screen of the plurality of display screens of the electronic device may include any one of the following ways:
first, a display screen where a cursor is located in a plurality of display screens of the electronic device is determined as a target display screen.
When the electronic equipment is in an extended screen mode, the cursor can move among the display screens, and a user can move the cursor to the display screen concerned by the user through an input device such as a keyboard or a mouse, so that screen capture operation is triggered, and the electronic equipment can determine that the display screen where the cursor is located is a target display screen.
Secondly, tracking the sight of the user by using a sensor, and determining a display screen of the electronic equipment, wherein the display screen of the sight of the user is a target display screen.
In this way, the electronic device is provided with the sensor, the acquisition direction of the sensor is consistent with the display directions of the display screens, and the acquisition area of the sensor can contain a spatial area within a certain range from the display screens, so that the sight of a user in the area can be tracked.
And thirdly, determining a display screen with a movable window in a plurality of display screens of the electronic equipment as a target display screen.
When the electronic equipment is in an extended screen mode, at least one window can be displayed on the plurality of display screens, at least one window can have an active window, and the display screen with the active window is determined as a target display screen.
And fourthly: determining that a display screen of an application program with the operation time closest to the current time is a target display screen in a plurality of display screens of the electronic equipment.
When the electronic equipment is in the extended screen mode, at least one application program can be displayed on the plurality of display screens, and the operation time of each application program can be determined, so that the display screen where the application program with the operation time closest to the current time is located is determined as the target display screen.
And a fifth mode: the method comprises the steps of obtaining dialogue data on target software currently running in the electronic equipment, and determining a target display screen based on the dialogue data.
The currently running target software can be chat software, and the target software can run and be displayed on any display screen of the electronic equipment to acquire the conversation data on the target software, so that the conversation data is analyzed to determine the target display screen. Specifically, the dialogue data is analyzed, the screen capture purpose is determined, and the display screen corresponding to the screen capture purpose is searched as the target display screen.
For example, it is determined by analyzing the dialogue data that the user wants to share the written novel of the user with the other party, and if only one of the plurality of display screens of the electronic device currently opens the office software, such as a word document, the display screen on which the office software is opened serves as a target display screen.
Or, the conversation data is analyzed to determine that the user wants to analyze the own travel plan to the other party, and only one of the plurality of display screens of the electronic device displays the currently opened travel software, so that the display screen with the opened travel software is used as the target display screen.
Step 103: and establishing a corresponding relation between the target display screen and the interception strategy.
Therefore, in the application, one target display screen can be determined from the plurality of display screens, so that the corresponding relation between the target display screen and the intercepting strategy is established, and the accuracy of screen intercepting is improved.
The present application provides a plurality of interception policies, which are described in detail below by way of a second method embodiment, a third method embodiment, and a fourth method embodiment, respectively.
The second embodiment of the method of the present application provides a screen capture method, as shown in fig. 2, the method includes the following steps:
step 201: acquiring screen capturing operation, and determining an capturing strategy corresponding to the screen capturing operation;
step 202: determining a target display screen in a plurality of display screens of the electronic device;
step 203: establishing a corresponding relation between the target display screen and the interception strategy;
step 204: intercepting target screen information of the target display screen based on the interception strategy;
in the present embodiment, the interception policy is a policy of intercepting only target screen information of the target display screen. That is, in the case where there are a plurality of display screens in the electronic device, only the target screen information of the target display screen is intercepted based on the interception policy, and the screen information of the other display screens is not intercepted.
Step 205: generating a screen image based on the target screen information;
the generated screen image includes only the target screen information.
Step 206: and saving the screen image.
Therefore, in the application, a target display screen can be determined from the plurality of display screens, the target display screen is the display screen which is actually concerned by the user, the corresponding relation between the target display screen and the intercepting strategy is established, the target screen information of the target display screen is intercepted based on the intercepting strategy, a screen image is generated based on the target screen information, the screen image is stored, the user can directly see the target screen information of the target display screen when looking over the screen image, and the accuracy of screen intercepting is improved.
An embodiment of the method provides a screen capture method, as shown in fig. 3, the method includes the following steps:
step 301: acquiring screen capturing operation, and determining an capturing strategy corresponding to the screen capturing operation;
step 302: determining a target display screen in a plurality of display screens of the electronic device;
step 303: establishing a corresponding relation between the target display screen and the interception strategy;
step 304: intercepting a plurality of screen information of the plurality of display screens based on the interception policy;
in this embodiment, the intercepting policy includes a policy of intercepting a plurality of screen information of the plurality of display screens. That is, in the case where there are a plurality of display screens in the electronic device, screen information of all the display screens is intercepted based on the interception policy.
Step 305: splicing the plurality of screen information according to a specific splicing mode to generate a screen image;
and the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as a first factor.
In this embodiment, if the number of the plurality of display screens of the electronic device is equal to 2, the screen information of another display screen can be spliced with the target screen information as the first in a specific splicing manner. Namely, the target screen information is in front, and the screen information of the other display screen is spliced in a later mode.
If the number of the plurality of display screens of the electronic device is greater than or equal to 3, when the screen information of the other display screens is spliced with the target screen information as the first screen information according to the specific splicing mode, the splicing sequence of the screen information of the other display screens can be random, and the splicing effect can be reduced by the random splicing mode. The application provides two specific implementations of a specific splicing mode to improve the splicing effect.
Specifically, in an implementation manner, the specific splicing manner is generated as follows:
(1) determining the operation frequency of other display screens except the target display screen within a historical time which is a first time away from the current time;
the specific time range of the historical time period that is the first time from the current time is not limited in this application, and may be within one hour of the current time or within one day of the current time.
The operation frequency in this application may refer to the operation frequency of operating the display screen, specifically, one operation may include a continuous operation for one display screen, and the operation interval time of the continuous operation is less than the preset interval time.
(2) And determining the splicing sequence of the screen information of other display screens spliced by the target screen information in the sequence from high to low of the operation frequency.
The target screen information of the target display screen is positioned at the head of the splicing, and the splicing sequence of other display screens can be determined according to the operation frequency from high to low.
Taking the multiple display screens shown in fig. 4A as an example, assuming that the display screen 110A is the target display screen, the operation frequency of the display screen 110B in the past hour is 10 times, and the operation frequency of the display screen 110C in the past hour is 15 times, then the splicing order of the screen information of the three display screens can be determined as follows: screen information PA of the display screen 110A, screen information PC of the display screen 110C, and screen information PB of the display screen 110B. The corresponding generated screen image may be as shown in fig. 4 b.
In another implementation, the specific splicing manner is generated as follows:
(1) determining an operation time for other display screens except the target display screen;
wherein the operation time is the time closest to the current time. That is, the latest operation time of the other display than the target display screen is determined.
(2) And determining the splicing sequence of the screen information of other display screens spliced by the target screen information as the first according to the sequence of the operation time from the near to the far of the current time.
The target screen information of the target display screen is positioned at the head of the splicing, and the splicing sequence of other display screens can be determined according to the operation time and the current time from near to far.
Still taking the multiple display screens shown in fig. 4A as an example, assuming that the display screen 110A is the target display screen and the current time is 9:00, the latest operation time of the display screen 110B is 8:45, and the latest operation time of the display screen 110C is 8:59, then the splicing order of the screen information of the three display screens can be determined as follows: screen information PA of the display screen 110A, screen information PC of the display screen 110C, and screen information PB of the display screen 110B. The corresponding generated screen image may be as shown in fig. 4 b.
Step 306: and saving the screen image.
Therefore, in the application, a target display screen can be determined from the multiple display screens, the target display screen is the display screen which is actually concerned by the user, the corresponding relation between the target display screen and the intercepting strategy is established, the multiple screen information of the multiple display screens is intercepted based on the intercepting strategy, the multiple screen information is spliced according to a specific splicing mode, a screen image is generated and stored, the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as the first place, the target screen information of the target display screen in the screen image is located at the first place, the user can see the target screen information firstly when viewing the screen image, and the accuracy of screen interception is improved.
The fourth embodiment of the method of the present application provides a screen capture method, as shown in fig. 5, the method includes the following steps:
step 501: acquiring screen capturing operation, and determining an capturing strategy corresponding to the screen capturing operation;
step 502: determining a target display screen in a plurality of display screens of the electronic device;
step 503: establishing a corresponding relation between the target display screen and the interception strategy;
step 504: intercepting a plurality of screen information of the plurality of display screens based on the interception policy;
in this embodiment, the intercepting policy includes a policy of intercepting a plurality of screen information of the plurality of display screens. That is, in the case where there are a plurality of display screens in the electronic device, screen information of all the display screens is intercepted based on the interception policy.
Step 505: generating a screen image including only the target screen information;
in the present embodiment, although the screen information of all the display screens is intercepted, the generated screen image includes only the target screen information.
Step 506: and saving the screen image.
Therefore, in the application, a target display screen can be determined from the multiple display screens, the target display screen is the display screen which is actually concerned by the user, the corresponding relation between the target display screen and the intercepting strategy is established, so that the multiple screen information of the multiple display screens is intercepted based on the intercepting strategy, a screen image which only comprises the target screen information is generated and stored, the user can directly see the target screen information when looking over the screen image, and the accuracy of screen intercepting is improved.
Corresponding to the screen capture method, the embodiment of the device of the present application further provides an electronic device, which is described below by using several device embodiments.
An embodiment of the apparatus of the present application provides an electronic device, as shown in fig. 6, where the electronic device includes: a display screen 110A, a display screen 110B, and a processor 120;
it should be noted that the electronic device includes at least two display screens, and fig. 6 is only an example of two display screens, but is not limited to two display screens.
The processor 120 is configured to obtain a screen capture operation, determine an capture policy corresponding to the screen capture operation, determine a target display screen in the multiple display screens, and establish a correspondence between the target display screen and the capture policy.
The intercepting policy is a policy of intercepting screen information of the display screen. Specifically, the interception policy corresponding to the screen capture operation may be a pre-specified interception policy, and after the processor 120 obtains the screen capture operation, the pre-specified interception policy is directly determined as the interception policy corresponding to the screen capture operation.
Or, the electronic device further includes a memory, configured to pre-store correspondence between different screen capturing operations and different screen capturing policies, and after the processor 120 obtains the screen capturing operations, determine, in the correspondence, the screen capturing policy corresponding to the currently obtained screen capturing operation.
Still alternatively, after acquiring the screen capture operation, the processor 120 may provide a plurality of capture strategies, and determine the currently selected capture strategy as the capture strategy corresponding to the screen capture operation.
In the application, the screen capture operation can be realized in various ways, for example, a user can send the screen capture operation through a shortcut key.
When the electronic device is in the extended screen mode and has at least two display screens, a target display screen can be determined from the at least two display screens, and the target display screen is used for representing the display screen which is currently focused by the user. Specifically, the processor determining a target display screen of the plurality of display screens of the electronic device may include any one of the following manners:
first, the processor determines that a display screen on which a cursor is located in a plurality of display screens of the electronic device is a target display screen.
When the electronic equipment is in an extended screen mode, the cursor can move among the display screens, and a user can move the cursor to the display screen concerned by the user through an input device such as a keyboard or a mouse, so that screen capture operation is triggered, and the electronic equipment can determine that the display screen where the cursor is located is a target display screen.
Second, the electronic device may further include a sensor for tracking the user's gaze. The processor determines that a display screen in which the user's sight line is located in a plurality of display screens of the electronic device is a target display screen.
In this way, the acquisition direction of the sensor is consistent with the display direction of the plurality of display screens, and the acquisition area of the sensor can contain a spatial area within a certain range from the plurality of display screens, so that the sight of a user in the area can be tracked.
Thirdly, the processor determines a display screen with an active window among a plurality of display screens of the electronic device as a target display screen.
When the electronic equipment is in an extended screen mode, at least one window can be displayed on the plurality of display screens, at least one window can have an active window, and the display screen with the active window is determined as a target display screen.
Fourthly, the processor determines that the display screen of the application program with the operation time closest to the current time is the target display screen in the plurality of display screens of the electronic equipment.
When the electronic equipment is in the extended screen mode, at least one application program can be displayed on the plurality of display screens, and the operation time of each application program can be determined, so that the display screen where the application program with the operation time closest to the current time is located is determined as the target display screen.
And a fifth mode: the processor acquires dialogue data on target software currently running in the electronic equipment, and determines a target display screen based on the dialogue data.
The currently running target software can be chatting software, the target software can be run and displayed on any display screen of the electronic equipment, and the processor analyzes the conversation data by acquiring the conversation data on the target software to determine the target display screen. Specifically, the processor may analyze the dialogue data, determine a screen capture purpose, and search for a display screen corresponding to the screen capture purpose as a target display screen.
Therefore, in the application, one target display screen can be determined from the plurality of display screens, so that the corresponding relation between the target display screen and the intercepting strategy is established, and the accuracy of screen intercepting is improved.
The present application provides a plurality of interception policies, which are described in detail below by an apparatus embodiment two, a method embodiment three, and a method embodiment four, respectively.
In a second embodiment of the apparatus of the present application, the electronic device further includes a memory; the intercepting policy comprises a policy of only intercepting target screen information of the target display screen; the processor is further configured to intercept target screen information of the target display screen based on the interception policy, generate a screen image based on the target screen information, and store the screen image to the memory.
Therefore, in the application, a target display screen can be determined from the plurality of display screens, the target display screen is the display screen which is actually concerned by the user, the corresponding relation between the target display screen and the intercepting strategy is established, the target screen information of the target display screen is intercepted based on the intercepting strategy, a screen image is generated based on the target screen information, the screen image is stored, the user can directly see the target screen information of the target display screen when looking over the screen image, and the accuracy of screen intercepting is improved.
In a third embodiment of the apparatus of the present application, the electronic device further includes a memory; intercepting a policy includes intercepting a policy of a plurality of screen information of the plurality of display screens; the processor is further configured to intercept a plurality of screen information of the plurality of display screens based on the interception policy; and splicing the plurality of screen information according to a specific splicing mode to generate a screen image, and storing the screen image to the memory.
And the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as a first factor. In this embodiment, the specific splicing manner may be changed based on the user requirement, or adjusted in real time based on the interception policy.
In this embodiment, if the number of the plurality of display screens of the electronic device is equal to 2, the screen information of another display screen can be spliced with the target screen information as the first in a specific splicing manner. Namely, the target screen information is in front, and the screen information of the other display screen is spliced in a later mode.
If the number of the plurality of display screens of the electronic device is greater than or equal to 3, when the screen information of the other display screens is spliced with the target screen information as the first screen information according to the specific splicing mode, the splicing sequence of the screen information of the other display screens can be random, and the splicing effect can be reduced by the random splicing mode. The application provides two specific implementations of a specific splicing mode to improve the splicing effect.
Specifically, in an implementation manner, the specific splicing manner is generated as follows:
(1) determining the operation frequency of other display screens except the target display screen within a historical time which is a first time away from the current time;
the specific time range of the historical time period that is the first time from the current time is not limited in this application, and may be within one hour of the current time or within one day of the current time.
The operation frequency in this application may refer to the operation frequency of operating the display screen, specifically, one operation may include a continuous operation for one display screen, and the operation interval time of the continuous operation is less than the preset interval time.
(2) And determining the splicing sequence of the screen information of other display screens spliced by the target screen information in the sequence from high to low of the operation frequency.
The target screen information of the target display screen is positioned at the head of the splicing, and the splicing sequence of other display screens can be determined according to the operation frequency from high to low.
In another implementation, the specific splicing manner is generated as follows:
(1) determining an operation time for other display screens except the target display screen;
wherein the operation time is the time closest to the current time. That is, the latest operation time of the other display than the target display screen is determined.
(2) And determining the splicing sequence of the screen information of other display screens spliced by the target screen information as the first according to the sequence of the operation time from the near to the far of the current time.
The target screen information of the target display screen is positioned at the head of the splicing, and the splicing sequence of other display screens can be determined according to the operation time and the current time from near to far.
Therefore, in the application, a target display screen can be determined from the multiple display screens, the target display screen is the display screen which is actually concerned by the user, the corresponding relation between the target display screen and the intercepting strategy is established, the multiple screen information of the multiple display screens is intercepted based on the intercepting strategy, the multiple screen information is spliced according to a specific splicing mode, a screen image is generated and stored, the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as the first place, the target screen information of the target display screen in the screen image is located at the first place, the user can see the target screen information firstly when viewing the screen image, and the accuracy of screen interception is improved.
In a fourth embodiment of the apparatus of the present application, the electronic device further includes a memory, and the intercepting policy includes a policy of intercepting the screen information of the display screens. The processor is further used for intercepting a plurality of pieces of screen information of the plurality of display screens based on the interception strategy, generating a screen image only including the target screen information, and saving the screen image.
Therefore, in the application, a target display screen can be determined from the multiple display screens, the target display screen is the display screen which is actually concerned by the user, the corresponding relation between the target display screen and the intercepting strategy is established, so that the multiple screen information of the multiple display screens is intercepted based on the intercepting strategy, a screen image which only comprises the target screen information is generated and stored, the user can directly see the target screen information when looking over the screen image, and the accuracy of screen intercepting is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A screen shot method, comprising:
acquiring screen capturing operation, and determining an capturing strategy corresponding to the screen capturing operation;
determining a target display screen in a plurality of display screens of the electronic device;
and establishing a corresponding relation between the target display screen and the interception strategy.
2. The method of claim 1, the intercepting policy comprising a policy to intercept only target screen information of the target display screen; the method further comprises the following steps:
intercepting target screen information of the target display screen based on the interception strategy;
generating a screen image based on the target screen information;
and saving the screen image.
3. The method of claim 1, the intercepting policy comprising a policy to intercept a plurality of screen information of the plurality of display screens; the method further comprises the following steps:
intercepting a plurality of screen information of the plurality of display screens based on the interception policy;
splicing the plurality of screen information according to a specific splicing mode to generate a screen image; the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as a first factor;
and saving the screen image.
4. The method of claim 3, wherein when the number of the plurality of display screens is greater than or equal to 3, the specific splicing manner is generated as follows:
determining the operation frequency of other display screens except the target display screen within a historical time which is a first time away from the current time;
and determining the splicing sequence of the screen information of other display screens spliced by the target screen information in the sequence from high to low of the operation frequency.
5. The method of claim 3, wherein when the number of the plurality of display screens is greater than or equal to 3, the specific splicing manner is generated as follows:
determining an operation time for other display screens except the target display screen; wherein the operation time is the time closest to the current time;
and determining the splicing sequence of the screen information of other display screens spliced by the target screen information as the first according to the sequence of the operation time from the near to the far of the current time.
6. The method of claim 1, the determining a target display screen of a plurality of display screens of an electronic device, comprising:
determining a display screen where a cursor is located in a plurality of display screens of the electronic equipment as a target display screen;
or tracking the sight of the user by using a sensor, and determining a display screen of the electronic equipment, wherein the display screen of the sight of the user is a target display screen;
or determining that a display screen with a movable window in a plurality of display screens of the electronic equipment is a target display screen;
or determining that a display screen on which an application program with the operation time closest to the current time is located in a plurality of display screens of the electronic equipment is a target display screen;
or acquiring dialogue data on currently running target software in the electronic equipment; a target display screen is determined based on the dialog data.
7. An electronic device, comprising:
a plurality of display screens;
the processor is used for acquiring screen capturing operation, determining an capturing strategy corresponding to the screen capturing operation, determining a target display screen in the plurality of display screens, and establishing a corresponding relation between the target display screen and the capturing strategy.
8. The electronic device of claim 7, further comprising:
a memory;
the intercepting policy comprises a policy of only intercepting target screen information of the target display screen; the processor is further configured to intercept target screen information of the target display screen based on the interception policy, generate a screen image based on the target screen information, and store the screen image to the memory.
9. The electronic device of claim 7, further comprising:
a memory;
the intercepting policy comprises a policy of intercepting a plurality of screen information of the plurality of display screens; the processor is further configured to intercept a plurality of screen information of the plurality of display screens based on the interception policy;
splicing the plurality of screen information according to a specific splicing mode to generate a screen image, and storing the screen image to the memory; and the specific splicing mode is used for splicing the screen information of other display screens by taking the target screen information as a first factor.
10. The electronic device of claim 7, further comprising:
a sensor for tracking a user's gaze;
correspondingly, the processor is specifically configured to determine that, among a plurality of display screens of the electronic device, a display screen in which the user's sight line is located is a target display screen.
CN202010111824.1A 2020-02-24 2020-02-24 Screen capturing method and electronic equipment Active CN111338543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010111824.1A CN111338543B (en) 2020-02-24 2020-02-24 Screen capturing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010111824.1A CN111338543B (en) 2020-02-24 2020-02-24 Screen capturing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111338543A true CN111338543A (en) 2020-06-26
CN111338543B CN111338543B (en) 2021-12-24

Family

ID=71179662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010111824.1A Active CN111338543B (en) 2020-02-24 2020-02-24 Screen capturing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111338543B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610207A (en) * 2022-03-18 2022-06-10 壹沓科技(上海)有限公司 Screen capturing method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189576A1 (en) * 2012-09-10 2014-07-03 Applitools Ltd. System and method for visual matching of application screenshots
CN104679405A (en) * 2015-02-06 2015-06-03 深圳市金立通信设备有限公司 Terminal
CN108920239A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of long screenshotss method and mobile terminal
CN109388304A (en) * 2018-09-28 2019-02-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device
CN109710349A (en) * 2018-11-28 2019-05-03 维沃移动通信(深圳)有限公司 A kind of screenshotss method and mobile terminal
CN109857306A (en) * 2018-12-27 2019-06-07 维沃移动通信有限公司 Screenshotss method and terminal device
CN110446097A (en) * 2019-08-26 2019-11-12 维沃移动通信有限公司 Record screen method and mobile terminal
CN110737386A (en) * 2019-09-06 2020-01-31 华为技术有限公司 screen capturing method and related equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189576A1 (en) * 2012-09-10 2014-07-03 Applitools Ltd. System and method for visual matching of application screenshots
CN104679405A (en) * 2015-02-06 2015-06-03 深圳市金立通信设备有限公司 Terminal
CN108920239A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of long screenshotss method and mobile terminal
CN109388304A (en) * 2018-09-28 2019-02-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device
CN109710349A (en) * 2018-11-28 2019-05-03 维沃移动通信(深圳)有限公司 A kind of screenshotss method and mobile terminal
CN109857306A (en) * 2018-12-27 2019-06-07 维沃移动通信有限公司 Screenshotss method and terminal device
CN110446097A (en) * 2019-08-26 2019-11-12 维沃移动通信有限公司 Record screen method and mobile terminal
CN110737386A (en) * 2019-09-06 2020-01-31 华为技术有限公司 screen capturing method and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610207A (en) * 2022-03-18 2022-06-10 壹沓科技(上海)有限公司 Screen capturing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111338543B (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN106658221A (en) Bullet screen control method and device
CN112954199B (en) Video recording method and device
CN113010136B (en) Method and system for intelligently amplifying shared desktop and readable storage medium
CN111273850A (en) Terminal control method and device, computer equipment and storage medium
CN107341777A (en) image processing method and device
US20220392101A1 (en) Training method, method of detecting target image, electronic device and medium
CN111338543B (en) Screen capturing method and electronic equipment
CN114374663B (en) Message processing method and message processing device
CN112528107A (en) Content data display method and device and server
CN113965640A (en) Message processing method and device
CN111176501B (en) Display area adjusting method, user equipment and device with storage function
CN107733779B (en) Function expansion method and device based on contact persons
CN114594852A (en) Control method and device for electronic equipment, electronic equipment and storage medium
WO2022178777A1 (en) Data sharing method, computer device and storage medium
CN114185906A (en) Content updating method and content updating device
CN117148584A (en) Pupil distance adjusting method and device, electronic equipment and readable storage medium
CN116244028A (en) Interface display method and device and electronic equipment
CN117412101A (en) Video picture display method, device, electronic equipment and readable storage medium
CN117528179A (en) Video generation method and device
CN112527116A (en) AR technology-based large-screen map display system
CN114710624A (en) Photographing method and photographing apparatus
CN114741151A (en) Split screen display method and device, electronic equipment and readable storage medium
CN117055834A (en) Volume adjustment method, volume adjustment device and computer readable storage medium
CN113905280A (en) Bullet screen information display method, device, equipment and storage medium
CN116320799A (en) Shooting method, shooting device, electronic equipment and readable storage medium

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