WO2022089330A1 - 截图方法和装置、电子设备和可读存储介质 - Google Patents

截图方法和装置、电子设备和可读存储介质 Download PDF

Info

Publication number
WO2022089330A1
WO2022089330A1 PCT/CN2021/125820 CN2021125820W WO2022089330A1 WO 2022089330 A1 WO2022089330 A1 WO 2022089330A1 CN 2021125820 W CN2021125820 W CN 2021125820W WO 2022089330 A1 WO2022089330 A1 WO 2022089330A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshot
display
window
content
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/125820
Other languages
English (en)
French (fr)
Inventor
李亚毓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2022089330A1 publication Critical patent/WO2022089330A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Definitions

  • the present application belongs to the technical field of terminals, and in particular relates to a screenshot method and device, an electronic device and a readable storage medium.
  • the processing performance of the mobile terminal is becoming more and more powerful.
  • a user uses the mobile terminal, he is not satisfied with using only one function at the same time, and displays the running interfaces of multiple tasks on the graphical user interface of the mobile terminal.
  • a user is making a video/voice call through instant messaging, he opens a certain video live broadcast software and displays the floating window of the video broadcast software.
  • the small mobile phone screen appeared at the same time: the instant messaging video floating window, the live video software floating window, and the browser webpage/communication tool page.
  • a common split-screen scenario also presents multiple task interfaces on the display screen of the mobile terminal.
  • the screenshot function of the current mobile terminal simply takes a screenshot of the graphical user interface displayed on the display screen of the current mobile terminal.
  • the screenshot function can specify the position and shape of the screenshot when taking a screenshot.
  • the screenshot function in the mobile terminal is very unfriendly at this stage, and may even reveal the user's private information. For example, when a user is making a video call, you need to share a screenshot of the content on the screen of the mobile terminal with others. In order not to disclose private information, either the person making the video call needs to cover the camera, or after the video call is over, take a screenshot, take a screenshot Continue the video call after completion.
  • the floating window of the live video will cover the content of the webpage, making the content of the webpage missing. It affects the sharing of web page information.
  • you take a screenshot after closing the live video live window, and then open the live broadcast software after the screenshot is completed you may miss the wonderful live broadcast content, and the user experience is very poor.
  • the purpose of the embodiments of the present application is to provide a screenshot method and device, an electronic device and a readable storage medium, which can solve the problem that the screenshot method in the mobile terminal in the related art is single, and the corresponding screenshot cannot be taken based on the application process in the mobile terminal. Unable to meet user needs.
  • an embodiment of the present application provides a screenshot method, the method includes: receiving a first input for taking a screenshot of an electronic device; in response to the first input, the number of display windows on a display screen of the electronic device is greater than 1
  • the multiple screenshot images are generated, the multiple screenshot images correspond to multiple display windows, and each screenshot image is generated based on the first content of the corresponding display window.
  • an embodiment of the present application provides a screenshot device, the device includes: a receiving unit for receiving a first input for taking a screenshot of an electronic device; a screenshot unit for responding to the first input, displaying on the electronic device
  • a receiving unit for receiving a first input for taking a screenshot of an electronic device
  • a screenshot unit for responding to the first input, displaying on the electronic device
  • the number of display windows on the screen is greater than 1
  • multiple screenshot images are generated, wherein the multiple screenshot images respectively correspond to multiple display windows, and each screenshot image is based on the number of the corresponding display window. generated by a content.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor.
  • the program or instruction is executed by the processor, the The steps of the screenshot method shown in the first aspect.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the screenshot method shown in the first aspect are implemented.
  • an embodiment of the present application provides a chip, where 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 screenshot method shown in the first aspect.
  • a first input for taking a screenshot of the electronic device is received; in response to the first input, in the case where the number of display windows in the display screen of the electronic device is greater than 1, multiple screenshot pictures are generated, and multiple screenshot images are generated.
  • the screenshot pictures respectively correspond to multiple display windows, and each screenshot picture is generated based on the first content of the corresponding display window.
  • the method provided by the embodiment of the present application can take corresponding screenshots of multiple task windows on the desktop of the mobile terminal, which simplifies the operation of taking screenshots of multiple application processes and improves the user's screenshot experience.
  • FIG. 1 is a schematic flowchart of an optional screenshot method in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an optional graphical user interface in an embodiment of the present application.
  • Fig. 2a is a schematic diagram of an optional screenshot image in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an optional screenshot control in an embodiment of the present application.
  • 4a is a schematic diagram of another optional graphical user interface in the embodiment of the present application.
  • FIG. 4b is a schematic diagram of another optional screenshot image in an embodiment of the present application.
  • 5a is a schematic diagram of another optional graphical user interface in the embodiment of the present application.
  • FIG. 5b is a schematic diagram of another optional screenshot image in an embodiment of the present application.
  • 6a is a schematic diagram of another optional graphical user interface in the embodiment of the present application.
  • FIG. 6b is a schematic diagram of another optional screenshot image in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another optional screenshot device in an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an optional electronic device in an embodiment of the present application.
  • a screenshot method is proposed. As shown in FIG. 1 , the method may specifically include the following steps:
  • the mobile terminal includes, but is not limited to, a smart phone, a tablet computer, a wearable electronic device, a microcomputer, and the like with various application functions.
  • the terminal system of the mobile terminal includes, but is not limited to, Windows, iOS, Android and other systems, and the terminal system is not limited in this embodiment.
  • the display controls in this embodiment are applications in the mobile terminal, and are used to display the content of the application on the display screen of the mobile terminal.
  • the size of the display controls is set by the mobile terminal and the application itself. In this embodiment , the type of application and the size of the display controls are not limited.
  • receiving the first input for taking a screenshot of the electronic device includes, but is not limited to, receiving a selection operation of a preset physical button or preset physical button combination acting on the mobile terminal, acting on Selection operations of preset virtual keys or virtual controls in the graphical user interface of the mobile terminal, and preset gesture operations acting on the graphical user interface, etc.
  • the preset gestures include but are not limited to multiple tapping operations acting on the touch screen of the mobile terminal , multi-finger sliding, tapping acting on a preset position, multi-finger sliding acting on a preset position, pressing operation based on pressure sensing on the display screen, etc.
  • the number of display windows on the GUI is obtained. If the number of display windows is greater than 1, it means that there are multiple application processes corresponding to the current GUI of the mobile terminal. window.
  • the application process corresponding to the display window is obtained through the system framework of the mobile terminal.
  • the application process includes the identity document (ID) of the application process corresponding to the display window, the position of the display window in the graphical user interface, and then the information related to the application process is obtained. corresponding first content, and generate a screenshot image corresponding to the display window according to the first content.
  • the main task interface of the graphical user interface displays the display window 20 corresponding to the news reading application
  • the display window 20 mainly displays the reading interface of the news article
  • the floating window 22 and Floating window 24 determine the application process corresponding to the display window 20, the floating window 22 and the floating window 24 respectively, obtain the first content corresponding to the application process respectively, and then generate the screenshot image corresponding to the display window 20, the floating window 22 and the floating window 24 .
  • the screenshot of the display window 20 is a screenshot of a news reading application 220.
  • the screenshot 220 does not include the screen of the floating window.
  • the floating window 22 and the floating window 24 are the screenshots 222 and 24 of the corresponding application process, respectively.
  • the screenshot picture 224, the screenshot picture 222 and the screenshot picture 224 do not include the screen contents corresponding to other display windows.
  • the multiple screenshot images include a screenshot image corresponding to the display window, a screenshot image corresponding to the graphical user interface, and a screenshot image combining the display content in the graphical user interface and the first content of the display window.
  • the main task interface in the graphical user interface 200 displays the display window 20 corresponding to the news reading application, and the reading interface of the display window 20 also displays The floating window 22 and the floating window 24 are shown.
  • a plurality of screenshot pictures are obtained.
  • the screenshot picture 220 corresponding to the display window 20 the screenshot picture 222 corresponding to the floating window 22, the screenshot picture 224 corresponding to the floating window 24, the screenshot picture 226 corresponding to the display content of the graphical user interface 200, and the screenshot picture 226 corresponding to the display content of the graphical user interface 200 are obtained respectively.
  • a screenshot image 228 corresponding to the combination of the display content of the interface and the floating window 22 and a screenshot image 230 corresponding to the combination of the display content of the graphical user interface and the floating window 24 .
  • a screenshot instruction acting on the mobile terminal is received, and in response to the screenshot instruction, the number of display windows in the graphical user interface in the mobile terminal is acquired.
  • the number of display windows is greater than 1, obtain information of multiple application processes corresponding to the multiple display windows, obtain first content corresponding to the multiple display windows according to the multiple application processes, and generate multiple application processes according to the first content.
  • Multiple screenshot images corresponding to each display window. The corresponding screenshots are implemented for multiple task windows on the desktop of the mobile terminal, which simplifies the operation of taking screenshots of multiple application processes, so as to improve the user's screenshot experience.
  • the number of display windows after acquiring the number of display windows, it also includes, but is not limited to, in the case that the number of display windows is equal to 1, generating a corresponding graphical user interface according to the display content displayed in the graphical user interface. Screenshot pictures.
  • the desktop process of the mobile terminal system or the display window corresponding to the application process is displayed in the graphical user interface.
  • the graphical user interface of the user interface directly takes a screenshot, that is, a screenshot image is generated based on the display content displayed in the graphical user interface.
  • the number of display windows in the graphical user interface is determined, and when the number of display windows is equal to 1, a screenshot image is directly generated based on the display content displayed in the graphical user interface, so as to improve the response speed of the screenshot operation.
  • the method before acquiring multiple first contents corresponding to multiple application processes, the method further includes but is not limited to: determining multiple application icons of multiple application programs corresponding to multiple application processes; Rendering a screenshot window in a graphical user interface corresponding to the electronic device, wherein the screenshot window includes multiple application icons; receiving a first selection operation acting on the multiple application icons to determine a target application process corresponding to the target application icon, and the target application The icon is the application icon selected by the first selection operation; a screenshot image corresponding to the target application process is generated.
  • a first input for taking a screenshot of the electronic device is received and there are multiple display windows in the graphical user interface of the mobile terminal
  • multiple displays are displayed in the graphical user interface of the mobile terminal
  • the application icon corresponding to the window is for the user to select, and then the display window selected by the user is determined according to the application icon selected by the user, the first content of the corresponding display window is acquired, and the corresponding screenshot picture is generated.
  • the main task interface in the graphical user interface 200 displays the display window 20 corresponding to the news reading application, and the reading interface of the display window 20 includes a floating window 22 and a floating window 20. window 24.
  • the screenshot window 30 is rendered in the graphical user interface 200, and the screenshot window 30 shows the application icon 320 corresponding to the display window 20 , the application icon 322 corresponding to the floating window 22 , and the application icon 324 corresponding to the floating window 24 .
  • the selection operation acting on the screenshot window 30 is detected, and in response to the operation acting on the screenshot window 30, it is obtained that the selected application icon is the application icon of the news reading application process, that is, the second application process is the news application process, which is obtained through the system framework of the mobile terminal.
  • the selected application icon is the application icon of the news reading application process
  • the second application process is the news application process, which is obtained through the system framework of the mobile terminal.
  • the first input may select multiple application icons to execute a combined screenshot of the first application processes corresponding to the multiple application icons, and obtain the corresponding screenshots of the multiple application processes corresponding to the multiple application icons Multiple screenshot pictures, and a single screenshot picture combined by the first application process.
  • a first selection operation acting on a plurality of first application icons is detected, and in response to the first selection operation, a third application process is determined according to the first selection operation, and a third application process is determined according to the first selection operation.
  • the third application process corresponds to the third content to generate a screenshot image corresponding to the third application process
  • the third application process is the application process corresponding to other application icons except the second application icon among the plurality of first application icons
  • the second application icon is The first selection action selects the application icon.
  • the screenshot window 30 is rendered in the graphical user interface 200, and the screenshot window 30 displays the application icon 320 corresponding to the display window 20, the application icon 322 corresponding to the floating window 22, and the floating window. 24 corresponds to the application icon 324 .
  • the selection operation acting on the screenshot window 30 is detected, and in response to the selection operation acting on the screenshot window 30, it is obtained that the application icon selected by the selection operation is the application icon corresponding to the news reading application process, and the two corresponding suspension windows 22 and 24 are determined.
  • the information flow of the application process corresponding to the floating window 22 and the floating window 24 is obtained through the system framework of the mobile terminal, and then screenshots corresponding to the floating window 22 and the floating window 24 are generated according to the information flow.
  • the screenshot window including the application icon corresponding to the display window is rendered in the graphical user interface.
  • the first selection operation of the window obtains the corresponding screenshot image, which ensures the security and privacy of some displayed windows in the graphical user interface.
  • acquiring multiple first contents corresponding to multiple application processes includes but is not limited to: acquiring the first information flow corresponding to the first application process through the system framework of the electronic device; A flow of information determines the first content.
  • the application process ID corresponding to the display window is obtained, then the first information flow corresponding to the first application process is obtained through the system framework of the electronic device according to the application process ID, and the display window is determined according to the first information flow
  • the first content of the corresponding application process wherein the information flow refers to the transmission data between the application process and the remote server or the local server, and is used to construct the display content corresponding to the application process.
  • the display window includes a floating window window, the size of the floating window window is less than or equal to the first preset size threshold, and the floating window includes third content.
  • multiple first contents are generated. Screenshot pictures, including but not limited to: enlarging and displaying the third content to obtain the fourth content, the size of the display window of the fourth content is the same as the size of the display screen; generating a screenshot picture corresponding to the floating window according to the fourth content.
  • the display window includes one or more floating window windows
  • a screenshot of the floating window window is taken with the content displayed in the current graphical user interface
  • the content of the screenshot image of the floating window window is blurred.
  • the third content corresponding to the floating window window is obtained, and the third content is enlarged and displayed according to the display screen size of the electronic device , obtain fourth content with the same size as the screen size, and then generate a screenshot image corresponding to the floating window window based on the fourth content.
  • the graphical user interface 400 shown in FIG. 4a includes a window 40, a window 42, and a window 44, wherein the window 42 and the window 44 are floating window windows.
  • Take a screenshot of the window 42 first obtain the information flow displayed in the window 42 through the mobile terminal system framework, obtain the third content corresponding to the window 42 according to the information flow, and after the third content is enlarged and displayed according to the proportion of the mobile terminal screen, the third content is obtained.
  • the four contents are then saved as screenshots, and the screenshots shown in FIG. 4b are obtained.
  • the screenshots in FIG. 4b are the same as the screen size of the mobile terminal.
  • the display window includes a split-screen window, and the size of the split-screen window is larger than the second preset size threshold and smaller than the screen size of the electronic device.
  • generating multiple screenshot pictures according to multiple first contents includes: enlarging and displaying the fifth contents corresponding to the split-screen window according to a preset ratio, so as to obtain sixth contents, and the display size of the sixth contents is smaller than the screen size;
  • the sixth content generates a screenshot image corresponding to the split-screen window, and the screenshot image corresponding to the split-screen window includes the sixth content and a filling part, and the filling part is a preset background.
  • the display window includes a split-screen window in a split-screen state, where the size of the split-screen window is large, such as a video application, which occupies half of the screen of the mobile terminal to display the video in the split-screen state content.
  • the requirement in actual application is to enlarge and display it according to a certain proportion. Therefore, in this embodiment, the fifth content of the split-screen window is enlarged and displayed according to a preset proportion to obtain the sixth content.
  • the preset proportion is a kind of A ratio allowed by the screen size of the mobile terminal, so that the size of the sixth content is smaller than the screen size of the mobile terminal.
  • a screenshot image is formed according to the sixth content, and the filled part in the screenshot image is filled according to a preset background.
  • the graphical user interface 500 shown in FIG. 5a includes a split-screen window 50 and a split-screen window 52.
  • the application process information corresponding to the split-screen window 50 is obtained, based on the The application process corresponding to the split-screen window 50 obtains the corresponding information flow through the system framework of the mobile terminal, and according to the proportion allowed by the screen of the mobile terminal, the information flow is scaled up and presented on the screenshot image content, and the preset black background is used to match the information flow.
  • Fill in the content of the screenshot image to obtain the screenshot image shown in FIG. 5 b which includes the content corresponding to the split screen window 50 , and other parts are filled with a black background.
  • the fifth content corresponding to the split screen window is enlarged and displayed according to a preset ratio, and a screenshot image is generated according to the sixth content obtained by the enlarged display, and the floating window can be displayed without switching the split screen window to the main task view.
  • the fifth content of the split-screen window is enlarged according to a preset ratio to obtain sixth content information.
  • the sixth content is smaller than the screen size.
  • the fifth content is enlarged according to the screen size to obtain the sixth content.
  • the size of the sixth content is the same as the screen size, and the display screen of the electronic device displays the The sixth content is in a horizontal screen state.
  • the display window includes a communication window
  • the third application process corresponding to the communication window is an application process of a preset type.
  • multiple screenshots are generated according to multiple first contents, including but not limited to : obtain the communication record corresponding to the application process of the preset type; generate the seventh content according to the communication record, the display size of the seventh content is the same as the screen size; and generate the screenshot picture corresponding to the communication control according to the seventh content.
  • the content displayed in the communication window is limited. If the content displayed in the communication window is only enlarged according to the screen size or preset ratio, a large blank message will be displayed. affect user perception.
  • the information flow of the application process of the preset type corresponding to the communication window is obtained through the system framework, and the application process of the preset type generally includes communication application processes, such as real-time communication and non-real-time communication.
  • Class application process obtain the communication record of the communication window according to the information flow of the communication class application process, the communication record includes context information, such as text messages in the chat record, picture caution, audio/video messages, etc.
  • a seventh content is established based on the communication record, and then a screenshot image corresponding to the communication window is generated according to the seventh content.
  • the graphical user interface 600 shown in FIG. 6a includes a communication window 60 and a display window 62.
  • the communication application process corresponding to the communication window 60 is determined, and obtained through the system framework
  • the information flow corresponding to the communication class process, the seventh content is established based on the communication records in the information flow, as shown in FIG.
  • the communication record is composed of the communication record, the communication record includes the display content 612 and the supplementary content 614 in the communication window 60, and simulates taking screenshots in the full-screen interface of the third application process, so as to complete the full-screen communication window without exiting the split-screen state. Screenshot of the content.
  • the communication record corresponding to the application process of the preset type is obtained through the system architecture, the seventh content is established according to the communication record, and the screenshot corresponding to the communication window is generated according to the seventh content, so as to realize the switching of the communication window to the main interface without switching the communication window to the main interface.
  • a screenshot of the communication window can also be taken.
  • the method further includes, but is not limited to: displaying multiple screenshot images according to preset rules; A selection operation; in response to the second selection operation, save the screenshot image selected by the second selection operation.
  • the graphical user interface 200 displays a plurality of screenshot pictures, that is, the screenshot picture 220 corresponding to the display window 20, the screenshot picture 222 corresponding to the floating window 22, The screenshot picture 224 corresponding to the floating window 24, the screenshot picture 226 corresponding to the display content of the graphical user interface 200, the screenshot picture 228 corresponding to the combination of the display content of the graphical user interface and the floating window 22, and the display content of the graphical user interface and the floating window 24 Combine the corresponding screenshot pictures 230 .
  • the screenshots are displayed in a preset order in the graphical user interface, and the display is in the thumbnail format of the screenshots. Click the screenshot image to preview the screenshot image, then detect the second selection operation acting on the screenshot image, and save or share the second selection operation.
  • a plurality of screenshot images are displayed on the GUI according to preset rules, and the screenshot images are saved according to the second selection operation acting on the screenshot images, so that the user can quickly and accurately obtain the screenshot results, so as to improve the user's experience Screenshot experience.
  • multiple screenshot pictures are displayed according to preset rules, including but not limited to: sorting and displaying multiple screenshot pictures according to the number of display windows in the screenshot pictures; or, according to the area of the display window Sorting and displaying multiple screenshots by proportion; or, sorting and displaying multiple screenshots according to the frequency of use of multiple application processes; or, displaying the first screenshot in a preset position, and the first screenshot is an electronic The screenshot image corresponding to the currently executing application process on the device.
  • multiple screenshots can be displayed on a graphical user interface according to preset rules in the following exemplary manner:
  • a plurality of screenshots are sorted and displayed. As shown in the screenshots shown in FIG. 2a, the screenshots 226 are displayed first, followed by the connected pictures 228 and the screenshots 230. .
  • a plurality of screenshot images are sorted and displayed according to the area ratio of the display window, and still shown in the screenshot image shown in FIG. 2a, the screenshot image 220 is displayed first, followed by the screenshot image 224, and then the screenshot image. 222.
  • the usage frequency of the first application process may be obtained according to the startup record of the application program in the mobile terminal, or may be obtained according to the statistical data of the server, which is not limited in this embodiment.
  • the screenshot image corresponding to the currently executing first application process is preferentially displayed in the preset position.
  • the first application process of the main task interface of the graphical user interface is the currently executing first application process.
  • the screenshot picture 220 is preferentially displayed at the preset position.
  • multiple screenshots are displayed on the graphical user interface according to preset rules, so that quick browsing of the screenshot results can be achieved, making the display of the screenshots more intuitive.
  • a first input for taking a screenshot of the electronic device is received, and in response to the first input, in the case where the number of display windows in the display screen of the electronic device is greater than 1, multiple screenshot pictures are generated, and multiple screenshot images are generated.
  • the screenshot pictures respectively correspond to multiple display windows, and each screenshot picture is generated based on the first content of the corresponding display window.
  • the corresponding screenshots are implemented for multiple task windows on the desktop of the mobile terminal, which simplifies the operation of taking screenshots of multiple application processes, so as to improve the user's screenshot experience.
  • the execution body may be a screenshot device, or a control module in the screenshot device for executing the screenshot method.
  • the screenshot device provided by the embodiment of the present application is described by taking the screenshot device executing the screenshot method as an example.
  • a screenshot device is proposed. As shown in FIG. 7 , the device may specifically include:
  • screenshot unit 72 for responding to the first input, when the number of display windows in the display screen of the electronic device is greater than 1, generate multiple screenshot pictures, and multiple screenshot pictures correspond to multiple display windows respectively , and each screenshot image is generated based on the first content of the corresponding display window.
  • the screenshot unit 72 includes:
  • a first acquisition module configured to acquire multiple first contents corresponding to multiple application processes, and multiple application processes correspond to multiple display windows;
  • a first processing module configured to generate multiple screenshot images according to multiple first contents.
  • it also includes:
  • a first determination module configured to determine multiple application icons of multiple application programs corresponding to multiple application processes before acquiring multiple first contents corresponding to multiple application processes
  • a rendering module for rendering a screenshot window in a graphical user interface corresponding to the electronic device, and the screenshot window includes a plurality of application icons;
  • a receiving module configured to receive a first selection operation acting on a plurality of application icons, to determine a target application process corresponding to the target application icon, and the target application icon is the application icon selected by the first selection operation;
  • a second processing module configured to generate a screenshot image corresponding to the target application process.
  • the display window includes a floating window
  • the window size of the floating window is less than or equal to the first preset size threshold
  • the floating window includes third content.
  • the first processing module includes:
  • the first processing sub-module is configured to generate a screenshot image corresponding to the floating window according to the fourth content.
  • the display window includes a split-screen window, and the size of the split-screen window is larger than the second preset size threshold and smaller than the screen size of the electronic device, wherein the first processing module includes:
  • a second display sub-module used for enlarging and displaying the fifth content corresponding to the split-screen window according to a preset ratio, so as to obtain the sixth content, and the display size of the sixth content is smaller than the screen size;
  • the second processing submodule is configured to generate a screenshot image corresponding to the split screen window according to the sixth content. Based on this, the screenshot image corresponding to the split screen window includes the sixth content and a filling part, and the filling part is a preset background.
  • the display window includes a communication window
  • the application process corresponding to the communication window is an application process of a preset type.
  • the first processing module includes:
  • the third processing submodule for generating the seventh content according to the communication record, and the display size of the seventh content is the same as the screen size;
  • the fourth processing submodule is configured to generate a screenshot image corresponding to the communication control according to the seventh content.
  • it also includes:
  • a display module configured to display multiple screenshot images according to preset rules after generating multiple screenshot images according to multiple first contents
  • a storage module configured to save the screenshot image selected by the second selection operation in response to the second selection operation.
  • the display module includes:
  • a third display sub-module used for sorting and displaying a plurality of screenshot pictures according to the number of display windows in the screenshot pictures;
  • the sixth display sub-module is configured to display a first screenshot image at a preset position, wherein the first screenshot image is a screenshot image corresponding to an application process currently executed by the electronic device.
  • the screenshot device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may 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 palmtop computer, an in-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
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the screenshot device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the screenshot device provided in the embodiment of the present application can implement each process implemented by the screenshot device in the method embodiments of FIG. 1 to FIG. 6b . To avoid repetition, details are not described here.
  • a first input for taking a screenshot of an electronic device is received, and in response to the first input, when the number of display windows in the display screen of the electronic device is greater than 1, multiple screenshot images are generated, and multiple screenshot images are generated.
  • the screenshot pictures respectively correspond to multiple display windows, and each screenshot picture is generated based on the first content of the corresponding display window.
  • the corresponding screenshots are implemented for multiple task windows on the desktop of the mobile terminal, which simplifies the operation of taking screenshots of multiple application processes, so as to improve the user's screenshot experience.
  • an electronic device including a processor 810, a memory 809, a program or instruction stored in the memory 809 and executable on the processor 810, the program or instruction being executed by the processor
  • a processor 810 When 810 is executed, each process of the above screenshot method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application. The embodiment of the electronic device will be described in detail below with reference to FIG. 8 .
  • the electronic device 800 includes but is not limited to: a radio frequency unit 801 , a network module 802 , an audio output unit 803 , an input unit 804 , a sensor 805 , a display unit 806 , a user input unit 807 , an interface unit 808 , and a memory 809 , and components such as the processor 110 .
  • the electronic device 800 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the input unit 804 is configured to receive a first input for taking a screenshot of the electronic device
  • the processor 110 is configured to, in response to the first input, generate multiple screenshot pictures when the number of display windows in the display screen of the electronic device is greater than 1, and the multiple screenshot pictures respectively correspond to the multiple display windows, and Each screenshot image is generated based on the first content of the corresponding display window.
  • a first input for taking a screenshot of the electronic device is received, and in response to the first input, in the case where the number of display windows in the display screen of the electronic device is greater than 1, multiple screenshot pictures are generated, and multiple screenshot images are generated.
  • the screenshot pictures respectively correspond to multiple display windows, and each screenshot picture is generated based on the first content of the corresponding display window.
  • the corresponding screenshots are implemented for multiple task windows on the desktop of the mobile terminal, which simplifies the operation of taking screenshots of multiple application processes, so as to improve the user's screenshot experience.
  • a readable storage medium is further provided, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the method embodiment of the above screenshot method is implemented , and can achieve the same technical effect, in order to avoid repetition, it is not repeated here.
  • the processor is the processor in the electronic device in the above embodiment.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement each process of the method embodiment of the above screenshot method, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here.
  • Examples of computer-readable storage media shown include non-transitory computer-readable storage media, such as read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), magnetic disks or CD etc.
  • processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It will also be understood that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can also be implemented by special purpose hardware that performs the specified functions or actions, or that special purpose hardware and/or A combination of computer instructions is implemented.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种截图方法和装置、电子设备和可读存储介质,属于终端技术领域。其中的方法包括:接收对电子设备进行截图的第一输入;响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片。

