CN108829314B - Screenshot selecting interface selection method, device, equipment and storage medium - Google Patents

Screenshot selecting interface selection method, device, equipment and storage medium Download PDF

Info

Publication number
CN108829314B
CN108829314B CN201810506369.8A CN201810506369A CN108829314B CN 108829314 B CN108829314 B CN 108829314B CN 201810506369 A CN201810506369 A CN 201810506369A CN 108829314 B CN108829314 B CN 108829314B
Authority
CN
China
Prior art keywords
screenshot
image data
interface
sub
key
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.)
Active
Application number
CN201810506369.8A
Other languages
Chinese (zh)
Other versions
CN108829314A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810506369.8A priority Critical patent/CN108829314B/en
Publication of CN108829314A publication Critical patent/CN108829314A/en
Application granted granted Critical
Publication of CN108829314B publication Critical patent/CN108829314B/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

Landscapes

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

Abstract

The invention discloses a screenshot selecting interface selection method, a screenshot selecting interface selection device, screenshot selecting equipment and a screenshot selecting storage medium, wherein the screenshot selecting interface selection method specifically comprises the following steps: receiving a screenshot instruction; displaying a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after the current display interface is subjected to screenshot; receiving a first switching instruction, wherein the first switching instruction acts on the screenshot control; and replacing the first image data of the screenshot selecting area interface with second image data, wherein the second image data is obtained by screenshot after the first target window is moved out of the current display interface. By adopting the scheme, the technical problem that the operation process of hiding the display window in the screenshot area by a user in the prior art is too complicated can be solved, the display window can be hidden only through the screenshot control without exiting the screenshot mode when the display window is needed to be hidden, and the user operation is simplified.

Description

