Processing method and related device
By displaying the logos of multiple display screens in the first display area and responding to interactive operations to obtain the target display area and generate image files, the problem in the existing technology that the local and remote device screens cannot be intercepted at the same time is solved, and multi-screen content is realized. Simple interception and intuitive operation.
Patent Information
- Application Number
- CN202410852274.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology cannot capture the screens of the local device and the remote device at the same time, making the screen capture operation inconvenient.
By displaying the logos of the first and second display screens in the first display area, the target display area is obtained in response to the interactive operation, and an image file is generated. The target display area belongs to the display areas of the first and second display screens and is related to the first display area. There is no overlap, and the content of multiple display screens can be intercepted at one time.
It enables simple interception of content on multiple display screens, intuitive operation, and improved user experience.
Smart Images

Figure CN118733178A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing, and in particular to a processing method and related devices. Background Art
[0002] Currently, in order to realize interactive control of the screen, the display screen of the paired remote device can be controlled through the local device to realize device interconnection.
[0003] During the control process, it is often necessary to capture the screen to indicate the problem of the current interconnected device.
[0004] However, the current screen capture can only capture the screen of the local device or the screen of the paired remote device at one time, and it is not possible to capture the screens of the local device and the remote device at the same time through one capture operation, which makes the screenshot operation inconvenient. Summary of the invention
[0005] The first aspect of the present application provides a processing method, comprising:
[0006] Displaying a first identifier of a first display screen and a second identifier of a second display screen in a first display area; the first display area is a part of a display area included in the first display screen and the second display screen;
[0007] In response to an interactive operation on the first display area, acquiring a target display area indicated by the interactive operation;
[0008] generating an image file based on the display data of the target display area;
[0009] There is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
[0010] In a possible implementation, displaying the first identifier of the first display screen and the second identifier of the second display screen in the first display area includes:
[0011] Displaying a first mark of the first display screen in the second display area, and displaying a second mark of the second display screen in the third area;
[0012] The second display area and the third display area belong to the first display area.
[0013] In a possible implementation, each position of the second display area corresponds to each position of the display area corresponding to the first display screen;
[0014] Each position of the third display area corresponds to each position of the display area corresponding to the second display screen;
[0015] The step of obtaining, in response to an interactive operation on the first display area, a target display area indicated by the interactive operation includes:
[0016] In response to an interactive operation on the first display area, acquiring a fourth display area indicated by the interactive operation;
[0017] Determine a target display area corresponding to the fourth display area according to the correspondence between each position of the second display area and each position of the display area corresponding to the first display screen, and the correspondence between each position of the third display area and each position of the display area corresponding to the second display screen;
[0018] The fourth display area belongs to the first display area, and the fourth display area at least includes a portion of the second display area and / or the third display area.
[0019] In a possible implementation, the method further includes:
[0020] In response to an interactive operation on the first display area, a position of the target display area in a display area included in the first display screen and the second display screen is identified.
[0021] In a possible implementation, receiving an interaction operation includes:
[0022] receiving an input operation, wherein the input operation includes at least two input operations whose time interval is less than a first preset time length, or an input operation whose duration is greater than a second preset time length;
[0023] A target track is generated according to the input operation, and the target track is used to form a closed area in the first display area, and the closed area corresponds to the fourth display area.
[0024] In a possible implementation, generating an image file based on the display data of the target display area includes:
[0025] If the target display area includes a first sub-area of the first display screen and a second sub-area of the second display screen, display data of the first sub-area and display data of the second sub-area are spliced to generate an image file.
[0026] In a possible implementation, generating an image file based on the display data of the target display area includes:
[0027] If the target display area includes a first sub-area of the first display screen and a second sub-area of the second display screen, a first image file is generated based on display data of the first sub-area, and a second image file is generated based on display data of the second sub-area.
[0028] A second aspect of the present application provides a processing device, including:
[0029] A display module, configured to display a first identifier of a first display screen and a second identifier of a second display screen in a first display area; the first display area is a part of a display area included in the first display screen and the second display screen;
[0030] a response module, configured to, in response to an interaction operation on the first display area, obtain a target display area indicated by the interaction operation;
[0031] A generating module, used for generating an image file based on the display data of the target display area;
[0032] There is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
[0033] A third aspect of the present application provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the processing method of the first aspect or any implementation manner of the first aspect.
[0034] A fourth aspect of the present application provides an electronic device, comprising: a first display screen and a processor;
[0035] The first display area of the first display screen displays a first identifier of the first display screen and a second identifier of the second display screen; the first display area is a part of the display area of the first display screen;
[0036] The processor is used to obtain a target display area indicated by an interactive operation in response to the interactive operation on the first display area; and generate an image file based on the display data of the target display area; wherein there is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
[0037] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the processing method of the above-mentioned first aspect or any implementation method of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0039] Figure 1 It is a flowchart of a processing method provided by this application;
[0040] Figure 2 It is a display schematic diagram provided by an embodiment of the present application;
[0041] Figure 3 is a schematic diagram of a first display area provided in an embodiment of the present application;
[0042] Figure 4 is another schematic diagram of the first display area provided in an embodiment of the present application;
[0043] Figure 5 is another schematic diagram of the first display area provided in an embodiment of the present application;
[0044] Figure 6 It is a schematic diagram of a scenario provided by an embodiment of the present application;
[0045] Figure 7 is a schematic diagram of a flow chart of obtaining a target display area indicated by an interactive operation in response to an interactive operation on the first display area, provided by an embodiment of the present application;
[0046] Figure 8 This is a schematic diagram of the fourth display area provided in the embodiment of the present application. Figure 1 ;
[0047] Fig. 9 This is a schematic diagram of the fourth display area provided in the embodiment of the present application. Figure 2 ;
[0048] Fig.10 This is a schematic diagram of the fourth display area provided in the embodiment of the present application. Figure 3 ;
[0049] Fig.11 This is a schematic diagram of the fourth display area provided in the embodiment of the present application. Figure 4 ;
[0050] Fig.12 This is a schematic diagram of the fourth display area provided in the embodiment of the present application. Figure 5 ;
[0051] Fig.13 This is a schematic diagram of the fourth display area provided in the embodiment of the present application. Figure 6 ;
[0052] Fig.14 This is a schematic diagram of the target display area provided in the embodiment of the present application. Figure 1 ;
[0053] Fig.15 This is a schematic diagram of the target display area provided in the embodiment of the present application. Figure 2 ;
[0054] Fig.16 This is a schematic diagram of the target display area provided in the embodiment of the present application. Figure 3 ;
[0055] Fig.17 This is a schematic diagram of the target display area provided in the embodiment of the present application. Figure 4 ;
[0056] Fig.18 This is a schematic diagram of the target display area provided in the embodiment of the present application. Figure 5 ;
[0057] Fig.19 This is a schematic diagram of the target display area provided in the embodiment of the present application. Figure 6 ;
[0058] Fig. 20 is a schematic diagram of a display screen provided in an embodiment of the present application;
[0059] Fig.21 is another display screen schematic diagram provided by an embodiment of the present application;
[0060] Fig. 22 is a flowchart of receiving an interactive operation provided in an embodiment of the present application;
[0061] Fig.23 is a schematic diagram of a first display area provided in an embodiment of the present application;
[0062] Fig.24 is another schematic diagram of the first display area provided in an embodiment of the present application;
[0063] Fig.25 is a schematic diagram of an image file provided in an embodiment of the present application;
[0064] Fig.26 is a structural schematic diagram of a processing device provided in an embodiment of the present application;
[0065] Fig. 27It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0067] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0068] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0069] Reference Figure 1 , Figure 1 A flowchart of a processing method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, a processing method provided in an embodiment of the present application may include steps 101 to 103, and these steps are described in detail below.
[0070] 101. Displaying a first identifier of a first display screen and a second identifier of a second display screen in a first display area; the first display area is a part of a display area included in the first display screen and the second display screen;
[0071] Among them, the first display screen and the second display screen can be display screens of different electronic devices that can be communicated, such as a PC (personal computer), a mobile terminal, a tablet computer, etc., or they can be different display screens of the same electronic device, such as a tablet computer and an external display screen, or the inner screen and outer screen of a mobile terminal with inner and outer screens.
[0072] The display contents of the first display screen and the second display screen may be the same or different, and this is not limited in the present application.
[0073] The first display area may be a part of the display area included in the first display screen and the second display screen, and the first display area may be displayed in the first display screen or in the second display screen.
[0074] Figure 2 What is shown is a display schematic diagram provided in an embodiment of the present application, which includes a first display screen 201 and a second display screen 202. In the left figure, the first display area 203 is located in the first display screen 201, and in the right figure, the first display area 203 is located in the second display screen 202.
[0075] The first display area displays the first display screen and the second display screen in an identification manner. The identification may be a device identification of the display screen, a thumbnail of the content displayed on the display screen, or a preset frame diagram.
[0076] In a possible implementation, a first logo of the first display screen is displayed in the second display area, and a second logo of the second display screen is displayed in the third area; the second display area and the third display area belong to the first display area.
[0077] The first display area is divided into a plurality of display areas, and each display area displays a different logo.
[0078] Figure 3 What is shown is a schematic diagram of the first display area provided in an embodiment of the present application, in which a first logo 302 and a second logo 303 are displayed in the first display area 301, wherein the first logo 302 is the logo of the first display screen, which is a mobile terminal screen, and the first logo is represented by a mobile terminal icon, and the second logo 303 is the logo of the second display screen, which is a tablet computer screen, and the second logo is represented by a tablet computer icon.
[0079] In a possible implementation, when the logos of various display screens are displayed in the first display area, the sizes of the display areas corresponding to different logos may be related to the sizes of the display screens corresponding to the logos.
[0080] Among them, the ratio of the first logo and the second logo in the first display area can be determined based on the size ratio of the first display screen and the second display screen. Accordingly, the area ratio of the second display area corresponding to the first logo and the third display area corresponding to the second logo corresponds to the size ratio of the first display screen and the second display screen.
[0081] Figure 4The figure shows another schematic diagram of the first display area provided by the embodiment of the present application, including a first mark 401 and a second mark 402, the first mark 401 is the mark of the first display screen, the first display screen is a mobile terminal screen, the second mark 402 is the mark of the second display screen, the second display screen is a tablet computer screen, the mobile terminal screen is different from the tablet computer screen in size, and the Figure 4 The first logo and the second logo are displayed in a screen size ratio between the two.
[0082] 102. In response to an interactive operation on the first display area, acquiring a target display area indicated by the interactive operation;
[0083] There is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
[0084] The interactive operation may be an operation performed by an operator on the content of the first display area, and the interactive operation may indicate a target display area.
[0085] As an example, the interactive operation may be a click operation, a slide operation, etc.
[0086] The target display area is the whole or part of the display area included in the first display screen and the second display screen.
[0087] The first identification and the second identification are displayed in the first display area, and the content displayed in the target display area is the display content belonging to the first display screen and the second display screen.
[0088] The determined target display area may not include the display content of the first display area.
[0089] As an example, the first display screen is a PC screen, the second display screen is an external screen of the PC, the first display area is a partial display area of the PC screen, the first display area displays a first identifier of the PC and a second identifier of the external screen, the target display area indicated by the interactive operation is the desktop display area of the PC and the external screen display area, and the display content corresponding to the target display area includes the desktop display content of the PC, but does not include the first display area displayed on the display screen of the PC.
[0090] In a possible implementation, the interaction operation may include an operation of adjusting display positions of the first identifier and the second identifier in the first display area and a subsequent operation of determining a target display area.
[0091] The relative position relationship between the second display area and the third display area in the first display area can be adjusted through an adjustment operation in the interactive operation, and then the first display area can be operated based on a determination operation in the interactive operation to obtain the indicated target display area.
[0092] As an example, the adjustment operation in the interactive operation may be to adjust the display positions of the respective identifiers in the first display area, such as dragging the display positions of the first identifier and the second identifier in the first display area.
[0093] Figure 5 Shown is another schematic diagram of the first display area provided by an embodiment of the present application, including a first identifier 501 and a second identifier 502, wherein the first identifier 501 is an identifier of a first display screen, which is a mobile terminal screen, and the second identifier 502 is an identifier of a second display screen, which is a tablet screen. In the left figure, the first identifier and the second identifier are arranged left and right, and in response to an interactive operation, the interactive operation may be to move the first identifier upward and the second identifier downward, such as in the right figure, where the first identifier and the second identifier are arranged up and down. In the figure, arrows are used to indicate two directions of movement.
[0094] In a possible implementation, the target display area indicated by the interactive operation may be determined based on the correspondence between the second display area where the first mark is located and the first screen, and the correspondence between the third display area where the second mark is located and the second screen. Figure 7 The specific process of obtaining the target display area indicated by the interactive operation is described in detail.
[0095] 103. Generate an image file based on the display data of the target display area.
[0096] Wherein, based on the target display area determined above, the display data of the target display area is obtained and a corresponding image file is generated.
[0097] In a possible implementation, display data of different display screens may be spliced to generate an image file, and this process is described in detail in the subsequent embodiments.
[0098] In a possible implementation, the display data of different display screens may be distributed to generate image files, thereby generating multiple image files. This process is described in detail in the subsequent embodiments.
[0099] It should be noted that, in the embodiments of the present application, the first display screen and the second display screen are only used to distinguish between two different display screens and are not limited to scenarios with two display screens. In actual application scenarios, there may be multiple display screens, and the present method is executed based on two or even more of the multiple display screens to generate an image file.
[0100] In this embodiment, the identification of each display screen is displayed by using a partial display area of any one of the first display screen and the second display screen as the first display area, and the interactive operation is received through the first display area. The interactive operation is to determine the target display area through the first display area, and the target display area is the whole or part of the display area included in the first display screen and the second display screen, and there is a non-overlapping display area between the target display area and the first display area. Through the identification of each display screen displayed in the first display area, the selection and determination of the target display area for the whole or part of the display area in each screen is realized, and there is a non-overlapping display area between the selected target display area and the first display area, and an image file is generated based on the display data of the target display area. In this process, only one interactive operation is needed to realize the interception of display content on multiple display screens, and the operation is simple.
[0101] The second display area in the first display area is used to display the first icon of the first display screen, and the third display area in the first display area is used to display the second icon of the second display screen.
[0102] In a possible implementation, each position of the second display area corresponds to each position of the display area corresponding to the first display screen;
[0103] The first mark in the second display area corresponds in proportion to the display content of the first display screen.
[0104] In a possible implementation, each position of the third display area corresponds to each position of the display area corresponding to the second display screen.
[0105] The second mark in the third display area corresponds in proportion to the display content of the second display screen.
[0106] Figure 6 The diagram shows a scene diagram provided by an embodiment of the present application, wherein the scene includes a first display screen 601 and a second display screen 602, wherein a first display area 6011 of the first display screen includes a second display area 6012 and a third display area 6013; the display content of the second display area is proportional to the display content of the first display screen, and the display content of the third display area is proportional to the display content of the second display screen. Figure 6 In the embodiment, character A is displayed in the second display screen, and corresponding content is displayed in the third display area; character B is displayed in the first display screen, and corresponding content is displayed in the second display area.
[0107] Reference Figure 7 , Figure 7 A schematic diagram of a process of obtaining a target display area indicated by an interactive operation in response to an interactive operation on the first display area provided in an embodiment of the present application, such as Figure 7 As shown, steps 701 to 702 may be included, and these steps are described in detail below.
[0108] 701. In response to an interactive operation on the first display area, obtain a fourth display area indicated by the interactive operation; the fourth display area belongs to the first display area, and the fourth display area at least includes a portion of the second display area and / or the third display area;
[0109] Among them, the fourth display area indicated by the interactive operation belongs to the first display area, and the fourth display area at least partially includes the second display area and / or the third display area. Then, the fourth display area may include part or all of the second display area and the third display area, and the fourth display area may include part or all of the second display area or the third display area.
[0110] Correspondingly, the fourth display area includes the following five types: the entire second display area and the entire third display area, part of the second display area, part of the third display area, part of the second display area and the entire third display area, and the entire second display area and part of the third display area.
[0111] Figure 8 The fourth display area provided in the embodiment of the present application is shown. Figure 1 In the figure, the first display area 801 includes the second display area 802 and the third display area 803. The fourth display area 804 is represented by a dotted line frame, and the fourth display area includes the second display area and the third display area.
[0112] Fig. 9 The fourth display area provided in the embodiment of the present application is shown. Figure 2 In the figure, the first display area 901 includes the second display area 902 and the third display area 903. The fourth display area 904 is represented by a dotted line frame, and the fourth display area includes the entire second display area and a portion of the third display area close to the second display area.
[0113] Fig.10 The fourth display area provided in the embodiment of the present application is shown. Figure 3 In the figure, the first display area 1001 includes the second display area 1002 and the third display area 1003. The fourth display area 1004 is represented by a dotted line frame, and the fourth display area includes a partial area of the second display area close to the third display area and the entire third display area.
[0114] Fig.11 The fourth display area provided in the embodiment of the present application is shown. Figure 4 In the figure, the first display area 1101 includes the second display area 1102 and the third display area 1103. The fourth display area 1104 is represented by a dotted line frame, and the fourth display area includes the entire second display area.
[0115] Fig.12 The fourth display area provided in the embodiment of the present application is shown. Figure 5 In the figure, the first display area 1201 includes the second display area 1202 and the third display area 1203. The fourth display area 1204 is represented by a dotted line frame, and the fourth display area includes the entire third display area.
[0116] Fig.13 The fourth display area provided in the embodiment of the present application is shown. Figure 6 In the figure, the first display area 1301 includes the second display area 1302 and the third display area 1303. The fourth display area 1304 is represented by a dotted line frame, and the fourth display area includes part of the third display area.
[0117] Among them, for the interactive operation of the first display area, the fourth display area indicated by the interactive operation includes the above five types.
[0118] In a possible implementation, the interactive operation may be a click operation, and the click operation may be clicking on an identifier in the first display area to select the entire display area or a portion of the display area corresponding to the corresponding identifier.
[0119] As an example, based on the number of click operations received and the click position in the first display area, the fourth display area corresponding to the click operation is determined.
[0120] The number of click operations is positively correlated with the corresponding display area range, for example, the number of click operations increases in equal proportion to the corresponding display area range.
[0121] In a possible implementation, the interactive operation may be a sliding operation, and the sliding operation may be sliding selection of an identifier in the first display area, so as to determine a closed area according to a trajectory generated by the sliding operation, and determine the fourth display area according to the closed area, and then Fig. 22 The interactive operation process of the sliding operation is described in detail.
[0122] 702. Determine a target display area corresponding to the fourth display area based on a correspondence between respective positions of the second display area and respective positions of the display area corresponding to the first display screen, and a correspondence between respective positions of the third display area and respective positions of the display area corresponding to the second display screen.
[0123] The target display area corresponding to the fourth display area is determined based on the corresponding relationship between the second display area and the display area corresponding to the first display screen and the corresponding relationship between the third display area and the display area corresponding to the second display screen.
[0124] Among them, each position of the second display area has a corresponding relationship with each position of the display area corresponding to the first display screen, and the corresponding relationship can be that the display content of the second display area is in equal proportion to the display content of the display area corresponding to the first display screen.
[0125] Among them, each position of the third display area has a corresponding relationship with each position of the display area corresponding to the second display screen, and the corresponding relationship can be that the display content of the third display area is in equal proportion to the display content of the display area corresponding to the second display screen.
[0126] Correspondingly, based on the fourth display area determined above and the above corresponding relationship, the target display area corresponding to the fourth display area can be determined.
[0127] Fig.14 The target display area provided in the embodiment of the present application is shown as follows: Figure 1 , the target display area corresponds to Figure 8 In the fourth display area in FIG. 14 , the target display area 1401 includes the entire display area 1402 of the first display screen and the entire display area 1403 of the second display screen. The target display area 1401 is represented by a dotted line frame.
[0128] Fig.15 The target display area provided in the embodiment of the present application is shown as follows: Figure 2 , the target display area corresponds to Fig. 9In the fourth display area in FIG. 15 , the target display area 1501 includes the entire display area 1502 of the first display screen and a partial display area 1503 of the second display screen. The target display area 1501 is represented by a dotted line frame.
[0129] Fig.16 The target display area provided in the embodiment of the present application is shown as follows: Figure 3 , the target display area corresponds to Fig.10 In the fourth display area in FIG. 16 , the target display area 1601 includes a partial area of the display area 1602 of the first display screen and the entire display area 1603 of the second display screen. The target display area 1601 is represented by a dotted line frame.
[0130] Fig.17 The target display area provided in the embodiment of the present application is shown as follows: Figure 4 , the target display area corresponds to Fig.11 In the fourth display area in FIG. 17 , the target display area 1701 includes the entire display area 1702 of the first display screen, and the target display area 1701 is represented by a dotted line frame.
[0131] Fig.18 The target display area provided in the embodiment of the present application is shown as follows: Figure 5 , the target display area corresponds to Fig.12 In the fourth display area in FIG. 18 , the target display area 1801 includes the entire display area 1802 of the second display screen, and the target display area 1801 is represented by a dotted line frame.
[0132] Fig.19 The target display area provided in the embodiment of the present application is shown as follows: Figure 6 , the target display area corresponds to Fig.13 In the fourth display area in FIG. 19 , the target display area 1901 includes a display area 1902 portion of the second display screen, and the target display area 1901 is represented by a dotted line frame.
[0133] In this embodiment, each position of the second display area has a corresponding relationship with each position of the display area corresponding to the first display screen; each position of the third display area has a corresponding relationship with each position of the display area corresponding to the second display screen. In response to the interactive operation on the first display area, the fourth display area indicated by the interactive operation is obtained, the fourth display area belongs to the first display area, the fourth display area at least includes part of the second display area and / or the third display area, the interactive operation on the first display area can indicate part or all of the second display area and / or the third display area, the second display area and the third display area can be selected separately, or part or all of the second display area and the third display area can be selected in combination. After the fourth display area is determined, according to the corresponding relationship between each position of the second display area and each position of the display area corresponding to the first display screen, and the corresponding relationship between each position of the third display area and each position of the display area corresponding to the second display screen, the target display area corresponding to the fourth display area is determined. It is only necessary to perform the interactive operation in the first display area to determine the indicated fourth display area, so as to realize the interception of part or all of the content in the first display screen and the second display screen, and the content of the display screen can be flexibly intercepted, and the operation is simple.
[0134] In a possible implementation, after the target display area is determined, the position of the target display area in the corresponding display screen may also be marked. The specific process is as follows:
[0135] In response to the interactive operation on the first display area, the position of the target display area in the display area included in the first display screen and the second display screen is identified.
[0136] In response to the interactive operation, a target display area indicated by the interactive operation is determined, and the target display area is a display area included in the first display screen and the second display screen.
[0137] Among them, in the display area included in the first display screen and the second display screen, the position of the target display area is marked.
[0138] The logo may be displayed with a display effect different from the current display effects in the first display screen and the second display screen.
[0139] As an example, the identification method may be a brightness identification different from the current brightness of the display screen, or a hue identification different from the current hue of the display screen.
[0140] As an example, the target display area includes the entire display area of the first display screen, and the entire display area of the first display screen is marked in the first display screen to indicate that the area is taken as the target display area for capture.
[0141] As an example, the target display area includes the entire display area of the first display screen and a portion of the display area of the second display screen. In this case, the entire display area of the first display screen is identified in the first display screen, and the corresponding portion of the display area is identified in the second display screen to indicate that these two areas are taken as target display areas for capture.
[0142] Fig. 20 What is shown is a schematic diagram of a display screen provided in an embodiment of the present application, wherein the display screen includes a first display screen 2001 and a second display screen 2002, wherein the target display area is determined to include the entire display area of the first display screen, wherein the left figure is a display effect diagram of the first display screen and the second display screen, and the right figure is a display effect diagram of the display area corresponding to the target display area in the first display screen, in which gray indicates that the area is marked.
[0143] Fig.21 What is shown is another display screen schematic diagram provided by an embodiment of the present application, wherein the display screen includes a first display screen 2101 and a second display screen 2102, wherein a target display area is determined to include the entire display area of the first display screen and a portion of the display area of the second display screen, wherein the left figure is a display effect diagram of the first display screen and the second display screen, and the right figure is a display effect diagram of the display area corresponding to the target display area in the first display screen and the second display screen, in which gray indicates that the area is identified.
[0144] In this embodiment, based on the determination of the target display area, the target display area is marked at the corresponding position in the display area included in the corresponding first display screen and the second display screen to prompt the area to be captured in the display screen, so as to facilitate the operator to check whether the captured area is accurate in time, thereby improving the user experience.
[0145] Reference Fig. 22 , Fig. 22 A flowchart of receiving an interactive operation provided in an embodiment of the present application is shown in FIG. Fig. 22 As shown, steps 2201 to 2202 may be included, and these steps are described in detail below.
[0146] 2201. Receive an input operation, where the input operation includes at least two input operations whose time interval is less than a first preset time length, or an input operation whose duration is greater than a second preset time length;
[0147] Among them, an input operation for the first display area can be received through the input device.
[0148] The input operation may be a combination of several input operations with short intervals, or a single input operation with a long duration.
[0149] Among them, the time duration less than the first preset time duration represents a shorter time duration. If the time interval between adjacent input operations is less than the first preset time duration, the adjacent input operations are taken as an input operation combination, and the target trajectory is subsequently generated according to the input operation combination.
[0150] The duration greater than the second preset duration represents a longer duration. If the duration of the input operation is greater than the second preset duration, the input operation is regarded as a valid input operation, and a target trajectory is subsequently generated based on the input operation.
[0151] Among them, at least part of the input positions of the at least two input operations are different, and each input operation can be a sliding input operation or a clicking input operation.
[0152] The input operation that lasts for a duration greater than the second preset duration may be a sliding input operation that lasts for a certain duration.
[0153] 2202. Generate a target trajectory according to the input operation, where the target trajectory is used to form a closed area in the first display area, where the closed area corresponds to the fourth display area.
[0154] Wherein, according to the input operation at the input position corresponding to the first display area, a target track corresponding to the input position is formed.
[0155] The target track can form a closed area in the first display area.
[0156] The closed area may be a completely closed area or an incompletely closed area, and the corresponding fourth display area can be determined in the first display area according to the closed area.
[0157] The incompletely closed area can be combined with the edge of the first display area to obtain a closed area.
[0158] If the input operation is a combination of multiple input operations, the input positions corresponding to the input operations in the first display area are connected in the order of receiving time to form a target track.
[0159] If the input operation is a sliding input operation, the position where the sliding input operation passes through the first display area is taken as the target track.
[0160] Fig.23What is shown is a schematic diagram of the first display area provided in an embodiment of the present application. Two click input operations are performed in the first display area 2301. The positions 2302-2303 of the input operations are represented by points respectively. The target trajectory corresponding to the two click operations is determined as shown by the dotted line in the figure. The target trajectory corresponds to the area where the two identifiers in the first display area are located.
[0161] Fig.24 Shown is another schematic diagram of the first display area provided in an embodiment of the present application. A sliding input operation is performed in the first display area 2401. The sliding trajectory is shown as a dotted line in the figure. The closed area formed by the target trajectory includes the second display area where the first mark in the first display area is located.
[0162] In this embodiment, an input operation is received, and the input operation includes at least two input operations with a time interval less than a first preset time length, or an input operation with a duration greater than a second preset time length; a target trajectory is generated based on the input operation, and the target trajectory is used to form a closed area in the first display area, and the closed area corresponds to the fourth display area. By performing an input operation in the first display area, a target trajectory is generated to form a closed area in the first display area, so as to realize selection of display content in the first display area. The input method is simple, which is convenient for users to intuitively select content in each display screen, thereby improving user experience.
[0163] In a possible implementation, generating an image file based on display data of a target display area includes:
[0164] If the target display area includes the first sub-area of the first display screen and the second sub-area of the second display screen, the display data of the first sub-area is spliced with the display data of the second sub-area to generate an image file.
[0165] The target display area includes at least a partial area of each of the two display screens, and the display data of the corresponding areas in the two display screens are spliced, and the generated image file is a frame of image including the display data of the corresponding areas in the two display screens.
[0166] The first sub-region may be a partial region of the first display screen or the entire region; the second sub-region may be a partial region of the second display screen or the entire region.
[0167] The splicing method of the display data of the first sub-area and the display data of the second sub-area can be a preset arrangement order, such as left-right arrangement or top-bottom arrangement, or can correspond to the arrangement method of the logos of the two display screens in the first display area.
[0168] As an example, in the first display area, the first identifier and the second identifier are arranged left and right, and accordingly, the display data of the first sub-area and the display data of the second sub-area in the image file are also arranged left and right, and the arrangement order is the same as the arrangement order of the first identifier and the second identifier.
[0169] As an example, in the first display area, the first identifier and the second identifier are arranged vertically, and accordingly, the display data of the first sub-area and the display data of the second sub-area in the image file are also arranged vertically, and the arrangement order is the same as the arrangement order of the first identifier and the second identifier.
[0170] When the screen sizes of the first display screen and the second display screen are different, the display data of the first sub-area and the display data of the second sub-area can be scaled according to the size ratio of the display screen and then spliced, or they can be directly spliced according to the display parameters of the display data.
[0171] Fig.25 The figure shows a schematic diagram of an image file provided by an embodiment of the present application, and the image file includes display data 2501 of a first sub-area of a first display screen and display data 2502 of a second sub-area of a second display screen. In the left figure, the display data 2501 of the first sub-area and the display data 2502 of the second sub-area are arranged left and right, and in the right figure, the display data 2501 of the first sub-area and the display data 2502 of the second sub-area of the second display screen are arranged up and down.
[0172] In this embodiment, if the target display area includes a first sub-area of a first display screen and a second sub-area of a second display screen, the display data of the first sub-area is spliced with the display data of the second sub-area to generate an image file, so as to obtain an image file based on the display data of multiple display screens.
[0173] In a possible implementation, generating an image file based on display data of a target display area includes:
[0174] If the target display area includes a first sub-area of the first display screen and a second sub-area of the second display screen, a first image file is generated based on display data of the first sub-area, and a second image file is generated based on display data of the second sub-area.
[0175] The target display area includes at least a partial area of each of the two display screens, and the display data of the corresponding areas in the two display screens are spliced, and the generated image file is a frame of image including the display data of the corresponding areas in the two display screens.
[0176] The first sub-region may be a partial region of the first display screen or the entire region; the second sub-region may be a partial region of the second display screen or the entire region.
[0177] After the display data of each sub-area of the display screen is determined, an image file is generated for the display data of each sub-area of the display screen, and image files corresponding to the number of sub-areas corresponding to the target display area are obtained, thereby realizing the generation of image files separately.
[0178] In this embodiment, if the target display area includes a first sub-area of a first display screen and a second sub-area of a second display screen, a first image file is generated based on the display data of the first sub-area, and a second image file is generated based on the display data of the second sub-area, so as to generate an image file for the display data of each display screen.
[0179] A processing method provided by an embodiment of the present application is introduced above, and a device for executing the above processing method will be introduced below.
[0180] See also Fig.26 , Fig.26 This is a schematic diagram of the structure of a processing device provided in an embodiment of the present application. Fig.26 As shown, the processing device 2600 includes: a display module 2601, a response module 2602 and a generation module 2603;
[0181] The display module 2601 is used to display a first identifier of a first display screen and a second identifier of a second display screen in a first display area; the first display area is a part of a display area included in the first display screen and the second display screen;
[0182] The response module 2602 is used to respond to the interaction operation on the first display area and obtain the target display area indicated by the interaction operation;
[0183] The generating module 2603 is used to generate an image file based on the display data of the target display area;
[0184] There is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
[0185] In a possible implementation, the display module is specifically configured to:
[0186] Displaying a first mark of the first display screen in the second display area, and displaying a second mark of the second display screen in the third area;
[0187] The second display area and the third display area belong to the first display area.
[0188] In a possible implementation, each position of the second display area corresponds to each position of the display area corresponding to the first display screen;
[0189] Each position of the third display area corresponds to each position of the display area corresponding to the second display screen;
[0190] The response module includes:
[0191] an acquisition unit, configured to, in response to an interaction operation on the first display area, acquire a fourth display area indicated by the interaction operation;
[0192] a determining unit, configured to determine a target display area corresponding to the fourth display area according to a correspondence between each position of the second display area and each position of the display area corresponding to the first display screen, and a correspondence between each position of the third display area and each position of the display area corresponding to the second display screen;
[0193] The fourth display area belongs to the first display area, and the fourth display area at least includes a portion of the second display area and / or the third display area.
[0194] In a possible implementation, the method further includes:
[0195] The identification module is used to identify the position of the target display area in the display area included in the first display screen and the second display screen in response to the interactive operation on the first display area.
[0196] In a possible implementation, the method further includes:
[0197] A receiving module, configured to receive an input operation, wherein the input operation includes at least two input operations whose time interval is less than a first preset time length, or an input operation whose duration is greater than a second preset time length;
[0198] The trajectory generating module is used to generate a target trajectory according to the input operation, and the target trajectory is used to form a closed area in the first display area, and the closed area corresponds to the fourth display area.
[0199] In a possible implementation, a module is generated, specifically for:
[0200] If the target display area includes the first sub-area of the first display screen and the second sub-area of the second display screen, the display data of the first sub-area is spliced with the display data of the second sub-area to generate an image file.
[0201] In a possible implementation, a module is generated, specifically for:
[0202] If the target display area includes a first sub-area of the first display screen and a second sub-area of the second display screen, a first image file is generated based on display data of the first sub-area, and a second image file is generated based on display data of the second sub-area.
[0203] It should be noted that for the functional explanation of each component structure in a processing device provided in this embodiment, please refer to the explanation in the aforementioned method embodiment, which will not be repeated in this embodiment.
[0204] In this embodiment, the identification of each display screen is displayed by using a partial display area of any one of the first display screen and the second display screen as the first display area, and the interactive operation is received through the first display area. The interactive operation is to determine the target display area through the first display area, and the target display area is the whole or part of the display area included in the first display screen and the second display screen, and there is a non-overlapping display area between the target display area and the first display area. Through the identification of each display screen displayed in the first display area, the selection and determination of the target display area for the whole or part of the display area in each screen is realized, and there is a non-overlapping display area between the selected target display area and the first display area, and an image file is generated based on the display data of the target display area. In this process, only one interactive operation is needed to realize the interception of display content on multiple display screens, and the operation is simple.
[0205] The present application also provides an electronic device in an embodiment. Fig. 27 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic device in the embodiments of the present application may include but is not limited to fixed terminals such as mobile phones, notebook computers, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Fig. 27 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0206] like Fig. 27As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 2701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 2702 or a program loaded from a storage device 2708 to a random access memory (RAM) 2703. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 2703. The processing device 2701, the ROM 2702, and the RAM 2703 are connected to each other via a bus 2704. An input / output (I / O) interface 2705 is also connected to the bus 2704.
[0207] Typically, the following devices may be connected to the I / O interface 2705: input devices 2706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 2707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 2708 including, for example, a memory card, a hard disk, etc.; and communication devices 2709. The communication device 2709 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 27 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0208] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any processing method provided in the embodiment of the present application.
[0209] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any processing method provided in the embodiment of the present application.
[0210] An embodiment of the present application also provides an electronic device comprising: a first display screen and a processor;
[0211] The first display area of the first display screen displays the first logo of the first display screen and the second logo of the second display screen; the first display area is a part of the display area of the first display screen;
[0212] The processor is used to obtain a target display area indicated by an interactive operation on the first display area in response to the interactive operation; and generate an image file based on the display data of the target display area; wherein there is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
[0213] Among them, for the explanation of the processor execution function, please refer to the explanation in the aforementioned method embodiment, which will not be repeated here.
[0214] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0215] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0216] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0217] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A processing method comprising: Displaying a first identifier of a first display screen and a second identifier of a second display screen in a first display area; The first display area is a portion of the display area included in the first display screen and the second display screen; In response to an interactive operation on the first display area, acquiring a target display area indicated by the interactive operation; generating an image file based on the display data of the target display area; There is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
2. The processing method according to claim 1, wherein displaying the first identification of the first display screen and the second identification of the second display screen in the first display area comprises: Displaying a first mark of the first display screen in the second display area, and displaying a second mark of the second display screen in the third area; The second display area and the third display area belong to the first display area.
3. The processing method according to claim 2, wherein each position of the second display area corresponds to each position of the display area corresponding to the first display screen; Each position of the third display area corresponds to each position of the display area corresponding to the second display screen; The step of obtaining, in response to an interactive operation on the first display area, a target display area indicated by the interactive operation includes: In response to an interactive operation on the first display area, acquiring a fourth display area indicated by the interactive operation; Determine a target display area corresponding to the fourth display area according to the correspondence between each position of the second display area and each position of the display area corresponding to the first display screen, and the correspondence between each position of the third display area and each position of the display area corresponding to the second display screen; The fourth display area belongs to the first display area, and the fourth display area at least includes a portion of the second display area and / or the third display area.
4. The processing method according to any one of claims 1 to 3, further comprising: In response to an interactive operation on the first display area, a position of the target display area in a display area included in the first display screen and the second display screen is identified.
5. The processing method according to claim 3, receiving an interactive operation, comprising: receiving an input operation, wherein the input operation includes at least two input operations whose time interval is less than a first preset time length, or an input operation whose duration is greater than a second preset time length; A target track is generated according to the input operation, and the target track is used to form a closed area in the first display area, and the closed area corresponds to the fourth display area.
6. The processing method according to claim 1, wherein generating an image file based on the display data of the target display area comprises: If the target display area includes a first sub-area of the first display screen and a second sub-area of the second display screen, display data of the first sub-area and display data of the second sub-area are spliced to generate an image file.
7. The processing method according to claim 1, wherein generating an image file based on the display data of the target display area comprises: If the target display area includes a first sub-area of the first display screen and a second sub-area of the second display screen, a first image file is generated based on display data of the first sub-area, and a second image file is generated based on display data of the second sub-area.
8. A processing device comprising: A display module, configured to display a first identifier of a first display screen and a second identifier of a second display screen in a first display area; The first display area is a portion of the display area included in the first display screen and the second display screen; a response module, configured to, in response to an interaction operation on the first display area, obtain a target display area indicated by the interaction operation; A generating module, used for generating an image file based on the display data of the target display area; There is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
9. A computer program product, comprising computer-readable instructions, which, when executed on an electronic device, enable the electronic device to implement the processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: a first display screen and a processor; The first display area of the first display screen displays a first identifier of the first display screen and a second identifier of the second display screen; the first display area is a part of the display area of the first display screen; The processor is used to obtain a target display area indicated by an interactive operation in response to the interactive operation on the first display area; and generate an image file based on the display data of the target display area; wherein there is a non-overlapping display area between the first display area and the target display area, and the target display area belongs to the display area included in the first display screen and the second display screen.
