CN112684963A - Screenshot method and device and electronic equipment - Google Patents

Screenshot method and device and electronic equipment Download PDF

Info

Publication number
CN112684963A
CN112684963A CN202011553257.1A CN202011553257A CN112684963A CN 112684963 A CN112684963 A CN 112684963A CN 202011553257 A CN202011553257 A CN 202011553257A CN 112684963 A CN112684963 A CN 112684963A
Authority
CN
China
Prior art keywords
screenshot
page
target
contact
content
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.)
Pending
Application number
CN202011553257.1A
Other languages
Chinese (zh)
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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202011553257.1A priority Critical patent/CN112684963A/en
Publication of CN112684963A publication Critical patent/CN112684963A/en
Priority to PCT/CN2021/140478 priority patent/WO2022135476A1/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

The application discloses a screenshot method, a screenshot device and electronic equipment, belongs to the technical field of communication, and can solve the problems of complex steps and low flexibility in obtaining a screenshot of session message content. The method comprises the following steps: receiving screenshot input under the condition that a first page is displayed, wherein the first page comprises conversation messages of N contacts; responding to the screenshot input, and intercepting the page content in the target area to obtain a first screenshot; based on a target contact person selected by a user from the N contact persons, filtering other conversation message contents except the first page content in the first screenshot to obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact. The embodiment of the application is applied to a screenshot scene.

Description