Description

截图方法和装置、电子设备和可读存储介质
相关申请的交叉引用
本申请主张在2020年10月30在中国提交的中国专利申请号202011199890.5的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于终端技术领域,具体涉及一种截图方法和装置、电子设备和可读存储介质。
背景技术
现在移动终端的处理性能越来越强大,用户在使用移动终端的时候,不会满足于同时只使用一种功能,会在移动终端的图形用户界面上呈现多个任务的运行界面。比如用户在打即时通信进行视频/语音通话时,打开了某视频直播软件并让视频直播软件悬浮窗显示,同时为了去查资料或者跟其他用户进行文字通信会去打开浏览器或者其他通信工具,那么这个时候,小小的手机屏幕上就同时出现了:即时通信视频悬浮窗、视频直播软件悬浮窗、以及浏览器网页/通信工具页面。在另一个例子中,常见的分屏场景也会在移动终端的显示屏幕上呈现多个任务界面。
现阶段的移动终端的截图功能,只是简单地对当前移动终端的显示屏幕上呈现的图形用户界面进行截图,截图功能可以在截图时指定屏幕截图的位置、形状等,但是对于移动终端多任务工作的场景,现阶段移动终端中的截图功能很不友好,甚至可能会泄露用户的隐私信息。比如用户在进行视频通话的时候,你需要对移动终端屏幕上的内容截图分享给其他人,为了不泄露隐私信息,要么需要进行视频通话的对方蒙住摄像头,或者结 束视频通话后进行截图,截图完成后再继续视频通话,此外,在用户观看移动终端上的视频直播时,如果去浏览网页数据并想将网页画面截图分享,由于视频直播的悬浮窗会掩盖网页画面内容,使得网页画面内容缺失影响了网页信息的分享,同时如果关闭视频直播悬浮窗后进行截图,截图完成后再去打开直播软件可能错过精彩的直播内容,用户体验很差。
发明内容
本申请实施例的目的是提供一种截图方法和装置、电子设备和可读存储介质,能够解决相关技术中移动终端中的屏幕截图方式单一,无法基于移动终端中的应用进程进行对应的截图,而无法满足用户需求的问题。
第一方面,本申请实施例提供了一种截图方法,该方法包括:接收对电子设备进行截图的第一输入;响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。
第二方面,本申请实施例提供了一种截图装置,装置包括:接收单元,用于接收对电子设备进行截图的第一输入;截图单元,用于响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,其中,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面所示的截图方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面所示的截图方法的步骤。
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面所示的截图方法。
在本申请实施例中,接收对电子设备进行截图的第一输入;响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。本申请实施例提供的方法能够对移动终端的桌面中多个任务窗口均进行对应的截图,简化了多应用进程截图的操作,提升了用户的截图体验。
附图说明
图1是本申请实施例中一种可选地截图方法的流程示意图;
图2是本申请实施例中一种可选地图形用户界面的示意图;
图2a是本申请实施例中一种可选地截图图片的示意图;
图3是本申请实施例中一种可选地截图控件的示意图;
图4a是本申请实施例中又一种可选地图形用户界面的示意图;
图4b是本申请实施例中又一种可选地截图图片的示意图;
图5a是本申请实施例中又一种可选地图形用户界面的示意图;
图5b是本申请实施例中又一种可选地截图图片的示意图;
图6a是本申请实施例中又一种可选地图形用户界面的示意图;
图6b是本申请实施例中又一种可选地截图图片的示意图;
图7是本申请实施例中又一种可选地截图装置的结构示意图;
图8是本申请实施例中一种可选地电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员还可获得的所有其他实施例,这些实施例都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的截图方法进行详细地说明。
根据本申请实施例的一个方面,提出了一种截图方法,如图1所示,该方法具体可以包括以下步骤:
S101,接收对电子设备进行截图的第一输入;
S102,响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。
在本实施例中,移动终端包括但不限于具有多种应用功能的智能手机、平板电脑、可穿戴电子设备以及微型电脑等。同时移动终端的终端系统包括但不限于Windows、iOS以及Android等系统,在本实施例中对终端系统不做任何限定。
本实施例中的显示控件为移动终端中的应用程序,在移动终端的显示屏幕上用于展示应用程序内容的窗口,显示控件的尺寸大小由移动终端以 及应用程序本身设定,在本实施例中,不对应用程序的类型以及显示控件的尺寸进行限定。
作为本实施例中一种可选地的实施例,接收对电子设备进行截图的第一输入包括但不限于接收作用于移动终端的预设物理按键或预设物理按键组合的选取操作、作用于移动终端的图形用户界面的预设虚拟按键或虚拟控件的选取操作以及作用于图形用户界面的预设手势操作等,其中,预设手势包括但不限于作用于移动终端触摸屏的多次敲击操作、多指滑动、作用于预设位置的敲击、作用于预设位置的多指滑动、基于显示屏幕压力感应的按压操作等。
在本实施例中,在接收到第一输入之后,获取图形用户界面上的显示窗口的数量,若显示窗口的数量大于1,则表示移动终端当前的图形用户界面上存在多个应用进程对应的窗口。通过移动终端的系统框架获取显示窗口对应的应用进程,应用进程中包括显示窗口对应的应用进程身份标识号(Identity document,ID)、显示窗口在图形用户界面中的位置,然后获取与应用进程的对应的第一内容,并根据第一内容生成显示窗口对应的截图图片。
在一个例子中,如图2所示,图形用户界面的主任务界面显示了新闻阅读应用对应的显示窗口20,显示窗口20主要显示了新闻文章的阅读界面,在阅读界面中存在悬浮窗22和悬浮窗24,确定显示窗口20、悬浮窗22以及悬浮窗24分别对应的应用进程,获取与应用进程分别对应的第一内容,然后生成显示窗口20、悬浮窗22以及悬浮窗24对应的截图图片。如图2a所示,显示窗口20的截图图片是新闻阅读应用的截图图片220,截图图片220中不包括悬浮窗的画面,悬浮窗22以及悬浮窗24分别是对应的应用进程的截图图片222和截图图片224,截图图片222和截图图片224中不包括其他显示窗口对应的画面内容。
作为本实施例中一种可选地实施例,在获取与所述多个显示窗口分别对应的多个第一内容之后,根据图形用户界面中的显示内容以及多个第一内容生成对应的多个截图图片,多个截图图片中包括显示窗口对应的截图图片、图形用户界面中对应的截图图片、以及图形用户界面中的显示内容与显示窗口的第一内容组合的截图图片。
在一个例子中,仍以图2中所示的图形用户界面为例进行说明,图形用户界面200中的主任务界面显示了新闻阅读应用对应的显示窗口20,在显示窗口20的阅读界面中还展示了悬浮窗22和悬浮窗24,在对图形用户界面中的显示窗口20、悬浮窗22和悬浮窗24进行截图以后,得到多个截图图片。如图2a所示,分别得到显示窗口20对应的截图图片220、悬浮窗22对应的截图图片222、悬浮窗24对应的截图图片224、图形用户界面200的显示内容对应的截图图片226、图形用户界面的显示内容与悬浮窗22组合对应的截图图片228、以及图形用户界面的显示内容与悬浮窗24组合对应的截图图片230。
需要说明的是,通过本实施例,接收作用于移动终端的截图指令,响应于截图指令,获取移动终端中的图形用户界面中显示窗口的数量。在显示窗口的数量大于1的情况下,获取与多个显示窗口对应的多个应用进程的信息,根据多个应用进程获取与多个显示窗口分别对应的第一内容,根据第一内容生成多个显示窗口对应的多个截图图片。实现了针对移动终端的桌面多个任务窗口进行对应的截图,简化了多应用进程截图的操作,以提升用户的截图体验。
可选地,在本实施例中,在获取显示窗口的数量之后,还包括但不限于,在显示窗口的数量等于1的情况下,根据图形用户界面中显示的显示内容生成图形用户界面对应的截图图片。
在具体的应用场景中,在显示窗口的数量等于1的情况下,也就是说,图形用户界面中展示的是移动终端系统的桌面进程或者是应用进程对 应的显示窗口,此时可以对移动终端的图形用户界面直接进行截图,即基于图形用户界面中显示的显示内容生成截图图片。
通过上述实施例,判断图形用户界面中显示窗口的数量,在显示窗口的数量等于1的情况下,直接基于图形用户界面中显示的显示内容生成截图图片,以提升截图操作的响应速度。
可选地,在本实施例中,在获取与多个应用进程对应的多个第一内容之前,还包括但不限于:确定与多个应用进程对应的多个应用程序的多个应用图标;在电子设备对应的图形用户界面中渲染截图窗口,其中,截图窗口中包括多个应用图标;接收作用于多个应用图标的第一选取操作,以确定目标应用图标对应的目标应用进程,目标应用图标为第一选取操作选中的应用图标;生成与目标应用进程对应的截图图片。
具体地,在接收对电子设备进行截图的第一输入,且移动终端的图形用户界面中存在多个显示窗口的情况下,响应于第一输入,在移动终端的图形用界面中展示多个显示窗口对应的应用图标,以供用户进行选择,然后根据用户选择的应用图标确定用户选取的显示窗口,获取对应的显示窗口的第一内容,并生成对应的截图图片。
仍以上述图2所示的图形用户界面为例进行说明,图形用户界面200中的主任务界面显示了新闻阅读应用对应的显示窗口20,在显示窗口20的阅读界面中包括悬浮窗22和悬浮窗24。在检测到作用于移动终端的截图指令之后,获取显示窗口20、悬浮窗22和悬浮窗24对应的多个应用图标,如图3所示,在图形用户界面200中渲染截图窗口30,截图窗口30中显示了显示窗口20对应的应用图标320、悬浮窗22对应的应用图标322、以及悬浮窗24对应的应用图标324。然后检测作用于截图窗口30的选取操作,响应作用于截图窗口30操作,得到选中的应用图标为新闻阅读应用进程的应用图标,即第二应用进程为新闻应用进程,通过移动终端 的系统框架获取新闻应用进程对应的信息流,然后根据信息流生成新闻阅读应用对应的截图图片。
此外,在本实施例中,第一输入可以选取多个应用图标,以执行对多个应用图标对应的第一应用进程的组合的截图,得到多个应用图标对应的多个应用进程对应对的多个截图图片,以及第一应用进程组合的单个截图图片。
作为本实施例中一种可选地的实施例,检测作用于多个第一应用图标的第一选取操作,响应于第一选取操作,根据第一选取操作确定第三应用进程,根据与第三应用进程对应第三内容生成第三应用进程对应的截图图片,第三应用进程是在多个第一应用图标中除第二应用图标以外的其他应用图标对应的应用进程,第二应用图标是第一选取操作选中的应用图标。
具体地,仍以图3为例进行说明,在图形用户界面200中渲染截图窗口30,截图窗口30中显示了显示窗口20对应的应用图标320、悬浮窗22对应的应用图标322、以及悬浮窗24对应的应用图标324。然后检测作用于截图窗口30的选取操作,响应作用于截图窗口30的选取操作,得到选取操作选取的应用图标为新闻阅读应用进程对应的应用图标,则确定悬浮窗22以及悬浮窗24对应的两个应用进程,通过移动终端的系统框架获取悬浮窗22以及悬浮窗24所对应的应用进程的信息流,然后根据信息流生成悬浮窗22以及悬浮窗24分别对应的截图图片。
通过上述实施例,在检测作用于移动终端的截图指令,且图形用户界面中的显示窗口大于1的情况下,在图形用户界面中渲染包括显示窗口对应的应用图标的截图窗口,根据作用于截图窗口的第一选取操作获取对应的截图图片,保障了图形用户界面中部分显示窗口的安全与隐私。
可选地,在本实施例中,获取多个应用进程对应的多个第一内容,包括但不限于:通过电子设备的系统框架,获取与第一应用进程对应的第一信息流;根据第一信息流确定第一内容。
在具体的应用场景中,获取与显示窗口对应的应用进程ID,然后根据应用进程ID通过电子设备的系统框架,获取与第一应用进程对应的第一信息流,根据第一信息流确定显示窗口对应的应用进程的第一内容,其中,信息流指的是应用进程与远程服务器或者本地服务器之间的传输数据,用于构建应用进程所对应的显示内容。
可选地,在本实施例中,显示窗口包括悬浮窗窗口,悬浮窗窗口的尺寸小于或等于第一预设尺寸阈值,悬浮窗包括第三内容,这里,根据多个第一内容生成多个截图图片,包括但不限于:将第三内容进行放大显示,以得到第四内容,第四内容的显示窗口的尺寸与显示屏幕的尺寸相同;根据第四内容生成与悬浮窗对应的截图图片。
在具体的应用场景中,在图形用户界面中存在多个显示窗口,且显示窗口包括一个或多个悬浮窗窗口的情况下,若以当前图形用户界面中显示的内容对悬浮窗窗口进行截图,则造成悬浮窗窗口的截图图片的内容模糊。而在将悬浮窗窗口对应的应用进程切换至主任务视图,在悬浮窗窗口对应的应用程序在主视图的原始尺寸的情况下进行截图,则可能会丢失掉其他悬浮窗或者中断其他应用进程中的内容。
为了解决该问题,在本实施例中,在对多个显示窗口中的悬浮窗窗口进行截图时,获取悬浮窗窗口对应的第三内容,按照电子设备的显示屏幕尺寸对第三内容进行放大显示,得到与屏幕尺寸大小相同第四内容,然后基于第四内容生成与悬浮窗窗口对应的截图图片。
在一个例子中,如图4a所示的图形用户界面400中,包括窗口40、窗口42以及窗口44,其中窗口42、窗口44为悬浮窗窗口。对窗口42进行截图,首先通过移动终端系统框架获取窗口42中显示的信息流,根据信息流得到窗口42对应的第三内容,将第三内容按照移动终端屏幕的比例进行放大显示后,得到第四内容然后进行截图保存,得到如图4b所示的截图图片,图4b中的截图图片与移动终端的屏幕尺寸相同。
通过上述实施例,通过根据移动终端的屏幕尺寸对悬浮窗窗口显示的内容进行放大后,截图保存,实现了在不将悬浮窗窗口切换至主任务视图的情况下,也能对悬浮窗进行截图,不会对其他应用进程产生影响。
可选地,在本实施例中,显示窗口包括分屏窗口,分屏窗口的尺寸大于第二预设尺寸阈值,且小于电子设备的屏幕尺寸。这里,根据多个第一内容生成多个截图图片,包括:按照预设比例对分屏窗口对应的第五内容进行放大显示,以得到第六内容,第六内容的显示尺寸小于屏幕尺寸;根据第六内容生成与分屏窗口对应的截图图片,分屏窗口对应的截图图片包括第六内容以及填充部分,填充部分为预设背景。
在具体地应用场景中,显示窗口包括对于处于分屏状态下的分屏窗口,分屏窗口的尺寸较大,例如视频类应用,在分屏状态下则会占据移动终端的一半屏幕来展示视频内容。对于该类应用,实际应用中需求是将其按照一定比例放大展示,因此在本实施例中按照预设比例对分屏窗口的第五内容进行放大显示得到第六内容,预设比例是一种移动终端中屏幕尺寸允许的比例,以使第六内容的尺寸小于移动终端的屏幕尺寸。根据第六内容成成截图图片,截图图片中的填充部分则根据预设背景进行填充。
在一个例子中,如图5a所示的图形用户界面500中包括分屏窗口50以及分屏窗口52,在对分屏窗口50的截图过程中,获取分屏窗口50对应的应用进程信息,基于分屏窗口50对应的应用进程,通过移动终端的系统框架获取对应的信息流,按照移动终端的屏幕允许的比例,将信息流按照比例放大后呈现在截图图片内容上,通过预设黑色背景对截图图片内容进行填充,以得到如图5b所示的截图图片,图5b中包括分屏窗口50对应的内容,其他部分由黑色背景填充。
通过上述实施例,按照预设比例对分屏窗口对应的第五内容进行放大显示,根据放大显示得到的第六内容生成截图图片,在不将分屏窗口切换 至主任务视图也能对悬浮窗进行截图,且使分屏窗口对应的截图图片更能体现分屏窗口位于图形用户界面中的状态。
作为本实施例中一种可选地的实施例,在电子设备处于竖屏状态的情况下,按照预设比例对分屏窗口的第五内容进行放大,得到第六内容息,该第六内容的尺寸小于屏幕尺寸。而在电子设备处于横屏状态的情况下,按照屏幕尺寸对第五内容进行放大,得到第六内容,此时的第六内容的尺寸与屏幕尺寸大小相同,且电子设备的显示屏幕中显示的第六内容处于横屏状态。
可选地,在本实施例中,显示窗口包括通信窗口,通信窗口对应的第三应用进程为预设类型的应用进程,这里,根据多个第一内容生成多个截图图片,包括但不限于:获取预设类型的应用进程对应的通信记录;根据通信记录生成第七内容,第七内容的显示尺寸与屏幕尺寸相同;根据第七内容生成通信控件对应的截图图片。
在具体的应用场景中,对于聊天咨询类应用对应的通信窗口,通信窗口显示的内容有限,如果只是按照屏幕尺寸或者预设比例将通信窗口中显示的内容进行放大,则会显示大片空白信息,影响用户观感。
为了解决上述问题,在本实施例中,通过系统框架获取通信窗口对应的预设类型的应用进程的信息流,预设类型的应用进程一般包括通信类应用进程,例如实时通信类以及非实时通信类应用进程,根据通信类应用进程的信息流获取通信窗口的通信记录,该通信记录包括上下文信息,如聊天记录中的文字消息、图片小心、音/视频消息等。基于通信记录建立第七内容,然后根据第七内容生成通信窗口对应的截图图片。
在一个例子中,如图6a所示的图形用户界面600包括通信窗口60以及显示窗口62,在对通信窗口60进行截图的过程中,确定通信窗口60对应的通信类应用进程,通过系统框架获取通信类进程对应的信息流,基于信息流中的通信记录建立第七内容,如图6b所示,根据第七内容生成通 信窗口60对应的截图图片610,截图图片610的内容由通信窗口60中的通信记录构成,该通信记录包括通信窗口60中的显示内容612以及补充内容614,模拟在第三应用进程的全屏界面进行截图,实现了在不退出分屏的状态下,完成对通信窗口全屏内容的截图。
通过上述实施例,通过系统架构获取预设类型的应用进程对应的通信记录,根据通信记录建立第七内容,根据第七内容生成通信窗口对应的截图图片,实现了在不将通信窗口切换至主任务视图的情况下,也能对通信窗口进行截图。
可选地,在本实施例中,在根据多个第一内容生成多个截图图片之后,还包括但不限于:按照预设规则显示多个截图图片;接收作用于多个截图图片的第二选取操作;响应于第二选取操作,保存第二选取操作选中的截图图片。
具体地,仍以图2a中所示的图形用户界面为例进行说明,图形用户界面200中展示了多个截图图片,即显示窗口20对应的截图图片220、悬浮窗22对应的截图图片222、悬浮窗24对应的截图图片224、图形用户界面200的显示内容对应的截图图片226、图形用户界面的显示内容与悬浮窗22组合对应的截图图片228、以及图形用户界面的显示内容与悬浮窗24组合对应的截图图片230。在图2a中,截图图片在图形用户界面中按照预设顺序进行排列展示,展示的方式为截图图片的缩略图格式。点击截图图片对截图图片进行预览,然后检测作用于截图图片的第二选取操作,对第二选取操作进行保存或分享。
通过上述实施例,按照预设规则在图形用户界面上展示多个截图图片,根据作用于截图图片的第二选取操作,对截图图片进行保存,方便用户快速准确的获取截图结果,以提高用户的截图体验。
可选地,在本实施例中,按照预设规则显示多个截图图片,包括但不限于:根据截图图片中显示窗口的数量对多个截图图片进行排序后展示; 或,根据显示窗口的面积占比对多个截图图片进行排序后展示;或,根据多个应用进程的使用频率对多个截图图片进行排序后展示;或,在预设位置展示第一截图图片,第一截图图片是电子设备当前执行的应用进程对应的截图图片。
在具体的应用场景中,本申请实施例中,可通过如下示例性方式按照预设规则在图形用户界面上展示多个截图图片:
(1)截图图片中显示窗口的数量;
具体地,根据截图图片中的显示窗口的数量对多个截图图片进行排序后展示,以图2a中所示的截图图片所示,则优先显示截图图片226、其次是接图片228以及截图图片230。
(2)显示窗口的面积占比;
具体地,根据显示窗口的面积占比对多个截图图片进行排序后展示,仍以图2a中所示的截图图片所示,则优先显示截图图片220,其次是截图图片224、然后是截图图片222。
(3)显示窗口对应的第一应用进程的使用频率;
具体地,第一应用进程的使用频率可以根据移动终端中应用程序的启动记录获取,或者可以根据服务器端的统计数据获取,本实施例中对此不作任何限定。
(4)图形用户界面的使用场景;
具体地,在预设位置优先展示当前执行的第一应用进程对应的截图图片。这里,图形用户界面的主任务界面的第一应用进程为当前执行的第一应用进程,以如图2a为例进行说明,在预设位置优先展示的截图图片220。
通过上述实施例,按照预设规则在图形用户界面上展示多个截图图片,可以实现对截图结果的快速浏览,使得截图图片的展示更加直观。
通过本申请的实施例,接收对电子设备进行截图的第一输入,响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。实现了针对移动终端的桌面多个任务窗口进行对应的截图,简化了多应用进程截图的操作,以提升用户的截图体验。
需要说明的是,本申请实施例提供的截图方法,执行主体可以为截图装置,或者该截图装置中的用于执行截图方法的控制模块。本申请实施例中以截图装置执行截图方法为例,说明本申请实施例提供的截图装置。
根据本实施例的另一个方面,提出了一种截图装置,如图7所示,该装置具体可以包括:
1)接收单元70,用于接收对电子设备进行截图的第一输入;
2)截图单元72,用于响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。
可选地,在本实施例中,截图单元72包括:
1)第一获取模块,用于获取与多个应用进程对应的多个第一内容,多个应用进程与多个显示窗口对应;
2)第一处理模块,用于根据多个第一内容生成多个截图图片。
可选地,在本实施例中,还包括:
1)第一确定模块,用于在获取与多个应用进程对应的多个第一内容之前,确定与多个应用进程对应的多个应用程序的多个应用图标;
2)渲染模块,用于在电子设备对应的图形用户界面中渲染截图窗口,截图窗口中包括多个应用图标;
3)接收模块,用于接收作用于多个应用图标的第一选取操作,以确定目标应用图标对应的目标应用进程,目标应用图标为第一选取操作选中的应用图标;
4)第二处理模块,用于生成与目标应用进程对应的截图图片。
可选地,在本实施例中,显示窗口包括悬浮窗,悬浮窗的窗口尺寸小于或等于第一预设尺寸阈值,悬浮窗包括第三内容,基于此,第一处理模块包括:
1)第一显示子模块,用于将第三内容进行放大显示,以得到第四内容,第四内容的显示窗口的尺寸与显示屏幕的尺寸相同;
2)第一处理子模块,用于根据第四内容生成与悬浮窗对应的截图图片。
可选地,在本实施例中,显示窗口包括分屏窗口,分屏窗口的尺寸大于第二预设尺寸阈值,且小于电子设备的屏幕尺寸,其中,第一处理模块包括:
1)第二显示子模块,用于按照预设比例对分屏窗口对应的第五内容进行放大显示,以得到第六内容,第六内容的显示尺寸小于屏幕尺寸;
2)第二处理子模块,用于根据第六内容生成与分屏窗口对应的截图图片,基于此,分屏窗口对应的截图图片包括第六内容以及填充部分,填充部分为预设背景。
可选地,在本实施例中,显示窗口包括通信窗口,通信窗口对应的应用进程为预设类型的应用进程,基于此,第一处理模块,包括:
1)获取子模块,用于获取预设类型的应用进程对应的通信记录;
2)第三处理子模块,用于根据通信记录生成第七内容,第七内容的显示尺寸与屏幕尺寸相同;
3)第四处理子模块,用于根据第七内容生成通信控件对应的截图图片。
可选地,在本实施例中,还包括:
1)显示模块,用于在根据多个第一内容生成多个截图图片之后,按照预设规则显示多个截图图片;
2)接收模块,用于接收作用于多个截图图片的第二选取操作;
3)存储模块,用于响应于第二选取操作,保存第二选取操作选中的截图图片。
可选地,在本实施例中,显示模块包括:
1)第三显示子模块,用于根据截图图片中显示窗口的数量对多个截图图片进行排序后展示;或,
2)第四显示子模块,用于根据显示窗口的面积占比对多个截图图片进行排序后展示;或,
3)第五显示子模块,用于根据多个应用进程的使用频率对多个截图图片进行排序后展示;或,
4)第六显示子模块,用于在预设位置展示第一截图图片,其中,第一截图图片是电子设备当前执行的应用进程对应的截图图片。
本申请实施例中的截图装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的截图装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的截图装置能够实现图1至图6b的方法实施例中截图装置实现的各个过程,为避免重复,这里不再赘述。
通过本申请的截图装置,接收对电子设备进行截图的第一输入,响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。实现了针对移动终端的桌面多个任务窗口进行对应的截图,简化了多应用进程截图的操作,以提升用户的截图体验。
根据本申请实施例的另一个方面,还提供一种电子设备,包括处理器810,存储器809,存储在存储器809上并可在处理器810上运行的程序或指令,该程序或指令被处理器810执行时实现上述截图的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图8为实现本申请实施例的一种电子设备的硬件结构示意图。下面将结合图8对该电子设备的实施例进行详细说明。
如图8所示,该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器110等部件。
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。 图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,输入单元804,用于接收对电子设备进行截图的第一输入;
处理器110,用于响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。
通过本申请的实施例,接收对电子设备进行截图的第一输入,响应于第一输入,在电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,多个截图图片分别与多个显示窗口相对应,且每个截图图片均是基于与之对应的显示窗口的第一内容生成的。实现了针对移动终端的桌面多个任务窗口进行对应的截图,简化了多应用进程截图的操作,以提升用户的截图体验。
根据本申请实施例的又一个方面,还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述截图方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述截图方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。所示的计算机可读存储介质的示例包括非暂态计算机可读存储介 质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
上面参考根据本申请的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁 碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种截图方法,其中,所述方法包括:
    接收对电子设备进行截图的第一输入;
    响应于所述第一输入,在所述电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,
    其中,所述多个截图图片分别与所述多个显示窗口相对应,且每个所述截图图片均是基于与之对应的显示窗口的第一内容生成的。
  2. 根据权利要求1所述的方法,其中,响应于所述第一输入,在所述电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,包括:
    获取与多个应用进程对应的多个所述第一内容,其中,所述多个应用进程与所述多个显示窗口对应;
    根据所述多个第一内容生成所述多个截图图片。
  3. 根据权利要求2所述的方法,其中,在获取与多个应用进程对应的多个所述第一内容之前,还包括:
    确定与所述多个应用进程对应的多个应用程序的多个应用图标;
    在所述电子设备对应的图形用户界面中渲染截图窗口,其中,所述截图窗口中包括所述多个应用图标;
    接收作用于所述多个应用图标的第一选取操作,以确定目标应用图标对应的目标应用进程,其中,所述目标应用图标为所述第一选取操作选中的应用图标;
    生成与所述目标应用进程对应的截图图片。
  4. 根据权利要求2所述的方法,其中,所述显示窗口包括悬浮窗,其中,所述悬浮窗的窗口尺寸小于或等于第一预设尺寸阈值,所述悬浮窗包括第三内容,其中,
    根据所述多个第一内容生成所述多个截图图片,包括:
    将所述第三内容进行放大显示,以得到第四内容,其中,所述第四内容的显示窗口的尺寸与所述显示屏幕的尺寸相同;
    根据所述第四内容生成与所述悬浮窗对应的截图图片。
  5. 根据权利要求2所述的方法,其中,所述显示窗口包括分屏窗口,其中,所述分屏窗口的尺寸大于第二预设尺寸阈值,且小于所述电子设备的屏幕尺寸,其中,
    根据所述多个第一内容生成所述多个截图图片,包括:
    按照预设比例对所述分屏窗口对应的第五内容进行放大显示,以得到第六内容,其中,所述第六内容的显示尺寸小于所述屏幕尺寸;
    根据所述第六内容生成与所述分屏窗口对应的截图图片,其中,所述分屏窗口对应的截图图片包括所述第六内容以及填充部分,所述填充部分为预设背景。
  6. 根据权利要求2所述的方法,其中,所述显示窗口包括通信窗口,其中,所述通信窗口对应的应用进程为预设类型的应用进程,其中,
    根据所述多个第一内容生成所述多个截图图片,包括:
    获取所述预设类型的应用进程对应的通信记录;
    根据所述通信记录生成第七内容,其中,所述第七内容的显示尺寸与所述屏幕尺寸相同;
    根据所述第七内容生成所述通信控件对应的截图图片。
  7. 根据权利要求1或2所述的方法,其中,在根据所述多个第一内容生成所述多个截图图片之后,还包括:
    按照预设规则显示所述多个截图图片;
    接收作用于所述多个截图图片的第二选取操作;
    响应于所述第二选取操作,保存所述第二选取操作选中的截图图片。
  8. 根据权利要7所述的方法,其中,按照预设规则显示所述多个截图图片,包括:
    根据所述截图图片中显示窗口的数量对所述多个截图图片进行排序后展示;或,
    根据所述显示窗口的面积占比对所述多个截图图片进行排序后展示;或,
    根据所述多个应用进程的使用频率对所述多个截图图片进行排序后展示;或,
    在预设位置展示第一截图图片,其中,所述第一截图图片是所述电子设备当前执行的应用进程对应的截图图片。
  9. 一种截图装置,其中,所述装置包括:
    接收单元,用于接收对电子设备进行截图的第一输入;
    截图单元,用于响应于所述第一输入,在所述电子设备的显示屏幕中的显示窗口的数量大于1的情况下,生成多个截图图片,
    其中,所述多个截图图片分别与所述多个显示窗口相对应,且每个所述截图图片均是基于与之对应的显示窗口的第一内容生成的。
  10. 根据权利要求9所述的装置,其中,所述截图单元包括:
    第一获取模块,用于获取与多个应用进程对应的多个所述第一内容,其中,所述多个应用进程与所述多个显示窗口对应;
    第一处理模块,用于根据所述多个第一内容生成所述多个截图图片。
  11. 根据权利要求10所述的装置,其中,还包括:
    第一确定模块,用于在获取与多个应用进程对应的多个所述第一内容之前,确定与所述多个应用进程对应的多个应用程序的多个应用图标;
    渲染模块,用于在所述电子设备对应的图形用户界面中渲染截图窗口,其中,所述截图窗口中包括所述多个应用图标;
    接收模块,用于接收作用于所述多个应用图标的第一选取操作,以确定目标应用图标对应的目标应用进程,其中,所述目标应用图标为所述第一选取操作选中的应用图标;
    第二处理模块,用于生成与所述目标应用进程对应的截图图片。
  12. 根据权利要求10所述的装置,其中,所述显示窗口包括悬浮窗,其中,所述悬浮窗的窗口尺寸小于或等于第一预设尺寸阈值,所述悬浮窗包括第三内容,其中,
    所述第一处理模块包括:
    第一显示子模块,用于将所述第三内容进行放大显示,以得到第四内容,其中,所述第四内容的显示窗口的尺寸与所述显示屏幕的尺寸相同;
    第一处理子模块,用于根据所述第四内容生成与所述悬浮窗对应的截图图片。
  13. 根据权利要求10所述的装置,其中,所述显示窗口包括分屏窗口,其中,所述分屏窗口的尺寸大于第二预设尺寸阈值,且小于所述电子设备的屏幕尺寸,其中,
    所述第一处理模块包括:
    第二显示子模块,用于按照预设比例对所述分屏窗口对应的第五内容进行放大显示,以得到第六内容,其中,所述第六内容的显示尺寸小于所述屏幕尺寸;
    第二处理子模块,用于根据所述第六内容生成与所述分屏窗口对应的截图图片,其中,所述分屏窗口对应的截图图片包括所述第六内容以及填充部分,所述填充部分为预设背景。
  14. 根据权利要求10所述的装置,其中,所述显示窗口包括通信窗口,其中,所述通信窗口对应的应用进程为预设类型的应用进程,其中,
    所述第一处理模块,包括:
    获取子模块,用于获取所述预设类型的应用进程对应的通信记录;
    第三处理子模块,用于根据所述通信记录生成第七内容,其中,所述第七内容的显示尺寸与所述屏幕尺寸相同;
    第四处理子模块,用于根据所述第七内容生成所述通信控件对应的截图图片。
  15. 根据权利要求9或10所述的装置,其中,还包括:
    显示模块,用于在根据所述多个第一内容生成所述多个截图图片之后,按照预设规则显示所述多个截图图片;
    接收模块,用于接收作用于所述多个截图图片的第二选取操作;
    存储模块,用于响应于所述第二选取操作,保存所述第二选取操作选中的截图图片。
  16. 根据权利要15所述的装置,其中,所述显示模块包括:
    第三显示子模块,用于根据所述截图图片中显示窗口的数量对所述多个截图图片进行排序后展示;或,
    第四显示子模块,用于根据所述显示窗口的面积占比对所述多个截图图片进行排序后展示;或,
    第五显示子模块,用于根据所述多个应用进程的使用频率对所述多个截图图片进行排序后展示;或,
    第六显示子模块,用于在预设位置展示第一截图图片,其中,所述第一截图图片是所述电子设备当前执行的应用进程对应的截图图片。
  17. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8所述的截图方法的步骤。
  18. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8所述的截图方法的步骤。
  19. 一种计算机程序产品,所述计算机程序产品可被处理器执行以实现如权利要求1至8中任一项所述的截图方法的步骤。