Screenshot selecting interface selection method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent interaction, in particular to a screenshot selecting area interface selecting method, device, equipment and storage medium.
Background
A screenshot is a visual image captured by the smart device that can be displayed on a screen or other display device. And after receiving the screenshot area selected by the user, intercepting the display content of the screenshot area to obtain a screenshot image.
The inventor finds that the prior art has the following defects: when the user turns on the screenshot function, the screenshot available area displayed in the screen is not changeable. If a user wants to hide a certain display window in the screenshot process, the screenshot function needs to be closed, and after relevant operations are executed, the screenshot function is opened again to hide the display window in the screenshot process, so that the user operation process is too tedious.
Disclosure of Invention
In view of this, embodiments of the present invention provide a screenshot selecting interface selecting method, apparatus, device and storage medium, so as to solve the technical problem in the prior art that an operation process of hiding a display window in a screenshot available area by a user is too cumbersome.
In a first aspect, an embodiment of the present invention provides a screenshot selecting interface selection method, including:
receiving a screenshot instruction;
displaying a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after a current display interface is subjected to screenshot;
receiving a first switching instruction, wherein the first switching instruction acts on the screenshot control;
and replacing the first image data of the screenshot selecting area interface with second image data, wherein the second image data is obtained by screenshot after the first target window is moved out of the current display interface.
Further, after the replacing the first image data of the screenshot selecting area interface with the second image data, the method further includes:
receiving a second switching instruction, wherein the second switching instruction acts on the screenshot control;
and replacing the second image data of the screenshot selecting area interface with the first image data.
Furthermore, the number of the first target window and the number of the second image data are both N, N is larger than or equal to 1, each second image data corresponds to one first target window, the screenshot control comprises a main key and N sub-keys, the main key corresponds to the first image data, and each sub-key corresponds to one second image data.
Further, the first switching instruction acts on a first sub-key of the screenshot control, and the first sub-key is any sub-key;
the replacing the screenshot selecting area interface from the first image data to the second image data comprises:
and replacing the first image data of the screenshot selecting area interface with second image data corresponding to the first sub-key.
Further, the second switching instruction acts on a main key of the screenshot control.
Further, after the replacing the first image data of the screenshot selecting area interface with the second image data, the method further includes:
receiving a third switching instruction, wherein the third switching instruction acts on a second sub-key of the screenshot control, and the second sub-key is any sub-key except the first sub-key;
and replacing the second image data corresponding to the first sub-key of the screenshot selecting area interface with the second image data corresponding to the second sub-key.
Further, after receiving the screenshot command, the method further includes:
confirming all display windows contained in the current display interface;
determining N first target windows in all the display windows;
the current display interface is subjected to screen capture to obtain first image data;
respectively moving out a first target window in the current display interface each time, and performing screen capture after the first target window is moved out to obtain N second image data;
generating a screenshot control comprising a main key and N sub keys;
and establishing an incidence relation between the main key and the first image data and an incidence relation between the sub-keys and the second image data, wherein each sub-key is associated with one second image data.
Further, the method also comprises the following steps:
receiving screenshot operation, wherein the screenshot operation acts on the screenshot selecting area interface;
and displaying a screenshot image, wherein the screenshot image is obtained according to the screenshot operation.
Further, before the receiving the screenshot operation, the method further includes:
and highlighting a second target window, wherein the second target window is a display window where a mouse cursor currently stays in the screenshot selecting area interface.
In a second aspect, an embodiment of the present invention further provides a screenshot selecting interface selecting apparatus, including:
the first instruction receiving module is used for receiving a screenshot instruction;
the display module is used for displaying a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after a screen of a current display interface is shot;
the second instruction receiving module is used for receiving a first switching instruction, and the first switching instruction acts on the screenshot control;
and the first image replacing module is used for replacing the first image data of the screenshot selecting area interface with second image data, and the second image data is obtained by screen capture after the first target window is moved out of the current display interface.
In a third aspect, an embodiment of the present invention further provides a screenshot selecting interface selecting device, including:
a memory, a display screen, and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a screenshot instruction;
the method comprises the steps of indicating a display screen to display a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after a current display interface is subjected to screenshot;
receiving a first switching instruction, wherein the first switching instruction acts on the screenshot control;
and instructing the display screen to change the first image data of the screenshot selecting area interface into second image data, wherein the second image data is obtained by screen capture after the first target window is moved out of the current display interface.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the screenshot selecting interface selection method according to the first aspect.
The screenshot selecting interface selecting method, the device, the equipment and the storage medium display the screenshot selecting interface and the screenshot control after receiving the screenshot command, and the screenshot selecting area interface is a technical means for generating first image data after the current display interface is subjected to screenshot, receiving a first switching instruction acting on the screenshot control, and switching the screenshot selecting area interface from the first image data to second image data not containing a first target window, so that the technical problem that the operation process of hiding the display window in the screenshot available area by a user in the prior art is too complicated is solved, the screenshot process is realized, the user can change the screenshot area according to the actual requirement, especially when the user wants to hide the display window, the display window can be hidden only through the screenshot control without exiting the screenshot mode, so that the user operation is simplified, and the user experience is improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a screenshot selecting interface selection method according to an embodiment of the present invention;
FIG. 2 is a first schematic view of a current display interface;
FIG. 3 is a first schematic diagram of a screenshot selection interface and a screenshot control;
FIG. 4 is a second schematic diagram of a screenshot selection interface and screenshot control;
FIG. 5 is a flowchart of a screenshot selection interface selection method according to a second embodiment of the present disclosure;
FIG. 6 is a second schematic view of the current display interface;
FIG. 7 is a third schematic diagram of a screenshot selection interface and screenshot control;
FIG. 8 is a fourth schematic diagram of a screenshot selection interface and screenshot control;
FIG. 9 is a schematic view of a screenshot selection interface;
FIG. 10 is a third schematic view of the current display interface;
FIG. 11 is a fifth schematic diagram of a screenshot selection interface and screenshot control;
FIG. 12 is a sixth schematic view of a screenshot selection interface and screenshot control;
FIG. 13 is a seventh schematic view of a screenshot selection interface and screenshot control;
FIG. 14 is an eighth schematic diagram of a screenshot selection interface and screenshot control;
FIG. 15 is a ninth diagram of a screenshot selection interface and screenshot control;
FIG. 16 is a tenth schematic diagram of a screenshot selection interface and screenshot control;
fig. 17 is a schematic structural diagram of a screenshot selecting interface selection apparatus according to a third embodiment of the present disclosure;
fig. 18 is a schematic structural diagram of a screenshot selecting interface selection device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of a screenshot selecting interface selection method according to an embodiment of the present invention. The screenshot selecting area interface selection method provided by the embodiment can be executed by screenshot selecting area interface selection equipment, the screenshot selecting area interface selection equipment can be realized in a software and/or hardware mode, and the screenshot selecting area interface selection equipment can be formed by two or more physical entities or one physical entity. The screenshot selecting interface selecting equipment can be a computer, a mobile phone, a tablet or an intelligent interactive tablet and the like.
Specifically, the screenshot selecting interface selecting device is configured with a Windows system, and can install and run various application programs under the Windows system. Optionally, the screenshot selecting interface selection device may also be configured with an android system and the like. In the embodiment, an application program having a screenshot function is run in a Windows system as an example. Further, when the application program with the screenshot function is run, other application programs may also be run at the same time, and the embodiment does not limit the specific type of the other running application programs. In the embodiment, for convenience of distinction, an application with a screenshot function is denoted as a screenshot application. It will be appreciated that the screenshot application can be an application dedicated to screenshots, or can be an application for other purposes. For example, the screenshot application can be instant messaging software with screenshot function or teaching software with screenshot function.
Exemplarily, referring to fig. 1, the screenshot selecting interface selection method provided in this embodiment specifically includes:
and S110, receiving a screenshot command.
Illustratively, the screenshot command is a command for turning on a screenshot function. Specifically, a screenshot function trigger key is arranged in the screenshot application program. The trigger key can be displayed at a set position of a display window, wherein the display window is an application interface of a screenshot application program in a display screen at present, and the set position can be set according to actual conditions. Further, if the triggering key is detected to be triggered, the screenshot instruction is determined to be received. Optionally, the triggering mode of the trigger button may be set according to an actual situation, for example, the display screen of the screenshot selecting area interface selection device has a touch function, and when it is detected that the trigger button is clicked by a user through a finger or other external devices, it is determined that a screenshot instruction is received. The external device may be a stylus. For another example, when it is detected that the mouse cursor performs a click operation at the display position of the trigger button, it is determined that the screenshot instruction is received. The mouse cursor may also be referred to as a mouse pointer, and is used to identify a mouse position on the display interface, and simultaneously, may also be used to identify different states, such as: system busy, moving, drag and drop, etc. It should be noted that, receiving the trigger instruction through the trigger button is only an optional manner, and in practical application, the trigger instruction may also be received through other manners. For example, a shortcut key for triggering the screenshot function is set on a keyboard connected with the screenshot selecting area interface selection device, and when a shortcut key input signal is received, the screenshot instruction is determined to be received.
And S120, displaying a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data.
Specifically, after receiving the screenshot command, the screenshot selecting interface selecting device enters a screenshot mode. At the moment, the screenshot selecting area interface selecting equipment displays the screenshot selecting area interface and the screenshot control.
The screenshot selecting interface is used for displaying a current screenshot area to a user so that the user can capture the screenshot. In the embodiment, the screenshot selecting interface is set to be in a picture format, and the screenshot operation of the user can be understood as an operation of selectively intercepting part or all of the area on the picture. Further, the screenshot selecting area interface is displayed as the first image data by default. The first image data is obtained after screen capture of the current display interface. The current display interface is the current display content of the display screen, and generally speaking, a display window of the screenshot application program is displayed in the current display interface. Optionally, at least one of the display window of the other currently running application, the toolbar, the application icon running in the background, the application icon of the minimized display window, and the like is also displayed in the current display interface. Specifically, after receiving a screen capture instruction, screen capture is performed on a current display interface, and a picture obtained through screen capture is recorded as first image data. And then, taking the first image data as a screenshot selecting area interface to display in a full screen mode. When the current display interface is subjected to screen capture, various data of the current display interface may be initialized, for example, a boundary of the current display interface (i.e., a display area of the current display interface) is determined, and then, the current display interface is subjected to system screen capture. Optionally, before screen capturing, at least one of the content of the toolbar, the icon for displaying the application running in the background, the icon for displaying the application with the minimized display window, and the like in the current display interface may be filtered. Generally, the icons are generally displayed in a toolbar, and therefore, when the toolbar is deleted, the icons can be filtered, namely, the current display interface is set to only include a display window and not include the toolbar. It should be noted that the above-mentioned screen capturing process is a background process, and the user perspective is not easily perceived.
Further, the screenshot control is used for receiving a switching instruction, and the switching instruction is used for changing the display content of the screenshot selecting area interface. Optionally, the display hierarchy of the screenshot control may be higher than that of the screenshot selecting area interface. The specific display mode of the virtual keys can be set according to actual conditions. For example, the screenshot control is displayed in a form of only one virtual key, when the virtual key is detected to be clicked, it is determined that a switching instruction is received, and at this time, the display content of the screenshot selecting area interface is replaced according to a preset replacement rule. For another example, the number of the currently replaceable display contents of the screenshot selecting area interface is determined, virtual keys equal to the number are set in the screenshot control, each virtual key corresponds to one display content, when it is detected that a certain virtual key is clicked, it is determined that a switching instruction is received, and the display contents of the screenshot selecting area interface are replaced by the display contents corresponding to the virtual keys. Typically, the display position of the screenshot control can also be set according to the actual situation. For example, in conjunction with displaying content, a screenshot control is displayed in the area where the background picture is displayed. In another example, a fixed position is set to display the screenshot control, and at this time, the display content does not need to be considered.
Optionally, after determining all display contents of the screenshot selecting area interface, determining a display form and a display position of the screenshot control, and further displaying the screenshot control and the screenshot selecting area interface together.
It should be noted that, when the user performs screenshot operation on the screenshot selecting interface, if the screenshot area selected by the user includes a screenshot control, the screenshot control is automatically deleted from the finally obtained screenshot image. I.e., the screenshot image is an image that does not contain a screenshot control.
S130, receiving a first switching instruction.
Illustratively, after the screenshot selecting area interface and the screenshot control are displayed, if the screenshot selecting area interface contains a screenshot area desired by the user, the user can perform screenshot. And if the screenshot selecting area interface does not contain the screenshot area desired by the user, the user can replace the display content of the screenshot selecting area interface through the screenshot control.
Specifically, when the screenshot selecting area interface is the first image data, if it is detected that the screenshot control receives a click operation, it is determined that a first switching instruction is received. The first switching instruction acts on the screenshot control, is used for changing the display content of the screenshot selecting area interface, and is preferably used for changing the first image data of the screenshot selecting area interface into the second image data.
And S140, replacing the screenshot selecting area interface with second image data from the first image data.
Illustratively, the second image data is captured after the first target window is moved out of the current display interface. Specifically, after the first image data is saved, the first target window is moved out of the current display interface to update the current display interface, and then the updated current display interface is subjected to screen capture to obtain second image data. The above-described procedure may be displayed on the front end, or may be operated on the background without being displayed on the front end. In this embodiment, the above process is preferably set to operate in the background and the front end is not displayed.
Furthermore, the first target window is a display window which needs to be moved out of the current display interface in the user screenshot process. The purpose of moving out the first target window is to display the content blocked by the first target window so as to better meet the screenshot requirement of a user. Specifically, the setting rule of the first target window may be determined according to actual conditions. For example, the first target window is set as a display window of the screenshot application, and at this time, the number of the first target windows is 1. Correspondingly, the number of the second image data is 1, and the second image data can be understood as a picture obtained by screen capture after the display window of the screenshot application program is moved out of the current display interface. For another example, each display window in the current display interface is set to be a first target window, at this time, the number of the second image data is equal to the number of the first target windows, each piece of the second image data corresponds to one first target window, that is, one first target window is moved out from the current display interface and a screen is captured to obtain one piece of the second image data, then, the current display interface is restored, that is, the moved first target window is redisplayed, then, another first target window is moved out and a screen is captured to obtain another piece of the second image data, and so on until all the second image data are obtained. In another example, the display level of each display window in the current display interface is determined, and the display window with the highest display level is determined as the first target window. Then, the display window with the highest display level and the display window with the highest display level are determined as the second first target window. And the like until only the display window with the lowest display level is reserved. For example, assuming that the current display interface includes 4 display windows, three first target windows are generated, the first including only the display window with the highest display level, the second including two display windows with the highest display level and the highest display level, and the third including three display windows with the first three display levels. At this time, 3 pieces of second image data are correspondingly generated. In general, if there are at least two different display windows at the same coordinate, the display window with the higher display level is preferentially displayed.
It should be noted that the above is only an exemplary description of determining the first target window, and in practical applications, other ways of determining the first target window are also applicable.
Illustratively, when the screenshot control only has one virtual key and only one second image data, after receiving a first switching instruction, directly replacing the display content of the screenshot selecting area interface with the second image data; when the screenshot control only has one virtual key and the number of the second image data is multiple, the switching sequence among the second image data is preset, and after the first switching instruction is received, the display content of the screenshot selecting area interface is changed into the corresponding second image data according to the switching sequence. And then, when it is detected that the screenshot control receives the click operation again, the display content of the screenshot selecting area interface can be changed from the current second image data to the next second image data according to the switching sequence. If the screenshot selecting area interface is the second image data located at the last in the switching sequence and the screenshot control is detected to receive the click operation again, replacing the display content of the screenshot selecting area interface with the first image data; when the screenshot control has a plurality of virtual keys, one of the virtual keys is set to correspond to first image data, and the rest of the virtual keys correspond to second image data respectively, then after receiving a first switching instruction, the virtual key acting on the first switching instruction is determined, the second image data corresponding to the virtual key is further determined, and then the display content of the screenshot selecting area interface is changed into the second image data.
It should be noted that, after the first target window is moved out of the current display interface, the boundary of the current display interface needs to be determined, and then, system screen capturing is performed to obtain the second image data.
Optionally, after the screenshot selecting area interface is replaced with the second image data, the user may select the screenshot according to the screenshot requirement, or replace the display content of the screenshot selecting area interface again.
The technical solution provided by this embodiment is exemplarily described as follows:
the screenshot selecting area interface selecting equipment is a notebook computer, and a user operates the notebook computer through a mouse. The display window of the screenshot application program is a first target window, and a trigger key for triggering the screenshot function exists in the display window.
Specifically, fig. 2 is a first schematic diagram of the current display interface. Referring to fig. 2, the current display interface includes a first target window 11 and other windows 12. The first target window 11 includes a trigger button 111 for triggering the screenshot function. When the notebook computer detects that the trigger key 111 is clicked, the screen capture mode is determined to be accessed, and at the moment, the notebook computer performs screen capture on the current display interface to obtain first image data. Further, the first target window 11 is moved out of the current display interface and is subjected to screen capture, so as to obtain second image data. And then generating a screenshot control.
Further, a screenshot selecting area interface and a screenshot control are displayed. FIG. 3 is a first schematic diagram of a screenshot selection interface and a screenshot control. Referring to fig. 3, the screenshot selection interface is first image data generated based on the current display interface, and includes a first target window 11 and other windows 12. The screenshot control 13 is a virtual button. It can be clear that, from the user perspective, only the screen capture control 13 is added to the current display interface of the notebook computer after the trigger button 111 is clicked, and other processes are all background operation. At this time, the region in which the screen can be captured is the first image data.
Further, when it is detected that the screenshot control 13 receives a click operation, the screenshot selecting interface is changed from the first image data to the second image data. FIG. 4 is a second schematic diagram of a screenshot selection interface and a screenshot control. Referring to fig. 4, from the user's perspective, when the screenshot control 13 is clicked, the screenable area is replaced with the second image data.
According to the technical scheme, after the screenshot command is received, the screenshot selecting area interface and the screenshot control are displayed, the screenshot selecting area interface is the first image data generated after the current display interface is subjected to screenshot, the first switching command acting on the screenshot control is received, the screenshot selecting area interface is switched from the first image data to the second image data not containing the first target window, the user can replace the area capable of being screenshot according to actual requirements in the screenshot process, particularly when the user wants to hide the display window, the user does not need to quit the screenshot mode, the display window can be hidden only through the screenshot control, user operation is simplified, and user experience is improved.
Example two
Fig. 5 is a flowchart of a screenshot selecting interface selection method according to the second embodiment of the present invention. The present embodiment is embodied on the basis of the above-described embodiments.
Illustratively, the number of the first target window and the number of the second image data are both N, N is greater than or equal to 1, each second image data corresponds to one first target window, the screenshot control comprises a main key and N sub-keys, the main key corresponds to the first image data, and each sub-key corresponds to one second image data.
In the embodiment, each display window displayed in the current display interface is set to be a first target window, the number of the display windows is N, and correspondingly, the number of the first target windows is N. Furthermore, the number of the second image data is N, each second image data corresponds to one first target window, that is, each second image data is a picture obtained by screen capture after the corresponding first target window is moved out of the current display interface. Furthermore, the screenshot control comprises N +1 virtual keys, wherein one virtual key is a main key, and the rest N virtual keys are sub keys. The screenshot control can only trigger one virtual key at a time. Typically, the main key is in a trigger state when the main key corresponds to the first image data, that is, the screenshot selecting area interface is the first image data. And when each sub-key corresponds to one second image data, namely the screenshot selecting area interface is any second image data, the corresponding sub-key is in a trigger state. It can be understood that, after a virtual key receives a click operation, it may become a trigger state, that is, the screenshot selecting interface is replaced with image data corresponding to the virtual key.
Specifically, referring to fig. 5, the screenshot selecting interface selection method provided in this embodiment specifically includes:
s201, receiving a screenshot command.
S202, all display windows contained in the current display interface are confirmed.
Illustratively, all applications currently running are determined, and then applications that are only running in the background are filtered out, as well as applications whose display window is minimized. Then, the display window of the application program which is reserved currently is determined as the whole display windows contained in the current display interface. It may also be understood that all display windows visible in the current display interface are identified.
S203, determining N first target windows in all the display windows.
Specifically, each display window is set to be a first target window. I.e. N equals the number of full display windows. Generally, when N is equal to 1, it means that there is only one display window of the screenshot application in the current display interface. And when N is larger than 1, the current display interface comprises a display window of the screenshot application program and a display window of at least one other application program. It can be understood that, in practical applications, a part of all display windows may also be set as the first target window, where N is less than the number of all display windows.
And S204, screen capturing is carried out on the current display interface to obtain first image data.
Specifically, the current display interface only includes all display Windows, so that after the current display interface is subjected to screen capture, the obtained first image data can be regarded as a picture from which the Windows system is arranged in a toolbar of the desktop is deleted. Before the current display interface is subjected to screen capture, various data of the current display interface may be initialized, for example, a boundary of the current display interface (i.e., a display area of the current display interface) is determined, the toolbar is deleted, and then, system screen capture is performed on the current display interface.
S205, respectively moving out a first target window in the current display interface each time, and performing screen capture after the first target window is moved out to obtain N second image data.
Specifically, a first target window is moved out of the current display interface, and screen capture is performed, so that second image data corresponding to the first target window is obtained. And then, the first target window is displayed on the current display interface in a recovery mode. Repeating the operation N-1 times, and moving out different first target windows each time, so that N second image data can be obtained.
Optionally, after acquiring the N second image data, determining a switching sequence of the N second image data. The determination rule of the switching sequence may be set according to actual conditions. For example, the display level of the first target window on the current display interface is obtained, and the switching order of the second image data is determined according to the display level from high to low.
And S206, generating a screenshot control comprising a main key and N sub keys.
Specifically, the display form, the arrangement sequence and the display position of the main key and the sub-keys are determined. The specific rule of the arrangement sequence can be set according to the actual situation. For example, the main key and the sub-keys are arranged in the horizontal direction in sequence, wherein the main key is positioned at the forefront. Alternatively, when the number of the sub-keys is greater than the set threshold (e.g. 4), the sub-keys of the display part may be omitted by omitting the symbols. The embodiment of the omission of the sub-keys and the display rule is not limited.
S207, establishing an incidence relation between the main key and the first image data and an incidence relation between the sub key and the second image data.
Wherein each sub-key is associated with a second image data.
Specifically, after the association relationship is established, each virtual key has corresponding image data, wherein the main key corresponds to the first image data, and each sub-key corresponds to one second image data. Optionally, when the association relationship between the sub-keys and the second image data is established, the second image data corresponding to each sub-key may be determined according to the arrangement order of the sub-keys and the switching order of the second image data. For example, 4 sub-keys are arranged transversely at a time, in which case the first sub-key corresponds to the second image data at the forefront of the switching order, the second sub-key corresponds to the second image data at the second position of the switching order, and so on.
And S208, displaying a screenshot selecting area interface and a screenshot control.
The screenshot selecting interface is first image data, and the first image data is data obtained after the current display interface is subjected to screenshot.
Specifically, the screenshot control is displayed according to the display form, the arrangement sequence and the display position of the screenshot control. Furthermore, the screenshot selecting area interface is the first image data, so that the main key corresponding to the first image data is set to be in a trigger state. Optionally, the virtual key in the triggered state is displayed differently from other virtual keys, so that the user can specify the virtual key in the triggered state. Correspondingly, in this step, the main key and the sub-keys are displayed differently.
S209, receiving a first switching instruction.
The first switching instruction acts on a first sub-key of the screenshot control, and the first sub-key is any sub-key. Specifically, when the main key is in a trigger state and it is detected that any sub-key receives a click operation, it is determined that a first switching instruction is received, and the sub-key receiving the click operation is marked as a first sub-key.
S210, replacing the first image data of the screenshot selecting area interface with second image data corresponding to the first sub-key.
And the second image data is obtained by screen capture after the first target window is moved out of the current display interface.
Specifically, second image data corresponding to the first sub-key is determined, and then the screenshot selecting area interface is replaced by the second image data. Meanwhile, the triggering state of the main key is cancelled, and the first sub-key is adjusted to be in the triggering state. At this time, the first sub-key is displayed separately from the other virtual keys.
And S211, receiving a third switching instruction.
And the third switching instruction acts on a second sub-key of the screenshot control, and the second sub-key is any sub-key except the first sub-key.
Specifically, if it is detected that the other sub-keys receive the click operation when the first sub-key is in the trigger state, it is determined that the third switching instruction is received, and the sub-key that receives the click operation is marked as the second sub-key. Generally, the first sub-key and the second sub-key are different sub-keys. The third switching instruction is used for changing the display content of the screenshot selecting area interface, and is preferably used for changing the screenshot selecting area interface from one second image data to another second image data.
S212, replacing the second image data corresponding to the first sub-key of the screenshot selecting area interface with the second image data corresponding to the second sub-key.
Specifically, second image data corresponding to the second sub-key is determined, and the screenshot selecting area interface is replaced with the second image data corresponding to the second sub-key. Meanwhile, the triggering state of the first sub-key is cancelled, and the second sub-key is adjusted to be in the triggering state. At this time, the second sub-key is displayed separately from the other virtual keys.
And S213, receiving a second switching instruction.
And the second switching instruction acts on the screenshot control. Specifically, the second switching instruction acts on a main key of the screenshot control. The second switching instruction is used for changing the display content of the screenshot selecting area interface, and is preferably used for changing the second image data of the screenshot selecting area interface into the first image data. Further, when a certain sub-key is in a trigger state, if it is detected that the main key receives a click operation, it is determined that a second switching instruction is received.
And S214, replacing the screenshot selecting area interface with the first image data from the second image data.
Specifically, first image data corresponding to the main key is obtained, and the screenshot selecting area interface is changed into the first image data. Meanwhile, the triggering state of the sub-key is cancelled, and the main key is adjusted to be in the triggering state. At this time, the main key and the sub-keys are displayed separately.
It should be noted that, in practical applications, the switching sequence of the screenshot selecting area interface is not limited to the above sequence, and a user may optionally trigger the main key or the sub-key according to the own requirements, and may optionally switch the virtual key in the triggered state, so as to implement switching of the display content of the screenshot selecting area interface.
Specifically, the above description is made on the screen capture selection interface, and the following description is made on the screen capture operation. It should be noted that the embodiment does not limit the execution timing of the screenshot operation, and when the screenshot selecting interface meets the user requirement, the user can initiate the screenshot operation at any time. Specifically, see S215-S217:
s215, highlighting the second target window.
And the second target window is a display window where a mouse cursor currently stays in the screenshot selecting area interface.
Illustratively, when a mouse is used for operation, an event in the moving process of a mouse cursor is monitored in real time, and then subsequent response is carried out according to the event. Wherein the event comprises: coordinates of a mouse cursor in the display screen, coordinates of a mouse cursor clicking operation in the display screen, and the like. Corresponding to the screenshot process, monitoring the coordinates of the mouse cursor in the display screen in real time when the mouse cursor moves in the screenshot selecting area interface, then determining the coordinate area of each display window in the display screen to obtain the coordinate area to which the coordinates of the mouse cursor belong, and recording the display window corresponding to the coordinate area as a second target window. Wherein, a code can be preset for each display interface, and the coordinate area of each code can be determined. And after the coordinate area to which the coordinates of the mouse cursor belong is determined, acquiring the codes of the coordinate area so as to find the display window corresponding to the codes.
Optionally, if the coordinates of the mouse cursor are in the multiple coordinate regions, the display levels of the corresponding multiple display windows are determined, and the display window with the highest display level is selected and recorded as the second target window.
Further, after the second target window is determined, the second target window is highlighted to distinguish the second target window from other display windows. Specifically, a rectangular frame is generated, the size of the rectangular frame is the same as the size of the coordinate area of the second target window, and then the display content inside the rectangular frame is highlighted, that is, the second target window is highlighted. The highlighting rule embodiment is not limited thereto. The purpose of highlighting the second target window is to make the user aware of the currently automatically selected screenshot area.
Optionally, if part of the display content of the second target window is occluded by other display windows, when the second target window is highlighted, only the region that is not occluded may be highlighted, or the display content of the coordinate region corresponding to the second target window may be highlighted, and at this time, the occluded region displays the display content of other display windows.
And S216, receiving screenshot operation.
Wherein the screenshot operation acts on a screenshot selection area interface. Generally, the screenshot area can be determined from the screenshot operation. Optionally, if a single-click operation in the second target window is received after the second target window is highlighted, it is determined that the screenshot operation is received. At this time, the screenshot area is determined to be the coordinate area of the second target window. Optionally, in the screenshot selecting interface, after the dragging operation is received, the screenshot operation is determined to be received. At this time, the start coordinate and the end coordinate of the drag operation are determined, a connecting line between the start coordinate and the end coordinate is used as a diagonal line, and then the obtained rectangular area is determined as a screenshot area. The dragging operation can be understood as an operation of moving the mouse after detecting that the user presses the left or right mouse button, and stopping pressing after the movement is finished.
And S217, displaying the screenshot image.
And obtaining the screenshot image according to the screenshot operation.
Specifically, after a screenshot area is determined according to screenshot operation, display content in the screenshot area is obtained, a screenshot image is generated, and the screenshot image is displayed at a set position. The format of the screenshot image and the screenshot selecting area interface can be the same. The set location may be a clipboard set by the screenshot application.
It should be noted that, selecting a screenshot image through a mouse is only an optional manner, and in practical applications, a user may also select the screenshot image through a touch display screen.
The technical solution provided by the present embodiment is exemplarily described below.
The screenshot selecting area interface selecting equipment is a notebook computer, and a user operates the notebook computer through a mouse. The display window of the screenshot application program is a first target window, and a trigger key for triggering the screenshot function exists in the display window.
Specifically, fig. 6 is a second schematic diagram of the current display interface. Referring to fig. 6, the current display interface includes two display windows, which are denoted as: the first target window 21 and the other windows 22, the current display interface further comprises a toolbar 23. The first target window 21 includes a trigger button 211 for triggering a screen capture function. The toolbar 23 includes a first icon 231, a second icon 232, and a third icon 233. Wherein the third icon 233 is an overlapping icon. That is, at least two display windows have the same attribute as the third icon 233, and the display windows corresponding to the third icon 233 are set as the first target window 21 and the other windows 22. The display window corresponding to the second icon 232 is minimized.
Further, when the notebook computer detects that the trigger button 211 is clicked, it is determined to access the screenshot mode, at this time, the notebook computer filters the toolbar 23 in the current display interface, only all display windows are reserved, and then the current display interface is subjected to screenshot to obtain the first image data. Further, the first target window 21 is moved out of the current display interface and is subjected to screen capture, so as to obtain second image data. And then generating a screenshot control. The screenshot control comprises a main key and a sub key. The display state of the main key is as follows: the characters represent a main window, and the display states of the sub-keys are as follows: the textual expression "hide the main window".
Further, a screenshot selecting area interface and a screenshot control are displayed. Specifically, fig. 7 is a third schematic diagram of a screenshot selecting interface and a screenshot control. Referring to fig. 7, the current screenshot selection interface displays first image data, which includes a first target window 21 and other windows 22. The main button 241 of the screenshot control 24 is in a triggered state.
Further, when it is detected that the sub-key of the screenshot control 24 receives a click operation, the screenshot selecting area interface is changed from the first image data to the second image data, and at this time, the sub-key is in a trigger state. Fig. 8 is a fourth schematic diagram of a screenshot selecting interface and a screenshot control, and referring to fig. 8, from the user perspective, after the sub-button 242 is clicked, the screenshot area is changed to the second image data. Then, when it is detected that the main button 241 of the screenshot control 24 receives a click operation, the screenshot selecting area interface is changed from the second image data to the first image data again. This enables the first target window 21 to be displayed and hidden.
Furthermore, the notebook computer monitors events in the moving process of the mouse cursor in real time in the process. For example, determining that the mouse cursor is currently located within the first target window 21, the first target window 21 is highlighted. FIG. 9 is a schematic diagram of a screenshot selection interface. Referring to fig. 9, since the mouse cursor 25 is located in the first target window 21, the first target window 21 is marked as the second target window, and the first target window 21 is highlighted, and at the same time, the brightness of other areas of the screenshot selecting interface is reduced, so that the user can determine the current screenshot area.
And in the second example, the screenshot selecting area interface selecting device is a notebook computer, and a user operates the notebook computer through a mouse. And setting each display window in the current display interface as a first target window.
Specifically, fig. 10 is a third schematic diagram of the current display interface. Referring to fig. 10, the current display interface includes three first target windows and a toolbar 29, and for convenience of distinction, the three first target windows are denoted as a first target window 26, a first target window 27, and a first target window 28. The first target window 26 includes a trigger button 261 for triggering the screenshot function. The toolbar 29 includes a first icon 291, a second icon 292, and a third icon 293. The third icon 293 is an overlapping icon. That is, at least two display windows currently have the same attribute as the third icon 293, and the display windows corresponding to the third icon 293 are set as the first target window 26 and the first target window 27. The second icon 292 corresponds to the display window first target window 28.
Further, when the notebook computer detects that the trigger button 261 is clicked, it is determined to access the screenshot mode, at this time, the notebook computer filters the toolbar 29 in the current display interface, only all display windows are reserved, and then the current display interface is subjected to screenshot to obtain the first image data. Further, the first target window 26 is moved out of the current display interface and is subjected to screen capture to obtain the first and second image data. Then, the first target window 26 is displayed in the current display interface again, and the first target window 27 is moved out of the current display interface and is subjected to screen capture to obtain second image data. Then, the first target window 27 is displayed in the current display interface again, and the first target window 28 is moved out of the current display interface and is subjected to screen capture, so as to obtain third second image data. Setting the switching sequence of the three second image data as follows: first second image data, second image data, and third second image data. Further, a screenshot control is generated. The screenshot control comprises a main key and three sub keys. Each sub-key corresponds to one second image data.
Further, a screenshot selecting area interface and a screenshot control are displayed. Specifically, fig. 11 is a fifth schematic diagram of a screenshot selecting interface and a screenshot control. Referring to fig. 11, the current screenshot selection interface displays first image data including a first target window 26, a first target window 27, and a first target window 28. The main button 2101 in the screenshot control 2100 is in a triggered state. Further, when it is detected that the sub-button 2102 of the screenshot control 2100 receives a click operation, the screenshot selection area interface is changed from the first image data to the first second image data. Fig. 12 is a sixth schematic diagram of a screenshot selecting interface and a screenshot control. Referring to fig. 12, from the user's perspective, when the sub-button 2102 is clicked, the screenable area is replaced with the first second image data. After that, when it is detected that the sub-button 2104 of the screenshot control 2100 receives a click operation, the screenshot selection area interface is changed from the first second image data to the third second image data. Fig. 13 is a seventh schematic diagram of a screenshot selecting interface and a screenshot control. Referring to fig. 13, from the user's perspective, clicking the sub-key 2104 changes the screenable area to the third second image data.
In practical application, the first target window can be determined according to the display level of the display window. Specifically, reference is made to the following examples:
this example is different from example two in the setting rule of the first target window. In this example, the first target window is set as the first target window 26, and the second first target window is set as the first target window 26 and the first target window 27. At this time, the first target window 26 is moved out of the current display interface and is subjected to screen capture to obtain the first and second image data. Then, the first target window 26 is displayed in the current display interface again, and the first target window 26 and the first target window 27 are moved out of the current display interface and subjected to screen capture to obtain second image data. Further, a screenshot control is generated. The screenshot control comprises a main key and two sub keys. Each sub-key corresponds to one second image data.
Further, a screenshot selecting area interface and a screenshot control are displayed. Specifically, fig. 14 is an eighth schematic diagram of a screenshot selecting interface and a screenshot control. Referring to fig. 14, the current screenshot selection interface displays first image data including a first target window 26, a first target window 27, and other windows 28. The main button 2201 in the screenshot control 2200 is in a triggered state. Further, when it is detected that the sub-button 2202 of the screenshot control 2200 receives a click operation, the screenshot selecting area interface is changed from the first image data to the first second image data. Fig. 15 is a ninth schematic diagram of a screenshot selecting interface and a screenshot control. Referring to fig. 15, from the user's perspective, when the sub button 2202 is clicked, the screenable area is changed to the first second image data. Then, when it is detected that the sub-button 2203 of the screenshot control 2200 receives the click operation, the screenshot selecting area interface is changed from the first second image data to the second image data. Fig. 16 is a tenth schematic diagram of a screenshot selecting interface and a screenshot control. Referring to fig. 16, from the user's perspective, clicking the sub-button 2203 changes the screenable area to the second image data.
In the technical scheme provided by the embodiment, after receiving a screenshot command, first image data and N second image data corresponding to N first target windows are generated, then a screenshot control is determined, and a screenshot selection area interface and a screenshot control are displayed, wherein the screenshot selection area interface is the first image data, a main key in the screenshot control is in a trigger state, further, after a certain sub key is detected to receive a switching command, the screenshot selection area interface is replaced by the second image data corresponding to the sub key, then the second target window where a mouse cursor is located is highlighted, and after a screenshot operation of a user is received, a screenshot image is determined, so that in the screenshot process, the user can replace a screenshot area according to actual requirements, flexible display and hiding of a display window are realized, and meanwhile, the user can conveniently identify the screenshot area, the user experience is promoted.
EXAMPLE III
Fig. 17 is a schematic structural diagram of a screenshot selecting interface selection apparatus according to a third embodiment of the present invention. Referring to fig. 17, the screenshot selecting interface selecting means includes: a first instruction receiving module 301, a display module 302, a second instruction receiving module 303 and a first image replacing module 304.
The first instruction receiving module 301 is configured to receive a screenshot instruction; the display module 302 is configured to display a screenshot selecting area interface and a screenshot control, where the screenshot selecting area interface is first image data, and the first image data is data obtained after a screen of a current display interface is captured; a second instruction receiving module 303, configured to receive a first switching instruction, where the first switching instruction acts on the screenshot control; the first image replacing module 304 is configured to replace the first image data of the screenshot selecting area interface with second image data, where the second image data is obtained by moving the first target window out of the current display interface and then performing screenshot.
According to the technical scheme, after the screenshot command is received, the screenshot selecting area interface and the screenshot control are displayed, the screenshot selecting area interface is the first image data generated after the current display interface is subjected to screenshot, the first switching command acting on the screenshot control is received, and the screenshot selecting area interface is switched from the first image data to the second image data not containing the first target window.
On the basis of the above embodiment, the method further includes: the third instruction receiving module is used for receiving a second switching instruction after the screenshot selecting area interface is changed from the first image data to the second image data, and the second switching instruction acts on the screenshot control; and the second image replacing module is used for replacing the screenshot selecting area interface with the first image data from the second image data.
On the basis of the embodiment, the number of the first target window and the number of the second image data are both N, N is larger than or equal to 1, each second image data corresponds to one first target window, the screenshot control comprises a main key and N sub-keys, the main key corresponds to the first image data, and each sub-key corresponds to one second image data.
On the basis of the embodiment, the first switching instruction acts on a first sub-key of the screenshot control, and the first sub-key is any sub-key; the first image replacement module 304 is specifically configured to: and replacing the first image data of the screenshot selecting area interface with second image data corresponding to the first sub-key.
On the basis of the embodiment, the second switching instruction acts on the main key of the screenshot control.
On the basis of the above embodiment, the method further includes: the fourth instruction receiving module is used for receiving a third switching instruction after the screenshot selecting area interface is changed from the first image data to the second image data, wherein the third switching instruction acts on a second sub-key of the screenshot control, and the second sub-key is any sub-key without the first sub-key; and the third image replacing module is used for replacing the second image data corresponding to the first sub-key of the screenshot selecting area interface with the second image data corresponding to the second sub-key.
On the basis of the above embodiment, the method further includes: the window confirmation module is used for confirming all display windows contained in the current display interface after receiving the screenshot command; the target determining module is used for determining N first target windows in all the display windows; the first screen capturing module is used for capturing a screen of the current display interface to obtain first image data; the second screen capturing module is used for respectively moving out one first target window in the current display interface each time, and capturing the screen after the first target window is moved out so as to obtain N second image data; the control generating module is used for generating a screenshot control comprising a main key and N sub keys; and the association module is used for establishing an association relationship between the main key and the first image data and an association relationship between the sub-keys and the second image data, and each sub-key is associated with one piece of second image data.
On the basis of the above embodiment, the method further includes: the screenshot receiving module is used for receiving screenshot operation, and the screenshot operation acts on a screenshot selecting area interface; and the screenshot display module is used for displaying the screenshot image, and the screenshot image is obtained according to the screenshot operation.
On the basis of the above embodiment, the method further includes: and the highlight module is used for highlighting the second target window before receiving the screenshot operation, wherein the second target window is a display window where a mouse cursor currently stays in the screenshot selecting area interface.
The screenshot selecting area interface selection device provided by the embodiment is configured in screenshot selecting area interface selection equipment, can be used for executing the screenshot selecting area interface selection method provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 18 is a schematic structural diagram of a screenshot selecting interface selection device according to a fourth embodiment of the present invention. Referring to the drawings, the screenshot selecting interface selecting device comprises: a processor 40, a memory 41, a display 42, an input device 43, and an output device 44. The number of processors 40 in the screenshot selecting interface selection device can be one or more, and one processor 40 is taken as an example in fig. 18. The number of the memories 41 in the screenshot selecting interface selecting device can be one or more, and one memory 41 is taken as an example in fig. 18. The processor 40, the memory 41, the display 42, the input device 43, and the output device 44 of the screenshot selecting interface selecting apparatus may be connected by a bus or other means, and fig. 18 illustrates the example of the bus connection. In an embodiment, the screenshot selecting interface selecting device may be a computer, a mobile phone, a tablet, a projector, an interactive smart tablet, or the like.
The memory 41 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the screenshot selecting interface selecting method according to any embodiment of the present invention (for example, the first instruction receiving module 301, the display module 302, the second instruction receiving module 303, and the first image replacing module 304 in the screenshot selecting interface selecting apparatus). The memory 41 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 for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 41 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 non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Generally speaking, the display screen 42 is used to display data according to instructions from the processor 40, such as displaying a screenshot selection interface and screenshot control, changing the display content of the screenshot selection interface, highlighting a second target window, displaying a screenshot picture, and the like. Alternatively, the display screen 42 may be a touch-enabled display screen 42, which is also used for receiving touch operations applied to the display screen 42 and sending corresponding signals to the processor 40 or other devices.
The input means 43 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the screenshot selection interface selection device, such as a mouse or keyboard, and may also be a camera for capturing images and a sound pickup device for capturing audio data. The output device 44 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 43 and the output device 44 can be set according to actual conditions. Optionally, the screenshot selecting interface selection device further includes a communication device (not shown) for establishing a communication connection with other devices, which may be a wired communication device and/or a wireless communication device.
Specifically, in an embodiment, when the one or more programs are executed by the one or more processors 40, the one or more processors 40 implement the following operations:
receiving a screenshot instruction;
instructing the display screen 42 to display a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after the current display interface is subjected to screenshot;
receiving a first switching instruction, wherein the first switching instruction acts on the screenshot control;
and instructing the display screen 42 to change the screenshot selecting area interface from the first image data to the second image data, wherein the second image data is obtained by screenshot after the first target window is moved out of the current display interface.
On the basis of the above embodiment, when the one or more programs are executed by the one or more processors 40, so that the one or more processors 40 implement instructing the display screen 42 to change the screenshot selecting area interface from the first image data to the second image data, the following is further implemented:
receiving a second switching instruction, wherein the second switching instruction acts on the screenshot control;
instructing the display screen 42 to change the screenshot selection interface from the second image data to the first image data.
On the basis of the embodiment, the number of the first target window and the number of the second image data are both N, N is larger than or equal to 1, each second image data corresponds to one first target window, the screenshot control comprises a main key and N sub-keys, the main key corresponds to the first image data, and each sub-key corresponds to one second image data.
On the basis of the embodiment, the first switching instruction acts on a first sub-key of the screenshot control, and the first sub-key is any sub-key; the one or more programs, when executed by the one or more processors 40, cause the one or more processors 40 to implement instructing the display screen 42 to change the screenshot selection interface from first image data to second image data by:
and replacing the first image data of the screenshot selecting area interface with second image data corresponding to the first sub-key.
On the basis of the embodiment, the second switching instruction acts on the main key of the screenshot control.
On the basis of the above embodiment, when the one or more programs are executed by the one or more processors 40, so that the one or more processors 40 implement instructing the display screen 42 to change the screenshot selecting area interface from the first image data to the second image data, the following is further implemented:
receiving a third switching instruction, wherein the third switching instruction acts on a second sub-key of the screenshot control, and the second sub-key is any sub-key except the first sub-key;
and instructing the display screen 42 to change the second image data corresponding to the first sub-key of the screenshot selecting area interface into the second image data corresponding to the second sub-key.
On the basis of the above embodiment, when the one or more programs are executed by the one or more processors 40, so that the one or more processors 40 implement that the screenshot instruction is to be received, the following is also implemented:
confirming all display windows contained in the current display interface;
determining N first target windows in all display windows;
the method comprises the steps of performing screen capture on a current display interface to obtain first image data;
respectively moving out a first target window in the current display interface each time, and performing screen capture after the first target window is moved out to obtain N second image data;
generating a screenshot control comprising a main key and N sub keys;
and establishing an incidence relation between the main key and the first image data and an incidence relation between the sub-keys and the second image data, wherein each sub-key corresponds to one second image data.
On the basis of the above embodiment, when the one or more programs are executed by the one or more processors 40, the one or more processors 40 further implement:
receiving screenshot operation, wherein the screenshot operation acts on a screenshot selecting area interface;
and instructing the display screen 42 to display a screenshot image, wherein the screenshot image is obtained according to the screenshot operation.
On the basis of the above embodiment, before the one or more programs are executed by the one or more processors 40, so that the one or more processors 40 receive the screenshot operation, the following steps are further implemented:
the indication display screen 42 highlights a second target window, which is the window in the screenshot selection interface where the mouse cursor currently resides.
The processor 40 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 41, so as to implement the screenshot selecting interface selection method provided by any of the above embodiments, and have corresponding functions and advantages.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a screenshot selecting interface selecting method, where the method includes:
receiving a screenshot instruction;
displaying a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after the current display interface is subjected to screenshot;
receiving a first switching instruction, wherein the first switching instruction acts on the screenshot control;
and replacing the first image data of the screenshot selecting area interface with second image data, wherein the second image data is obtained by screenshot after the first target window is moved out of the current display interface.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present invention is not limited to the above-described screenshot selecting interface selecting method operation, and may also perform related operations in the screenshot selecting interface selecting method provided in any embodiment of the present invention, and has corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the screenshot selecting interface selecting method according to any embodiment of the present invention.
It should be noted that, in the screenshot selecting interface selecting apparatus, each unit and each module included in the screenshot selecting interface selecting apparatus are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A screenshot selecting interface selection method is characterized by comprising the following steps:
receiving a screenshot instruction;
displaying a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after a current display interface is subjected to screenshot;
receiving a first switching instruction, wherein the first switching instruction acts on the screenshot control;
replacing the first image data of the screenshot selecting area interface with second image data, wherein the second image data is obtained by screen capture after a first target window is moved out of the current display interface;
receiving a second switching instruction, wherein the second switching instruction acts on the screenshot control;
replacing the second image data of the screenshot selecting area interface with first image data;
the screenshot control comprises a main key and N sub-keys, the main key corresponds to the first image data, and each sub-key corresponds to one piece of second image data.
2. The screenshot selecting interface selecting method according to claim 1, wherein the first switching instruction acts on a first sub-button of the screenshot control, the first sub-button being any sub-button;
the replacing the screenshot selecting area interface from the first image data to the second image data comprises:
and replacing the first image data of the screenshot selecting area interface with second image data corresponding to the first sub-key.
3. The screenshot selection interface selection method of claim 1, wherein the second switching instruction acts on a primary button of the screenshot control.
4. The screenshot selection interface selection method according to claim 2, further comprising, after the replacing the screenshot selection interface from the first image data to the second image data:
receiving a third switching instruction, wherein the third switching instruction acts on a second sub-key of the screenshot control, and the second sub-key is any sub-key except the first sub-key;
and replacing the second image data corresponding to the first sub-key of the screenshot selecting area interface with the second image data corresponding to the second sub-key.
5. The screenshot selecting interface selection method according to claim 1, further comprising, after receiving the screenshot command:
confirming all display windows contained in the current display interface;
determining N first target windows in all the display windows;
the current display interface is subjected to screen capture to obtain first image data;
respectively moving out a first target window in the current display interface each time, and performing screen capture after the first target window is moved out to obtain N second image data;
generating a screenshot control comprising a main key and N sub keys;
and establishing an incidence relation between the main key and the first image data and an incidence relation between the sub-keys and the second image data, wherein each sub-key is associated with one second image data.
6. The screenshot selection interface selection method of claim 1, further comprising:
receiving screenshot operation, wherein the screenshot operation acts on the screenshot selecting area interface;
and displaying a screenshot image, wherein the screenshot image is obtained according to the screenshot operation.
7. The screenshot selection interface selection method of claim 6, further comprising, prior to receiving a screenshot operation:
and highlighting a second target window, wherein the second target window is a display window where a mouse cursor currently stays in the screenshot selecting area interface.
8. A screenshot selection interface selection apparatus, comprising:
the first instruction receiving module is used for receiving a screenshot instruction;
the display module is used for displaying a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after a screen of a current display interface is shot;
the second instruction receiving module is used for receiving a first switching instruction, and the first switching instruction acts on the screenshot control;
the first image replacing module is used for replacing the first image data of the screenshot selecting area interface with second image data, and the second image data is obtained by screen capture after a first target window is moved out of the current display interface;
the third instruction receiving module is used for receiving a second switching instruction after the screenshot selecting area interface is changed from the first image data to the second image data, and the second switching instruction acts on the screenshot control;
the second image replacing module is used for replacing the screenshot selecting area interface with the first image data from the second image data;
the screenshot control comprises a main key and N sub-keys, the main key corresponds to the first image data, and each sub-key corresponds to one piece of second image data.
9. A screenshot selection interface selection device, comprising:
a memory, a display screen, and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a screenshot instruction;
the method comprises the steps of indicating a display screen to display a screenshot selecting area interface and a screenshot control, wherein the screenshot selecting area interface is first image data, and the first image data is data obtained after a current display interface is subjected to screenshot;
receiving a first switching instruction, wherein the first switching instruction acts on the screenshot control;
instructing the display screen to replace the first image data of the screenshot selecting area interface with second image data, wherein the second image data is obtained by screen capture after a first target window is moved out of the current display interface;
receiving a second switching instruction, wherein the second switching instruction acts on the screenshot control;
replacing the second image data of the screenshot selecting area interface with first image data;
the screenshot control comprises a main key and N sub-keys, the main key corresponds to the first image data, and each sub-key corresponds to one piece of second image data.
10. A storage medium containing computer readable instructions which, when executed by a computer processor, are operable to perform the screenshot selection interface selection method of any of claims 1-7.
CN201810506369.8A 2018-05-24 2018-05-24 Screenshot selecting interface selection method, device, equipment and storage medium Active CN108829314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810506369.8A CN108829314B (en) 2018-05-24 2018-05-24 Screenshot selecting interface selection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810506369.8A CN108829314B (en) 2018-05-24 2018-05-24 Screenshot selecting interface selection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108829314A CN108829314A (en) 2018-11-16
CN108829314B true CN108829314B (en) 2021-01-19

