WO2021233291A1 - Screen capture method and apparatus, and electronic device - Google Patents
Screen capture method and apparatus, and electronic device Download PDFInfo
- Publication number
- WO2021233291A1 WO2021233291A1 PCT/CN2021/094342 CN2021094342W WO2021233291A1 WO 2021233291 A1 WO2021233291 A1 WO 2021233291A1 CN 2021094342 W CN2021094342 W CN 2021094342W WO 2021233291 A1 WO2021233291 A1 WO 2021233291A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screenshot
- target
- editing area
- input
- interface
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000004044 response Effects 0.000 claims abstract description 38
- 238000004891 communication Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- This application belongs to the field of communication technology, and specifically relates to a screenshot method, device, and electronic equipment.
- the user can take a screenshot of the text content in an edit box (for example, a text box, a table, a picture box, etc.) in an interface currently displayed by the electronic device, so as to back up the text content.
- an edit box for example, a text box, a table, a picture box, etc.
- the user can input the certain edit box so that the electronic device can copy the text content in the certain edit box, and then the user can open the notepad application in the electronic device and paste the copied text content
- the entire content of the text content is displayed in the interface of the notepad application, so that the user can input a screenshot of the electronic device to trigger the electronic device to take a screenshot of the interface of the notepad application To take a screenshot of the text content.
- the purpose of the embodiments of the present application is to provide a screenshot method, device, and electronic device, which can solve the problem of poor convenience for the electronic device to screenshot the text content in the edit box.
- an embodiment of the present application provides a screenshot method.
- the method includes: receiving a first input from a user when a first interface is displayed, the first interface includes at least one first editing area, and the at least Each first editing area includes text content; in response to the first input, at least one first control is displayed in the first interface, and each first control corresponds to a first editing area, and each first control is used separately For displaying all text content in a first editing area; receiving a second input from a user for a target control in at least one first control, the target control corresponding to the target editing area in the at least one first editing area, and the target editing The area includes the text content to be displayed; in response to the second input, display all the text content in the target editing area, and take a screenshot of the first interface to obtain a target screenshot picture, which includes at least the contents in the target editing area All text content.
- an embodiment of the present application provides a screenshot device, which includes: a receiving module, a display module, and a screenshot module.
- the receiving module is configured to receive a user's first input when the first interface is displayed, the first interface includes at least one first editing area, and the at least one first editing area includes text content.
- the display module is configured to display at least one first control in the first interface in response to the first input received by the receiving module, and each first control corresponds to a first editing area, and each first control is used to display All text content in a first editing area.
- the receiving module is further configured to receive a second input from the user on the target control in the at least one first control, the target control corresponding to the target editing area in the at least one first editing area, and the target editing area includes the text to be displayed content.
- the display module is also used to display all text content in the target editing area in response to the second input received by the receiving module.
- the screenshot module is used to take a screenshot of the first interface to obtain a target screenshot picture, and the target screenshot picture includes at least all text content in the target editing area.
- an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor.
- the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
- an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the chip as in the first aspect The method described.
- At least one first control may be displayed in the first interface according to the first input of the user, and according to the user's target of the at least one first control
- the second input of the control displays all text content in the target editing area corresponding to the target control, and takes a screenshot of the first interface to obtain the target screenshot picture.
- the user can input in the first interface so that the electronic device can display the at least one first control
- the user can directly input the target control in the at least one first control, so that the electronic device can display the target edit All the text content in the area, without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box, so the electronic device can be improved
- the convenience of taking screenshots of the text in the edit box is the user can input in the first interface so that the electronic device can display the at least one first control
- FIG. 1 is one of the schematic diagrams of a screenshot method provided by an embodiment of the present application
- FIG. 2 is one of the schematic diagrams of an example of a mobile phone interface provided by an embodiment of the present application
- FIG. 3 is a second schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
- FIG. 4 is a third example of a schematic diagram of an interface of a mobile phone provided by an embodiment of the present application.
- FIG. 5 is the second schematic diagram of a screenshot method provided by an embodiment of the present application.
- FIG. 6 is the third schematic diagram of a screenshot method provided by an embodiment of the present application.
- FIG. 7 is a fourth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
- FIG. 8 is a fourth schematic diagram of a screenshot method provided by an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- FIG. 10 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
- the user can input text in an edit box (such as a text box, a table, a picture box, etc.) in an interface currently displayed by an electronic device, so that the electronic device can be in the edit box.
- the user can enter the edit box so that the electronic device can copy the text in the edit box (that is, all the text), and then the user
- the electronic device can be input so that the electronic device can display the desktop, so that the user can search for the icon of the Notepad application one by one among the multiple application icons displayed on the desktop, and input the icon of the Notepad application.
- the user needs to back up the text entered by the user in a certain edit box, there is no need to enter the electronic device multiple times in the traditional way, but can enter the electronic device so that the electronic device can At least one selection control is displayed in the interface currently displayed by the electronic device (each selection control in the at least one selection control corresponds to an edit box), so that the user can directly select the edit box corresponding to the at least one selection control.
- the control is selected for input, so that the electronic device can display all the text in the certain edit box, and take a screenshot of the currently displayed interface to obtain a screenshot including all the text in the certain edit box.
- the user can directly enter two inputs to the electronic device, so that the electronic device can display all the text in a certain edit box, and take a screenshot of the currently displayed interface to perform all the text in the certain edit box.
- the backup does not require the user to input multiple times, so that the electronic device can display the entire content of the text content, so that the convenience of the electronic device for taking screenshots of the text content in the edit box can be improved.
- FIG. 1 shows a flowchart of the screenshot method provided by an embodiment of the present invention.
- the screenshot method provided by the embodiment of the present invention may include the following steps 101 to 104.
- Step 101 The electronic device receives the first input of the user when displaying the first interface.
- the above-mentioned first interface includes at least one first editing area, and the at least one first editing area includes text content.
- the user may perform the first input to the electronic device.
- the above-mentioned target application may be any one of the following: a webpage application, a social application, a payment application, and so on.
- each of the above-mentioned at least one first editing area can be used for the user to input text content (and/or display the text content input by the user), and the user can input text content (and/or display text content input by the user).
- the first editing areas respectively input text content, so that each of the first editing areas includes text content.
- the above-mentioned text content may be text, letters, numbers, symbols, links (for example, uniform resource locators of pictures), images (for example, emoticons), and the like.
- each of the at least one first editing area may include an edit box, and an edit box may be any of the following: text box, table, password box , Picture box, address bar, search box and drop-down selection box.
- the user can select and input the "edit box shortcut screenshot” option in the settings application, so that the electronic device can turn on the "edit box shortcut screenshot” function, so that the user can make the first input , So that the electronic device can perform the "edit box shortcut screenshot” function.
- the foregoing first input may include one input or multiple inputs.
- the above-mentioned first input may specifically be a user's input to a physical button of an electronic device, or it may be a user's gesture input to an electronic device, or it may be a user's voice input to an electronic device .
- the above-mentioned first input may include a third sub-input and a fourth sub-input
- the third sub-input is a user's input to an electronic device (for example, an input to a physical button of the electronic device)
- the third sub-input is used to trigger the electronic device to display a third control
- the third control is used to display at least one first control
- the fourth sub-input is the user's input to the third control.
- the electronic device is a mobile phone as an example for description.
- the mobile phone displays an interface 10, and the interface 10 includes at least one first editing area (for example, area 11, area 12, area 13, area 14, area 15 and area 16), so that the user A third sub-input can be made to the mobile phone to trigger the mobile phone to display the third control;
- the mobile phone can display the third control ( For example, the control 17), so that the user can make a fourth sub-input to the control 17.
- Step 102 In response to the first input, the electronic device displays at least one first control on the first interface.
- each first control in the above at least one first control corresponds to a first editing area, and each first control is used to display all text content in a first editing area.
- the electronic device in response to the first input, may obtain the location information of the at least one first editing area in the first interface, and display at least A first control.
- the electronic device may float and display one first control at a position adjacent to the display position of a first editing area to display at least A first control.
- the mobile phone may display at least one first control (for example, control 18, control 19. Control 20, control 21, control 22, and control 23), the control 18 is used to display all the text content in the area 11, the control 19 is used to display all the text content in the area 12, and the control 20 is used to display the area 13, the control 21 is used to display all the text content in the area 14, the control 22 is used to display all the text content in the area 15, and the control 23 is used to display all the text content in the area 16.
- control 18, control 19. Control 20, control 21, control 22, and control 23 the control 18 is used to display all the text content in the area 11
- the control 19 is used to display all the text content in the area 12
- the control 20 is used to display the area 13
- the control 21 is used to display all the text content in the area 14
- the control 22 is used to display all the text content in the area 15
- the control 23 is used to display all the text content in the area 16.
- Step 103 The electronic device receives a second input from the user for the target control in the at least one first control.
- the above-mentioned target control corresponds to a target editing area in at least one first editing area, and the target editing area includes text content to be displayed.
- the above-mentioned second input may include one input or multiple inputs.
- the above-mentioned second input may specifically be a user's input to a target control (for example, a click input).
- a target control for example, a click input
- the above-mentioned second input may include a first sub-input and a second sub-input.
- the electronic device is triggered to display a screenshot control (for example, the second control in the following embodiment)
- the second sub-input is the user's input to the screenshot control (for example, click input).
- the target editing area includes the text content to be displayed can be understood as: the text content included in the target editing area and not displayed in the first interface, that is, the text content included in the target editing area Among all the text content, the text content that is not fully displayed.
- Step 104 In response to the second input, the electronic device displays all text content in the target editing area, and takes a screenshot of the first interface to obtain the target screenshot picture.
- the above-mentioned target screenshot picture includes at least all text content in the target editing area.
- the electronic device in response to the second input, can detect the number of characters of all text content in the target editing area, and if the number of characters is greater than or equal to a preset threshold, display the target editing All text content in the area, and take a screenshot of the first interface.
- the target editing area includes the text content to be displayed, so that the electronic device can display all the text content in the target editing area , And take a screenshot of the first interface.
- the electronic device may expand and display all text content in the target editing area, so as to completely display the text content in the target editing area in the first interface.
- the electronic device can adjust (or change) the size of the target editing area according to the number of characters of the text content in the target editing area, so that the electronic device can display all the text in the target editing area content.
- the user can perform a second input to the target control (for example, control 23 ), so that the mobile phone can display all the text content in the area 16 and take a screenshot of the interface 10.
- the target control for example, control 23
- the electronic device may delete at least one first control in the first interface, and take a screenshot of the first interface to obtain the target screenshot picture; or, the electronic device may delete the at least one first control
- the transparency value is adjusted to the first transparency value (for example, 100%), and a screenshot of the first interface is taken to obtain the target screenshot picture.
- the electronic device may directly take a screenshot of the first interface to obtain the target screenshot picture, or the electronic device may use a preset screenshot method (for example, the continuous screenshot method in the following embodiment) Take a screenshot on one interface and get the target screenshot picture.
- a preset screenshot method for example, the continuous screenshot method in the following embodiment
- the user can perform the first input to the electronic device when the first interface is displayed on the electronic device, so that The electronic device can display at least one first control in the first interface, and then the user can input the target control in the at least one first control, so that the electronic device can display all text in the target editing area corresponding to the target control Content, and take a screenshot of the first interface including all the text content to obtain the target screenshot picture, so as to back up all the text content in the target editing area.
- the screenshot method provided in the embodiment of the present application further includes the following
- the above-mentioned step 201 and the above-mentioned step 104 can be specifically implemented by the following steps 104a and 104b.
- Step 201 In response to the second input, the electronic device obtains the number of characters of the text content in the target editing area.
- the electronic device in response to the second input, may use a preset marking method to mark the target control, and obtain the number of characters of the text content in the target editing area.
- the aforementioned preset marking method may include any one of the following: dashed frame marking method, highlight marking method, color marking method, gray-scale marking method, marking method with preset transparency, and flashing marking Way etc.
- Step 104a The electronic device adjusts the size of the target editing area according to the number of characters.
- the electronic device may obtain the size of the character in the text content (that is, the text content in the target editing area), so as to determine all the characters in the target editing area according to the size and the number of characters.
- the size of the text content is to adjust the size of the target editing area according to the size of all the text content in the target editing area.
- the electronic device may determine the size of all text content in the target editing area as the size of the target editing area, and adjust the initial size of the target editing area to the determined size of the target editing area .
- Step 104b The electronic device displays all text content in the adjusted target editing area.
- the electronic device may adjust the size of the page to which the content currently displayed on the first interface belongs (for example, the first page in the following embodiments), so as to completely display the current content of the first interface on the page.
- the content displayed may be adjusted.
- the electronic device may adjust the size in the first direction of the page to which the content currently displayed on the first interface belongs to adjust the size of the page.
- the first direction may specifically be the display of the electronic device. The direction from one edge line (for example, the upper edge line) of the screen to another edge line (for example, the lower edge line) that is not adjacent.
- the electronic device can directly take a screenshot of the first interface ; If the size of the adjusted page is greater than the size of the first interface, the electronic device can take a screenshot of the first interface in a preset screenshot manner.
- the electronic device can obtain the number of characters of all text content in the target editing area, and adjust the size of the target editing area according to the number of characters, so that the size of the target editing area can adapt to all the text content
- the size of the target editing area that is, the size of the target editing area matches the size of all text content
- it can avoid the target editing area from being too large that is, the size of the target editing area is larger than the size of all text content
- the embodiment of the present application provides a screenshot method.
- the electronic device can display at least one first control in the first interface according to the first input of the user, and according to the user’s response to the at least one first interface.
- the second input of the target control in a control displays all the text content in the target editing area corresponding to the target control, and takes a screenshot of the first interface to obtain the target screenshot picture.
- the user can input in the first interface so that the electronic device can display the at least one first control
- the user can directly input the target control in the at least one first control, so that the electronic device can display the target edit All the text content in the area, without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box, so the electronic device can be improved
- the convenience of taking screenshots of the text in the edit box is the user can input in the first interface so that the electronic device can display the at least one first control
- the above-mentioned second input includes a first sub-input and a second sub-input.
- the above-mentioned step 104 may be specifically implemented by the following steps 104c and 104d.
- Step 104c In response to the first sub-input to the target control, the electronic device displays all text content in the target editing area, and displays the second control in the first interface.
- the above-mentioned first sub-input is the user's input to the target control, and the second control is used to take a screenshot of the first interface.
- the electronic device may display the second control floating in another area of the first interface, and the other area is an area of the first interface other than the area where the at least one first editing area is located.
- the electronic device in response to the first sub-input, may display the second control and the fourth control in the first interface, and the fourth control is used to display the content currently displayed on the first interface belongs to Page (for example, the page after adjusting the size of the target editing area).
- Page for example, the page after adjusting the size of the target editing area
- the user can make a first sub-input to the control 23, so that the mobile phone can display all the text content in the area 16, and display the second control (such as control 24) and a fourth control (for example, control 25), the control 24 is used to take a screenshot of the interface 10, and the control 25 is used to display the page to which the content currently displayed on the interface 10 belongs.
- the second control such as control 24
- a fourth control for example, control 25
- the electronic device may adjust the transparency value of at least one first control to the first transparency value, and display the content currently displayed on the first interface belongs to Page, so that the user can input on the page (for example, slide up input or slide down input) to preview the content displayed on the page.
- Step 104d In response to the second sub-input to the target control, the electronic device takes a screenshot of the first interface.
- the above-mentioned second sub-input is the user's input to the second control.
- the user can first perform a first sub-input to the target control in at least one first control, so that the electronic device can display the target edit All text content in the area, and the second control is displayed, so that the user can input the second control when it is determined that all the displayed text content is the text content required by the user.
- the electronic device can display all the text content and the second control in the target editing area according to the user's first sub-input, and only take a screenshot of the first interface according to the user's second sub-input, so Avoid triggering the electronic device to take screenshots due to user misinput, so as to improve the accuracy of the electronic device's screenshots of the editing area.
- step 104 may be specifically implemented by the following step 104e.
- Step 104e In response to the second input, the electronic device displays all the text content in the target editing area, and adopts a continuous screenshot mode to screenshot the first interface to obtain the target screenshot picture.
- the above-mentioned continuous screenshot method is used to take a screenshot of the first page.
- the first page is the page displayed on the first interface and includes all text content in the target editing area. Everything on the page.
- continuous screenshot mode can be understood as: the electronic device can take screenshots of multiple screenshot areas of the page to which the content displayed on the interface belongs, and synthesize the multiple screenshots obtained from the screenshots to obtain one The way to take screenshots.
- the size of the first page may be larger than the size of the first interface, so the electronic device can take a screenshot of the first page in a continuous screenshot mode. Obtain the target screenshot image including all the content in the first page.
- the electronic device can take a continuous screenshot method to take a screenshot of the first interface to obtain a target screenshot picture including all the content in the first page, so that the user can back up all the content without having to perform multiple times Take screenshots, which can simplify the user's operation of backing up all content and save time.
- step 104e may be specifically implemented by the following step 104f or step 104g.
- Step 104f In response to the second input, the electronic device displays all the text content in the target editing area, and after all the content of each screenshot area of the first page is intercepted, all the generated sub-screenshot pictures are synthesized to obtain Screenshot of the target.
- each sub-screenshot picture on the first page described above corresponds to the content of a screenshot area.
- the electronic device may take a screenshot of each of the at least one screenshot area of the first page to capture the content of each screenshot area to generate at least one sub-screenshot picture.
- the electronic device may use an image stitching algorithm to perform image stitching processing on all the generated sub-screenshot pictures to obtain the target screenshot picture .
- the electronic device can synthesize all the generated sub-screenshot pictures to obtain the target screenshot picture required by the user without taking multiple screenshots, which can simplify the user's operation of backing up all content and save consumption. Time.
- Step 104g In response to the second input, the electronic device displays all the text content in the target editing area, and after capturing the content of the i+1th screenshot area of the first page, the generated i+1th sub-screenshot The picture is synthesized with the i-th sub-screenshot picture to obtain the target screenshot picture.
- the i-th sub-screenshot picture is a sub-screenshot picture generated after the electronic device captures the content of the i-th screenshot area of the first page, and i is a positive integer greater than or equal to 1.
- each sub-screenshot picture on the first page described above corresponds to the content of a screenshot area.
- the electronic device may take a screenshot of each of the at least one screenshot area of the first page to capture the content of each screenshot area to generate at least one sub-screenshot picture.
- the electronic device may first capture the content of a screenshot area of the first page to generate the first sub-screenshot image, and then the electronic device may capture another screenshot of the first page.
- the content in the screenshot area is captured a second time to generate a second sub-screenshot image, and the second sub-screenshot image is combined with the previous adjacent sub-screenshot image (ie, the first sub-screenshot image).
- the electronic device can take a third screenshot of the content of another screenshot area of the first page to generate a third sub-screen-shot picture, and combine the third sub-screen-shot picture with the previous adjacent sub-screen-shot picture (I.e.
- the second sub-screenshot picture for synthesis, and so on, until the electronic device takes the last screenshot of the content in the last screenshot area of the first page, and combines the last sub-screenshot picture with the previous adjacent one
- a sub-screenshot image is synthesized and processed to obtain the target screenshot image.
- the electronic device can sequentially synthesize each generated sub-screenshot picture with the previous adjacent sub-screenshot picture to obtain the target screenshot picture required by the user without taking multiple screenshots. Simplify the user's operation of backing up all content and save time.
- the execution subject of the screenshot method provided by the embodiment of the present application may be a screenshot device, or a control module in the screenshot device for executing the method of loading the screenshot.
- the method for loading screenshots executed by the screenshot device is taken as an example to illustrate the screenshot method provided by the embodiments of the present application.
- FIG. 9 shows a schematic diagram of a possible structure of a screenshot device involved in an embodiment of the present invention.
- the screenshot device 60 may include: a receiving module 61, a display module 62 and a screenshot module 63.
- the receiving module 61 is configured to receive a user's first input when the first interface is displayed.
- the first interface includes at least one first editing area, and the at least one first editing area includes text content.
- the display module 62 is configured to display at least one first control in the first interface in response to the first input received by the receiving module 61, and each first control corresponds to a first editing area, and each first control is used separately To display all the text content in a first editing area.
- the receiving module 61 is further configured to receive a second input from the user on the target control in the at least one first control, the target control corresponding to the target editing area in the at least one first editing area, and the target editing area includes the to-be-displayed Text content.
- the display module 62 is further configured to display all text content in the target editing area in response to the second input received by the receiving module 61.
- the screenshot module 63 is configured to take a screenshot of the first interface to obtain a target screenshot picture, and the target screenshot picture includes at least all text content in the target editing area.
- the screenshot device 60 provided in this application may further include: an acquisition module and an adjustment module.
- the acquiring module is used to acquire the number of characters of the text content in the target editing area before the display module 62 displays all the text content in the target editing area.
- the adjustment module is used to adjust the size of the target editing area according to the number of characters obtained by the obtaining module.
- the above-mentioned display module 62 is specifically configured to display all text content in the target editing area adjusted by the adjustment module.
- the foregoing second input includes a first sub-input and a second sub-input.
- the above-mentioned display module 62 is specifically configured to display all text content in the target editing area in response to the first sub-input to the target control, and display the second control in the first interface.
- the aforementioned screenshot module 63 is specifically configured to take a screenshot of the first interface in response to the second sub-input to the target control.
- the aforementioned screenshot module 63 is specifically configured to take a screenshot of the first interface in a continuous screenshot manner to obtain a target screenshot picture.
- the continuous screenshot method is used to screenshot the first page.
- the page is a page displayed on the first interface that includes all the text content in the target editing area, and the target screenshot picture includes all the content in the first page.
- the above-mentioned screenshot module 63 is specifically configured to, after all the content of each screenshot area of the page is completely captured, synthesize all the generated sub-screenshot pictures to obtain the target screenshot image; or, After capturing the content of the i+1th screenshot area of the first page, synthesize the generated i+1th sub-screenshot image with the i-th sub-screenshot image to obtain the target screenshot image, the i-th sub-screenshot
- the picture is a sub-screenshot image generated after the content of the i-th screenshot area of the first page is captured, and i is a positive integer greater than or equal to 1.
- each sub-screenshot picture corresponds to the content of a screenshot area.
- the screen capture device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal.
- the device can be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- netbook or a personal digital assistant (personal digital assistant).
- PDA personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application
- NAS network attached storage
- PC personal computers
- TV televisions
- teller machines or self-service machines etc.
- the screen capture device in the embodiment of the present application may be a device with an operating system.
- the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
- the screen capture device provided by the embodiment of the present application can implement the various processes implemented by the electronic device in the method embodiments of FIG. 1 to FIG. 8. In order to avoid repetition, details are not described herein again.
- the user since the user can input in the first interface so that the electronic device can display at least one first control, the user can directly input the target control in the at least one first control, so that The electronic device can display all the text content in the target edit area without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box , So it can improve the convenience of electronic devices to take screenshots of the text content in the edit box.
- an embodiment of the present application further provides an electronic device, including a processor 1010, a memory 1009, a program or instruction stored in the memory 1009 and capable of running on the processor 1010, and the program or instruction is executed by the processor 1010.
- an electronic device including a processor 1010, a memory 1009, a program or instruction stored in the memory 1009 and capable of running on the processor 1010, and the program or instruction is executed by the processor 1010.
- processor 1010 When 1010 is executed, each process of the above screenshot method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 10 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
- the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, etc. part.
- the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components.
- the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions.
- the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device.
- the electronic device may include more or fewer components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
- the user input unit 1007 is configured to receive a user's first input when the first interface is displayed.
- the first interface includes at least one first editing area, and the at least one first editing area includes text content. .
- the display unit 1006 is configured to display at least one first control in the first interface in response to the first input, and each first control corresponds to a first editing area, and each first control is used to display a first edit area. All text content in the edit area.
- the user input unit 1007 is further configured to receive a second input from the user on a target control in at least one first control, the target control corresponding to a target editing area in the at least one first editing area, and the target editing area includes the to-be-displayed The text content.
- the display unit 1006 is further configured to display all text content in the target editing area in response to the second input.
- the processor 1010 is configured to take a screenshot of the first interface to obtain a target screenshot picture, and the target screenshot picture includes at least all text content in the target editing area.
- the user since the user can input in the first interface so that the electronic device can display at least one first control, the user can directly input the target control in the at least one first control, so that The electronic device can display all the text content in the target edit area without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box , So it can improve the convenience of electronic devices to take screenshots of the text content in the edit box.
- the processor 1010 is further configured to obtain the number of characters of the text content in the target editing area, and adjust the size of the target editing area according to the number of characters.
- the display unit 1006 is specifically configured to display all text content in the adjusted target editing area.
- the electronic device can obtain the number of characters of all text content in the target editing area, and adjust the size of the target editing area according to the number of characters, so that the size of the target editing area can adapt to all the text content
- the size of the target editing area that is, the size of the target editing area matches the size of all text content
- it can avoid the target editing area from being too large that is, the size of the target editing area is larger than the size of all text content
- the display unit 1006 is specifically configured to display all text content in the target editing area in response to the first sub-input to the target control, and display the second control in the first interface.
- the processor 1010 is specifically configured to take a screenshot of the first interface in response to the second sub-input to the target control.
- the electronic device can display all the text content and the second control in the target editing area according to the user's first sub-input, and only take a screenshot of the first interface according to the user's second sub-input, so Avoid triggering the electronic device to take screenshots due to user misinput, so as to improve the accuracy of the electronic device's screenshots of the editing area.
- the processor 1010 is specifically configured to take a screenshot of the first interface by adopting a continuous screenshot mode to obtain a target screenshot picture.
- the displayed page includes all the text content in the target editing area, and the target screenshot image includes all the content in the first page.
- the electronic device may adopt a continuous screen capture method to take a screenshot of the first interface to obtain a target screenshot including all the content in the page (that is, the page to which the content currently displayed on the first interface belongs), so that the user can view All the content is backed up without taking multiple screenshots, which can simplify the user's operation of backing up all the content and save time.
- the processor 1010 is specifically configured to, after all the content of each screenshot area of the page is captured, synthesize all the generated sub-screenshot pictures to obtain the target screenshot image; or, after the first page is captured After the content of the i+1th screenshot area, synthesize the generated i+1th sub-screenshot picture with the i-th sub-screenshot picture to obtain the target screenshot picture, and the i-th sub-screenshot picture is the first page of the screenshot.
- the sub-screenshot pictures generated after the content of the i-th screenshot area, i is a positive integer greater than or equal to 1, where each sub-screenshot picture corresponds to the content of a screenshot area.
- the electronic device can synthesize the generated sub-screenshots to obtain the target screenshots required by the user without taking multiple screenshots, which can simplify the user to back up all content Operation and save time.
- the embodiments of the present application also provide a readable storage medium with a program or instruction stored on the readable storage medium.
- the program or instruction is executed by a processor, each process of the above screenshot method embodiment is realized, and the same The technical effect, in order to avoid repetition, will not be repeated here.
- the processor is the processor in the electronic device described in the foregoing embodiment.
- the readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk.
- An embodiment of the present application further provides a chip.
- the chip includes a processor and a communication interface.
- the communication interface is coupled to the processor.
- chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
- the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
- a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A screen capture method and apparatus, and an electronic device. The method comprises: when a first interface is displayed, receiving a first input of a user (101), wherein the first interface comprises at least one first edit area; in response to the first input, displaying at least one first control in the first interface (102), wherein each first control corresponds to one first edit area, respectively; receiving a second input of the user for a target control (103); and in response to the second input, displaying all text content in a target edit area, and performing screen capturing on the first interface, so as to obtain a target screenshot picture (104), wherein the target screenshot picture at least comprises all the text content in the target edit area.
Description
本申请要求于2020年5月20日提交国家知识产权局、申请号为202010431049.8、申请名称为“截屏方法、装置和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on May 20, 2020, the application number is 202010431049.8, and the application name is "screen capture method, device and electronic equipment", the entire content of which is incorporated into this application by reference middle.
本申请属于通信技术领域,具体涉及一种截屏方法、装置和电子设备。This application belongs to the field of communication technology, and specifically relates to a screenshot method, device, and electronic equipment.
通常,用户可以对电子设备当前显示的界面中某个编辑框(例如文本框、表格、图片框等)中的文本内容进行截屏,以对该文本内容进行备份。具体的,用户可以对该某个编辑框进行输入,以使得电子设备可以复制该某个编辑框中的文本内容,然后用户可以打开电子设备中的记事本应用程序,并将复制的文本内容粘贴在该记事本应用程序中,以在该记事本应用程序的界面中显示该文本内容的全部内容,从而用户可以对电子设备进行截屏输入,以触发电子设备对该记事本应用程序的界面进行截屏,以对该文本内容进行截屏。Generally, the user can take a screenshot of the text content in an edit box (for example, a text box, a table, a picture box, etc.) in an interface currently displayed by the electronic device, so as to back up the text content. Specifically, the user can input the certain edit box so that the electronic device can copy the text content in the certain edit box, and then the user can open the notepad application in the electronic device and paste the copied text content In the notepad application, the entire content of the text content is displayed in the interface of the notepad application, so that the user can input a screenshot of the electronic device to trigger the electronic device to take a screenshot of the interface of the notepad application To take a screenshot of the text content.
但是,上述方法中,由于用户需要先将某个编辑框中的所有文本内容复制粘贴至记事本应用程序中,以使得电子设备显示该文本内容的全部内容,然后用户才可以触发电子设备对该所有文本内容进行截屏,因此导致电子设备对编辑框中的文本内容进行截屏的便捷性较差。However, in the above method, since the user needs to copy and paste all the text content in a certain edit box into the Notepad application, so that the electronic device displays the entire content of the text content, then the user can trigger the electronic device All text content is screen-captured, which results in poor convenience for the electronic device to capture the screen-capture of the text content in the edit box.
发明内容Summary of the invention
本申请实施例的目的是提供一种截屏方法、装置和电子设备,能够解决电子设备对编辑框中的文本内容进行截屏的便捷性较差的问题。The purpose of the embodiments of the present application is to provide a screenshot method, device, and electronic device, which can solve the problem of poor convenience for the electronic device to screenshot the text content in the edit box.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种截屏方法,该方法包括:在显示第一界面的情况下,接收用户的第一输入,该第一界面中包括至少一个第一编辑区域,该至少一个第一编辑区域中均包括文本内容;响应于第一输入,在第一界面中显示至少一个第一控件,每个第一控件分别对应一个第一编辑区域,该每个第一控件分别用于显示一个第一编辑区域中的所有文本内容;接收用户针对至少一个第一控件中的目标控件的第二输入,该目标控件与至少一个第一编辑区域中的目标编辑区域对应,该目标编辑区域中包括待显示的文本内容;响应于第二输入,显示目标编辑区域中的所有文本内容,并对第一界面进行截屏,得到目标截屏图片,该目标截屏图片中至少包括目标编辑区域中的所有文本内容。In a first aspect, an embodiment of the present application provides a screenshot method. The method includes: receiving a first input from a user when a first interface is displayed, the first interface includes at least one first editing area, and the at least Each first editing area includes text content; in response to the first input, at least one first control is displayed in the first interface, and each first control corresponds to a first editing area, and each first control is used separately For displaying all text content in a first editing area; receiving a second input from a user for a target control in at least one first control, the target control corresponding to the target editing area in the at least one first editing area, and the target editing The area includes the text content to be displayed; in response to the second input, display all the text content in the target editing area, and take a screenshot of the first interface to obtain a target screenshot picture, which includes at least the contents in the target editing area All text content.
第二方面,本申请实施例提供了一种截屏装置,该截屏装置包括:接收模块、显示模块和截屏模块。其中,接收模块,用于在显示第一界面的情况下,接收用户的第一输入,该第一界面中包括至少一个第一编辑区域,该至少一个第一编辑区域中均包括文本内容。显示模块,用于响应于接收模块接收的第一输入,在第一界面中显示至少一个第一控件,每个第一控件分别对应一个第一编辑区域,该每个第一控件分别用 于显示一个第一编辑区域中的所有文本内容。接收模块,还用于接收用户针对至少一个第一控件中的目标控件的第二输入,该目标控件与至少一个第一编辑区域中的目标编辑区域对应,该目标编辑区域中包括待显示的文本内容。显示模块,还用于响应于接收模块接收的第二输入,显示目标编辑区域中的所有文本内容。截屏模块,用于对第一界面进行截屏,得到目标截屏图片,该目标截屏图片中至少包括目标编辑区域中的所有文本内容。In the second aspect, an embodiment of the present application provides a screenshot device, which includes: a receiving module, a display module, and a screenshot module. The receiving module is configured to receive a user's first input when the first interface is displayed, the first interface includes at least one first editing area, and the at least one first editing area includes text content. The display module is configured to display at least one first control in the first interface in response to the first input received by the receiving module, and each first control corresponds to a first editing area, and each first control is used to display All text content in a first editing area. The receiving module is further configured to receive a second input from the user on the target control in the at least one first control, the target control corresponding to the target editing area in the at least one first editing area, and the target editing area includes the text to be displayed content. The display module is also used to display all text content in the target editing area in response to the second input received by the receiving module. The screenshot module is used to take a screenshot of the first interface to obtain a target screenshot picture, and the target screenshot picture includes at least all text content in the target editing area.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor. The program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the chip as in the first aspect The method described.
在本申请实施例中,在显示第一界面的情况下,可以根据用户的第一输入,在该第一界面中显示至少一个第一控件,并根据用户针对该至少一个第一控件中的目标控件的第二输入,显示该目标控件对应的目标编辑区域中的所有文本内容,并对该第一界面进行截屏,得到目标截屏图片。由于用户可以通过在第一界面中进行输入,以使得电子设备可以显示至少一个第一控件,从而用户可以直接对该至少一个第一控件中的目标控件进行输入,以使得电子设备可以显示目标编辑区域中的所有文本内容,而无需用户将某个编辑框中的所有文本内容复制粘贴至记事本应用程序中,以使得电子设备显示该编辑框中的文本内容的全部内容,因此可以提升电子设备对编辑框中的文本内容进行截屏的便捷性。In the embodiment of the present application, when the first interface is displayed, at least one first control may be displayed in the first interface according to the first input of the user, and according to the user's target of the at least one first control The second input of the control displays all text content in the target editing area corresponding to the target control, and takes a screenshot of the first interface to obtain the target screenshot picture. Since the user can input in the first interface so that the electronic device can display the at least one first control, the user can directly input the target control in the at least one first control, so that the electronic device can display the target edit All the text content in the area, without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box, so the electronic device can be improved The convenience of taking screenshots of the text in the edit box.
图1是本申请实施例提供的一种截屏方法的示意图之一;FIG. 1 is one of the schematic diagrams of a screenshot method provided by an embodiment of the present application;
图2是本申请实施例提供的一种手机的界面的实例示意图之一;FIG. 2 is one of the schematic diagrams of an example of a mobile phone interface provided by an embodiment of the present application;
图3是本申请实施例提供的一种手机的界面的实例示意图之二;FIG. 3 is a second schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application;
图4是本申请实施例提供的一种手机的界面的实例示意图之三;4 is a third example of a schematic diagram of an interface of a mobile phone provided by an embodiment of the present application;
图5是本申请实施例提供的一种截屏方法的示意图之二;FIG. 5 is the second schematic diagram of a screenshot method provided by an embodiment of the present application;
图6是本申请实施例提供的一种截屏方法的示意图之三;FIG. 6 is the third schematic diagram of a screenshot method provided by an embodiment of the present application;
图7是本申请实施例提供的一种手机的界面的实例示意图之四;FIG. 7 is a fourth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application;
图8是本申请实施例提供的一种截屏方法的示意图之四;FIG. 8 is a fourth schematic diagram of a screenshot method provided by an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的结构示意图;FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图10是本申请实施例提供的一种电子设备的硬件示意图。FIG. 10 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first" and "second" in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in a sequence other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the associated objects before and after are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的截屏方法进行详细地说明。The screenshot method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios thereof.
目前,在相关技术中,用户可以对电子设备当前显示的界面中的某个编辑框(例如文本框、表格、图片框等)进行文字输入,以使得该电子设备可以在该某个编辑框中显示用户输入的文本,由于该编辑框中仅可以显示预设字符数的文本,因此电子设备可以将用户输入的文本中除预设字符数的文本外的文本确定为待显示文本(即并不在电子设备当前显示的界面中显示该文本)。当用户需求对某个编辑框中用户输入的文本进行备份时,用户可以对该某个编辑框进行输入,以使得电子设备可以复制该某个编辑框中的文本(即全部文本),然后用户可以对电子设备进行输入,以使得电子设备可以显示桌面,从而用户可以在桌面显示的多个应用程序图标中逐一查找记事本应用程序的图标,并对该记事本应用程序的图标进行输入,以使得电子设备可以运行该记事本应用程序,这样用户可以在该记事本应用程序中进行输入,以将复制的全部文本粘贴在该记事本应用程序中,以在该记事本应用程序的界面中显示用户输入的全部文本,从而用户可以对电子设备进行截屏输入,以使得电子设备可以对该记事本应用程序的界面进行截屏,得到包括用户输入的文本的截屏图片。因此,在相关技术中,用户需要先将某个编辑框中的所有文本内容复制粘贴至记事本应用程序中,以使得电子设备显示该文本内容的全部内容,然后用户才可以触发电子设备对该所有文本内容进行截屏,如此导致电子设备对编辑框中的文本进行截屏的便捷性较差。At present, in related technologies, the user can input text in an edit box (such as a text box, a table, a picture box, etc.) in an interface currently displayed by an electronic device, so that the electronic device can be in the edit box. Display the text entered by the user. Since the edit box can only display text with a preset number of characters, the electronic device can determine the text entered by the user excluding the text with the preset number of characters as the text to be displayed (that is, it is not in the text). The text is displayed in the interface currently displayed by the electronic device). When the user needs to back up the text entered by the user in an edit box, the user can enter the edit box so that the electronic device can copy the text in the edit box (that is, all the text), and then the user The electronic device can be input so that the electronic device can display the desktop, so that the user can search for the icon of the Notepad application one by one among the multiple application icons displayed on the desktop, and input the icon of the Notepad application. Make the electronic device run the notepad application, so that the user can input in the notepad application to paste all the copied text in the notepad application to display on the interface of the notepad application All the text input by the user, so that the user can take a screenshot input to the electronic device, so that the electronic device can take a screenshot of the interface of the notepad application program to obtain a screenshot including the text input by the user. Therefore, in the related technology, the user needs to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content, and then the user can trigger the electronic device to display the entire text content. All text content is screen-captured, which makes it less convenient for the electronic device to screen-capture the text in the edit box.
本申请实施例中,若用户需求对某个编辑框中用户输入的文本进行备份,则无需按照传统方式对电子设备进行多次输入,而是可以对电子设备进行输入,以使得电子设备可以在电子设备当前显示的界面中显示至少一个选择控件(该至少一个选择控件中的每个选择控件分别对应一个编辑框),从而用户可以直接对该至少一个选择控件中与该某个编辑框对应的选择控件进行输入,以使得电子设备可以显示该某个编辑框中的所有文本,并对当前显示的界面进行截屏,得到包括该某个编辑框中的所有文本的截屏图片。可以理解,用户可以直接对电子设备进行两个输入,以使得电子设备可以显示某个编辑框中的所有文本,并对当前显示的界面进行截屏,以对该某个编辑框中的所有文本进行备份,而无需用户进行多次输入,以使得电子设备显示该文本内容的全部内容,因此可以提升电子设备对编辑框中的文本内容进行截屏的便捷性。In the embodiments of this application, if the user needs to back up the text entered by the user in a certain edit box, there is no need to enter the electronic device multiple times in the traditional way, but can enter the electronic device so that the electronic device can At least one selection control is displayed in the interface currently displayed by the electronic device (each selection control in the at least one selection control corresponds to an edit box), so that the user can directly select the edit box corresponding to the at least one selection control. The control is selected for input, so that the electronic device can display all the text in the certain edit box, and take a screenshot of the currently displayed interface to obtain a screenshot including all the text in the certain edit box. It is understandable that the user can directly enter two inputs to the electronic device, so that the electronic device can display all the text in a certain edit box, and take a screenshot of the currently displayed interface to perform all the text in the certain edit box. The backup does not require the user to input multiple times, so that the electronic device can display the entire content of the text content, so that the convenience of the electronic device for taking screenshots of the text content in the edit box can be improved.
本申请实施例提供的一种截屏方法,图1示出了本发明实施例提供的截屏方法的流程图。如图1所示,本发明实施例提供的截屏方法可以包括下述的步骤101至步骤104。An embodiment of the present application provides a screenshot method. FIG. 1 shows a flowchart of the screenshot method provided by an embodiment of the present invention. As shown in FIG. 1, the screenshot method provided by the embodiment of the present invention may include the following steps 101 to 104.
步骤101、电子设备在显示第一界面的情况下,接收用户的第一输入。Step 101: The electronic device receives the first input of the user when displaying the first interface.
本申请实施例中,上述第一界面中包括至少一个第一编辑区域,该至少一个第一编辑区域中均包括文本内容。In the embodiment of the present application, the above-mentioned first interface includes at least one first editing area, and the at least one first editing area includes text content.
可选地,本申请实施例中,在电子设备显示目标应用程序的界面(即第一界面)的情况下,用户可以对电子设备进行第一输入。Optionally, in this embodiment of the present application, in the case where the electronic device displays the interface of the target application program (ie, the first interface), the user may perform the first input to the electronic device.
可选地,本申请实施例中,上述目标应用程序可以为以下任一项:网页类应用程序、社交类应用程序和支付类应用程序等。Optionally, in this embodiment of the present application, the above-mentioned target application may be any one of the following: a webpage application, a social application, a payment application, and so on.
本申请实施例中,上述至少一个第一编辑区域(编辑框)中的每个第一编辑区域分别可以用于用户输入文本内容(和/或显示用户输入的文本内容),用户可以对每个第一编辑区域分别输入文本内容,以使得该每个第一编辑区域中均包括文本内容。In the embodiment of the present application, each of the above-mentioned at least one first editing area (edit box) can be used for the user to input text content (and/or display the text content input by the user), and the user can input text content (and/or display text content input by the user). The first editing areas respectively input text content, so that each of the first editing areas includes text content.
可选地,本申请实施例中,上述文本内容可以为文字、字母、数字、符号、链接(例如图片的统一资源定位符)、图像(例如表情图像)等。Optionally, in the embodiments of the present application, the above-mentioned text content may be text, letters, numbers, symbols, links (for example, uniform resource locators of pictures), images (for example, emoticons), and the like.
可选地,本申请实施例中,上述至少一个第一编辑区域中的每个第一编辑区域中可以分别包括一个编辑框,一个编辑框可以为以下任一项:文本框、表格、密码框、图片框、地址栏、搜索框和下拉选择框。Optionally, in this embodiment of the present application, each of the at least one first editing area may include an edit box, and an edit box may be any of the following: text box, table, password box , Picture box, address bar, search box and drop-down selection box.
可选地,本申请实施例中,用户可以在设置应用程序中对“编辑框快捷截图”选项进行选择输入,以使得电子设备可以开启“编辑框快捷截图”功能,从而用户可以进行第一输入,以使得电子设备可以执行“编辑框快捷截图”功能。Optionally, in this embodiment of the application, the user can select and input the "edit box shortcut screenshot" option in the settings application, so that the electronic device can turn on the "edit box shortcut screenshot" function, so that the user can make the first input , So that the electronic device can perform the "edit box shortcut screenshot" function.
可选地,本申请实施例中,上述第一输入可以包括一个输入或多个输入。Optionally, in this embodiment of the present application, the foregoing first input may include one input or multiple inputs.
可选地,本申请实施例中,上述第一输入具体可以为用户对电子设备的物理按键的输入,或者,可以为用户对电子设备的手势输入,或者,可以为用户对电子设备的语音输入。Optionally, in this embodiment of the present application, the above-mentioned first input may specifically be a user's input to a physical button of an electronic device, or it may be a user's gesture input to an electronic device, or it may be a user's voice input to an electronic device .
可选地,本申请实施例中,上述第一输入可以包括第三子输入和第四子输入,该第三子输入为用户对电子设备的输入(例如对电子设备的物理按键的输入),该第三子输入用于触发电子设备显示第三控件,该第三控件用于显示至少一个第一控件,该第四子输入为用户对该第三控件的输入。Optionally, in this embodiment of the present application, the above-mentioned first input may include a third sub-input and a fourth sub-input, and the third sub-input is a user's input to an electronic device (for example, an input to a physical button of the electronic device), The third sub-input is used to trigger the electronic device to display a third control, the third control is used to display at least one first control, and the fourth sub-input is the user's input to the third control.
示例性地,以电子设备为手机为例进行说明。如图2中的(A)所示,手机显示界面10,该界面10中包括至少一个第一编辑区域(例如区域11、区域12、区域13、区域14、区域15和区域16),从而用户可以对手机进行第三子输入,以触发手机显示第三控件;如图2中的(B)所示,在用户对手机进行第三子输入之后,手机可以在界面10中显示第三控件(例如控件17),从而用户可以对该控件17进行第四子输入。Illustratively, the electronic device is a mobile phone as an example for description. As shown in Figure 2(A), the mobile phone displays an interface 10, and the interface 10 includes at least one first editing area (for example, area 11, area 12, area 13, area 14, area 15 and area 16), so that the user A third sub-input can be made to the mobile phone to trigger the mobile phone to display the third control; as shown in Figure 2(B), after the user makes the third sub-input to the mobile phone, the mobile phone can display the third control ( For example, the control 17), so that the user can make a fourth sub-input to the control 17.
步骤102、电子设备响应于第一输入,在第一界面中显示至少一个第一控件。Step 102: In response to the first input, the electronic device displays at least one first control on the first interface.
本申请实施例中,上述至少一个第一控件中的每个第一控件分别对应一个第一编辑区域,该每个第一控件分别用于显示一个第一编辑区域中的所有文本内容。In the embodiment of the present application, each first control in the above at least one first control corresponds to a first editing area, and each first control is used to display all text content in a first editing area.
可选地,本申请实施例中,电子设备响应于第一输入,可以获取第一界面中的至少一个第一编辑区域的位置信息,并根据该至少一个第一编辑区域的位置信息,显示至少一个第一控件。Optionally, in this embodiment of the present application, in response to the first input, the electronic device may obtain the location information of the at least one first editing area in the first interface, and display at least A first control.
可选地,本申请实施例中,针对至少一个第一控件中的每个第一控件,电子设备可以在一个第一编辑区域的显示位置相邻的位置悬浮显示一个第一控件,以显示至少一个第一控件。Optionally, in this embodiment of the present application, for each first control in the at least one first control, the electronic device may float and display one first control at a position adjacent to the display position of a first editing area to display at least A first control.
示例性地,结合图2中的(B),如图3所示,在用户对该控件17进行第四子输 入之后,手机可以在界面10中显示至少一个第一控件(例如控件18、控件19、控件20、控件21、控件22和控件23),该控件18用于显示区域11中的所有文本内容,该控件19用于显示区域12中的所有文本内容,该控件20用于显示区域13中的所有文本内容,该控件21用于显示区域14中的所有文本内容,该控件22用于显示区域15中的所有文本内容,该控件23用于显示区域16中的所有文本内容。Exemplarily, in conjunction with (B) in FIG. 2, as shown in FIG. 3, after the user performs the fourth sub-input to the control 17, the mobile phone may display at least one first control (for example, control 18, control 19. Control 20, control 21, control 22, and control 23), the control 18 is used to display all the text content in the area 11, the control 19 is used to display all the text content in the area 12, and the control 20 is used to display the area 13, the control 21 is used to display all the text content in the area 14, the control 22 is used to display all the text content in the area 15, and the control 23 is used to display all the text content in the area 16.
步骤103、电子设备接收用户针对至少一个第一控件中的目标控件的第二输入。Step 103: The electronic device receives a second input from the user for the target control in the at least one first control.
本申请实施例中,上述目标控件与至少一个第一编辑区域中的目标编辑区域对应,该目标编辑区域中包括待显示的文本内容。In the embodiment of the present application, the above-mentioned target control corresponds to a target editing area in at least one first editing area, and the target editing area includes text content to be displayed.
可选地,本申请实施例中,上述第二输入可以包括一个输入或多个输入。Optionally, in this embodiment of the present application, the above-mentioned second input may include one input or multiple inputs.
可选地,本申请实施例中,上述第二输入具体可以为用户对目标控件的输入(例如点击输入)。Optionally, in this embodiment of the present application, the above-mentioned second input may specifically be a user's input to a target control (for example, a click input).
可选地,本申请实施例中,上述第二输入可以包括第一子输入和第二子输入,该第一子输入为用户对目标控件的输入(例如点击输入),该第一子输入用于触发电子设备显示截屏控件(例如下述实施例中的第二控件),该第二子输入为用户对该截屏控件的输入(例如点击输入)。Optionally, in this embodiment of the present application, the above-mentioned second input may include a first sub-input and a second sub-input. When the electronic device is triggered to display a screenshot control (for example, the second control in the following embodiment), the second sub-input is the user's input to the screenshot control (for example, click input).
需要说明的是,上述“目标编辑区域中包括待显示的文本内容”可以理解为:该目标编辑区域中包括的、且未显示在第一界面中的文本内容,即该目标编辑区域中包括的所有文本内容中,未完全显示的文本内容。It should be noted that the above “the target editing area includes the text content to be displayed” can be understood as: the text content included in the target editing area and not displayed in the first interface, that is, the text content included in the target editing area Among all the text content, the text content that is not fully displayed.
步骤104、电子设备响应于第二输入,显示目标编辑区域中的所有文本内容,并对第一界面进行截屏,得到目标截屏图片。Step 104: In response to the second input, the electronic device displays all text content in the target editing area, and takes a screenshot of the first interface to obtain the target screenshot picture.
本申请实施例中,上述目标截屏图片中至少包括目标编辑区域中的所有文本内容。In the embodiment of the present application, the above-mentioned target screenshot picture includes at least all text content in the target editing area.
可选地,本申请实施例中,电子设备响应于第二输入,可以检测目标编辑区域中的所有文本内容的字符数,并在该字符数大于或等于预设阈值的情况下,显示目标编辑区域中的所有文本内容,并对第一界面进行截屏。Optionally, in this embodiment of the present application, in response to the second input, the electronic device can detect the number of characters of all text content in the target editing area, and if the number of characters is greater than or equal to a preset threshold, display the target editing All text content in the area, and take a screenshot of the first interface.
可以理解,若目标编辑区域中的所有文本内容的字符数大于或等于预设阈值,则可以认为该目标编辑区域中包括待显示的文本内容,从而电子设备可以显示目标编辑区域中的所有文本内容,并对第一界面进行截屏。It can be understood that if the number of characters in all text content in the target editing area is greater than or equal to the preset threshold, it can be considered that the target editing area includes the text content to be displayed, so that the electronic device can display all the text content in the target editing area , And take a screenshot of the first interface.
可选地,本申请实施例中,电子设备可以展开显示目标编辑区域中的所有文本内容,以在第一界面中完全显示该目标编辑区域中的文本内容。Optionally, in this embodiment of the present application, the electronic device may expand and display all text content in the target editing area, so as to completely display the text content in the target editing area in the first interface.
可选地,本申请实施例中,电子设备可以根据目标编辑区域中的文本内容的字符数,调整(或改变)该目标编辑区域的尺寸,以使得电子设备可以显示目标编辑区域中的所有文本内容。Optionally, in the embodiment of the present application, the electronic device can adjust (or change) the size of the target editing area according to the number of characters of the text content in the target editing area, so that the electronic device can display all the text in the target editing area content.
示例性地,结合图3,如图4所示,用户可以对目标控件(例如控件23)进行第二输入,以使得手机可以显示区域16中的所有文本内容,并对界面10进行截屏。Exemplarily, in conjunction with FIG. 3, as shown in FIG. 4, the user can perform a second input to the target control (for example, control 23 ), so that the mobile phone can display all the text content in the area 16 and take a screenshot of the interface 10.
可选地,本申请实施例中,电子设备可以删除第一界面中的至少一个第一控件,并对第一界面进行截屏,得到目标截屏图片;或者,电子设备可以将至少一个第一控件的透明度值调整为第一透明度值(例如100%),并对第一界面进行截屏,得到目标截屏图片。Optionally, in this embodiment of the present application, the electronic device may delete at least one first control in the first interface, and take a screenshot of the first interface to obtain the target screenshot picture; or, the electronic device may delete the at least one first control The transparency value is adjusted to the first transparency value (for example, 100%), and a screenshot of the first interface is taken to obtain the target screenshot picture.
可选地,本申请实施例中,电子设备可以对第一界面直接进行截屏,得到目标截 屏图片,或者,电子设备可以采用预设截屏方式(例如下述实施例中的连续截屏方式)对第一界面进行截屏,得到目标截屏图片。Optionally, in this embodiment of the present application, the electronic device may directly take a screenshot of the first interface to obtain the target screenshot picture, or the electronic device may use a preset screenshot method (for example, the continuous screenshot method in the following embodiment) Take a screenshot on one interface and get the target screenshot picture.
本申请实施例中,若用户需求对第一界面中的目标编辑区域中的所有文本内容进行备份,则用户可以在电子设备显示第一界面的情况下,对电子设备进行第一输入,以使得电子设备可以在第一界面中显示至少一个第一控件,然后用户可以对该至少一个第一控件中的目标控件进行输入,以使得电子设备可以显示该目标控件对应的目标编辑区域中的所有文本内容,并对包括该所有文本内容的第一界面进行截屏,得到目标截屏图片,以对目标编辑区域中的所有文本内容进行备份。In the embodiment of the present application, if the user needs to back up all the text content in the target editing area in the first interface, the user can perform the first input to the electronic device when the first interface is displayed on the electronic device, so that The electronic device can display at least one first control in the first interface, and then the user can input the target control in the at least one first control, so that the electronic device can display all text in the target editing area corresponding to the target control Content, and take a screenshot of the first interface including all the text content to obtain the target screenshot picture, so as to back up all the text content in the target editing area.
可选地,本申请实施例中,结合图1,如图5所示,在上述步骤104中的“显示目标编辑区域中的所有文本内容”之前,本申请实施例提供的截屏方法还包括下述的步骤201,并且上述步骤104具体可以通过下述步骤104a和步骤104b实现。Optionally, in the embodiment of the present application, in conjunction with FIG. 1, as shown in FIG. 5, before "display all text content in the target editing area" in step 104, the screenshot method provided in the embodiment of the present application further includes the following The above-mentioned step 201 and the above-mentioned step 104 can be specifically implemented by the following steps 104a and 104b.
步骤201、电子设备响应于第二输入,获取目标编辑区域中的文本内容的字符数。Step 201: In response to the second input, the electronic device obtains the number of characters of the text content in the target editing area.
可选地,本申请实施例中,电子设备响应于第二输入,可以采用预设标记方式标记目标控件,并获取目标编辑区域中的文本内容的字符数。Optionally, in this embodiment of the present application, in response to the second input, the electronic device may use a preset marking method to mark the target control, and obtain the number of characters of the text content in the target editing area.
可选地,本申请实施例中,上述预设标记方式可以包括以下任一项:虚线框标记方式、高亮标记方式、彩色标记方式、灰度标记方式、以预设透明度标记方式以及闪烁标记方式等。Optionally, in the embodiment of the present application, the aforementioned preset marking method may include any one of the following: dashed frame marking method, highlight marking method, color marking method, gray-scale marking method, marking method with preset transparency, and flashing marking Way etc.
步骤104a、电子设备根据字符数,调整目标编辑区域的尺寸。 Step 104a: The electronic device adjusts the size of the target editing area according to the number of characters.
可选地,本申请实施例中,电子设备可以获取文本内容(即目标编辑区域中的文本内容)中的字符的尺寸,以根据该字符的尺寸和字符数,确定该目标编辑区域中的所有文本内容的尺寸,以根据该目标编辑区域中的所有文本内容的尺寸,调整目标编辑区域的尺寸。Optionally, in the embodiment of the present application, the electronic device may obtain the size of the character in the text content (that is, the text content in the target editing area), so as to determine all the characters in the target editing area according to the size and the number of characters. The size of the text content is to adjust the size of the target editing area according to the size of all the text content in the target editing area.
可选地,本申请实施例中,电子设备可以将目标编辑区域中的所有文本内容的尺寸,确定为目标编辑区域的尺寸,并将目标编辑区域的初始尺寸调整为确定的目标编辑区域的尺寸。Optionally, in this embodiment of the application, the electronic device may determine the size of all text content in the target editing area as the size of the target editing area, and adjust the initial size of the target editing area to the determined size of the target editing area .
步骤104b、电子设备在调整后的目标编辑区域中显示所有文本内容。 Step 104b: The electronic device displays all text content in the adjusted target editing area.
可选地,本申请实施例中,电子设备可以调整第一界面当前显示的内容所属的页面(例如下述实施例中的第一页面)的尺寸,以在该页面中完全显示第一界面当前显示的内容。Optionally, in this embodiment of the application, the electronic device may adjust the size of the page to which the content currently displayed on the first interface belongs (for example, the first page in the following embodiments), so as to completely display the current content of the first interface on the page. The content displayed.
可选地,本申请实施例中,电子设备可以调整第一界面当前显示的内容所属的页面在第一方向上的尺寸,以调整该页面的尺寸,该第一方向具体可以为电子设备的显示屏的一条边缘线(例如上边缘线)至不相邻的另一条边缘线(例如下边缘线)的方向。Optionally, in this embodiment of the present application, the electronic device may adjust the size in the first direction of the page to which the content currently displayed on the first interface belongs to adjust the size of the page. The first direction may specifically be the display of the electronic device. The direction from one edge line (for example, the upper edge line) of the screen to another edge line (for example, the lower edge line) that is not adjacent.
可选地,本申请实施例中,若调整后的页面(即第一界面当前显示的内容所属的页面)的尺寸小于或等于第一界面的尺寸,则电子设备可以直接对第一界面进行截屏;若调整后的页面的尺寸大于第一界面的尺寸,则电子设备可以采用预设截屏方式对第一界面进行截屏。Optionally, in the embodiment of the present application, if the size of the adjusted page (that is, the page to which the content currently displayed on the first interface belongs) is less than or equal to the size of the first interface, the electronic device can directly take a screenshot of the first interface ; If the size of the adjusted page is greater than the size of the first interface, the electronic device can take a screenshot of the first interface in a preset screenshot manner.
本申请实施例中,电子设备可以获取目标编辑区域中的所有文本内容的字符数,并根据该字符数,调整该目标编辑区域的尺寸,以使得该目标编辑区域的尺寸可以适 应该所有文本内容的尺寸(即目标编辑区域的尺寸与所有文本内容的尺寸相匹配),如此可以避免目标编辑区域过大(即目标编辑区域的尺寸大于所有文本内容的尺寸)而导致显示区域的浪费,以减少调整后的页面的尺寸。In the embodiment of the present application, the electronic device can obtain the number of characters of all text content in the target editing area, and adjust the size of the target editing area according to the number of characters, so that the size of the target editing area can adapt to all the text content The size of the target editing area (that is, the size of the target editing area matches the size of all text content), so that it can avoid the target editing area from being too large (that is, the size of the target editing area is larger than the size of all text content), resulting in waste of the display area, so as to reduce The size of the adjusted page.
本申请实施例提供一种截屏方法,在显示第一界面的情况下,电子设备可以根据用户的第一输入,在该第一界面中显示至少一个第一控件,并根据用户针对该至少一个第一控件中的目标控件的第二输入,显示该目标控件对应的目标编辑区域中的所有文本内容,并对该第一界面进行截屏,得到目标截屏图片。由于用户可以通过在第一界面中进行输入,以使得电子设备可以显示至少一个第一控件,从而用户可以直接对该至少一个第一控件中的目标控件进行输入,以使得电子设备可以显示目标编辑区域中的所有文本内容,而无需用户将某个编辑框中的所有文本内容复制粘贴至记事本应用程序中,以使得电子设备显示该编辑框中的文本内容的全部内容,因此可以提升电子设备对编辑框中的文本内容进行截屏的便捷性。The embodiment of the present application provides a screenshot method. In the case of displaying the first interface, the electronic device can display at least one first control in the first interface according to the first input of the user, and according to the user’s response to the at least one first interface. The second input of the target control in a control displays all the text content in the target editing area corresponding to the target control, and takes a screenshot of the first interface to obtain the target screenshot picture. Since the user can input in the first interface so that the electronic device can display the at least one first control, the user can directly input the target control in the at least one first control, so that the electronic device can display the target edit All the text content in the area, without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box, so the electronic device can be improved The convenience of taking screenshots of the text in the edit box.
可选地,本申请实施例中,上述第二输入包括第一子输入和第二子输入。具体的,结合图1,如图6所示,上述步骤104具体可以通过下述步骤104c和步骤104d实现。Optionally, in this embodiment of the present application, the above-mentioned second input includes a first sub-input and a second sub-input. Specifically, with reference to FIG. 1, as shown in FIG. 6, the above-mentioned step 104 may be specifically implemented by the following steps 104c and 104d.
步骤104c、电子设备响应于对目标控件的第一子输入,显示目标编辑区域中的所有文本内容,并在第一界面中显示第二控件。 Step 104c: In response to the first sub-input to the target control, the electronic device displays all text content in the target editing area, and displays the second control in the first interface.
本申请实施例中,上述第一子输入为用户对目标控件的输入,该第二控件用于对第一界面进行截屏。In the embodiment of the present application, the above-mentioned first sub-input is the user's input to the target control, and the second control is used to take a screenshot of the first interface.
需要说明的是,针对电子设备显示目标编辑区域中的所有文本内容的说明,可以参见上述实施例的具体描述,本申请实施例在此不予赘述。It should be noted that, for the description of all text content in the target editing area displayed by the electronic device, reference may be made to the specific description of the above-mentioned embodiment, and the embodiment of the present application will not be repeated here.
可选地,本申请实施例中,电子设备可以在第一界面中的其他区域悬浮显示第二控件,该其他区域为第一界面中的除至少一个第一编辑区域所在区域外的区域。Optionally, in this embodiment of the present application, the electronic device may display the second control floating in another area of the first interface, and the other area is an area of the first interface other than the area where the at least one first editing area is located.
可选地,本申请实施例中,电子设备响应于第一子输入,可以在第一界面中显示第二控件和第四控件,该第四控件用于显示第一界面当前显示的内容所属的页面(例如调整目标编辑区域的尺寸后的页面)。Optionally, in this embodiment of the present application, in response to the first sub-input, the electronic device may display the second control and the fourth control in the first interface, and the fourth control is used to display the content currently displayed on the first interface belongs to Page (for example, the page after adjusting the size of the target editing area).
示例性地,结合图3,如图7所示,用户可以对控件23进行第一子输入,以使得手机可以显示区域16中的所有文本内容,并在界面10中显示第二控件(例如控件24)和第四控件(例如控件25),该控件24用于对界面10进行截屏,该控件25用于显示界面10当前显示的内容所属的页面。Exemplarily, in conjunction with FIG. 3, as shown in FIG. 7, the user can make a first sub-input to the control 23, so that the mobile phone can display all the text content in the area 16, and display the second control (such as control 24) and a fourth control (for example, control 25), the control 24 is used to take a screenshot of the interface 10, and the control 25 is used to display the page to which the content currently displayed on the interface 10 belongs.
可选地,本申请实施例中,在用户对第四控件进行输入之后,电子设备可以将至少一个第一控件的透明度值调整为第一透明度值,并显示第一界面当前显示的内容所属的页面,从而用户可以在该页面中进行输入(例如上滑输入或下滑输入),以预览该页面中显示的内容。Optionally, in this embodiment of the present application, after the user inputs the fourth control, the electronic device may adjust the transparency value of at least one first control to the first transparency value, and display the content currently displayed on the first interface belongs to Page, so that the user can input on the page (for example, slide up input or slide down input) to preview the content displayed on the page.
步骤104d、电子设备响应于对目标控件的第二子输入,对第一界面进行截屏。 Step 104d: In response to the second sub-input to the target control, the electronic device takes a screenshot of the first interface.
本申请实施例中,上述第二子输入为用户对第二控件的输入。In the embodiment of the present application, the above-mentioned second sub-input is the user's input to the second control.
本申请实施例中,若用户需求电子设备显示目标编辑区域中的所有文本内容,则用户可以先对至少一个第一控件中的目标控件进行第一子输入,以使得电子设备可以显示该目标编辑区域中的所有文本内容,并显示第二控件,从而用户可以在确定显示的所有文本内容为用户所需求的文本内容的情况下,对第二控件进行输入。In the embodiment of the present application, if the user requires the electronic device to display all the text content in the target edit area, the user can first perform a first sub-input to the target control in at least one first control, so that the electronic device can display the target edit All text content in the area, and the second control is displayed, so that the user can input the second control when it is determined that all the displayed text content is the text content required by the user.
本申请实施例中,由于电子设备可以根据用户的第一子输入,显示目标编辑区域中的所有文本内容和第二控件,并根据用户的第二子输入才对第一界面进行截屏,如此可以避免因为用户误输入而触发电子设备进行截屏,以提升电子设备对编辑区域截屏的准确性。In the embodiment of the present application, since the electronic device can display all the text content and the second control in the target editing area according to the user's first sub-input, and only take a screenshot of the first interface according to the user's second sub-input, so Avoid triggering the electronic device to take screenshots due to user misinput, so as to improve the accuracy of the electronic device's screenshots of the editing area.
可选地,本申请实施例中,结合图1,如图8所示,上述步骤104具体可以通过下述的步骤104e实现。Optionally, in the embodiment of the present application, in conjunction with FIG. 1, as shown in FIG. 8, the above step 104 may be specifically implemented by the following step 104e.
步骤104e、电子设备响应于第二输入,显示目标编辑区域中的所有文本内容,并采用连续截屏方式,对第一界面进行截屏,得到目标截屏图片。 Step 104e: In response to the second input, the electronic device displays all the text content in the target editing area, and adopts a continuous screenshot mode to screenshot the first interface to obtain the target screenshot picture.
本申请实施例中,上述连续截屏方式用于对第一页面进行截屏,该第一页面为第一界面所显示的包括目标编辑区域中的所有文本内容的页面,该目标截屏图片中包括第一页面中的所有内容。In the embodiment of the present application, the above-mentioned continuous screenshot method is used to take a screenshot of the first page. The first page is the page displayed on the first interface and includes all text content in the target editing area. Everything on the page.
需要说明的是,上述“连续截屏方式”可以理解为:电子设备可以对界面显示的内容所属的页面的多个截屏区域分别进行截屏,并对截屏得到的多张截屏图片进行合成处理,得到一张截屏图片的方式。It should be noted that the above "continuous screenshot mode" can be understood as: the electronic device can take screenshots of multiple screenshot areas of the page to which the content displayed on the interface belongs, and synthesize the multiple screenshots obtained from the screenshots to obtain one The way to take screenshots.
可以理解,电子设备在第一界面中显示目标编辑区域中的所有文本内容之后,第一页面尺寸可能大于第一界面的尺寸,从而电子设备可以采用连续截屏方式,对该第一页面进行截屏,得到包括该第一页面中的所有内容的目标截屏图片。It can be understood that after the electronic device displays all the text content in the target editing area in the first interface, the size of the first page may be larger than the size of the first interface, so the electronic device can take a screenshot of the first page in a continuous screenshot mode. Obtain the target screenshot image including all the content in the first page.
本申请实施例中,电子设备可以采用连续截屏方式,对第一界面进行截屏,得到包括第一页面中的所有内容的目标截屏图片,从而用户可以对该所有内容进行备份,而无需进行多次截屏,如此可以简化用户对所有内容进行备份的操作且节省耗时。In the embodiment of this application, the electronic device can take a continuous screenshot method to take a screenshot of the first interface to obtain a target screenshot picture including all the content in the first page, so that the user can back up all the content without having to perform multiple times Take screenshots, which can simplify the user's operation of backing up all content and save time.
可选地,本申请实施例中,上述步骤104e具体可以通过下述的步骤104f或步骤104g实现。Optionally, in this embodiment of the present application, the foregoing step 104e may be specifically implemented by the following step 104f or step 104g.
步骤104f、电子设备响应于第二输入,显示目标编辑区域中的所有文本内容,并在全部截取完第一页面的每个截屏区域的内容之后,将生成的所有子截屏图片进行合成处理,得到目标截屏图片。Step 104f: In response to the second input, the electronic device displays all the text content in the target editing area, and after all the content of each screenshot area of the first page is intercepted, all the generated sub-screenshot pictures are synthesized to obtain Screenshot of the target.
本申请实施例中,上述第一页面的每张子截屏图片分别对应一个截屏区域的内容。In the embodiment of the present application, each sub-screenshot picture on the first page described above corresponds to the content of a screenshot area.
可以理解,电子设备响应于第二输入,可以对第一页面的至少一个截屏区域中的每个截屏区域分别进行一次截屏,以截取该每个截屏区域的内容,以生成至少一个子截屏图片。It can be understood that, in response to the second input, the electronic device may take a screenshot of each of the at least one screenshot area of the first page to capture the content of each screenshot area to generate at least one sub-screenshot picture.
可选地,本申请实施例中,电子设备在全部截取完第一页面的每个截屏区域的内容之后,可以采用图像拼接算法,对生成的所有子截屏图片进行图像拼接处理,得到目标截屏图片。Optionally, in the embodiment of the present application, after the electronic device has completely captured the content of each screenshot area of the first page, it may use an image stitching algorithm to perform image stitching processing on all the generated sub-screenshot pictures to obtain the target screenshot picture .
需要说明的是,针对图像拼接算法的说明,可以参考现有技术中的具体描述,本申请实施例在此不予赘述。It should be noted that, for the description of the image stitching algorithm, reference may be made to the specific description in the prior art, and the description of the embodiment of the present application will not be repeated here.
本申请实施例中,电子设备可以对生成的所有子截屏图片进行合成处理,得到用户所需求的目标截屏图片,而无需进行多次截屏,如此可以简化用户对所有内容进行备份的操作且节省耗时。In the embodiment of the present application, the electronic device can synthesize all the generated sub-screenshot pictures to obtain the target screenshot picture required by the user without taking multiple screenshots, which can simplify the user's operation of backing up all content and save consumption. Time.
步骤104g、电子设备响应于第二输入,显示目标编辑区域中的所有文本内容,并在截取完第一页面的第i+1个截屏区域的内容之后,将生成的第i+1张子截屏图片与 第i张子截屏图片进行合成处理,得到目标截屏图片。Step 104g: In response to the second input, the electronic device displays all the text content in the target editing area, and after capturing the content of the i+1th screenshot area of the first page, the generated i+1th sub-screenshot The picture is synthesized with the i-th sub-screenshot picture to obtain the target screenshot picture.
本申请实施例中,上述第i张子截屏图片为电子设备截取第一页面的第i个截屏区域的内容之后生成的子截屏图片,i为大于或等于1的正整数。In the embodiment of the present application, the i-th sub-screenshot picture is a sub-screenshot picture generated after the electronic device captures the content of the i-th screenshot area of the first page, and i is a positive integer greater than or equal to 1.
本申请实施例中,上述第一页面的每张子截屏图片分别对应一个截屏区域的内容。In the embodiment of the present application, each sub-screenshot picture on the first page described above corresponds to the content of a screenshot area.
可以理解,电子设备响应于第二输入,可以对第一页面的至少一个截屏区域中的每个截屏区域分别进行一次截屏,以截取该每个截屏区域的内容,以生成至少一个子截屏图片。It can be understood that, in response to the second input, the electronic device may take a screenshot of each of the at least one screenshot area of the first page to capture the content of each screenshot area to generate at least one sub-screenshot picture.
可选地,本申请实施例中,电子设备可以先对第一页面的一个截屏区域的内容进行第一次截取,以生成第一张子截屏图片,然后电子设备可以对第一页面的另一个截屏区域的内容进行第二次截取,以生成第二张子截屏图片,并将该第二张子截屏图片与之前相邻的一张子截屏图片(即第一张子截屏图片)进行合成处理,从而电子设备可以对第一页面的又一个截屏区域的内容进行第三次截取,以生成第三张子截屏图片,并将该第三张子截屏图片与之前相邻的一张子截屏图片(即第二张子截屏图片)进行合成处理,以此类推,直至电子设备对第一页面的最后一个截屏区域的内容进行最后一次截取,并将该最后一张子截屏图片与之前相邻的一张子截屏图片进行合成处理,得到目标截屏图片。Optionally, in this embodiment of the present application, the electronic device may first capture the content of a screenshot area of the first page to generate the first sub-screenshot image, and then the electronic device may capture another screenshot of the first page. The content in the screenshot area is captured a second time to generate a second sub-screenshot image, and the second sub-screenshot image is combined with the previous adjacent sub-screenshot image (ie, the first sub-screenshot image). , So that the electronic device can take a third screenshot of the content of another screenshot area of the first page to generate a third sub-screen-shot picture, and combine the third sub-screen-shot picture with the previous adjacent sub-screen-shot picture (I.e. the second sub-screenshot picture) for synthesis, and so on, until the electronic device takes the last screenshot of the content in the last screenshot area of the first page, and combines the last sub-screenshot picture with the previous adjacent one A sub-screenshot image is synthesized and processed to obtain the target screenshot image.
本申请实施例中,电子设备可以依次将生成的每张子截屏图片与之前相邻的一张子截屏图片进行合成处理,得到用户所需求的目标截屏图片,而无需进行多次截屏,如此可以简化用户对所有内容进行备份的操作且节省耗时。In the embodiment of the present application, the electronic device can sequentially synthesize each generated sub-screenshot picture with the previous adjacent sub-screenshot picture to obtain the target screenshot picture required by the user without taking multiple screenshots. Simplify the user's operation of backing up all content and save time.
需要说明的是,本申请实施例提供的截屏方法,执行主体可以为截屏装置,或者该截屏装置中的用于执行加载截屏方法的控制模块。本申请实施例中以截屏装置执行加载截屏方法为例,说明本申请实施例提供的截屏方法。It should be noted that the execution subject of the screenshot method provided by the embodiment of the present application may be a screenshot device, or a control module in the screenshot device for executing the method of loading the screenshot. In the embodiment of the present application, the method for loading screenshots executed by the screenshot device is taken as an example to illustrate the screenshot method provided by the embodiments of the present application.
图9示出了本发明实施例中涉及的截屏装置的一种可能的结构示意图。如图9所示,截屏装置60可以包括:接收模块61、显示模块62和截屏模块63。FIG. 9 shows a schematic diagram of a possible structure of a screenshot device involved in an embodiment of the present invention. As shown in FIG. 9, the screenshot device 60 may include: a receiving module 61, a display module 62 and a screenshot module 63.
其中,接收模块61,用于在显示第一界面的情况下,接收用户的第一输入,该第一界面中包括至少一个第一编辑区域,该至少一个第一编辑区域中均包括文本内容。显示模块62,用于响应于接收模块61接收的第一输入,在第一界面中显示至少一个第一控件,每个第一控件分别对应一个第一编辑区域,该每个第一控件分别用于显示一个第一编辑区域中的所有文本内容。接收模块61,还用于接收用户针对至少一个第一控件中的目标控件的第二输入,该目标控件与至少一个第一编辑区域中的目标编辑区域对应,该目标编辑区域中包括待显示的文本内容。显示模块62,还用于响应于接收模块61接收的第二输入,显示目标编辑区域中的所有文本内容。截屏模块63,用于对第一界面进行截屏,得到目标截屏图片,该目标截屏图片中至少包括目标编辑区域中的所有文本内容。The receiving module 61 is configured to receive a user's first input when the first interface is displayed. The first interface includes at least one first editing area, and the at least one first editing area includes text content. The display module 62 is configured to display at least one first control in the first interface in response to the first input received by the receiving module 61, and each first control corresponds to a first editing area, and each first control is used separately To display all the text content in a first editing area. The receiving module 61 is further configured to receive a second input from the user on the target control in the at least one first control, the target control corresponding to the target editing area in the at least one first editing area, and the target editing area includes the to-be-displayed Text content. The display module 62 is further configured to display all text content in the target editing area in response to the second input received by the receiving module 61. The screenshot module 63 is configured to take a screenshot of the first interface to obtain a target screenshot picture, and the target screenshot picture includes at least all text content in the target editing area.
在一种可能的实现方式中,本申请提供的截屏装置60还可以包括:获取模块和调整模块。其中,获取模块,用于在显示模块62显示目标编辑区域中的所有文本内容之前,获取目标编辑区域中的文本内容的字符数。调整模块,用于根据获取模块获取的字符数,调整目标编辑区域的尺寸。上述显示模块62,具体用于在调整模块调整后的目标编辑区域中显示所有文本内容。In a possible implementation manner, the screenshot device 60 provided in this application may further include: an acquisition module and an adjustment module. The acquiring module is used to acquire the number of characters of the text content in the target editing area before the display module 62 displays all the text content in the target editing area. The adjustment module is used to adjust the size of the target editing area according to the number of characters obtained by the obtaining module. The above-mentioned display module 62 is specifically configured to display all text content in the target editing area adjusted by the adjustment module.
在一种可能的实现方式中,上述第二输入包括第一子输入和第二子输入。上述显示模块62,具体用于响应于对目标控件的第一子输入,显示目标编辑区域中的所有文本内容,并在第一界面中显示第二控件。上述截屏模块63,具体用于响应于对目标控件的第二子输入,对第一界面进行截屏。In a possible implementation manner, the foregoing second input includes a first sub-input and a second sub-input. The above-mentioned display module 62 is specifically configured to display all text content in the target editing area in response to the first sub-input to the target control, and display the second control in the first interface. The aforementioned screenshot module 63 is specifically configured to take a screenshot of the first interface in response to the second sub-input to the target control.
在一种可能的实现方式中,上述截屏模块63,具体用于采用连续截屏方式,对第一界面进行截屏,得到目标截屏图片,该连续截屏方式用于对第一页面进行截屏,该第一页面为第一界面所显示的包括目标编辑区域中的所有文本内容的页面,该目标截屏图片中包括第一页面中的所有内容。In a possible implementation manner, the aforementioned screenshot module 63 is specifically configured to take a screenshot of the first interface in a continuous screenshot manner to obtain a target screenshot picture. The continuous screenshot method is used to screenshot the first page. The page is a page displayed on the first interface that includes all the text content in the target editing area, and the target screenshot picture includes all the content in the first page.
在一种可能的实现方式中,上述截屏模块63,具体用于在全部截取完页面的每个截屏区域的内容之后,将生成的所有子截屏图片进行合成处理,得到目标截屏图片;或者,在截取完第一页面的第i+1个截屏区域的内容之后,将生成的第i+1张子截屏图片与第i张子截屏图片进行合成处理,得到目标截屏图片,该第i张子截屏图片为截取第一页面的第i个截屏区域的内容之后生成的子截屏图片,i为大于或等于1的正整数。其中,每张子截屏图片分别对应一个截屏区域的内容。In a possible implementation manner, the above-mentioned screenshot module 63 is specifically configured to, after all the content of each screenshot area of the page is completely captured, synthesize all the generated sub-screenshot pictures to obtain the target screenshot image; or, After capturing the content of the i+1th screenshot area of the first page, synthesize the generated i+1th sub-screenshot image with the i-th sub-screenshot image to obtain the target screenshot image, the i-th sub-screenshot The picture is a sub-screenshot image generated after the content of the i-th screenshot area of the first page is captured, and i is a positive integer greater than or equal to 1. Among them, each sub-screenshot picture corresponds to the content of a screenshot area.
本申请实施例中的截屏装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性地,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The screen capture device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
本申请实施例中的截屏装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The screen capture device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的截屏装置能够实现图1至图8的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The screen capture device provided by the embodiment of the present application can implement the various processes implemented by the electronic device in the method embodiments of FIG. 1 to FIG. 8. In order to avoid repetition, details are not described herein again.
本申请实施例中,由于用户可以通过在第一界面中进行输入,以使得电子设备可以显示至少一个第一控件,从而用户可以直接对该至少一个第一控件中的目标控件进行输入,以使得电子设备可以显示目标编辑区域中的所有文本内容,而无需用户将某个编辑框中的所有文本内容复制粘贴至记事本应用程序中,以使得电子设备显示该编辑框中的文本内容的全部内容,因此可以提升电子设备对编辑框中的文本内容进行截屏的便捷性。In the embodiment of the present application, since the user can input in the first interface so that the electronic device can display at least one first control, the user can directly input the target control in the at least one first control, so that The electronic device can display all the text content in the target edit area without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box , So it can improve the convenience of electronic devices to take screenshots of the text content in the edit box.
可选地,本申请实施例还提供一种电子设备,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的程序或指令,该程序或指令被处理器1010执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor 1010, a memory 1009, a program or instruction stored in the memory 1009 and capable of running on the processor 1010, and the program or instruction is executed by the processor 1010. When 1010 is executed, each process of the above screenshot method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图10为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components. The power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions. The structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
其中,用户输入单元1007,用于在显示第一界面的情况下,接收用户的第一输入,该第一界面中包括至少一个第一编辑区域,该至少一个第一编辑区域中均包括文本内容。The user input unit 1007 is configured to receive a user's first input when the first interface is displayed. The first interface includes at least one first editing area, and the at least one first editing area includes text content. .
显示单元1006,用于响应于第一输入,在第一界面中显示至少一个第一控件,每个第一控件分别对应一个第一编辑区域,该每个第一控件分别用于显示一个第一编辑区域中的所有文本内容。The display unit 1006 is configured to display at least one first control in the first interface in response to the first input, and each first control corresponds to a first editing area, and each first control is used to display a first edit area. All text content in the edit area.
用户输入单元1007,还用于接收用户针对至少一个第一控件中的目标控件的第二输入,该目标控件与至少一个第一编辑区域中的目标编辑区域对应,该目标编辑区域中包括待显示的文本内容。The user input unit 1007 is further configured to receive a second input from the user on a target control in at least one first control, the target control corresponding to a target editing area in the at least one first editing area, and the target editing area includes the to-be-displayed The text content.
显示单元1006,还用于响应于第二输入,显示目标编辑区域中的所有文本内容。The display unit 1006 is further configured to display all text content in the target editing area in response to the second input.
处理器1010,用于对第一界面进行截屏,得到目标截屏图片,该目标截屏图片中至少包括目标编辑区域中的所有文本内容。The processor 1010 is configured to take a screenshot of the first interface to obtain a target screenshot picture, and the target screenshot picture includes at least all text content in the target editing area.
本申请实施例中,由于用户可以通过在第一界面中进行输入,以使得电子设备可以显示至少一个第一控件,从而用户可以直接对该至少一个第一控件中的目标控件进行输入,以使得电子设备可以显示目标编辑区域中的所有文本内容,而无需用户将某个编辑框中的所有文本内容复制粘贴至记事本应用程序中,以使得电子设备显示该编辑框中的文本内容的全部内容,因此可以提升电子设备对编辑框中的文本内容进行截屏的便捷性。In the embodiment of the present application, since the user can input in the first interface so that the electronic device can display at least one first control, the user can directly input the target control in the at least one first control, so that The electronic device can display all the text content in the target edit area without the user having to copy and paste all the text content in an edit box into the Notepad application, so that the electronic device can display the entire content of the text content in the edit box , So it can improve the convenience of electronic devices to take screenshots of the text content in the edit box.
可选地,处理器1010,还用于获取目标编辑区域中的文本内容的字符数,并根据该字符数,调整目标编辑区域的尺寸。Optionally, the processor 1010 is further configured to obtain the number of characters of the text content in the target editing area, and adjust the size of the target editing area according to the number of characters.
显示单元1006,具体用于在调整后的目标编辑区域中显示所有文本内容。The display unit 1006 is specifically configured to display all text content in the adjusted target editing area.
本申请实施例中,电子设备可以获取目标编辑区域中的所有文本内容的字符数,并根据该字符数,调整该目标编辑区域的尺寸,以使得该目标编辑区域的尺寸可以适应该所有文本内容的尺寸(即目标编辑区域的尺寸与所有文本内容的尺寸相匹配),如此可以避免目标编辑区域过大(即目标编辑区域的尺寸大于所有文本内容的尺寸)而导致显示区域的浪费,以减少调整后的页面的尺寸。In the embodiment of the present application, the electronic device can obtain the number of characters of all text content in the target editing area, and adjust the size of the target editing area according to the number of characters, so that the size of the target editing area can adapt to all the text content The size of the target editing area (that is, the size of the target editing area matches the size of all text content), so that it can avoid the target editing area from being too large (that is, the size of the target editing area is larger than the size of all text content), resulting in waste of the display area, so as to reduce The size of the adjusted page.
可选地,显示单元1006,具体用于响应于对目标控件的第一子输入,显示目标编辑区域中的所有文本内容,并在第一界面中显示第二控件。Optionally, the display unit 1006 is specifically configured to display all text content in the target editing area in response to the first sub-input to the target control, and display the second control in the first interface.
处理器1010,具体用于响应于对目标控件的第二子输入,对第一界面进行截屏。The processor 1010 is specifically configured to take a screenshot of the first interface in response to the second sub-input to the target control.
本申请实施例中,由于电子设备可以根据用户的第一子输入,显示目标编辑区域中的所有文本内容和第二控件,并根据用户的第二子输入才对第一界面进行截屏,如 此可以避免因为用户误输入而触发电子设备进行截屏,以提升电子设备对编辑区域截屏的准确性。In the embodiment of the present application, since the electronic device can display all the text content and the second control in the target editing area according to the user's first sub-input, and only take a screenshot of the first interface according to the user's second sub-input, so Avoid triggering the electronic device to take screenshots due to user misinput, so as to improve the accuracy of the electronic device's screenshots of the editing area.
可选地,处理器1010,具体用于采用连续截屏方式,对第一界面进行截屏,得到目标截屏图片,该连续截屏方式用于对第一页面进行截屏,该第一页面为第一界面所显示的包括目标编辑区域中的所有文本内容的页面,该目标截屏图片中包括第一页面中的所有内容。Optionally, the processor 1010 is specifically configured to take a screenshot of the first interface by adopting a continuous screenshot mode to obtain a target screenshot picture. The displayed page includes all the text content in the target editing area, and the target screenshot image includes all the content in the first page.
本申请实施例中,电子设备可以采用连续截屏方式,对第一界面进行截屏,得到包括页面(即第一界面当前显示的内容所属的页面)中的所有内容的目标截屏图片,从而用户可以对该所有内容进行备份,而无需进行多次截屏,如此可以简化用户对所有内容进行备份的操作且节省耗时。In the embodiment of the present application, the electronic device may adopt a continuous screen capture method to take a screenshot of the first interface to obtain a target screenshot including all the content in the page (that is, the page to which the content currently displayed on the first interface belongs), so that the user can view All the content is backed up without taking multiple screenshots, which can simplify the user's operation of backing up all the content and save time.
可选地,处理器1010,具体用于在全部截取完页面的每个截屏区域的内容之后,将生成的所有子截屏图片进行合成处理,得到目标截屏图片;或者,在截取完第一页面的第i+1个截屏区域的内容之后,将生成的第i+1张子截屏图片与第i张子截屏图片进行合成处理,得到目标截屏图片,该第i张子截屏图片为截取第一页面的第i个截屏区域的内容之后生成的子截屏图片,i为大于或等于1的正整数;其中,每张子截屏图片分别对应一个截屏区域的内容。Optionally, the processor 1010 is specifically configured to, after all the content of each screenshot area of the page is captured, synthesize all the generated sub-screenshot pictures to obtain the target screenshot image; or, after the first page is captured After the content of the i+1th screenshot area, synthesize the generated i+1th sub-screenshot picture with the i-th sub-screenshot picture to obtain the target screenshot picture, and the i-th sub-screenshot picture is the first page of the screenshot. The sub-screenshot pictures generated after the content of the i-th screenshot area, i is a positive integer greater than or equal to 1, where each sub-screenshot picture corresponds to the content of a screenshot area.
本申请实施例中,本申请实施例中,电子设备可以对生成的子截屏图片进行合成处理,得到用户所需求的目标截屏图片,而无需进行多次截屏,如此可以简化用户对所有内容进行备份的操作且节省耗时。In the embodiment of the application, in the embodiment of the application, the electronic device can synthesize the generated sub-screenshots to obtain the target screenshots required by the user without taking multiple screenshots, which can simplify the user to back up all content Operation and save time.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application also provide a readable storage medium with a program or instruction stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above screenshot method embodiment is realized, and the same The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The process, and can achieve the same technical effect, in order to avoid repetition, I will not repeat it here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. The functions are performed, for example, the described method may be performed in a different order from the described order, and various steps may also be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.
Claims (15)
- 一种截屏方法,所述方法包括:A screenshot method, the method includes:在显示第一界面的情况下,接收用户的第一输入,所述第一界面中包括至少一个第一编辑区域,所述至少一个第一编辑区域中均包括文本内容;Receiving a first input from a user when the first interface is displayed, the first interface includes at least one first editing area, and each of the at least one first editing area includes text content;响应于所述第一输入,在所述第一界面中显示至少一个第一控件,每个第一控件分别对应一个第一编辑区域,所述每个第一控件分别用于显示一个第一编辑区域中的所有文本内容;In response to the first input, at least one first control is displayed in the first interface, each first control corresponds to a first edit area, and each first control is used to display a first edit. All text content in the area;接收用户针对所述至少一个第一控件中的目标控件的第二输入,所述目标控件与所述至少一个第一编辑区域中的目标编辑区域对应,所述目标编辑区域中包括待显示的文本内容;Receive a second input from a user on a target control in the at least one first control, the target control corresponding to a target editing area in the at least one first editing area, and the target editing area includes text to be displayed content;响应于所述第二输入,显示所述目标编辑区域中的所有文本内容,并对所述第一界面进行截屏,得到目标截屏图片,所述目标截屏图片中至少包括所述目标编辑区域中的所有文本内容。In response to the second input, display all the text content in the target editing area, and take a screenshot of the first interface to obtain a target screenshot picture. The target screenshot picture includes at least the contents in the target editing area. All text content.
- 根据权利要求1所述的方法,其中,所述显示所述目标编辑区域中的所有文本内容之前,所述方法还包括:The method according to claim 1, wherein, before the displaying all the text content in the target editing area, the method further comprises:获取所述目标编辑区域中的文本内容的字符数;Acquiring the number of characters of the text content in the target editing area;所述显示所述目标编辑区域中的所有文本内容,包括:The displaying all text content in the target editing area includes:根据所述字符数,调整所述目标编辑区域的尺寸;Adjusting the size of the target editing area according to the number of characters;在调整后的所述目标编辑区域中显示所述所有文本内容。All the text content is displayed in the adjusted target editing area.
- 根据权利要求1或2所述的方法,其中,所述第二输入包括第一子输入和第二子输入;The method according to claim 1 or 2, wherein the second input includes a first sub-input and a second sub-input;所述响应于所述第二输入,显示所述目标编辑区域中的所有文本内容,并对所述第一界面进行截屏,包括:In response to the second input, displaying all text content in the target editing area and taking a screenshot of the first interface includes:响应于对所述目标控件的所述第一子输入,显示所述目标编辑区域中的所有文本内容,并在所述第一界面中显示第二控件;In response to the first sub-input to the target control, displaying all text content in the target editing area, and displaying a second control in the first interface;响应于对所述第二控件的所述第二子输入,对所述第一界面进行截屏。In response to the second sub-input to the second control, a screenshot of the first interface is taken.
- 根据权利要求1所述的方法,其中,所述对所述第一界面进行截屏,得到目标截屏图片,包括:The method according to claim 1, wherein said taking a screenshot of the first interface to obtain a target screenshot picture comprises:采用连续截屏方式,对所述第一界面进行截屏,得到目标截屏图片,所述连续截屏方式用于对第一页面进行截屏,所述第一页面为所述第一界面所显示的包括所述目标编辑区域中的所有文本内容的页面,所述目标截屏图片中包括所述第一页面中的所有内容。The continuous screenshot mode is adopted to take a screenshot of the first interface to obtain a target screenshot picture. The continuous screenshot mode is used to take a screenshot of the first page, and the first page is displayed on the first interface including the All text content pages in the target editing area, and the target screenshot picture includes all content in the first page.
- 根据权利要求4所述的方法,其中,所述采用连续截屏方式,对所述第一界面进行截屏,得到目标截屏图片,包括:The method according to claim 4, wherein the step of taking a screenshot of the first interface in a continuous screenshot mode to obtain a target screenshot picture comprises:在全部截取完所述第一页面的每个截屏区域的内容之后,将生成的所有子截屏图片进行合成处理,得到所述目标截屏图片;After all the content of each screenshot area of the first page is captured, all the generated sub-screenshot pictures are synthesized to obtain the target screenshot image;或者,or,在截取完所述第一页面的第i+1个截屏区域的内容之后,将生成的第i+1张子截屏图片与第i张子截屏图片进行合成处理,得到所述目标截屏图片,所述第i张子截屏 图片为截取所述第一页面的第i个截屏区域的内容之后生成的子截屏图片,i为大于或等于1的正整数;After the content of the i+1th screenshot area of the first page is captured, the generated i+1th sub-screenshot picture and the i-th sub-screenshot picture are synthesized to obtain the target screenshot picture, so The i-th sub-screenshot picture is a sub-screenshot picture generated after the content of the i-th screenshot area of the first page is captured, and i is a positive integer greater than or equal to 1;其中,每张子截屏图片分别对应一个截屏区域的内容。Among them, each sub-screenshot picture corresponds to the content of a screenshot area.
- 一种截屏装置,所述截屏装置包括:接收模块、显示模块和截屏模块;A screen capture device, the screen capture device includes: a receiving module, a display module, and a screen capture module;所述接收模块,用于在显示第一界面的情况下,接收用户的第一输入,所述第一界面中包括至少一个第一编辑区域,所述至少一个第一编辑区域中均包括文本内容;The receiving module is configured to receive a user's first input when a first interface is displayed, the first interface includes at least one first editing area, and each of the at least one first editing area includes text content ;所述显示模块,用于响应于所述接收模块接收的所述第一输入,在所述第一界面中显示至少一个第一控件,每个第一控件分别对应一个第一编辑区域,所述每个第一控件分别用于显示一个第一编辑区域中的所有文本内容;The display module is configured to display at least one first control in the first interface in response to the first input received by the receiving module, and each first control corresponds to a first editing area, and the Each first control is used to display all the text content in a first editing area;所述接收模块,还用于接收用户针对所述至少一个第一控件中的目标控件的第二输入,所述目标控件与所述至少一个第一编辑区域中的目标编辑区域对应,所述目标编辑区域中包括待显示的文本内容;The receiving module is further configured to receive a second input from a user on a target control in the at least one first control, the target control corresponding to the target editing area in the at least one first editing area, and the target The editing area includes the text content to be displayed;所述显示模块,还用于响应于所述接收模块接收的所述第二输入,显示所述目标编辑区域中的所有文本内容;The display module is further configured to display all text content in the target editing area in response to the second input received by the receiving module;所述截屏模块,用于对所述第一界面进行截屏,得到目标截屏图片,所述目标截屏图片中至少包括所述目标编辑区域中的所有文本内容。The screenshot module is configured to take a screenshot of the first interface to obtain a target screenshot picture, and the target screenshot picture includes at least all text content in the target editing area.
- 根据权利要求6所述的截屏装置,其中,所述截屏装置还包括:获取模块和调整模块;The screen capture device according to claim 6, wherein the screen capture device further comprises: an acquisition module and an adjustment module;所述获取模块,用于在所述显示模块显示所述目标编辑区域中的所有文本内容之前,获取所述目标编辑区域中的文本内容的字符数;The acquiring module is configured to acquire the number of characters of the text content in the target editing area before the display module displays all the text content in the target editing area;所述调整模块,用于根据所述获取模块获取的所述字符数,调整所述目标编辑区域的尺寸;The adjustment module is configured to adjust the size of the target editing area according to the number of characters obtained by the obtaining module;所述显示模块,具体用于在所述调整模块调整后的所述目标编辑区域中显示所述所有文本内容。The display module is specifically configured to display all the text content in the target editing area adjusted by the adjustment module.
- 根据权利要求6或7所述的截屏装置,其中,所述第二输入包括第一子输入和第二子输入;The screen capture device according to claim 6 or 7, wherein the second input includes a first sub-input and a second sub-input;所述显示模块,具体用于响应于对所述目标控件的所述第一子输入,显示所述目标编辑区域中的所有文本内容,并在所述第一界面中显示第二控件;The display module is specifically configured to display all text content in the target editing area in response to the first sub-input to the target control, and display a second control in the first interface;所述截屏模块,具体用于响应于对所述第二控件的所述第二子输入,对所述第一界面进行截屏。The screenshot module is specifically configured to take a screenshot of the first interface in response to the second sub-input to the second control.
- 根据权利要求6所述的截屏装置,其中,所述截屏模块,具体用于采用连续截屏方式,对所述第一界面进行截屏,得到目标截屏图片,所述连续截屏方式用于对第一页面进行截屏,所述第一页面为所述第一界面所显示的包括所述目标编辑区域中的所有文本内容的页面,所述目标截屏图片中包括所述第一页面中的所有内容。The screen capture device according to claim 6, wherein the screen capture module is specifically configured to take a screenshot of the first interface in a continuous screen capture mode to obtain a target screenshot picture, and the continuous screen capture mode is used to capture the first page Taking a screenshot, the first page is a page displayed on the first interface that includes all text content in the target editing area, and the target screenshot picture includes all content in the first page.
- 根据权利要求9所述的截屏装置,其中,所述截屏模块,具体用于在全部截取完所述第一页面的每个截屏区域的内容之后,将生成的所有子截屏图片进行合成处理,得到所述目标截屏图片;或者,在截取完所述第一页面的第i+1个截屏区域的内容之后,将生成的第i+1张子截屏图片与第i张子截屏图片进行合成处理,得到所述目标截屏图片,所述第i张子截屏图片为截取所述第一页面的第i个截屏区域的内容之 后生成的子截屏图片,i为大于或等于1的正整数;The screen capture device according to claim 9, wherein the screen capture module is specifically configured to, after all the content of each screen capture area of the first page has been captured, synthesize all the generated sub-screen capture pictures to obtain The target screenshot picture; or, after the content of the i+1th screenshot area of the first page is captured, the generated i+1th sub-screenshot picture and the i-th sub-screenshot picture are combined for processing, Obtain the target screenshot picture, the i-th sub-screen-shot picture is a sub-screen-shot picture generated after the content of the i-th screenshot area of the first page is captured, and i is a positive integer greater than or equal to 1;其中,每张子截屏图片分别对应一个截屏区域的内容。Among them, each sub-screenshot picture corresponds to the content of a screenshot area.
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5所述的截屏方法的步骤。An electronic device comprising a processor, a memory, and a program or instruction stored on the memory and capable of running on the processor, the program or instruction being executed by the processor implements claims 1 to 5 The steps of the screenshot method described.
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5所述的截屏方法的步骤。A readable storage medium storing a program or instruction on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the screenshot method according to claims 1 to 5 are realized.
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的截屏方法的步骤。A chip comprising a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the screenshot according to any one of claims 1 to 5 Method steps.
- 一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的截屏方法的步骤。A computer program product, the program product being stored in a non-volatile storage medium, the program product being executed by at least one processor to implement the steps of the screenshot method according to any one of claims 1 to 5 .
- 一种电子设备,所述电子设备被配置成用于执行如权利要求1至5中任一项所述的截屏方法的步骤。An electronic device configured to execute the steps of the screenshot method according to any one of claims 1 to 5.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010431049.8A CN111638839A (en) | 2020-05-20 | 2020-05-20 | Screen capturing method and device and electronic equipment |
CN202010431049.8 | 2020-05-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021233291A1 true WO2021233291A1 (en) | 2021-11-25 |
Family
ID=72329949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/094342 WO2021233291A1 (en) | 2020-05-20 | 2021-05-18 | Screen capture method and apparatus, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111638839A (en) |
WO (1) | WO2021233291A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114527898A (en) * | 2021-12-16 | 2022-05-24 | 维沃移动通信有限公司 | Split screen control method and device |
CN114546229A (en) * | 2022-01-14 | 2022-05-27 | 阿里巴巴(中国)有限公司 | Information processing method, screen capturing method and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111638839A (en) * | 2020-05-20 | 2020-09-08 | 维沃移动通信有限公司 | Screen capturing method and device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013130229A1 (en) * | 2012-02-27 | 2013-09-06 | Capital Intellect, Inc. | System and method for presenting input suggestions in input fields of a specific type in web pages |
CN105955604A (en) * | 2016-04-20 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device for screen capture |
US20180074685A1 (en) * | 2015-12-09 | 2018-03-15 | Huizhou Tcl Mobile Communication Co., Ltd. | Method, system, and mobile terminal for continuously screenshooting pages on mobile terminal |
US20200111245A1 (en) * | 2017-09-15 | 2020-04-09 | Brother Kogyo Kabushiki Kaisha | Print Data Edit Apparatus and Recording Medium |
CN111143015A (en) * | 2019-12-31 | 2020-05-12 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
CN111638839A (en) * | 2020-05-20 | 2020-09-08 | 维沃移动通信有限公司 | Screen capturing method and device and electronic equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541411B (en) * | 2010-12-26 | 2016-07-27 | 上海量明科技发展有限公司 | The method of adjustment of a kind of interface of input method and system |
CN105791541B (en) * | 2016-02-19 | 2020-02-07 | 努比亚技术有限公司 | Screenshot method and mobile terminal |
CN106527892B (en) * | 2016-11-04 | 2020-04-07 | 惠州Tcl移动通信有限公司 | Screen capturing method and system of electronic equipment |
CN110806824A (en) * | 2018-08-06 | 2020-02-18 | 广州优视网络科技有限公司 | Text display method, component, electronic device and readable storage medium |
CN110231905B (en) * | 2019-05-07 | 2021-02-09 | 华为技术有限公司 | Screen capturing method and electronic equipment |
CN110502293B (en) * | 2019-07-10 | 2022-02-01 | 维沃移动通信有限公司 | Screen capturing method and terminal equipment |
CN110703977A (en) * | 2019-08-30 | 2020-01-17 | 深圳壹账通智能科技有限公司 | H5 webpage input keyboard implementation method, device, equipment and storage medium |
-
2020
- 2020-05-20 CN CN202010431049.8A patent/CN111638839A/en active Pending
-
2021
- 2021-05-18 WO PCT/CN2021/094342 patent/WO2021233291A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013130229A1 (en) * | 2012-02-27 | 2013-09-06 | Capital Intellect, Inc. | System and method for presenting input suggestions in input fields of a specific type in web pages |
US20180074685A1 (en) * | 2015-12-09 | 2018-03-15 | Huizhou Tcl Mobile Communication Co., Ltd. | Method, system, and mobile terminal for continuously screenshooting pages on mobile terminal |
CN105955604A (en) * | 2016-04-20 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device for screen capture |
US20200111245A1 (en) * | 2017-09-15 | 2020-04-09 | Brother Kogyo Kabushiki Kaisha | Print Data Edit Apparatus and Recording Medium |
CN111143015A (en) * | 2019-12-31 | 2020-05-12 | 维沃移动通信有限公司 | Screen capturing method and electronic equipment |
CN111638839A (en) * | 2020-05-20 | 2020-09-08 | 维沃移动通信有限公司 | Screen capturing method and device and electronic equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114527898A (en) * | 2021-12-16 | 2022-05-24 | 维沃移动通信有限公司 | Split screen control method and device |
CN114546229A (en) * | 2022-01-14 | 2022-05-27 | 阿里巴巴(中国)有限公司 | Information processing method, screen capturing method and electronic equipment |
CN114546229B (en) * | 2022-01-14 | 2023-09-22 | 阿里巴巴(中国)有限公司 | Information processing method, screen capturing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111638839A (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11972274B2 (en) | Application management method and apparatus, and electronic device | |
WO2023103949A1 (en) | Video processing method and apparatus, electronic device and medium | |
WO2022166893A1 (en) | Information display method and apparatus, electronic device, and storage medium | |
WO2021233291A1 (en) | Screen capture method and apparatus, and electronic device | |
WO2024037418A1 (en) | Display method and apparatus, electronic device, and readable storage medium | |
WO2022194211A1 (en) | Image processing method and apparatus, electronic device and readable storage medium | |
WO2023155885A1 (en) | Icon arrangement method and apparatus, and electronic device | |
WO2024037415A1 (en) | Screen mirroring content display method and apparatus, device and storage medium | |
CN115357158A (en) | Message processing method and device, electronic equipment and storage medium | |
WO2023198064A1 (en) | Application program starting method and apparatus, and electronic device and storage medium | |
WO2023046068A1 (en) | File processing method and apparatus | |
WO2023030114A1 (en) | Interface display method and apparatus | |
CN116107531A (en) | Interface display method and device | |
CN114116098B (en) | Application icon management method and device, electronic equipment and storage medium | |
CN112399010B (en) | Page display method and device and electronic equipment | |
WO2024109635A1 (en) | Interface display method and apparatus thereof | |
WO2024001966A1 (en) | Icon management method and icon management device | |
WO2023155858A1 (en) | Document editing method and apparatus | |
WO2023241563A1 (en) | Data processing method and electronic device | |
WO2023155874A1 (en) | Application icon management method and apparatus, and electronic device | |
WO2023241612A1 (en) | File selection method and apparatus, electronic device, and readable storage medium | |
WO2024012416A1 (en) | Display method and apparatus | |
WO2023174328A1 (en) | Screen control method and apparatus, electronic device, and storage medium | |
WO2023185701A1 (en) | Display method and apparatus, electronic device, and readable storage medium | |
WO2023155745A1 (en) | Interface display method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21807671 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.05.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21807671 Country of ref document: EP Kind code of ref document: A1 |