Screenshot method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a screenshot method, a screenshot device and electronic equipment.
Background
With the development of electronic technology, a conversation application in an electronic device plays an important role, and at present, a user can share conversation message content in the conversation application in a screenshot form in a screen capture mode.
In the related art, if a user wants to obtain a screenshot including only a part of session message content in a session interface, the user needs to perform screenshot operation on the session interface first, and then print a mosaic on an area of the session message except the part of the session message in the obtained screenshot.
Thus, the steps of the whole screenshot process are complicated and the flexibility is low.
Disclosure of Invention
The embodiment of the application aims to provide a screenshot method, which can solve the problems of complicated steps and low flexibility in the relevant screenshot process.
In a first aspect, an embodiment of the present application provides a screenshot method, including: receiving screenshot input under the condition that a first page is displayed, wherein the first page comprises conversation messages of N contacts; responding to the screenshot input, and intercepting the page content in the target area to obtain a first screenshot; based on a target contact person selected by a user from the N contact persons, filtering other conversation message contents except the first page content in the first screenshot to obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact.
In a second aspect, an embodiment of the present application provides a screenshot method, where the method includes: receiving screenshot input under the condition that a first page is displayed, wherein the first page comprises conversation messages of N contacts; responding to the screenshot input, and based on a target contact person selected by a user from the N contact persons, intercepting the content of a first page in the first page to obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact.
In a third aspect, an embodiment of the present application provides a screenshot device, where the screenshot device includes: a receiving module and an executing module, wherein:
the receiving module is used for receiving screenshot input under the condition that a first page is displayed, wherein the first page comprises session messages of N contacts; the execution module is configured to intercept the page content in the target area in response to the screenshot input received by the receiving module, so as to obtain a first screenshot; and based on a target contact person selected by the user from the N contact persons, filtering other conversation message contents except the first page content in the first screenshot to obtain a target screenshot, wherein the first page content comprises the message contents of the conversation message of the target contact person.
In a fourth aspect, an embodiment of the present application provides a screenshot device, where the screenshot device includes: a receiving module and an executing module, wherein:
the receiving module is used for receiving screenshot input under the condition that a first page is displayed, wherein the first page comprises session messages of N contacts; the execution module is configured to respond to the screenshot input received by the receiving module, and intercept the first content in the first page based on a target contact selected by the user from the N contacts to obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In an eighth aspect, the present application provides a computer program product stored in a non-volatile storage medium, the program product being executed by at least one processor to implement the method according to the first or second aspect.
In this embodiment of the present application, in a case that a first page is displayed, after receiving a screenshot input of a user on a target area (including a session message of N contacts) in the first page, an electronic device may perform a target operation on the target area based on a target contact selected by the user to obtain a target screenshot, where the target operation includes: intercepting page content in a target area to obtain a first screenshot, and filtering out other content except the first page content in the first screenshot to obtain a target screenshot; or directly intercepting the first page content in the target area to obtain the target screenshot. Therefore, the electronic equipment can obtain the target screenshot of the message content of the conversation message only comprising the target contact person based on the target contact person selected by the user, without performing screenshot operation on the conversation interface firstly and then printing a mosaic on the area of the conversation message except the part of the conversation message in the obtained screenshot, so that the step of obtaining the screenshot comprising the specific conversation message content is simplified, and the flexibility of screenshot is improved.
Drawings
Fig. 1 is one of method flow charts of a screenshot method provided in an embodiment of the present application;
fig. 2 is one of schematic diagrams of an interface applied by a screenshot method according to an embodiment of the present application;
fig. 3 is a second flowchart of a screenshot method provided in the embodiment of the present application;
fig. 4 is a second schematic diagram of an interface applied by a screenshot method according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of a screenshot device provided in an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screenshot method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through a specific embodiment and an application scenario thereof.
The screenshot method provided by the embodiment of the application can be applied to screenshot scenes.
Take the message content of a session message in an intercepted session application as an example. Assume that the session interface of session application a includes session message content a of contact a, session message content a of contact B, and session message content C of contact C. If the user wants to share the content of the session message with the contact A and the contact C with others in a screenshot mode, that is, the user wants to obtain a screenshot only containing the content of the session message of the contact A and the content of the session message of the contact C, the user needs to delete the session message of the contact B in the session interface and then screenshot the session interface. Therefore, after the user deletes the session message of the contact B in the session interface, the user cannot view the session message of the contact B from the session interface any more, so that the whole step of obtaining the screenshot of the content of the session message is complicated and has low flexibility.
In the embodiment of the application, the screenshot device can firstly perform screenshot on the session interface of the session application A to obtain a screenshot, and then filter the session message content of the contact B in the screenshot to obtain a target screenshot of the session message content comprising only the contact A and the contact C; or, the screenshot device can directly intercept the session message content of the contact A and the contact C in the session interface of the session application A based on the target contact selected by the user from the N contacts to obtain the target screenshot of the session message content including only the contact A and the contact C, so that the step of acquiring the screenshot containing the specific session message content is simplified, and the screenshot flexibility is improved.
The embodiment of the application provides a screenshot method, which can be applied to electronic equipment, and fig. 1 shows a flowchart of the screenshot method provided by the embodiment of the application. As shown in fig. 1, the screenshot method provided in the embodiment of the present application may include the following steps 101 to 103:
step 101: in the case of displaying the first page, a screenshot input is received.
Wherein the first page contains session messages for N contacts.
In an embodiment of the present application, the screenshot input includes: any feasible input, such as touch input, gesture input, voice input, etc.
In the embodiment of the application, the screenshot device can perform single-screen screenshot or long-screen screenshot on the first page. For example, the user may drag the first page to select a range to be intercepted, and after determining the interception range, screen capture is performed on the first page in the range.
Step 102: and responding to the screenshot input, and intercepting the page content in the target area to obtain a first screenshot.
Optionally, in this embodiment of the application, after obtaining the first cut, the screenshot device may perform a first operation on the first cut. Wherein the first operation comprises at least one of: and removing the task bar of the first screenshot, rearranging the session message contents in the first screenshot, and adjusting the interval of the session message contents in the first screenshot to be a preset value, for example, uniformly setting the interval of the session message contents in the screenshot to be 40 px.
Step 103: and based on a target contact person selected by the user from the N contact persons, filtering other conversation message contents except the first page content in the first screenshot to obtain a target screenshot.
Wherein the first page content includes message content of a session message of the target contact.
In this embodiment of the application, the first page content is a message content of a session message of a target contact in the N contacts.
Illustratively, the message content of the session message includes at least one of: the head portrait of the contact in the conversation application, the nickname of the contact in the conversation application, and the message content of the conversation message of the contact.
Illustratively, the target contact is at least one contact in the N contacts, and the target contact is a contact determined by the screenshot device from the N contacts according to a predetermined condition. Wherein the predetermined condition comprises at least one of: the number of conversation messages displayed in the target area exceeds a threshold or a contact selected by the user from the N contacts.
Optionally, in this embodiment of the application, after obtaining the first screenshot, the screenshot device may analyze the first screenshot, determine all session message contents (for example, session messages and contact icons) included in the first screenshot, and then filter all session message contents included in the first screenshot according to a target contact selected by a user from the N contacts, to obtain a screenshot of other session message contents except the session message content (that is, the first page content) corresponding to the target contact.
Optionally, in this embodiment of the application, after obtaining the content of the session message other than the content of the session message corresponding to the target contact identifier (i.e., the first page content), the screenshot device may identify the first screenshot, determine an image area in the first screenshot where the content of the session message other than the first page content is located, and delete the display content in the image area, so as to obtain the target screenshot only including the content of the session message of the target contact. Therefore, the screenshot device can obtain the screenshot of the session message content only containing the user requirements under the condition of not changing the original page content, and the flexibility and the convenience of the screenshot are improved.
In the screenshot method provided by the embodiment of the application, under the condition that the first page is displayed, the electronic device receives user screenshot input, and after the first screenshot is obtained, other session message contents except the first page content in the first screenshot are filtered out based on a target contact selected by a user from the N contacts, so that the target screenshot is obtained. Therefore, the electronic equipment can obtain the target screenshot of the message content of the conversation message only comprising the target contact person based on the target contact person selected by the user, without performing screenshot operation on the conversation interface firstly and then printing a mosaic on the area of the conversation message except the part of the conversation message in the obtained screenshot, so that the step of obtaining the screenshot comprising the specific conversation message content is simplified, and the flexibility of screenshot is improved.
Optionally, in this embodiment of the application, when the screenshot device obtains the target screenshot, it is further required to select a target contact corresponding to the conversation message that is desired to be retained from the N contacts.
Before the step 103, the screenshot method provided in the embodiment of the present application further includes the following step a1 and step a 2:
step A1: and displaying the contact person identifications of the N contact persons.
Step A2: a first input of a target contact identification in the N contact identifications by a user is received.
For example, the first input may be any feasible input such as a click input, a slide input, or a drag input.
In combination with the step a1 and the step a2, the step 103 includes the following step B1:
step B1: and responding to the first input, and filtering other contents except the first page content in the first screenshot based on the target contact person to obtain a target screenshot.
For example, the screenshot device may display the contact identifications of the N contacts in any area of the first page.
Illustratively, the N contacts are contacts corresponding to the target session message in the first page. Further, the target session message includes at least one of: a conversation message in a first area selected by a user from the first page, a conversation message in a display area of the first page displayed in the screen, a conversation message received or transmitted within a predetermined period of time.
For example, the screenshot device may parse the first page to obtain the contact identifiers of the N contacts included in the first page.
Illustratively, the contact identification includes at least one of: the avatar of the contact in the session application, the nickname of the contact in the session application, and the contact identifier may be in any form that can indicate the contact, which is not limited in this embodiment of the present application.
Illustratively, the contact identification includes at least one of: the avatar of the contact in the session application, the nickname of the contact in the session application, and the contact identifier may be in any form that can indicate the contact, which is not limited in this embodiment of the present application.
Illustratively, the target contact identification includes at least one of: and the contact person identification is selected from the N contact person identifications by the user, and the contact person identification of the contact person of which the conversation message quantity exceeds a threshold value.
For example, the second input of the target contact identifier by the user may be any feasible input such as clicking, pressing, dragging, and the like, which is not limited in this embodiment of the application.
Therefore, the screenshot device can automatically obtain the contact person identification from the current session message page, and the convenience of the screenshot process is improved.
Optionally, in this embodiment of the application, the N contact identifiers may be obtained from a first page by a screenshot device, or obtained from a first screenshot by the screenshot device.
Illustratively, the step a1 includes the following step C1:
step C1: and identifying the first page or the first screenshot, and displaying the contact person identification of the N contact persons.
Further optionally, in this embodiment, after the step 102, the screenshot method provided in this embodiment further includes the following step D1:
step D1: and displaying the screenshot thumbnail of the first screenshot on the first page.
Wherein the first input is: and dragging the target contact person identification to the screenshot thumbnail by the user for inputting.
For example, the screenshot device may display the screenshot thumbnail in any display area of the first page in a preset style, where the preset style includes at least one of: and presetting transparency, size and frame.
For example, the screenshot thumbnail may be displayed in a floating manner on the first page, or may be displayed on the first page in a fixed manner, which is not limited in this embodiment of the application.
For example, in the case that the screenshot device displays the screenshot thumbnail of the first screenshot on the first page, after the user drags the target contact identifier to the screenshot thumbnail, the screenshot device may filter, based on the target contact, the session message content in the first screenshot corresponding to the screenshot thumbnail except the session message content of the target contact, so as to obtain the session message content only including the target contact.
For example, as shown in (a) of fig. 2, a screenshot thumbnail 21 of the chat APP is displayed on the screen, and the contact identification 1 of the contact 1, the contact identification 2 of the contact 2, and the contact identification 3 of the contact 3. If the user wants to obtain the screenshot of the session message content only including the contact 1 and the contact 2, as shown in (b) in fig. 2, the user may drag the contact identifier 1 and the contact identifier 2 (i.e., the target contact identifier) to the thumbnail a, and trigger the screenshot device to perform a filtering operation on the screenshot a. As shown in fig. 2 (c), a target screenshot of the conversation message content is obtained that includes only contact 1 and contact 2.
Therefore, the thumbnail of the screenshot is displayed on the conversation interface, so that the user can drag the contact identification to the thumbnail on the current conversation interface without jumping to other pages, and the man-machine interaction performance is improved.
Optionally, in this embodiment of the application, after the page content in the target area is captured to obtain the first screenshot, the screenshot device stores the first screenshot and the contact identifier.
Illustratively, the screenshot device may obtain X contact identifiers in the first screenshot, and store the X contact identifiers and the first screenshot.
Further, the screenshot device can identify the first screenshot to obtain X contact person identifiers contained in the first screenshot, and store the contact person identifiers and the first screenshot in an album of the electronic device.
Further, when the first screenshot and the X contact person identifiers are saved, the screenshot device may establish an association relationship between the first screenshot and the X contact person identifiers, and when the user views the first screenshot in the album, the X contact person identifiers of the first screenshot are displayed at the same time.
For example, the screenshot a of the session interface a and the contact avatar 1 and the contact avatar 2 (i.e., contact identifiers) in the screenshot a are stored in an album of the electronic device, and the screenshot a is displayed in the album of the electronic device, or the thumbnail of the screenshot a is displayed in the album in a list form, the user may drag the contact avatar 2 in the album to the screenshot a or the thumbnail of the screenshot a, and then the screenshot device may filter out other contents in the screenshot a except the content of the session message corresponding to the contact avatar a, so as to obtain a screenshot of the session message only including the contact a.
Therefore, the screenshot device can process the screenshot stored in the album, so that the requirement of a user on processing the stored screenshot is met, and the man-machine interaction performance is improved.
The embodiment of the application provides a screenshot method, which can be applied to electronic equipment, and fig. 3 shows a flowchart of the screenshot method provided by the embodiment of the application. As shown in fig. 3, the screenshot method provided in the embodiment of the present application may include the following steps 201 and 202:
step 201: in the case of displaying the first page, a screenshot input is received.
Wherein the first page contains session messages for N contacts.
In an embodiment of the present application, the screenshot input includes: any feasible input, such as touch input, gesture input, voice input, etc.
In the embodiment of the application, the screenshot device can perform single-screen screenshot or long-screen screenshot on the first page. For example, the user may drag the first page to select a range to be intercepted, and after determining the interception range, screen capture is performed on the first page in the range.
Step 202: and responding to screenshot input, and based on a target contact person selected by a user from the N contact persons, intercepting the content of the first page in the first page to obtain a target screenshot.
Wherein the first page content includes message content of a session message of the target contact.
In this embodiment of the application, the first page content is a message content of a session message of a target contact in the N contacts.
Illustratively, the message content of the session message includes at least one of: the head portrait of the contact in the conversation application, the nickname of the contact in the conversation application, and the message content of the conversation message of the contact.
Illustratively, the target contact is at least one contact in the N contacts, and the target contact is a contact determined by the screenshot device from the N contacts according to a predetermined condition. Wherein the predetermined condition comprises at least one of: the number of conversation messages displayed in the target area exceeds a threshold or a contact selected by the user from the N contacts.
In the screenshot method provided by the embodiment of the application, under the condition that the first page is displayed, after the electronic device receives screenshot input of a user on a target area (including session messages of N contacts) in the first page, the electronic device can directly intercept the content of the first page in the target area based on the target contact selected by the user to obtain a target screenshot. Therefore, the electronic equipment can obtain the target screenshot of the message content of the conversation message only comprising the target contact person based on the target contact person selected by the user, without performing screenshot operation on the conversation interface firstly and then printing a mosaic on the area of the conversation message except the part of the conversation message in the obtained screenshot, so that the step of obtaining the screenshot comprising the specific conversation message content is simplified, and the flexibility of screenshot is improved.
Optionally, in this embodiment of the application, before the screenshot input is received in step 201, the screenshot method provided in this embodiment of the application further includes the following step E1:
step E1: and displaying the contact person identification of the N contact persons on the first area of the first page.
Wherein the screenshot input comprises: and dragging the target contact person identification in the N contact person identifications out of the first area.
Illustratively, the first region includes any one of: the display device comprises a window, a pop-up box and a sub-page, wherein the first area can be displayed on the first page in a floating mode.
Illustratively, under the condition that N contact identifiers are displayed on a first page, a user may select at least one contact identifier from the N contact identifiers, and drag out the at least one contact identifier from a first region of the first page to other display regions of the first page, at this time, a screenshot device may screenshot a session message content of a contact corresponding to the other contact identifier in the first page except the at least one contact identifier, so as to obtain the target screenshot.
For example, as shown in fig. 4 (a), a conversation interface (i.e., a first page) of the chat APP is displayed on the screen, and a window 41 is displayed on the conversation interface, wherein the conversation message content 1 (i.e., the conversation message 1) of the contact 1, the conversation message content 2 (i.e., the conversation message 2 and the conversation message 3) of the contact 2, and the conversation message content 3 (i.e., the conversation message 4, the conversation message 5, and the conversation message 6) of the contact 3 are displayed on the conversation interface, and the contact identification 1 of the contact 1, the contact identification 2 of the contact 2, and the contact identification 3 of the contact 3 are displayed in the window 41. If the user wants to get a screenshot of the content of the conversation message containing only contact 1 and contact 2, the user may drag contact identification 1 and contact identification 2 out of the window 41, as shown in fig. 4 (b). As shown in (c) in fig. 4, a screenshot of the conversation message containing only contact 1 and contact 2 is obtained.
Therefore, the screenshot device can automatically execute the screenshot operation after the user drags the contact person identification into the session interface to obtain the target screenshot, the user does not need to input the screenshot function and then screenshot, and the man-machine interaction performance is improved.
Optionally, in this embodiment of the application, before the screenshot input is received in the step 201, the screenshot method provided in this embodiment of the application further includes the following steps 201a to 201 c:
step 201 a: and displaying the contact person identifications of the N contact persons.
Step 201 b: and receiving fourth input of the target contact person identification in the N contact person identifications from the user.
Step 201 c: and responding to the fourth input, and taking the contact indicated by the target contact identification as a target contact.
Illustratively, the fourth input may be any feasible input method.
Optionally, in this embodiment of the application, the intercepting the content of the first page in the target area in the step 202 to obtain the target screenshot includes the following steps 202a and 202 b:
step 202 a: the first page is copied.
Step 202 b: and filtering other conversation message contents except the first page content in the copied first page, and intercepting the rest page contents to obtain the target screenshot.
Illustratively, the page content in the copied first page is the same as the page content in the first page.
For example, the screenshot device may parse the page content of the copied first page, delete the page content except the first page content in the copied first page, obtain a page only including the first page content, and perform screenshot operation on the page, thereby obtaining a screenshot of the page only including the first page content.
Therefore, the screenshot device can obtain the screenshot of the first page only containing the page content needed by the user under the condition of not changing the page content of the original first page, and the man-machine interaction effect is improved.
It should be noted that, in the screenshot method provided in the embodiment of the present application, the execution subject may be a screenshot device, or a control module in the screenshot device for executing the screenshot method. In the embodiment of the present application, a method for executing screenshot by using a screenshot device is taken as an example, which illustrates the screenshot device provided in the embodiment of the present application.
An embodiment of the present application provides a screenshot device, as shown in fig. 5, where the screenshot device 400 includes: a receiving module 401 and an executing module 402.
An alternative implementation is:
the receiving module 401 is configured to receive screenshot input when a first page is displayed, where the first page includes session messages of N contacts; the executing module 402 is configured to, in response to the screenshot input received by the receiving module 401, filter, based on a target contact selected by the user from the N contacts, session message contents other than the first page content in the first screenshot, and obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact.
Optionally, in this embodiment of the application, the screenshot device 400 further includes: a display module 403; the display module 403 is configured to display the contact identifiers of the N contacts; the receiving module 401 is further configured to receive a first input of a target contact identifier in the N contact identifiers from the user; the executing module 402 is specifically configured to filter, in response to the first input received by the receiving module 401, contents other than the first page content in the first screenshot based on the target contact, and obtain a target screenshot.
Optionally, in this embodiment of the application, the display module 403 is specifically configured to identify the first page or the first screenshot, and display contact identifiers of the N contacts.
Optionally, in this embodiment of the application, the display module 403 is further configured to display a screenshot thumbnail of the first screenshot on the first page; wherein the first input is: and dragging the target contact person identification to the dragging input of the screenshot thumbnail by the user.
In the screenshot device provided by the embodiment of the application, when the first page is displayed, the electronic device receives a user screenshot input, and after the first screenshot is obtained, other session message contents except the first page content in the first screenshot are filtered out based on a target contact selected by the user from the N contacts, so that the target screenshot is obtained. Therefore, the electronic equipment can obtain the target screenshot of the message content of the conversation message only comprising the target contact person based on the target contact person selected by the user, without performing screenshot operation on the conversation interface firstly and then printing a mosaic on the area of the conversation message except the part of the conversation message in the obtained screenshot, so that the step of obtaining the screenshot comprising the specific conversation message content is simplified, and the flexibility of screenshot is improved.
The screenshot device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1 and fig. 2, and is not described here again to avoid repetition.
Another optional implementation is as follows:
the receiving module 401 is configured to receive screenshot input when a first page is displayed, where the first page includes session messages of N contacts; the executing module 402 is configured to, in response to the screenshot input received by the receiving module 401, intercept the first content in the first page based on a target contact selected by the user from the N contacts, and obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact.
Optionally, in this embodiment of the application, as shown in fig. 5, the screenshot device 400 further includes a display module 403, where the display module 403 is configured to display the contact identifiers of the N contacts on a first area of a first page; wherein the screenshot input comprises: and dragging the target contact person identification in the N contact person identifications out of the first area.
Optionally, in this embodiment of the application, the display module 403 is further configured to display contact identifiers of the N contacts; the receiving module 401 is further configured to receive a fourth input of the target contact identifier in the N contact identifiers from the user; the executing module 402 is further configured to, in response to the fourth input received by the receiving module 401, take the contact indicated by the target contact identifier as the target contact.
Optionally, in this embodiment of the application, the executing module 402 is specifically configured to copy the first page; and filtering other conversation message contents except the first page content in the copied first page, and intercepting the rest page contents to obtain the target screenshot.
In the screenshot device provided by the embodiment of the application, in the case that the first page is displayed, after receiving screenshot input of a user on a target area (including session messages of N contacts) in the first page, the electronic device may directly intercept the content of the first page in the target area based on the target contact selected by the user to obtain a target screenshot. Therefore, the electronic equipment can obtain the target screenshot of the message content of the conversation message only comprising the target contact person based on the target contact person selected by the user, without performing screenshot operation on the conversation interface firstly and then printing a mosaic on the area of the conversation message except the part of the conversation message in the obtained screenshot, so that the step of obtaining the screenshot comprising the specific conversation message content is simplified, and the flexibility of screenshot is improved.
The screenshot device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 3 and fig. 4, and is not described here again to avoid repetition.
The screenshot device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly 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, and embodiments of the present application are not limited specifically.
Optionally, as shown in fig. 6, an electronic device 500 is further provided in the embodiment of the present application, and includes a memory 501, a processor 502, and a program or an instruction stored in the memory 501 and executable on the processor 502, where the program or the instruction is executed by the processor 502 to implement each process of the screenshot method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
An alternative implementation is:
optionally, in this embodiment of the present application, the user input unit 107 is configured to receive a screenshot input when a first page is displayed, where the first page includes session messages of N contacts; the processor 110 is configured to filter, in response to the screenshot input received by the user input unit 107, session message contents other than the first page content in the first screenshot based on a target contact selected by the user from the N contacts, so as to obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact.
Optionally, in this embodiment of the application, the display module 106 is configured to display the contact identifiers of the N contacts; the user input unit 107 is further configured to receive a first input of a target contact identifier in the N contact identifiers from the user; the processor 110 is specifically configured to, in response to the first input received by the receiving module 401, filter, based on the target contact, contents other than the first page content in the first screenshot, and obtain a target screenshot.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to identify the first page or the first screenshot, and display contact identifiers of the N contacts.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display a screenshot thumbnail of the first screenshot on the first page; wherein the first input is: and dragging the target contact person identification to the dragging input of the screenshot thumbnail by the user.
In the electronic device provided by the embodiment of the application, under the condition that the first page is displayed, the electronic device receives user screenshot input, and after the first screenshot is obtained, other session message contents except the first page content in the first screenshot are filtered out based on a target contact selected by a user from the N contacts, so that the target screenshot is obtained. Therefore, the electronic equipment can obtain the target screenshot of the message content of the conversation message only comprising the target contact person based on the target contact person selected by the user, without performing screenshot operation on the conversation interface firstly and then printing a mosaic on the area of the conversation message except the part of the conversation message in the obtained screenshot, so that the step of obtaining the screenshot comprising the specific conversation message content is simplified, and the flexibility of screenshot is improved.
Another optional implementation is as follows:
optionally, in this embodiment of the present application, the user input unit 107 is configured to receive a screenshot input when a first page is displayed, where the first page includes session messages of N contacts; the above edge supporter 110, configured to intercept, in response to the screenshot input received by the above user input unit 107, the first content in the first page based on the target contact selected by the user from the above N contacts, so as to obtain a target screenshot; wherein the first page content includes message content of a session message of the target contact.
Optionally, in this embodiment of the application, the display unit 106 is configured to display the contact identifiers of the N contacts on a first area of a first page; wherein the screenshot input comprises: and dragging input for dragging the target contact person identification in the N contact person identifications out of the first area.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display contact identifiers of the N contacts; the user input unit 107 is further configured to receive a fourth input of the target contact identifier in the N contact identifiers from the user; the processor 110 is further configured to take the contact indicated by the target contact identifier as the target contact in response to the fourth input received by the receiving module 401.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to copy the first page; and filtering other conversation message contents except the first page content in the copied first page, and intercepting the rest page contents to obtain the target screenshot.
In the electronic device provided by the embodiment of the application, under the condition that the first page is displayed, after the electronic device receives screenshot input of a user on a target area (including session messages of N contacts) in the first page, the electronic device can directly intercept the content of the first page in the target area based on the target contact selected by the user to obtain a target screenshot. Therefore, the electronic equipment can obtain the target screenshot of the message content of the conversation message only comprising the target contact person based on the target contact person selected by the user, without performing screenshot operation on the conversation interface firstly and then printing a mosaic on the area of the conversation message except the part of the conversation message in the obtained screenshot, so that the step of obtaining the screenshot comprising the specific conversation message content is simplified, and the flexibility of screenshot is improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the screenshot method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The 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 configured to run a program or an instruction to implement each process of the screenshot method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, stored on a non-volatile storage medium, for execution by at least one processor to implement a method as described in the first aspect.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of screenshot, the method comprising:
receiving screenshot input with a first page displayed, the first page containing session messages for N contacts;
in response to the screenshot input, intercepting the page content in the target area to obtain a first screenshot;
based on a target contact person selected from the N contact persons by a user, filtering other session message contents except the first page content in the first screenshot to obtain a target screenshot;
wherein the first page content comprises message content of a conversation message of the target contact.
2. The method of claim 1, wherein before filtering out the content of the session message other than the first page content in the first screenshot based on a target contact selected by the user from the N contacts to obtain a target screenshot, the method further comprises:
displaying contact person identifications of the N contact persons;
receiving first input of a user on a target contact person identifier in the N contact person identifiers;
the filtering out other session message contents except the first page content in the first screenshot based on a target contact selected by the user from the N contacts to obtain a target screenshot, including:
and responding to the first input, and based on the target contact person, filtering out other contents except the first page content in the first screenshot to obtain a target screenshot.
3. The method of claim 2, wherein displaying the contact identifications of the N contacts comprises:
and identifying the first page or the first screenshot, and displaying contact person identifications of the N contact persons.
4. The method according to claim 2 or 3, wherein after intercepting the page content in the target area and obtaining the first cut, the method further comprises:
displaying a screenshot thumbnail of the first screenshot on the first page;
wherein the first input is: and dragging the target contact person identification to the dragging input of the screenshot thumbnail by the user.
5. A method of screenshot, the method comprising:
receiving screenshot input with a first page displayed, the first page containing session messages for N contacts;
responding to the screenshot input, and based on a target contact person selected by a user from the N contact persons, intercepting the content of a first page in the first page to obtain a target screenshot;
wherein the first page content comprises message content of a conversation message of the target contact.
6. The method of claim 5, wherein prior to receiving screenshot input, the method:
displaying contact person identifications of the N contact persons on a first area of the first page;
wherein the screenshot input comprises: and dragging the target contact person identification in the N contact person identifications out of the first area.
7. The method of claim 5, wherein prior to receiving screenshot input, the method further comprises:
displaying contact person identifications of the N contact persons;
receiving fourth input of the target contact person identification in the N contact person identifications from the user;
and in response to the fourth input, taking the contact indicated by the target contact identification as a target contact.
8. The method of any one of claims 5 to 7, wherein the intercepting a first page content in the target area, resulting in a target screenshot, comprises:
copying the first page;
and filtering other conversation message contents except the first page content in the copied first page, and intercepting the rest page contents to obtain the target screenshot.
9. A screenshot device, the device comprising: a receiving module and an executing module, wherein:
the receiving module is used for receiving screenshot input under the condition that a first page is displayed, wherein the first page comprises session messages of N contacts;
the execution module is used for responding to the screenshot input received by the receiving module, and intercepting the page content in the target area to obtain a first screenshot; based on a target contact person selected from the N contact persons by a user, filtering other session message contents except the first page content in the first screenshot to obtain a target screenshot, wherein the first page content comprises the message contents of the session message of the target contact person.
10. A screenshot device, the device comprising: a receiving module and an executing module, wherein:
the receiving module is used for receiving screenshot input under the condition that a first page is displayed, wherein the first page comprises session messages of N contacts;
the execution module is used for responding to the screenshot input received by the receiving module, and intercepting first content in the first page based on a target contact person selected by a user from the N contact persons to obtain a target screenshot; wherein the first page content comprises message content of a conversation message of the target contact.
CN202011553257.1A 2020-12-24 2020-12-24 Screenshot method and device and electronic equipment Pending CN112684963A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011553257.1A CN112684963A (en) 2020-12-24 2020-12-24 Screenshot method and device and electronic equipment
PCT/CN2021/140478 WO2022135476A1 (en) 2020-12-24 2021-12-22 Screenshot method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011553257.1A CN112684963A (en) 2020-12-24 2020-12-24 Screenshot method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112684963A true CN112684963A (en) 2021-04-20