Family

ID=64148718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810506369.8A Active CN108829314B (en) 2018-05-24 2018-05-24 Screenshot selecting interface selection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108829314B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743602A (en) * 2018-12-29 2019-05-10 百视通网络电视技术发展有限责任公司 A kind of multi-screen displaying and switching method for smart television
CN110096324B (en) * 2019-04-22 2022-11-25 四川易简天下科技股份有限公司 Efficient screen capture method for automatically filtering self window based on windows system
CN110109593B (en) * 2019-04-29 2021-04-02 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN110928614B (en) * 2019-10-11 2021-06-29 广州视源电子科技股份有限公司 Interface display method, device, equipment and storage medium
CN111538454A (en) * 2020-04-20 2020-08-14 广东以诺通讯有限公司 Intelligent terminal local screen capturing method and device and terminal
CN112379815A (en) * 2020-12-07 2021-02-19 腾讯科技(深圳)有限公司 Image capturing method and device, storage medium and electronic equipment
CN113360074B (en) * 2021-06-01 2024-01-12 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN113805993B (en) * 2021-09-03 2023-06-06 四川新网银行股份有限公司 Method for rapidly and continuously capturing images

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
CN105607792A (en) * 2014-11-21 2016-05-25 南京酷派软件技术有限公司 Layered screenshot method and device, and terminal
CN106168873A (en) * 2016-07-05 2016-11-30 青岛海信移动通信技术股份有限公司 Screenshotss method and device
CN107357505A (en) * 2017-07-26 2017-11-17 北京小米移动软件有限公司 The method, apparatus and computer-readable recording medium of screenshot capture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101495257B1 (en) * 2013-04-18 2015-02-25 주식회사 팬택 Apparatus and method for controlling terminal icon

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN104238913A (en) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 Screenshot method and device and electronic equipment
CN105607792A (en) * 2014-11-21 2016-05-25 南京酷派软件技术有限公司 Layered screenshot method and device, and terminal
CN106168873A (en) * 2016-07-05 2016-11-30 青岛海信移动通信技术股份有限公司 Screenshotss method and device
CN107357505A (en) * 2017-07-26 2017-11-17 北京小米移动软件有限公司 The method, apparatus and computer-readable recording medium of screenshot capture

