Screenshot interaction control method and device and electronic equipment
By providing an interactive control method that allows multiple screenshots and generates target images, the problem of low efficiency of existing screenshot operations is solved, and more flexible and efficient screenshot operations are achieved, improving the user experience.
Patent Information
- Application Number
- CN202510113453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-06-06
AI Technical Summary
The existing screenshot operation can only capture one image at a time, which cannot meet the needs of users to screen the upper and lower parts of the image area without including the middle part, resulting in low operation efficiency and poor user experience.
By providing an interactive control method for screenshots, the user allows the screenshots to take multiple screenshots and generates a target image based on multiple screenshots. The method includes responding to a screenshot trigger instruction, listening to a screenshot operation, determining an image area, and generating a target image at the end of the screenshot.
It enables users to take screenshots and generate target images multiple times, improving the flexibility and efficiency of screenshot operations and improving user experience.
Smart Images

Figure CN120104003A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of graphical user interfaces, and in particular to a screenshot interactive control method, device, and electronic device. Background Art
[0002] In the related art, only one image can be captured at a time during the screenshot operation. If only the upper and lower parts of the image area are needed, and the middle part of the image area is not needed, two screenshots need to be taken. This method has low operation efficiency and leads to poor user experience. Summary of the invention
[0003] In view of this, the purpose of the present disclosure is to provide a method, device and electronic device for interactive control of screenshots, so as to facilitate users to perform various screenshot operations and improve user experience.
[0004] In a first aspect, an embodiment of the present disclosure provides an interactive control method for screenshots, providing a graphical user interface through a terminal device; the method includes: in response to a first screenshot trigger instruction, monitoring a screenshot operation on the graphical user interface; in response to the first screenshot operation on the graphical user interface, determining a first image area in the graphical user interface; displaying a first control on the graphical user interface, and in response to a trigger operation on the first control, monitoring the screenshot operation on the graphical user interface; in response to a second screenshot operation on the graphical user interface, determining a second image area in the graphical user interface; and in response to a screenshot end instruction, generating a target image based on the first image area and the second image area.
[0005] In a second aspect, an embodiment of the present disclosure provides an interactive control device for screenshots, which provides a graphical user interface through a terminal device; the device includes: a screenshot trigger operation, which is used to respond to a first screenshot trigger instruction and monitor a screenshot operation on the graphical user interface; a first screenshot module, which is used to respond to the first screenshot operation on the graphical user interface and determine a first image area in the graphical user interface; a first control display module, which is used to display a first control on the graphical user interface and monitor the screenshot operation on the graphical user interface in response to the trigger operation on the first control; a second screenshot module, which is used to respond to a second screenshot operation on the graphical user interface and determine a second image area in the graphical user interface; and an image generation module, which is used to respond to a screenshot end instruction and generate a target image based on the first image area and the second image area.
[0006] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned interactive control method of screenshots.
[0007] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned interactive control method of screenshots.
[0008] The embodiments of the present invention bring the following beneficial effects:
[0009] The above-mentioned interactive control method, device and electronic device for screenshots respond to the first screenshot trigger instruction, monitor the screenshot operation on the graphical user interface; respond to the first screenshot operation on the graphical user interface, determine the first image area in the graphical user interface; display the first control on the graphical user interface, respond to the trigger operation on the first control, monitor the screenshot operation on the graphical user interface; respond to the second screenshot operation on the graphical user interface, determine the second image area in the graphical user interface; respond to the screenshot end instruction, generate the target image based on the first image area and the second image area. In this method, the user can take screenshots multiple times and obtain the target image generated based on multiple screenshots, which is convenient for the user to perform various screenshot operations and improves the user experience.
[0010] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0011] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A flowchart of an interactive control method for screenshots provided by an embodiment of the present disclosure;
[0014] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present disclosure;
[0015] Figure 3 Another graphical user interface schematic diagram provided for an embodiment of the present disclosure;
[0016] Figure 4 Another graphical user interface schematic diagram provided for an embodiment of the present disclosure;
[0017] Figure 5 Another graphical user interface schematic diagram provided for an embodiment of the present disclosure;
[0018] Figure 6 Another graphical user interface schematic diagram provided for an embodiment of the present disclosure;
[0019] Figure 7 Another graphical user interface schematic diagram provided for an embodiment of the present disclosure;
[0020] Figure 8 A schematic diagram of the structure of an interactive control device for screenshots provided in an embodiment of the present disclosure;
[0021] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0023] In the related art, when a user performs a screenshot operation, he can usually only take a screenshot once. If only the upper and lower parts are needed but the middle part is not needed, but the screenshot cannot be skipped, the screenshot is not accurate and needs to be edited again.
[0024] In addition, it usually does not support capturing multiple images at one time and saving them. You can only capture screenshots one by one, which is inefficient.
[0025] Based on this, the embodiments of the present disclosure provide an interactive control method, device and electronic device for screenshots, and the technology can be applied to the screenshot process.
[0026] The interactive control method of screenshots in one embodiment of the present invention can be run on a local terminal device or a server. When the interactive control method of screenshots is run on a server, the method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system includes a server and a client device.
[0027] In an optional embodiment, various cloud applications can be run under the cloud interactive system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the interactive control method of the screenshot are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the user operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0028] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the user through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0029] See also Figure 1 First, an interactive control method for screenshots provided by an embodiment of the present invention is introduced, and a graphical user interface is provided by a terminal device. The method comprises the following steps:
[0030] Step S102: In response to the first screenshot triggering instruction, monitoring a screenshot operation on the graphical user interface.
[0031] The first screenshot triggering instruction may be generated by the user through the operation of the human-computer interaction device. For example, a control for triggering screenshot is set on the graphical user interface, and after the user triggers the control through the mouse or touch operation, the first screenshot triggering instruction is generated; the user may also click a button on the keyboard for triggering screenshot to generate the first screenshot triggering instruction. The specific setting can be based on the needs and is not limited here.
[0032] The first screenshot trigger instruction can also be generated by the client running on the terminal device. For example, after displaying a certain picture, the client wants the user to take a screenshot of the interface area where the picture is displayed, then the first screenshot trigger instruction can also be generated, and a corresponding reminder message can be generated at the same time. At this time, the interface area where the picture is located in the graphical user interface is the area where the screenshot can be taken.
[0033] After the first screenshot trigger instruction is generated, it is necessary to monitor the screenshot operation for the graphical user interface. The above screenshot operation is usually an operation of a specified type. That is, it is necessary to monitor whether the specified type of operation occurs for the graphical user interface.
[0034] In actual applications, the screenshot operation can be a sliding operation, usually with the starting point and the end point of the sliding operation as two relative vertices to generate a rectangle, and the interface area surrounded by the rectangle is the image area corresponding to the screenshot. The screenshot operation can also be a two-click operation, and the two click operations can occur successively or simultaneously; the two click operations can be used as two relative vertices to generate a rectangle at the operation position of the graphical user interface, and the interface area surrounded by the rectangle is the image area corresponding to the screenshot. The specific implementation method of the screenshot operation can be set according to needs, and is not limited here.
[0035] Step S104 , in response to a first screenshot operation on the graphical user interface, determining a first image area in the graphical user interface.
[0036] As described above, the screenshot operation may be a sliding operation, a clicking operation, etc. Usually, the operation type of the screenshot operation is preset, and when an operation of the preset operation type is monitored, such as the first screenshot operation described above, the first image area corresponding to the first screenshot operation may be determined based on the operation parameters of the first screenshot operation.
[0037] When determining the first image area, a frame may be displayed at the edge of the first image area, which is usually called a "screenshot frame" to let the user know which part of the image area is determined by the screenshot operation. The display format of the determined image area may also be different from the display format of other areas in the graphical user interface, such as making the brightness of the determined image area higher than that of other areas. The specific settings can be made according to needs and are not limited here.
[0038] Step S106: displaying a first control on the graphical user interface, and in response to a trigger operation on the first control, monitoring a screenshot operation on the graphical user interface.
[0039] After determining the first image area, a first control may be displayed in the graphical user interface, such as Figure 2As shown, the rectangular mark marked with "continue screenshot" represents the first control. The user can trigger the first control by clicking, long pressing, etc. When the user triggers the first control, it means that in addition to the first image area, the user also needs to determine other image areas through the screenshot operation. Therefore, when the user generates a trigger operation for the first control, it is necessary to monitor the screenshot operation for the graphical user interface again.
[0040] In addition, when displaying the first control, other controls for editing the first image area may also be displayed, such as a frame selection control for frame selection of display content in the first image area, a mosaic control for blurring the display content in the first image area, etc. A control for canceling the first image area may also be displayed. The specific settings may be made according to requirements and are not limited here.
[0041] Step S108 , in response to a second screenshot operation on the graphical user interface, determining a second image area in the graphical user interface.
[0042] The operation type of the second screenshot operation is usually the same as the operation type of the first screenshot operation. When the second screenshot operation is generated to act on the graphical user interface, a second image area in the graphical user interface may be determined.
[0043] In actual applications, after determining the second image area, the first control can be displayed again to facilitate the user to continue taking screenshots. If the user triggers the first control to be displayed again, the user can also determine other image areas through the screenshot operation. It can also be preset that the user can only take screenshots twice, so that after the second image area ends, the first control will not be displayed again.
[0044] Similarly, when the first control is displayed, a control for editing the second image area and a control for canceling the second image area may also be displayed. The specific settings can be made according to the requirements and are not limited here.
[0045] Step S110 , in response to the screenshot end instruction, generating a target image based on the first image area and the second image area.
[0046] The above screenshot end instruction can be generated by the user through the operation of the human-computer interaction device. For example, a control for ending the screenshot is set on the graphical user interface, and the user triggers the control through the mouse or touch operation, and then the screenshot end instruction is generated; the user can also click the key on the keyboard for controlling the end of the screenshot to generate the screenshot end instruction. The specific setting can be based on the needs and is not limited here.
[0047] The control for ending the screenshot can be always displayed on the graphical user interface when the first screenshot trigger instruction is generated, or it can be displayed on the graphical user interface each time the user completes a screenshot operation. The user can choose whether to end the screenshot process each time the user completes a screenshot operation.
[0048] After the screenshot end instruction is generated, the image content in the first image area and the second image area needs to be saved. In practical applications, the image content in each image area can be saved separately, usually generating a corresponding target image for each image area; or an image including the image content in two image areas can be generated as the target image. When the user determines three or more image areas through the screenshot operation, the user can also choose to divide the multiple image areas into several image groups, and then generate a target image corresponding to each image group, and the target image includes the image content of the image area in the corresponding image group. One of the above three methods can be pre-set as a method for generating a target image, and the user can choose which method to generate the target image, which is not limited here.
[0049] The above-mentioned interactive control method of screenshots, in response to the first screenshot trigger instruction, monitors the screenshot operation on the graphical user interface; in response to the first screenshot operation on the graphical user interface, determines the first image area in the graphical user interface; displays the first control on the graphical user interface, and in response to the trigger operation on the first control, monitors the screenshot operation on the graphical user interface; in response to the second screenshot operation on the graphical user interface, determines the second image area in the graphical user interface; in response to the screenshot end instruction, generates a target image based on the first image area and the second image area. In this method, the user can take screenshots multiple times and obtain the target image generated based on the multiple screenshots, which facilitates the user to perform various screenshot operations and improves the user experience.
[0050] The following embodiment provides a specific method of displaying a first control on a graphical user interface, responding to a trigger operation on the first control, and monitoring a screenshot operation on the graphical user interface.
[0051] In actual applications, when the graphical user interface displays the first control, the second control is also displayed, where the second control can be one or more. The second control is usually a control for controlling the editing of the selected image area, and the selected image area is the first image area. The second control can be used to add a logo of a specified shape to the first image area, add expressions, add text, insert other images, partially blur the first image area or blur it completely, change the color of the first image area, etc., and can be set according to needs and is not limited here.
[0052] The user can trigger the second control. At this time, it is necessary to respond to the trigger operation on the second control and listen to the editing operation on the first image area. Then the user can perform an editing operation on the first image area. The specific operation method can be a sliding operation, a clicking operation, etc., which is not limited here. In response to the editing operation on the first image area, based on the editing content of the editing operation, the first image area is image processed to obtain the processed first image area. Then the user can also perform a trigger operation on the first control. In response to the trigger operation on the first control, the screenshot operation on the graphical user interface is listened.
[0053] When the user operates the first image area, when subsequently generating the target image, the target image needs to be generated based on the processed first image area and the second image area, rather than using the first image area that has not been edited to generate the target image. This makes it convenient for users to edit the image area obtained by screenshot according to their needs, meeting a variety of user needs.
[0054] In practical applications, a quantity threshold is usually set in advance for the image area determined by the screenshot operation. The quantity threshold can be 3, 4, 5, etc., and can be set specifically according to needs. After the number of image areas determined by the user through the screenshot operation reaches the quantity threshold, the image area can no longer be captured through the screenshot operation. When the user completes a screenshot operation, such as the second screenshot operation, it is necessary to determine whether the image area determined by the user through the screenshot operation reaches the preset quantity threshold. In response to the number of image areas determined by the screenshot operation not reaching the preset quantity threshold, the first control and the second control are displayed; at this time, the first control is in a triggerable state, and the user can continue to perform the screenshot operation after performing a trigger operation on the first control. In response to the number of image areas determined by the screenshot operation reaching the preset quantity threshold, the first control and the second control are displayed; at this time, the first control is in a non-triggerable state, and can be specifically displayed in gray. The first control cannot respond to the trigger operation performed by the user on it. In specific implementation, the first control may also not be displayed when the number of multiple determined image areas reaches the preset quantity threshold.
[0055] The following embodiment provides a specific method for generating a target image based on multiple image regions in response to a screenshot end instruction.
[0056] After each user's screenshot operation is completed, a control for controlling the end of the screenshot can be displayed on the graphical user interface. In a specific implementation, after determining the second image area in the graphical user interface, a third control can be displayed in the graphical user interface, such as Figure 3As shown, the rectangular mark marked with end screenshot represents the third control; in response to the trigger operation acting on the second control, a screenshot end instruction is generated. In specific implementation, the first control and the second control can be displayed on the graphical user interface at the same time for the user to select.
[0057] The third control may include a first sub-control and a second sub-control, such as Figure 4 As shown, a rectangular mark marked with merged storage represents the first sub-control, and a rectangular mark marked with separate storage represents the second sub-control. Different sub-controls correspond to different screenshot saving methods. The player can choose to trigger a certain sub-control to select the corresponding screenshot saving method. In a specific implementation, in response to a trigger operation acting on the first sub-control, a first screenshot end instruction is generated; the screenshot saving method corresponding to the first screenshot end instruction is: for each image area, a corresponding target image is generated to save the image content in the image area; or, in response to a trigger operation acting on the second sub-control, a second screenshot end instruction is generated; the screenshot saving method corresponding to the second screenshot end instruction is: saving the image content in each image area through a target image.
[0058] When an image storage method for storing the image contents in each image area separately is selected, it is necessary to generate a first target image corresponding to the first image area and a second target image corresponding to the second image area respectively.
[0059] When the image storage method of merging and storing the image contents in the image areas is selected, the image contents in the first image area and the second image area are spliced to generate a target image. During the splicing process, the target image can be generated in a manner that the size of the generated target image is the smallest, or the arrangement order of multiple image areas in the target image can be determined according to the determined order of the image areas to generate the target image. The specific setting can be based on the needs and is not limited here.
[0060] After the first screenshot operation is completed, the first control and the third control may be displayed simultaneously on the graphical user interface. If the user triggers the third control at this time, in response to the triggering operation on the third control, only the target image corresponding to the first image area is generated.
[0061] The disclosed embodiment also provides another interactive control method for screenshots. Figure 1 This method adds the "Add Screenshot" function to the screenshot toolbar, supports multiple frame selection screenshots, and can realize intelligent stitching or save multiple screenshots at the same time, improving operation efficiency.
[0062] This method is implemented in the following way:
[0063] 1. After the user adds the first screenshot frame by dragging the screenshot frame, add a new control (equivalent to the above-mentioned "first control") in the screenshot toolbar to add the "Add screenshot" function, such as Figure 5 As shown, the plus sign surrounded by a box is used to implement the function of adding a screenshot, × is used to cancel the current screenshot, and √ is used to confirm the end of the current screenshot. After the user clicks, a second screenshot box can be added on this basis.
[0064] 2. It can also support adding multiple screenshot frames. After the user adds screenshots multiple times, he can click the above control to continue to implement the "Add Screenshot" function and continue to add a preset number of screenshot frames. Figure 6 As shown, after the user adds two screenshot frames, the screenshot toolbar continues to display controls for implementing the "add screenshot" function.
[0065] 3. After clicking the control in the screenshot toolbar for controlling the screenshot completion (equivalent to the above-mentioned "second control"), two menu options "Jigsaw Puzzle Save" (equivalent to the above-mentioned "first sub-control") or "Split Save" (equivalent to the above-mentioned "second sub-control") will appear. Figure 7 If the user selects "Jigsaw Puzzle Save", multiple screenshots can be intelligently stitched together to save as a complete picture. If the user selects "Split Save", multiple pictures can be saved at once.
[0066] This method supports adding multiple screenshots to a drawing board, quickly improving operation efficiency, and supports intelligent stitching of screenshots, which can quickly exclude unnecessary parts and leave only the necessary parts, improving the screenshot expansion capability. And through intelligent stitching, multiple screenshots can be quickly placed in one picture for saving, improving efficiency. It also supports splitting and saving multiple screenshots, realizing fast saving of multiple screenshots at one time, improving operation efficiency.
[0067] For the above method embodiments, see Figure 8 The interactive control device of a screenshot shown provides a graphical user interface through a terminal device; the device includes:
[0068] A screenshot triggering operation 802 is used to monitor a screenshot operation for the graphical user interface in response to a first screenshot triggering instruction;
[0069] A first screenshot module 804, configured to determine a first image area in the graphical user interface in response to a first screenshot operation performed on the graphical user interface;
[0070] A first control display module 806, configured to display a first control on a graphical user interface, and in response to a trigger operation on the first control, monitor a screenshot operation on the graphical user interface;
[0071] A second screenshot module 808, configured to determine a second image area in the graphical user interface in response to a second screenshot operation performed on the graphical user interface;
[0072] The image generation module 810 is used to generate a target image based on the first image area and the second image area in response to the screenshot end instruction.
[0073] The above-mentioned interactive control device for screenshots responds to the first screenshot trigger instruction, monitors the screenshot operation on the graphical user interface; responds to the first screenshot operation on the graphical user interface, determines the first image area in the graphical user interface; displays the first control on the graphical user interface, responds to the trigger operation on the first control, monitors the screenshot operation on the graphical user interface; responds to the second screenshot operation on the graphical user interface, determines the second image area in the graphical user interface; responds to the screenshot end instruction, generates a target image based on the first image area and the second image area. In this method, the user can take screenshots multiple times and obtain the target image generated based on multiple screenshots, which is convenient for the user to perform various screenshot operations and improves the user experience.
[0074] The above-mentioned first control display module is also used to: display the first control and the second control on the graphical user interface; respond to the trigger operation on the second control, and monitor the editing operation on the first image area; respond to the editing operation on the first image area, and based on the editing content of the editing operation, perform image processing on the first image area to obtain the processed first image area; respond to the trigger operation on the first control, and monitor the screenshot operation on the graphical user interface.
[0075] The image generation module is further used to generate a target image based on the processed first image area and the second image area in response to a screenshot end instruction.
[0076] The above-mentioned device also includes: a second control display module, which is used to display the first control and the second control in response to the number of image areas determined by the screenshot operation not reaching a preset number threshold; the first control is in a triggerable state; the second control is used to: trigger an editing mode for the second image area; a third control display module, which is used to display the first control and the second control in response to the number of image areas determined by the screenshot operation reaching a preset number threshold; the first control is in a non-triggerable state.
[0077] The above-mentioned device also includes: a fourth control display module, which is used to display the third control on the graphical user interface; and a screenshot end instruction generation module, which is used to generate a screenshot end instruction in response to a trigger operation acting on the third control.
[0078] The above-mentioned third control includes a first sub-control and a second sub-control; the screenshot end instruction generation module is also used to: generate a first screenshot end instruction in response to a trigger operation acting on the first sub-control; the screenshot saving method corresponding to the first screenshot end instruction is: for each image area, generate a corresponding target image to save the image content in the image area; or, generate a second screenshot end instruction in response to a trigger operation acting on the second sub-control; the screenshot saving method corresponding to the second screenshot end instruction is: save the image content in each image area through a target image.
[0079] The above-mentioned image generation module is also used to: generate a first target image corresponding to the first image area, and generate a second target image corresponding to the second image area.
[0080] The above-mentioned image generation module is also used to: perform splicing processing on the image contents in the first image area and the second image area to generate a target image.
[0081] The above-mentioned first control display module is also used to: display the first control and the third control on the graphical user interface; the above-mentioned device also includes: a second image generation module, which is used to respond to the trigger operation acting on the third control and generate a target image corresponding to the first image area.
[0082] This embodiment further provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned screenshot interactive control method, for example:
[0083] In response to a first screenshot trigger instruction, a screenshot operation on a graphical user interface is monitored; in response to the first screenshot operation on the graphical user interface, a first image area in the graphical user interface is determined; a first control is displayed on the graphical user interface, and in response to a trigger operation on the first control, a screenshot operation on the graphical user interface is monitored; in response to a second screenshot operation on the graphical user interface, a second image area in the graphical user interface is determined; in response to a screenshot end instruction, a target image is generated based on the first image area and the second image area.
[0084] In the above manner, the user can take screenshots multiple times and obtain a target image generated based on the multiple screenshots, which facilitates the user to perform various screenshot operations and improves the user experience.
[0085] Optionally, the above-mentioned steps of displaying the first control in the graphical user interface and, in response to a trigger operation on the first control, monitoring a screenshot operation on the graphical user interface include: displaying the first control and the second control in the graphical user interface; in response to the trigger operation on the second control, monitoring an editing operation on the first image area; in response to the editing operation on the first image area, performing image processing on the first image area based on the editing content of the editing operation to obtain a processed first image area; and in response to the trigger operation on the first control, monitoring a screenshot operation on the graphical user interface.
[0086] Optionally, the above step of generating a target image based on the first image area and the second image area in response to the screenshot end instruction includes: generating a target image based on the processed first image area and the second image area in response to the screenshot end instruction.
[0087] Optionally, after the above-mentioned response to the second screenshot operation acting on the graphical user interface determines the second image area in the graphical user interface, the above-mentioned method also includes: in response to the number of image areas determined by the screenshot operation not reaching a preset quantity threshold, displaying the first control and the second control; the first control is in a triggerable state; the second control is used to: trigger an editing mode for the second image area; or, in response to the number of image areas determined by the screenshot operation reaching a preset quantity threshold, displaying the first control and the second control; the first control is in a non-triggerable state.
[0088] Optionally, after responding to the second screenshot operation on the graphical user interface and determining the second image area in the graphical user interface, the method further includes: displaying a third control on the graphical user interface; and generating a screenshot end instruction in response to a trigger operation on the third control.
[0089] Optionally, the above-mentioned third control includes a first sub-control and a second sub-control; the step of generating a screenshot end instruction in response to a trigger operation on the third control includes: generating a first screenshot end instruction in response to the trigger operation on the first sub-control; the screenshot saving method corresponding to the first screenshot end instruction is: for each image area, a corresponding target image is generated to save the image content in the image area; or, generating a second screenshot end instruction in response to the trigger operation on the second sub-control; the screenshot saving method corresponding to the second screenshot end instruction is: saving the image content in each image area through a target image.
[0090] Optionally, the step of generating a target image based on the first image area and the second image area includes: generating a first target image corresponding to the first image area, and generating a second target image corresponding to the second image area.
[0091] Optionally, the step of generating a target image based on the first image area and the second image area includes: performing splicing processing on image contents in the first image area and the second image area to generate the target image.
[0092] Optionally, the step of displaying the first control in the graphical user interface includes: displaying the first control and the third control in the graphical user interface; the method further includes: generating a target image corresponding to the first image area in response to a trigger operation acting on the third control.
[0093] See also Fig. 9 As shown, the electronic device includes a processor 100 and a memory 101, wherein the memory 101 stores machine executable instructions that can be executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the above-mentioned interactive control method of screenshots.
[0094] Further, Fig. 9 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .
[0095] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0096] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 100. The above processor 100 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the above embodiment in combination with its hardware.
[0097] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned interactive control method of screenshots.
[0098] The embodiments of the present disclosure provide a method, device and electronic device for interactive control of screenshots, including a computer-readable storage medium storing program codes, wherein the program codes include instructions that can be used to execute the methods described in the above method embodiments, for example:
[0099] In response to a first screenshot trigger instruction, a screenshot operation on a graphical user interface is monitored; in response to the first screenshot operation on the graphical user interface, a first image area in the graphical user interface is determined; a first control is displayed on the graphical user interface, and in response to a trigger operation on the first control, a screenshot operation on the graphical user interface is monitored; in response to a second screenshot operation on the graphical user interface, a second image area in the graphical user interface is determined; in response to a screenshot end instruction, a target image is generated based on the first image area and the second image area.
[0100] In the above manner, the user can take screenshots multiple times and obtain a target image generated based on the multiple screenshots, which facilitates the user to perform various screenshot operations and improves the user experience.
[0101] Optionally, the above-mentioned steps of displaying the first control in the graphical user interface and, in response to a trigger operation on the first control, monitoring a screenshot operation on the graphical user interface include: displaying the first control and the second control in the graphical user interface; in response to the trigger operation on the second control, monitoring an editing operation on the first image area; in response to the editing operation on the first image area, performing image processing on the first image area based on the editing content of the editing operation to obtain a processed first image area; and in response to the trigger operation on the first control, monitoring a screenshot operation on the graphical user interface.
[0102] Optionally, the above step of generating a target image based on the first image area and the second image area in response to the screenshot end instruction includes: generating a target image based on the processed first image area and the second image area in response to the screenshot end instruction.
[0103] Optionally, after the above-mentioned response to the second screenshot operation acting on the graphical user interface determines the second image area in the graphical user interface, the above-mentioned method also includes: in response to the number of image areas determined by the screenshot operation not reaching a preset quantity threshold, displaying the first control and the second control; the first control is in a triggerable state; the second control is used to: trigger an editing mode for the second image area; or, in response to the number of image areas determined by the screenshot operation reaching a preset quantity threshold, displaying the first control and the second control; the first control is in a non-triggerable state.
[0104] Optionally, after responding to the second screenshot operation on the graphical user interface and determining the second image area in the graphical user interface, the method further includes: displaying a third control on the graphical user interface; and generating a screenshot end instruction in response to a trigger operation on the third control.
[0105] Optionally, the above-mentioned third control includes a first sub-control and a second sub-control; the step of generating a screenshot end instruction in response to a trigger operation on the third control includes: generating a first screenshot end instruction in response to the trigger operation on the first sub-control; the screenshot saving method corresponding to the first screenshot end instruction is: for each image area, a corresponding target image is generated to save the image content in the image area; or, generating a second screenshot end instruction in response to the trigger operation on the second sub-control; the screenshot saving method corresponding to the second screenshot end instruction is: saving the image content in each image area through a target image.
[0106] Optionally, the step of generating a target image based on the first image area and the second image area includes: generating a first target image corresponding to the first image area, and generating a second target image corresponding to the second image area.
[0107] Optionally, the step of generating a target image based on the first image area and the second image area includes: performing splicing processing on image contents in the first image area and the second image area to generate the target image.
[0108] Optionally, the step of displaying the first control in the graphical user interface includes: displaying the first control and the third control in the graphical user interface; the method further includes: generating a target image corresponding to the first image area in response to a trigger operation acting on the third control.
[0109] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0110] In addition, in the description of the embodiments of the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0111] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0112] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0113] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, those skilled in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A screenshot interactive control method, characterized in that: Providing a graphical user interface through a terminal device; the method comprises: In response to the first screenshot triggering instruction, monitoring a screenshot operation on the graphical user interface; In response to a first screenshot operation performed on the graphical user interface, determining a first image area in the graphical user interface; Displaying a first control on the graphical user interface, and in response to a trigger operation on the first control, monitoring a screenshot operation on the graphical user interface; In response to a second screenshot operation performed on the graphical user interface, determining a second image area in the graphical user interface; In response to the screenshot end instruction, a target image is generated based on the first image area and the second image area.
2. The method according to claim 1, characterized in that The step of displaying a first control on the graphical user interface and, in response to a trigger operation on the first control, monitoring a screenshot operation on the graphical user interface includes: Displaying a first control and a second control on the graphical user interface; In response to a trigger operation on the second control, monitoring an editing operation on the first image area; In response to an editing operation on the first image region, performing image processing on the first image region based on editing content of the editing operation to obtain a processed first image region; In response to the trigger operation on the first control, a screenshot operation on the graphical user interface is monitored.
3. The method according to claim 2, characterized in that In response to the screenshot end instruction, the step of generating a target image based on the first image area and the second image area includes: In response to the screenshot end instruction, a target image is generated based on the processed first image area and the second image area.
4. The method according to claim 1, characterized in that: In response to a second screenshot operation on the graphical user interface, after determining a second image area in the graphical user interface, the method further includes: In response to the number of image areas determined by the screenshot operation not reaching a preset number threshold, displaying a first control and a second control; the first control is in a triggerable state; the second control is used to: trigger an editing mode for the second image area; or, In response to the number of image areas determined through the screenshot operation reaching a preset number threshold, the first control and the second control are displayed; the first control is in an untriggerable state.
5. The method according to claim 1, characterized in that In response to a second screenshot operation on the graphical user interface, after determining a second image area in the graphical user interface, the method further includes: displaying a third control on the graphical user interface; In response to the triggering operation acting on the third control, a screenshot ending instruction is generated.
6. The method according to claim 5, characterized in that The third control includes a first sub-control and a second sub-control; In response to the triggering operation acting on the third control, the step of generating a screenshot end instruction includes: In response to the trigger operation acting on the first subcontrol, a first screenshot end instruction is generated; the screenshot saving method corresponding to the first screenshot end instruction is: for each image area, a corresponding target image is generated to save the image content in the image area; or, In response to the trigger operation acting on the second sub-control, a second screenshot end instruction is generated; the screenshot saving method corresponding to the second screenshot end instruction is: saving the image content in each image area through a target image.
7. The method according to claim 1, characterized in that The step of generating a target image based on the first image area and the second image area comprises: A first target image corresponding to the first image area is generated, and a second target image corresponding to the second image area is generated.
8. The method according to claim 1, characterized in that The step of generating a target image based on the first image area and the second image area comprises: The image contents in the first image area and the second image area are spliced to generate a target image.
9. The method according to claim 1, characterized in that: The step of displaying a first control on the graphical user interface comprises: Displaying a first control and a third control on the graphical user interface; The method further comprises: In response to a triggering operation acting on the third control, a target image corresponding to the first image area is generated.
10. An interactive control device for screenshots, characterized in that: Providing a graphical user interface through a terminal device; the device comprises: A screenshot trigger operation, used to monitor a screenshot operation on the graphical user interface in response to a first screenshot trigger instruction; A first screenshot module, configured to determine a first image area in the graphical user interface in response to a first screenshot operation performed on the graphical user interface; A first control display module is used to display a first control on the graphical user interface, and in response to a trigger operation on the first control, monitor a screenshot operation on the graphical user interface; A second screenshot module, configured to determine a second image area in the graphical user interface in response to a second screenshot operation performed on the graphical user interface; The image generation module is used to generate a target image based on the first image area and the second image area in response to the screenshot end instruction.
11. An electronic device, characterized in that: It includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the interactive control method of screenshots described in any one of claims 1-9.
12. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by the processor, the machine-executable instructions prompt the processor to implement the interactive control method of screenshots described in any one of claims 1-9.