PCT/CN2021/125820 2020-10-30 2021-10-22 截图方法和装置、电子设备和可读存储介质 Ceased WO2022089330A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011199890.5 2020-10-30
CN202011199890.5A CN112306607B (zh) 2020-10-30 2020-10-30 截图方法和装置、电子设备和可读存储介质

Publications (1)

Publication Number Publication Date
WO2022089330A1 true WO2022089330A1 (zh) 2022-05-05

Family

ID=74333453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/125820 Ceased WO2022089330A1 (zh) 2020-10-30 2021-10-22 截图方法和装置、电子设备和可读存储介质

Country Status (2)

Country Link
CN (1) CN112306607B (zh)
WO (1) WO2022089330A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880060A (zh) * 2022-05-27 2022-08-09 度小满科技(北京)有限公司 信息显示方法和装置
CN114995701A (zh) * 2022-07-19 2022-09-02 荣耀终端有限公司 悬浮窗控制方法及相关装置
WO2024087191A1 (zh) * 2022-10-28 2024-05-02 深圳传音控股股份有限公司 多窗口截屏方法、智能终端及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306607B (zh) * 2020-10-30 2024-09-24 维沃移动通信有限公司 截图方法和装置、电子设备和可读存储介质
CN112579244B (zh) * 2021-02-25 2021-06-18 全时云商务服务股份有限公司 在移动终端截取远程桌面中区域图片的方法及系统
CN113657362B (zh) * 2021-07-27 2023-09-29 浙江大学 一种基于计算机视觉的网页端漂浮窗关闭渠道检测方法
CN113805745B (zh) * 2021-08-12 2022-09-20 荣耀终端有限公司 一种悬浮窗的控制方法及电子设备
CN113726953B (zh) * 2021-08-31 2023-03-14 维沃移动通信有限公司 显示内容获取方法和装置
CN118193092A (zh) * 2022-12-14 2024-06-14 华为技术有限公司 显示方法和电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032418A (zh) * 2019-04-16 2019-07-19 珠海格力电器股份有限公司 一种截图方法、系统、终端设备及计算机可读存储介质
US20200159370A1 (en) * 2018-11-16 2020-05-21 International Business Machines Corporation Review of previously displayed content
CN111324263A (zh) * 2020-01-21 2020-06-23 维沃移动通信有限公司 一种截屏方法、电子设备以及计算机可读存储介质
CN112306607A (zh) * 2020-10-30 2021-02-02 维沃移动通信有限公司 截图方法和装置、电子设备和可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200159370A1 (en) * 2018-11-16 2020-05-21 International Business Machines Corporation Review of previously displayed content
CN110032418A (zh) * 2019-04-16 2019-07-19 珠海格力电器股份有限公司 一种截图方法、系统、终端设备及计算机可读存储介质
CN111324263A (zh) * 2020-01-21 2020-06-23 维沃移动通信有限公司 一种截屏方法、电子设备以及计算机可读存储介质
CN112306607A (zh) * 2020-10-30 2021-02-02 维沃移动通信有限公司 截图方法和装置、电子设备和可读存储介质

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880060A (zh) * 2022-05-27 2022-08-09 度小满科技(北京)有限公司 信息显示方法和装置
CN114880060B (zh) * 2022-05-27 2023-12-22 度小满科技(北京)有限公司 信息显示方法和装置
CN114995701A (zh) * 2022-07-19 2022-09-02 荣耀终端有限公司 悬浮窗控制方法及相关装置
CN114995701B (zh) * 2022-07-19 2024-04-02 荣耀终端有限公司 悬浮窗控制方法及相关装置
WO2024087191A1 (zh) * 2022-10-28 2024-05-02 深圳传音控股股份有限公司 多窗口截屏方法、智能终端及存储介质