Also Published As

Publication number Publication date
CN108829314A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
CN109164964B (en) Content sharing method and device, terminal and storage medium
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
KR101538705B1 (en) System and method for controlling function of portable terminal
CN108089786A (en) Method for displaying user interface, device, equipment and storage medium
WO2019041779A1 (en) Terminal interface switching, moving and gesture processing method and device and terminal
CN108984093B (en) Touch operation method and device, storage medium and electronic equipment
KR20140017429A (en) Method of screen operation and an electronic device therof
KR20130093043A (en) Method and mobile device for user interface for touch and swipe navigation
US10810698B2 (en) Information processing method and client
WO2018119584A1 (en) Interaction method and device for flexible display screen
CN107608550B (en) Touch operation response method and device
CN107479818B (en) Information interaction method and mobile terminal
KR20130095970A (en) Apparatus and method for controlling object in device with touch screen
JP2023542666A (en) Operation method and device
US20230269418A1 (en) Video display method, apparatus and storage medium
CN108132745B (en) Interaction method, device, equipment and storage medium
KR20150039552A (en) Display manipulating method of electronic apparatus and electronic apparatus thereof
CN109145273B (en) Comment following display method, device, equipment and storage medium
CN113721808A (en) Control method and device
CN111857497B (en) Operation prompting method and electronic equipment
CN113268182A (en) Application icon management method and electronic equipment
CN114882915B (en) Information recording method and device and electronic equipment
WO2019024507A1 (en) Touch control method and device, and terminal
CN112199124B (en) Project opening method and device and display 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