Family

ID=75452886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011553257.1A Pending CN112684963A (en) 2020-12-24 2020-12-24 Screenshot method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112684963A (en)
WO (1) WO2022135476A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022135476A1 (en) * 2020-12-24 2022-06-30 维沃移动通信(杭州)有限公司 Screenshot method and apparatus, and electronic device
CN114911393A (en) * 2022-05-06 2022-08-16 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201438A1 (en) * 2007-02-20 2008-08-21 Indrek Mandre Instant messaging activity notification
US20140096038A1 (en) * 2012-09-28 2014-04-03 Interactive Memories, Inc. Method for Editing Font Size for Font Arranged in a Layout on an Electronic Interface using Real Time Visual Input
CN104571866A (en) * 2015-01-06 2015-04-29 深圳市金立通信设备有限公司 Screen capture method
CN104571865A (en) * 2015-01-06 2015-04-29 深圳市金立通信设备有限公司 Terminal
US20160070460A1 (en) * 2014-09-04 2016-03-10 Adobe Systems Incorporated In situ assignment of image asset attributes
CN107346200A (en) * 2017-06-30 2017-11-14 努比亚技术有限公司 One kind interval screenshot method and terminal
CN111143015A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN112099714A (en) * 2020-09-22 2020-12-18 维沃移动通信有限公司 Screenshot method and device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037871A (en) * 2017-11-07 2018-05-15 维沃移动通信有限公司 Screenshotss method and mobile terminal
KR20200134544A (en) * 2019-05-22 2020-12-02 라인플러스 주식회사 Method, system, and non-transitory computer readable record medium for protecting content copyright in a chat room
CN112165553B (en) * 2020-09-28 2021-12-07 维沃移动通信有限公司 Image generation method and device, electronic equipment and computer readable storage medium
CN112684963A (en) * 2020-12-24 2021-04-20 维沃移动通信(杭州)有限公司 Screenshot method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201438A1 (en) * 2007-02-20 2008-08-21 Indrek Mandre Instant messaging activity notification
US20140096038A1 (en) * 2012-09-28 2014-04-03 Interactive Memories, Inc. Method for Editing Font Size for Font Arranged in a Layout on an Electronic Interface using Real Time Visual Input
US20160070460A1 (en) * 2014-09-04 2016-03-10 Adobe Systems Incorporated In situ assignment of image asset attributes
CN104571866A (en) * 2015-01-06 2015-04-29 深圳市金立通信设备有限公司 Screen capture method
CN104571865A (en) * 2015-01-06 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN107346200A (en) * 2017-06-30 2017-11-14 努比亚技术有限公司 One kind interval screenshot method and terminal
CN111143015A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN112099714A (en) * 2020-09-22 2020-12-18 维沃移动通信有限公司 Screenshot method and device, electronic equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022135476A1 (en) * 2020-12-24 2022-06-30 维沃移动通信(杭州)有限公司 Screenshot method and apparatus, and electronic device
CN114911393A (en) * 2022-05-06 2022-08-16 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2022135476A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
CN112306607A (en) Screenshot method and device, electronic equipment and readable storage medium
CN112099707A (en) Display method and device and electronic equipment
CN112911147B (en) Display control method, display control device and electronic equipment
CN113179205B (en) Image sharing method and device and electronic equipment
CN112286416A (en) Information display method and device and electronic equipment
WO2022135476A1 (en) Screenshot method and apparatus, and electronic device
CN113467660A (en) Information sharing method and electronic equipment
CN112698894A (en) Screen capturing method and device and electronic equipment
CN113794795A (en) Information sharing method and device, electronic equipment and readable storage medium
CN112533072A (en) Image sending method and device and electronic equipment
CN114116098B (en) Application icon management method and device, electronic equipment and storage medium
CN112181252B (en) Screen capturing method and device and electronic equipment
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN112399010B (en) Page display method and device and electronic equipment
CN111586305B (en) Anti-shake method, anti-shake device and electronic equipment
CN113282213A (en) Interface display method and device
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN113407144B (en) Display control method and device
CN111966259B (en) Screenshot method and device and electronic equipment
CN111796736B (en) Application sharing method and device and electronic equipment
CN114245017A (en) Shooting method and device and electronic equipment
CN113127425A (en) Picture processing method and device and electronic equipment
CN112764625A (en) Notification message display method and device
CN113342222A (en) Application classification method and device and electronic equipment
CN113436297A (en) Picture processing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210420