Also Published As

Publication number Publication date
CN112306607B (zh) 2024-09-24
CN112306607A (zh) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2022089330A1 (zh) 截图方法和装置、电子设备和可读存储介质
CN109782976B (zh) 文件处理方法、装置、终端及存储介质
CN104978267B (zh) 网页测试方法、终端及服务器
US11652763B2 (en) Information display method and apparatus, and electronic device
WO2022089568A1 (zh) 文件分享的方法、装置和电子设备
CN112181252B (zh) 截屏方法、装置及电子设备
US12073068B2 (en) Image dividing and sharing method
CN111638818A (zh) 窗口位置调整方法、装置及电子设备
WO2022156606A1 (zh) 信息处理方法、装置及电子设备
EP4668769A1 (en) Media content sending method and apparatus, device, and storage medium
WO2023030115A1 (zh) 界面显示方法和装置
CN112083866A (zh) 一种表情图像的生成方法和装置
CN107517312A (zh) 一种壁纸切换方法、装置及终端设备
CN107102800A (zh) 消息的显示方法以及显示消息的电子设备
CN112099714B (zh) 截图方法、装置、电子设备及可读存储介质
CN112399010B (zh) 页面显示方法、装置和电子设备
CN113835577A (zh) 显示方法、装置、电子设备及存储介质
CN112286615A (zh) 应用程序的信息显示方法及装置
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
CN113282204A (zh) 图标控制方法及图标控制装置
US12342047B2 (en) Method and apparatus for photographing live broadcast video, device and computer readable storage medium
CN115086747B (zh) 信息处理方法、装置、电子设备和可读存储介质
CN113726953B (zh) 显示内容获取方法和装置
WO2024169824A1 (zh) 页面控制方法、装置及电子设备
CN117648144A (zh) 图像处理方法、装置、电子设备及可读存储介质

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: 21885057

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21885057

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21885057

Country of ref document: EP

Kind code of ref document: A1

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 271123)

122 Ep: pct application non-entry in european phase

Ref document number: 21885057

Country of ref document: EP

Kind code of ref document: A1