WO2022135290A1 - 截屏方法、装置及电子设备 - Google Patents

截屏方法、装置及电子设备 Download PDF

Info

Publication number
WO2022135290A1
WO2022135290A1 PCT/CN2021/139084 CN2021139084W WO2022135290A1 WO 2022135290 A1 WO2022135290 A1 WO 2022135290A1 CN 2021139084 W CN2021139084 W CN 2021139084W WO 2022135290 A1 WO2022135290 A1 WO 2022135290A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
input
target
chat
user
Prior art date
Application number
PCT/CN2021/139084
Other languages
English (en)
French (fr)
Inventor
颜铁芳
Original Assignee
维沃移动通信(杭州)有限公司
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 维沃移动通信(杭州)有限公司 filed Critical 维沃移动通信(杭州)有限公司
Publication of WO2022135290A1 publication Critical patent/WO2022135290A1/zh

Links

Images

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a screen capture method, device and electronic device.
  • the user can trigger the electronic device to take a screenshot of the entire screen through a screenshot operation, and obtain a screenshot image including the content on the entire screen.
  • the purpose of the embodiments of the present application is to provide a screen capture method, device and electronic device, which can solve the problem that the current screen capture method is not flexible enough.
  • an embodiment of the present application provides a method for taking screenshots.
  • the method includes: when a target chat interface is displayed, receiving a first input for a target object; in response to the first input, generating a screenshot image; wherein the The screenshot image includes other chat messages except the target chat message in the target chat interface; the target object is any one of the following: the target chat message, the target contact identifier corresponding to the target chat message, and the target chat interface except the target contact Contact ID other than person ID.
  • an embodiment of the present application provides a screen capture device, the screen capture device includes: a receiving module and a generating module; the receiving module is configured to receive a first input for a target object when a target chat interface is displayed; the generating module , for generating a screen shot image in response to the first input received by the receiving module; wherein, the screen shot image includes other chat messages except the target chat message in the target chat interface; the target object is any one of the following contents: the target The chat message, the target contact identifier corresponding to the target chat message, and other contact identifiers other than the target contact identifier in the target chat interface.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • 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 method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the electronic device when the target chat interface is displayed, receives the first input for the target object; the target object may include any one of the following: the target chat message, the target contact corresponding to the target chat message Person identification, other contact identifications other than the target contact identification in the target chat interface; in response to the first input, the electronic device may generate a screen shot image; the screen shot image includes chat messages in the target chat interface other than the target chat message information. Since the user can select a chat message that does not require a screenshot through the first input before generating the screenshot image, the electronic device can generate a screenshot image that does not include the chat message selected by the user and does not require a screenshot according to the user's selection during the screenshot process.
  • FIG. 1 is a schematic flowchart of a screen capture method according to an embodiment of the present application.
  • FIG. 2 is one of the schematic diagrams of the display interface provided by the embodiment of the present application.
  • FIG. 3 is the second schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 4 is a third schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 5 is a fourth schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 6 is a fifth schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 7 is a sixth schematic diagram of a display interface provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a possible screen capture device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a possible electronic device provided by an embodiment of the present application.
  • FIG. 10 is a schematic hardware diagram of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • FIG. 1 is a schematic flowchart of a screen capture method provided by an embodiment of the present application. As shown in FIG. 1, the method includes the following S101 to S102:
  • the electronic device receives a first input for the target object.
  • the target object is any one of the following: the target chat message, the target contact identifier corresponding to the target chat message, and other contact identifiers other than the target contact identifier in the target chat interface.
  • the user may input the chat message or input the user ID, which is not specifically limited in this embodiment of the present application.
  • the user may first trigger the electronic device to enter the screen capture mode, for example, the user may trigger the electronic device to enter the screen capture mode through a preset gesture or a specific input, and then the user inputs the first input in the screen capture mode.
  • the user may not need at least one of the chat messages when taking screenshots, and the user can determine the chat messages in the target chat interface that do not require screenshots through the first input. .
  • the target chat interface may be a chat interface with a single user, or may be a group chat interface, which is not specifically limited in this embodiment of the present application.
  • the target chat message selected by the user through the first input may be one chat message or multiple chat messages, which is not specifically limited in this embodiment of the present application.
  • the first input may be one input, or may be a continuous input including multiple sub-inputs, which is not specifically limited in this embodiment of the present application.
  • the electronic device In response to the first input, the electronic device generates a screenshot image.
  • the above-mentioned screenshot image includes other chat messages except the target chat message in the target chat interface.
  • the first input can be used to determine the target chat message for which the screenshot is canceled in the target chat interface.
  • the electronic device may not screenshot the target chat message in the target chat interface, but take a screenshot of the target chat message in the target chat interface except for the target chat message selected by the user other than that.
  • An embodiment of the present application provides a screen capture method.
  • the electronic device receives a first input for a target object; the target object may include any one of the following: a target chat message, a target chat message corresponding to The target contact identifier, and other contact identifiers except the target contact identifier in the target chat interface; in response to the first input, the electronic device can generate a screenshot image; the screenshot image includes the target chat interface except the target chat message. external chat messages.
  • the electronic device can generate a screenshot image that does not include the chat message selected by the user and does not require a screenshot according to the user's selection during the screenshot process. , so that the user does not need to do graffiti, cropping, splicing and other processing on the screenshot image after taking the screenshot.
  • To generate an intermediate picture it is not necessary to save both the original picture and the cropped picture, which saves the storage space of the electronic device.
  • the screenshot method provided by the embodiment of the present application may also include the following S103a, S103b, or S103c:
  • the electronic device cancels displaying the first message, which is the target chat message.
  • the first message is any message in the target chat interface.
  • the first preset gesture may be an input of the user swiping on the chat message, such as an input of swiping left, right, down or up on the chat message.
  • the first preset gesture may be an input of the user swiping left on the first message.
  • FIG. 2 is a schematic diagram of an interface provided by an embodiment of the present application, as shown in (a) in FIG. 2 , is a chat interface between a user and Zhang San, the interface can be in a screenshot mode, and the chat interface includes 4 messages, Among them, the third message has nothing to do with "xx topic", and other messages are related to "xx topic”. The user only needs to take a screenshot of the message related to "xx topic", then the user can swipe left on the third message, as shown in Figure 2 As shown in (b) of the above, the electronic device can remove the third message from the chat interface. The electronic device may generate a screen shot as shown in (b) of FIG. 2 .
  • FIG. 2 only illustrates the removal of one chat message by the user.
  • the user can select multiple messages for removal, for example, two messages are selected for sliding removal with two fingers.
  • the two messages may be messages whose display positions are adjacent, or may be messages whose display positions are not adjacent.
  • the electronic device in response to the first input, selects the first message, and the chat messages other than the first message are the target chat messages.
  • the second preset gesture may be a gesture in which the user draws a "V" shape on the first message.
  • FIG. 3 is a schematic diagram of an interface provided by an embodiment of the present application. As shown in (a) of FIG. 3 , it is a chat interface between a user and Zhang San, including three messages, wherein the third message is related to "xx topic" Related, other messages have nothing to do with "xx topic”, the user does not want to take screenshots of messages that have nothing to do with "xx topic”, but only wants to take a screenshot of the third message, then the user can enter the "V" gesture at the position where the third message is displayed on the screen , then as shown in (b) of FIG. 3 , the electronic device can only take a screenshot of the third message in the interface to generate a screenshot as shown in (b) of FIG. 3 .
  • FIG. 4 is a schematic diagram of a display interface provided by an embodiment of the present application. As shown in (a) in FIG. 4 , it is a chat interface between a user and Zhang San, including three messages, wherein the first message is related to "xx" If the user does not want to intercept the first message, the user can draw a "V" shape in the display area of the second message and the third message. gesture, then as shown in (b) in FIG. 4 , the electronic device can only take a screenshot of the second message and the third message in the interface, and finally generate the screenshot shown in (b) in FIG. 4 .
  • the user may use the above-mentioned first preset gesture and second preset gesture in combination in the actual use process.
  • the electronic device selects the first message and the second message.
  • the chat messages other than the first message and the second message in the target chat interface are target chat messages, and the second message is a chat message related to the topic of the first message.
  • the chat message related to the topic of the first message is determined by the electronic device according to semantic analysis.
  • chat message chat Message Select a topic-related message that the user needs to screenshot.
  • chat messages that do not require screenshots can be determined through preset gesture input. For example, chat messages that do not require screenshots can be removed through the first preset gesture, and chat messages that require screenshots can be selected through the second preset gesture.
  • the third preset gesture is used to select the chat messages related to the same topic that need to be screened, and the user can flexibly select different preset gestures according to the number of chat messages that need to be retained. Redundant screen content improves the user's screen capture experience.
  • the screenshot method provided by this embodiment of the present application may further include the following S104 after the above-mentioned S101 and before the S102:
  • the electronic device cancels the display of the target chat message, and adjusts the display position of the chat messages other than the target chat message in the target chat interface.
  • the electronic device may adjust the display positions of all or part of the chat messages except the target chat message in the target chat interface.
  • the electronic device cancels the display of the target chat message, and adjusts the display position of the chat message whose display position is after the target chat message.
  • the electronic device may, after removing the target chat message, place the target chat message after the display position of the target chat message. The message is shifted upwards.
  • the electronic device can remove the third message. , and move the original fourth message to the display position of the third message for display, then the electronic device can generate a screen shot as shown in (c) in FIG. 2 .
  • the electronic device may remove the first “V” gesture.
  • the first message and the second message are displayed, and the original third message is moved to the display position of the first message for display, then the electronic device can generate a screen shot as shown in (c) of FIG. 3 .
  • the electronic device can adjust the display position of other chat messages in the target chat interface. For example, the display position of the message displayed after the message that does not require screenshots can be adjusted to avoid removing the message The position of the screen is left blank, so that the display effect of the message in the picture obtained by the screenshot is better.
  • the electronic device may further provide the user with three different selection methods for the target chat message.
  • different sub-interfaces may be displayed for the user, so that the user can choose to cancel the screen-captured chat message.
  • the screenshot method provided in the embodiment of the present application may further include the following S105a:
  • the electronic device displays the message identifier of the chat message to be screen-captured in the target chat interface in the first area, and displays the message identifier of the chat message whose screenshot is canceled in the target chat interface in the second area.
  • the first area and the second area may be different areas of the first sub-interface. That is, before S101, the electronic device may display the first sub-interface.
  • the first sub-interface may be displayed in a superimposed or suspended manner on the target chat interface.
  • the first input is an input by the user to move the message identifier in the first area to the second area, or an input by the user to move the message identifier in the second area to the first area.
  • the electronic device can trigger the The electronic device displays the first sub-interface, and displays the identification of the chat message in the first area or the second area.
  • the electronic device can perform the above-mentioned S105, that is, the user triggers the electronic device to take a screenshot, and the electronic device can first display the first sub-interface for the user for the user to determine whether to take a screenshot. Redundant messages required.
  • the electronic device may display the identifier of each message in the first area of the first sub-interface by default. If the user does not need to take a screenshot of a certain message, the user can move the corresponding message identifier in the first area to in the second area of the first sub-interface. If the user decides to keep a certain message again, the user can move the corresponding message identifier in the second area to the first area of the first sub-interface.
  • the electronic device can also adjust the display situation of the message in the interface synchronously.
  • the electronic device can cancel the display of message 1 and adjust the display position of the messages after message 1. If the user moves the identifier of message 2 from the second area to move to the first area, the electronic device can redisplay message 2, and adjust the display position of message 2 and other messages, for example, the display position between message 1 and message 3.
  • the electronic device can display the message identifier of the chat message to be screen-captured in the target chat interface in the first area, and display the message identifier of the chat message in the target chat interface to cancel the screenshot in the second area.
  • the electronic device may directly determine the chat message corresponding to the message identifier in the second area as the target chat message. The user can adjust the display positions of the message identifiers of the chat messages in the first area and the second area as required.
  • the user can move the logo corresponding to the message from the first area to the second area; if the user needs to take a screenshot of a message, the user can move the logo corresponding to the message from the second area.
  • the operation is simple and intuitive, so that users can quickly determine which messages do not require screenshots.
  • the screenshot method provided by the embodiment of the present application may further include the following S105b:
  • the electronic device displays the user identifier of the chat message to be screen-captured in the target chat interface in the third area, and displays the user identifier of the chat message whose screenshot is canceled in the target chat interface in the fourth area.
  • the third area and the fourth area are different areas in the second sub-interface. That is, before S101, the electronic device may display the second sub-interface.
  • the first input is an input by the user to move the user identifier in the third area to the fourth area, or an input by the user to move the user identifier in the fourth area to the third area.
  • a user identifier corresponds to the chat message of the user displayed in the target chat interface.
  • user ID 1 corresponds to 3 messages of user 1. If user ID 1 is displayed in the third area, all three messages corresponding to user 1 need to be retained when taking screenshots. If user ID 1 is displayed in the fourth area, Then, all three messages corresponding to user 1 need to be deleted when taking a screenshot.
  • the electronic device may display all the user identifiers in the target chat interface in the third area by default, that is, the chat messages corresponding to each user are messages requiring screenshots.
  • the user can move the user identification in the third area to the fourth area as required.
  • the user may also move the user identification back to the third area after moving the user identification to the fourth area, which is not specifically limited in this embodiment of the present application.
  • FIG. 5 is a schematic diagram of a display interface provided by an embodiment of the present application.
  • the electronic device displays a group chat interface of a department group, and the group chat interface includes two messages sent by user Zhang , 2 messages sent by user Li and 1 message sent by user Wang, the sub-interface 51 (that is, the second sub-interface) is displayed in suspension in the group chat interface, and the sub-interface 51 includes an area 51a (that is, the third area) and area 51b (ie, the fourth area).
  • the user IDs of the three user Zhang, user Li, and user king in the interface are displayed in the area 51a, and "interception" can be displayed in the area 51a, prompting the user to be a message reserved when taking a screenshot; the user ID is not displayed in the area 51b, The area 51b may display "Do not capture", prompting the user for a message that does not need to be retained when capturing a screen.
  • FIG. 5(b) if the user drags the user ID of user Li from the area 51a to the area 51b, then as shown in FIG.
  • the electronic device can drag the user ID of the user Li Display in the area 51b, cancel the display of the two messages sent by the user Li, and adjust the display positions of other messages, the electronic device can finally generate a screenshot as shown in (d) in FIG. 5 .
  • FIG. 6 is a schematic diagram of a display interface provided by an embodiment of the present application.
  • the user drags the logo of user Li from the area 51b to the area 51a , then as shown in (b) in FIG. 6 , the electronic device resumes displaying the two messages sent by the user Li, and finally the electronic device can generate the screenshot shown in (b) in FIG. 6 .
  • the user avatar can be used as an example for description.
  • the user nickname, or the user nickname and avatar can also be used as the user identifier, which is not made in the embodiments of the present application. Specific restrictions.
  • the electronic device can display a second sub-interface for the user, and in the second sub-interface display the user ID of the message sent in the target chat interface for the user, and the user can move the user ID to the area as needed.
  • To the third area it means that the user needs to keep the chat message indicated by the user ID when taking a screenshot; if a user ID is moved to the fourth area, it means that the user needs to cancel the screenshot of the chat message indicated by the user ID when taking a screenshot.
  • the user chooses to cancel the screenshot of the messages one by one, which can facilitate the user to directly choose which chat messages sent by the users not to be screenshotted, and can make the user quickly select.
  • the screenshot method provided in the embodiment of the present application may further include the following S105c:
  • the electronic device displays a third sub-interface.
  • the third sub-interface displays the user identifier of the chat message in the target chat interface.
  • the first input is an input for the user to select or deselect a user ID in the third sub-interface.
  • the electronic device may select to check each user identification by default.
  • the chat message indicated by the checked user ID is the chat message that the user chooses to keep as a screenshot
  • the chat message indicated by the unchecked user ID is the chat message that the user chooses to capture and not keep.
  • FIG. 7 is a schematic diagram of a display interface provided by an embodiment of the present application.
  • the group chat interface includes 2 messages sent by user Zhang, user Li 2 messages sent and 1 message sent by user Wang
  • the electronic device can display a sub-interface 71 (ie, the third sub-interface) in the chat interface, and the sub-interface 71 displays user Zhang, user Li and user Wang User ID, and all are checked by default, the user can uncheck the ID corresponding to the user Li as needed, then as shown in (b) in Figure 7, the electronic device can cancel the display of the two messages sent by the user Li, and adjust other For the display position of the message, the electronic device can generate a screen shot as shown in (c) of FIG. 7 .
  • the electronic device can display a third sub-interface for the user, and display the user ID in the target chat interface in the third sub-interface, and the user can select or cancel the selection as required, and the unchecked items are not displayed when generating a screenshot image.
  • the user ID corresponds to the chat message, and the user can conveniently and quickly select the chat message that does not require screenshots.
  • the execution body may be a screen capture device, or a control module in the screen capture device for executing the screen capture method.
  • a method for performing a screen capture by a screen capture device is used as an example to describe the device for the screen capture method provided by the embodiments of the present application.
  • FIG. 8 is a schematic structural diagram of a screen capture device provided by an embodiment of the present application.
  • the screen capture device 800 includes: a receiving module 801 and a generating module 802; the receiving module 801 is used for displaying the target chat interface.
  • the generating module 802 is configured to generate a screenshot image in response to the first input; wherein, the screenshot image includes other chat messages in the target chat interface except the target chat message; the target The object is any one of the following: the target chat message, the target contact identifier corresponding to the target chat message, the target contact identifier corresponding to the target chat message, and other contact identifiers other than the target contact identifier in the target chat interface .
  • the screen capture device further includes a display module or a selection module; the display module is configured to, after the receiving module receives the first input for the target object, where the first input is the input of the first preset gesture of the first message.
  • the display of the first message is canceled, and the first message is the target chat message; the selecting module is used for, after the receiving module receives the first input for the target object, the first input is for the first message.
  • the input of the second preset gesture of in response to the first input, the first message is selected, and the chat messages other than the first message are the target chat messages.
  • the screen capture device further includes a selection module; the selection module is configured to, after the receiving module receives the first input for the target object, in the case that the first input is the input of the third preset gesture for the first message, In response to the first input, the first message and the second message are selected; wherein, the messages other than the first message and the second message in the target chat interface are the target chat messages, and the second message is related to the topic of the first message information.
  • the screen capture device further includes a display module; the display module is configured to cancel the display of the target chat message after the receiving module receives the first input for the target object, and adjust the chat messages other than the target chat message in the target chat interface display position.
  • the screen capture device further includes a display module; the display module is configured to display, in the first area, the message identifier of the chat message to be screen-captured in the target chat interface before the receiving module receives the first input for the target object, and in the first area.
  • the message identifier of the chat message whose screenshot was canceled in the target chat interface is displayed;
  • the generating module is specifically configured to, in response to the first input received by the receiving module, determine that the chat message corresponding to the message identifier in the second area is the target chat message; Take a screenshot of the target chat interface, and generate a screenshot image except the target chat message; wherein, the first input is the input of the user moving the message identifier in the first area to the second area, or the user moves the message identifier in the second area. to the input in the first area.
  • the screen capture device further includes a display module; the display module is configured to display, in the third area, the user identifier of the chat message to be screen-captured in the target chat interface before the receiving module receives the first input for the target object, in the third area.
  • the user ID of the message canceling the screenshot in the target chat interface is displayed in the four areas; the generating module is specifically configured to, in response to the first input received by the receiving module, determine that the chat message corresponding to the user ID in the fourth area is the target chat message;
  • the target chat interface generates a screenshot image except the target chat message; wherein, the first input is the input of the user moving the user identification in the third area to the fourth area, or the user moving the user identification in the fourth area to the fourth area. Input in three areas.
  • the screen capture device further includes a display module; the display module is configured to display a sub-interface before the receiving module receives the first input for the target object, in which the user identifier of the chat message in the target chat interface is displayed; wherein , and the first input is an input for the user to select or deselect a user ID in the sub-interface.
  • An embodiment of the present application provides a screen capture device.
  • the screen capture device receives a first input for a target object; the target object may include any one of the following: a target chat message, a target chat message corresponding to The target contact identifier, and other contact identifiers except the target contact identifier in the target chat interface; in response to the first input, the screenshot device can generate a screenshot image; the screenshot image includes the target chat interface except the target chat message. external chat messages. Since the user can select a chat message that does not require a screenshot through the first input before generating the screenshot image, the screenshot device can generate a screenshot image that does not include the chat message selected by the user and does not require a screenshot according to the user's selection during the screenshot process.
  • the screen capture 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
  • netbook or a 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.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the screen capture device in this 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 screen capture device provided in the embodiments of the present application can implement each process implemented by the screen capture device in the method embodiments of FIG. 1 to FIG. 7 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, a program or instruction stored in the memory 902 and executable on the processor 901,
  • an electronic device 900 including a processor 901, a memory 902, a program or instruction stored in the memory 902 and executable on the processor 901,
  • the program or instruction is executed by the processor 901
  • each process of the above-mentioned embodiment of the screenshot method can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions.
  • a power source such as a battery
  • the power management system can manage charging, discharging, and power functions. consumption management and other functions.
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 1007 is configured to receive a first input for the target object when the target chat interface is displayed; the processor 1010 is configured to generate a screenshot image in response to the first input, and the screenshot image includes Other messages in the target chat interface except the target chat message; the target object is any one of the following: the target chat message, the target contact identifier corresponding to the target chat message, the other contact identifiers other than the target contact identifier in the target chat interface.
  • An embodiment of the present application provides an electronic device, in the case of displaying a target chat interface, the electronic device receives a first input for a target object; the target object may include any one of the following: a target chat message, a target chat message corresponding to The target contact identifier, and other contact identifiers except the target contact identifier in the target chat interface; in response to the first input, the electronic device can generate a screenshot image; the screenshot image includes the target chat interface except the target chat message. external chat messages. Since the user can select a chat message that does not require a screenshot through the first input before generating the screenshot image, the electronic device can generate a screenshot image that does not include the chat message selected by the user and does not require a screenshot according to the user's selection during the screenshot process.
  • the display unit 1006 is configured to, after the user input unit 1007 receives the first input for the target object, in the case that the first input is the input of the first preset gesture for the first message, respond to the first input , cancel the display of the first message, the first message is the target chat message; the processor 1010 is further configured to, after the user input unit 1007 receives the first input for the target object, after the first input is the second preset for the first message In the case of the gesture input, in response to the first input, the first message is selected, and the chat messages other than the first message are the target chat messages.
  • the processor 1010 is further configured to, after the user input unit 1007 receives the first input for the target object, in the case that the first input is the input of the third preset gesture for the first message, respond to the first input Input, select the first message and the second message; wherein, the chat messages other than the first message and the second message in the target chat interface are the target chat messages, and the second message is the chat message related to the topic of the first message.
  • the display unit 1006 is further configured to cancel the display of the target chat message after the user input unit 1007 receives the first input for the target object, and adjust the display positions of other chat messages except the target chat message in the target chat interface. .
  • the display unit 1006 is further configured to, before the user input unit 1007 receives the first input for the target object, display the message identifier of the chat message to be screen-captured in the target chat interface in the first area, and display it in the second area.
  • the processor 1010 is specifically configured to, in response to the first input, determine that the chat message corresponding to the message identifier in the second area is the target chat message; take a screenshot of the target chat interface, and generate Except the screenshot image of the target chat message; wherein, the first input is the input of the user to move the message identifier in the first area to the second area, or the input of the user to move the message identifier in the second area to the first area .
  • the display unit 1006 is further configured to, before the user input unit 1007 receives the first input for the target object, display the user ID of the chat message to be screen-captured in the target chat interface in the third area, and display in the fourth area
  • the user ID of the message that cancels the screenshot in the target chat interface wherein one user ID indicates the chat message of the user corresponding to the user ID in the target chat interface, and the first input is that the user moves the user ID in the third area.
  • the display unit 1006 is further configured to display a sub-interface before the user input unit 1007 receives the first input for the target object, in which the user identifier of the chat message in the target chat interface is displayed; wherein, the first input An input for the user to select or deselect the user ID in the sub-interface.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 1006 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1010.
  • the embodiments of the present application further provide 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, each process of the above embodiment of the screenshot method can be implemented, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • 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 configured to run a program or an instruction to implement each of the foregoing screen capture method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • 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.

Abstract

本申请公开了一种截屏方法、装置及电子设备,该方法包括:在显示目标聊天界面的情况下,接收针对目标对象的第一输入;响应于第一输入,生成截屏图像;其中,截屏图像包括目标聊天界面中除目标聊天消息之外的其他聊天消息;目标对象为以下内容中的任一项:目标聊天消息,目标聊天消息对应的目标联系人标识,目标聊天界面中除目标联系人标识之外的其他联系人标识。

Description

截屏方法、装置及电子设备
相关申请的交叉引用
本申请主张在2020年12月24日在中国提交的中国专利申请号202011553253.3的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种截屏方法、装置及电子设备。
背景技术
随着通信技术的发展,用户使用电子设备获取信息的方式越来越多,比如用户可以使用电子设备通过截屏获取信息。
通常,用户若需要获取屏幕上的信息,用户可以通过截屏操作触发电子设备对整个屏幕进行截屏,获取一张包括整个屏幕上的内容的截屏图像。
然而,在用户需要屏幕中的部分内容的情况下,截屏整个屏幕会产生较多的冗余数据,在截屏之后,用户需要对截屏图像进行裁剪、拼接,并存储,因此,目前的截屏方式不够灵活。
发明内容
本申请实施例的目的是提供一种截屏方法、装置及电子设备,能够解决目前的截屏方式不够灵活的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种截屏方法,该方法包括:在显示目标聊天界面的情况下,接收针对目标对象的第一输入;响应于第一输入,生成截屏图像;其中,该截屏图像包括目标聊天界面中除目标聊天消息之外的其他聊天消息;目标对象为以下内容中的任一项:目标聊天消息,目标聊天消息对应的目标联系人标识,目标聊天界面中除目标联系人标识之外的其他联系人标识。
第二方面,本申请实施例提供了一种截屏装置,截屏装置包括:接收模块和生成模块;接收模块,用于在显示目标聊天界面的情况下,接收针对目标对象的第一输入;生成模块,用于响应于接收模块接收的第一输入,生成截屏图像;其中,该截屏图像包括目标聊天界面中除目标聊天消息之外的其他聊天消息;目标对象为以下内容中的任一项:目标聊天消息,目标聊天消息对应的目标联系人标识,目标聊天界面中除目标联系人标识之外的其他联系人标识。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,在显示目标聊天界面的情况下,电子设备接收针对目标对象的第一输入;目标对象可以包括以下内容中的任一项:目标聊天消息、目标聊天消息对应的目标联系人标识、目标聊天界面中除目标联系人标识之外的其他联系人标识;响应于第一输入,电子设备可以生成截屏图像;该截屏图像中包括目标聊天界面中除目标聊天消息之外的聊天消息。由于用户可以在生成截屏图像之前,可以先通过第一输入选择不需要截屏的聊天消息,电子设备在截屏过程中可以根据用户的选择,生成不包括用户选择的不需要截屏的聊天消息的截屏图片,可以使得用户在截屏之后,无需对截屏图像进行涂鸦、裁剪、拼接等处理,一方面,方便用户快速获取不包括冗余数据的截屏图像,简化了用户的操作步骤,另一方面,不再产生中间的图片,无需既保存原图又保存裁剪后的图片,节省了电子设备的存储空间。
附图说明
图1为本申请实施例提供的一种截屏方法的流程示意图;
图2为本申请实施例提供的显示界面示意图之一;
图3为本申请实施例提供的显示界面示意图之二;
图4为本申请实施例提供的显示界面示意图之三;
图5为本申请实施例提供的显示界面示意图之四;
图6为本申请实施例提供的显示界面示意图之五;
图7为本申请实施例提供的显示界面示意图之六;
图8为本申请实施例提供的一种截屏装置可能的结构示意图;
图9为本申请实施例提供的一种电子设备可能的结构示意图;
图10为本申请实施例提供的一种电子设备的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的截屏方法进行 详细地说明。
图1为本申请实施例提供的一种截屏方法的流程示意图。如图1中所示,该方法包括下述的S101至S102:
S101、在显示目标聊天界面的情况下,电子设备接收针对目标对象的第一输入。
其中,目标对象为以下内容中的任一项:目标聊天消息、目标聊天消息对应的目标联系人标识、目标聊天界面中除目标联系人标识之外的其他联系人标识。
也就是说,用户可以对聊天消息输入,也可以为对用户标识输入,本申请实施例对此不作具体限定。
示例性的,用户可以先触发电子设备进入截屏模式,比如用户可以通过预设的手势或者特定的输入触发电子设备进入截屏模式,然后用户在截屏模式下输入第一输入。
可以理解,在目标聊天界面中包括至少两条聊天消息的情况下,用户在截屏的时候可能不需要其中的至少一条聊天消息,用户可以通过第一输入确定目标聊天界面中不需要截屏的聊天消息。
需要说明的是,目标聊天界面可以为与单个用户的聊天界面,也可以为群聊天界面,本申请实施例对此不作具体限定。
可以理解,用户通过第一输入选择的目标聊天消息可以为一条聊天消息,也可以为多条聊天消息,本申请实施例对此不作具体限定。
可选地,第一输入可以为一个输入,也可以为包括多个子输入的连续输入,本申请实施例对此不作具体限定。
S102、响应于第一输入,电子设备生成截屏图像。
其中,上述截屏图像包括目标聊天界面中除目标聊天消息之外的其他聊天消息。
可以理解,第一输入可以用于确定目标聊天界面中,取消截屏的目标聊天消息。
也就是说,电子设备在接收针对目标对象的第一输入之后,在生成截屏图像的过程中,可以不截屏目标聊天界面中的目标聊天消息,截屏该目标聊天界面中除用户选择的目标聊天消息之外的其他内容。
本申请实施例提供一种截屏方法,在显示目标聊天界面的情况下,电子设备接收针对目标对象的第一输入;目标对象可以包括以下内容中的任一项:目标聊天消息、目标聊天消息对应的目标联系人标识、目标聊天界面中除目标联系人标识之外的其他联系人标识;响应于第一输入,电子设备可以生成截屏图像;该截屏图像中包括目标聊天界面中除目标聊天消息之外的聊天消息。由于用户可以在生成截屏图像之前,可以先通过第一输入选择不需要截屏的聊天消息,电子设备在截屏过程中可以根据用户的选择,生成不包括用户选择的不需要截屏的聊天消息的截屏图片,可以使得用户在截屏之后,无需对截屏图像进行涂鸦、裁剪、拼接等处理,一方面,方便用户快速获取不包括冗余数据的截屏图像,简化了用户的操作步骤,另一方面,不再产生中间的图片,无需既保存原图又保存裁剪后的图片,节省了电子设备的存储空间。
可选地,本申请实施例提供的截屏方法,在上述的S101之后,S102之前,还可以包 括下述的S103a、S103b或S103c:
S103a、在第一输入为对第一消息的第一预设手势的输入的情况下,响应于第一输入,电子设备取消显示第一消息,第一消息为目标聊天消息。
其中,第一消息为目标聊天界面中的任意消息。
可选地,第一预设手势可以为用户在聊天消息上滑动的输入,比如在聊天消息上向左、向右、向下或者向上滑动的输入。
示例性的,第一预设手势可以为用户在第一消息上向左滑动的输入。
图2为本申请实施例提供的一种界面示意图,如图2中的(a)所示,为用户与张三的聊天界面,该界面可以处于截图模式,该聊天界面中包括4条消息,其中,第三条消息与“xx话题”无关,其他消息与“xx话题”相关,用户仅需要截屏“xx话题”相关的消息,则用户可以在第三条消息上向左滑动,如图2中的(b)所示,电子设备可以将第三消息从该聊天界面中移除。电子设备可以生成如图2中的(b)所示的截屏图像。
需要说明的是,图2仅以用户对一条聊天消息移除进行说明,实际应用中,用户可以选中多条消息进行移除,比如双指选中两条消息进行滑动移除。该两条消息可以为显示位置相邻的消息,也可以为显示位置不相邻的消息。
S103b、在第一输入为对第一消息的第二预设手势的输入的情况下,响应于第一输入,电子设备选中第一消息,除第一消息之外的聊天消息为目标聊天消息。
示例性的,第二预设手势可以为用户在第一消息上画“V”型的手势。
图3为本申请实施例提供的一种界面示意图,如图3中的(a)所示,为用户与张三的聊天界面,包括3条消息,其中,第三条消息与“xx话题”相关,其他消息与“xx话题”无关,用户不想截屏与“xx话题”无关的消息,仅想截屏第三条消息,则用户可以在屏幕上显示第三条消息的位置输入“V”型手势,则如图3中的(b)所示,电子设备可以仅截屏该界面中的第三条消息,生成如图3中的(b)所示的截屏图像。
图4为本申请实施例提供的一种显示界面示意图,如图4中的(a)所示,为用户与张三的聊天界面,包括3条消息,其中,第一条消息为与“xx话题”无关的消息,剩余两条消息为与“xx话题”相关的消息,用户不想截取第一条消息,则用户可以在第二条消息和第三条消息的显示区域绘制一个“V”型手势,则如图4中的(b)所示,电子设备可以仅截屏该界面中的第二条消息和第三条消息,最终生成如图4中的(b)所示的截屏图像。
可以理解,上述的图4中所使用的手势,在需要截屏消息显示位置连续的情况下使用。
需要说明的是,用户可以在实际使用过程中,可以结合使用上述的第一预设手势和第二预设手势。
S103c、在第一输入为对第一消息的第三预设手势的输入的情况下,响应于第一输入,电子设备选中第一消息以及第二消息。
其中,目标聊天界面中除第一消息和第二消息之外的聊天消息为目标聊天消息,第二消息为与第一消息的话题相关的聊天消息。
示例性地,与第一消息的话题相关的聊天消息为电子设备根据语义分析确定的。
也就是说,用户可以通过第三预设手势对一条聊天消息输入的情况下,可以选择目标聊天界面中与该条聊天消息话题相关的所有聊天消息,即用户可以通过第三预设手势和一条聊天消息选择用户需要截屏的一个话题相关的消息。
基于该方案,用户可以通过预设的手势输入确定不需要截屏的聊天消息,比如通过第一预设手势去除不需要截屏的聊天消息,可以通过第二预设手势选择需要截屏的聊天消息,可以通过第三预设手势选择需要截屏的同一个话题相关的聊天消息,用户可以根据需要保留的聊天消息的数量,灵活的选择不同的预设手势选择不需要聊天消息,可以使得用户便捷地筛选掉冗余的屏幕内容,提升用户的截屏体验。
可选地,本申请实施例提供的截屏方法,在上述的S101之后,在S102之前还可以包括下述的S104:
S104、电子设备取消显示目标聊天消息,并调整目标聊天界面中除目标聊天消息之外的聊天消息的显示位置。
在本申请实施例中,电子设备可以调整目标聊天界面中除目标聊天消息之外的所有或部分聊天消息的显示位置。
示例性地,在目标聊天消息显示在其他聊天消息之间的位置的情况下,电子设备取消显示目标聊天消息,并调整显示位置在目标聊天消息之后的聊天消息的显示位置。
可以理解,电子设备可以在生成截屏图片之前,若移除的目标聊天消息位于未移除的聊天消息中间,则电子设备可以在移除目标聊天消息之后,将位于目标聊天消息显示位置之后的其他消息向上顺延移动。
示例性的,结合图2中的(a),电子设备在接收到用户在第三条消息左滑输入之后,如图2中的(c)所示,电子设备可以将第三条消息移除,并将原先的第四条消息移动到第三条消息的显示位置显示,则电子设备可以生成如图2中的(c)所示的截屏图像。
示例性的,结合图3中的(a),电子设备在接收到用户在第三条消息输入“V”型手势之后,如图3中的(c)所示,电子设备可以移除第一条消息和第二条消息,并将原先的第三条消息移动到第一条消息的显示位置显示,则电子设备可以生成如图3中的(c)所示的截屏图像。
基于该方案,电子设备在用户确定无需截屏的消息之后,可以调整目标聊天界面中的其他聊天消息的显示位置,例如可以调整显示在无需截屏的消息之后的消息的显示位置,避免移除消息后的位置留白,使得截屏得到图片中的消息的显示效果更佳。
在本申请实施例中,电子设备还可以为用户提供三种不同的目标聊天消息的选择方式。在确定电子设备处于截屏状态下,可以为用户显示不同的子界面,以供用户选择取消截屏的聊天消息。
第一种可能的实现方式
可选地,本申请实施例提供的截屏方法,在上述的S101之前,还可以包括下述的S105a:
S105a、电子设备在第一区域中显示目标聊天界面中待截屏的聊天消息的消息标识,在第二区域中显示目标聊天界面中取消截屏的聊天消息的消息标识。
可选地,第一区域和第二区域可以为第一子界面的不同区域。即在S101之前,电子设备可以显示第一子界面。
示例性的,第一子界面可以叠加显示或者悬浮显示在目标聊天界面上。
在本申请实施例中,第一输入为用户将第一区域中的消息标识移动到第二区域的输入,或者为用户将第二区域中的消息标识移动到第一区域中的输入。
需要说明的是,若电子设备在接收第一输入之前未显示第一子界面,在第一输入为用户在目标聊天界面中选中目标对象的输入的情况下,电子设备可以根据用户的选择,触发电子设备显示第一子界面,并在第一区域或第二区域中显示聊天消息的标识。
需要说明的是,若检测到用户触发电子设备进入截屏模式,电子设备可以执行上述的S105,即用户触发电子设备进行截屏,则电子设备可以先为用户显示第一子界面,以供用户确定不需要的冗余消息。
示例性地,电子设备可以默认将每个消息的标识先显示在第一子界面的第一区域中,若用户不需要截屏某条消息,用户可以将第一区域中的对应的消息标识移动到第一子界面的第二区域中。若用户又确定希望保留某条消息之后,用户可以将第二区域中对应的消息标识移动到第一子界面的第一区域中。
需要说明的是,在用户移动消息标识的过程中,电子设备也可以同步调整消息在界面中的显示情况。
例如,用户将消息1的标识从第一区域移动到第二区域中,则电子设备可以取消显示消息1,并调整消息1之后的消息的显示位置,若用户将消息2的标识从第二区域中移动到第一区域,则电子设备可以重新显示消息2,并调整消息2与其他消息的显示位置,例如显示在消息1和消息3之间的位置。
基于该方案,电子设备可以在第一区域中显示目标聊天界面中待截屏的聊天消息的消息标识,在第二区域中显示目标聊天界面中取消截屏的聊天消息的消息标识。在生成截屏图像的过程中,电子设备可以直接将第二区域中的消息标识对应的聊天消息确定为目标聊天消息。用户可以根据需要调整第一区域和第二区域中的聊天消息的消息标识的显示位置。若用户不需要截屏某条消息,用户可以将该条消息对应的标识从第一区域移动到第二区域;若用户需要截屏某条消息,用户可以将该条消息对应的标识从第二区域移动到第一区域,操作简单直观,便于用户快速确定哪些消息无需截屏。
第二种可能的实现方式
可选地,本申请实施例提供的截屏方法,在上述的S101之前,还可以包括下述的S105b:
S105b、电子设备在第三区域中显示目标聊天界面中待截屏的聊天消息的用户标识,在第四区域中显示目标聊天界面中取消截屏的聊天消息的用户标识。
可选地,第三区域和第四区域为第二子界面中不同的区域。即在S101之前,电子设备可以显示第二子界面。
在本申请实施例中,第一输入为用户将第三区域中的用户标识移动到第四区域的输入,或为用户将第四区域中的用户标识移动到第三区域中的输入。
需要说明的是,一个用户标识对应目标聊天界面中显示的该用户的聊天消息。
例如,用户标识1对应用户1的3条消息,若用户标识1显示在第三区域中,则用户1对应的3条消息均需要在截屏时保留,若用户标识1显示在第四区域中,则用户1对应的3条消息均需要在截屏时删除。
示例性地,电子设备可以默认将目标聊天界面中的用户标识均先显示在第三区域中,即每个用户对应的聊天消息均为需要截屏的消息。用户可以根据需要将第三区域中的用户标识移动到第四区域中。当然用户也可以在将用户标识移动到第四区域之后移动回第三区域中,本申请实施例对此不作具体限定。
图5为本申请实施例提供的一种显示界面示意图,如图5中的(a)所示,电子设备显示一个部门群的群聊天界面,该群聊天界面中包括用户张发送的2条消息、用户李发送的2条消息以及用户王发送的1条消息,该群聊天界面中悬浮显示子界面51(即,第二子界面),子界面51包括区域51a(即第三区域,)和区域51b(即第四区域)。其中,区域51a中显示该界面中的三个用户张、用户李、用户王的用户标识,区域51a中可以显示“截取”,提示用户为截屏时保留的消息;区域51b中未显示用户标识,该区域51b中可以显示“不截取”,提示用户为截屏时无需保留的消息。如图5中的(b)所示,若用户将用户李的用户标识从区域51a中拖动到区域51b中,则如图5中的(c)所示,电子设备可以将用户李的标识显示在区域51b中,并取消显示用户李发送的2条消息,调整其他消息的显示位置,则电子设备最终可以生成如图5中的(d)所示的截屏图像。
图6为本申请实施例提供的一种显示界面示意图,结合图5中的(c),如图6中的(a)所示,用户将用户李的标识从区域51b中拖动到区域51a,则如图6中的(b)所示,电子设备恢复显示用户李发送的2条消息,最终电子设备可以生成图6中的(b)所示的截屏图像。
需要说明的是,在本申请实施例中,可以以用户头像为用户标识为例进行说明,实际应用中,也可以以用户昵称,或者用户昵称和头像为用户标识,本申请实施例对此不作具体限定。
基于该方案,电子设备可以为用户显示第二子界面,在第二子界面中为用户显示目标聊天界面中发送消息的用户标识,用户可以根据需要将用户标识移动区域,若将一个用户标识移动到第三区域,则表示用户需要在截屏时保留该用户标识指示的聊天消息;若将一个用户标识移动到第四区域,则标识用户需要在截屏时取消截屏该用户标识指示的聊天消息,无需用户一条一条选择取消截屏的消息,可以方便用户直接选择不截屏哪些用户发送的聊天消息,可以使得用户快速选择。
第三种可能的实现方式
可选地,本申请实施例提供的截屏方法,在上述的S101之前,还可以包括下述的S105c:
S105c、电子设备显示第三子界面。
其中,第三子界面中显示目标聊天界面中的聊天消息的用户标识。
在本申请实施例中,第一输入为用户在第三子界面中选择用户标识或者取消选择用户标识的输入。
示例性的,电子设备可以默认选择勾选每个用户标识。勾选的用户标识指示的聊天消息为用户选择截屏保留的聊天消息,未勾选的用户标识指示的聊天消息为用户选择截屏不保留的聊天消息。
图7为本申请实施例提供的一种显示界面示意图,如图7中的(a)所示,为部门群的群聊天界面,该群聊天界面中包括用户张发送的2条消息、用户李发送的2条消息以及用户王发的1条消息,电子设备可以在该聊天界面中悬浮显示子界面71(即第三子界面),子界面71中显示有用户张、用户李和用户王的用户标识,且默认全部勾选,用户可以根据需要取消勾选用户李对应的标识,则如图7中的(b)所示,电子设备可以取消显示用户李发送的2条消息,并调整其他消息的显示位置,电子设备可以生成如图7中的(c)所示的截屏图像。
基于该方案,电子设备可以为用户显示第三子界面,在第三子界面中显示目标聊天界面中的用户标识,用户可以根据需要进行选择或者取消选择,生成截屏图像时不显示取消勾选的用户标识对应的聊天消息,用户可以方便快捷地选择不需要截屏的聊天消息。
需要说明的是,本申请实施例提供的截屏方法,执行主体可以为截屏装置,或者该截屏装置中的用于执行截屏的方法的控制模块。本申请实施例中以截屏装置执行截屏的方法为例,说明本申请实施例提供的截屏方法的装置。
图8为本申请实施例提供的一种截屏装置可能的结构示意图,如图8中所述,截屏装置800包括:接收模块801和生成模块802;接收模块801,用于在显示目标聊天界面的情况下,接收针对目标对象的第一输入;生成模块802,用于响应于第一输入,生成截屏图像;其中,该截屏图像包括目标聊天界面中除目标聊天消息之外的其他聊天消息;目标对象为以下内容中的任一项:目标聊天消息、目标聊天消息对应的目标联系人标识、目标聊天消息对应的目标联系人标识、目标聊天界面中除目标联系人标识之外的其他联系人标识。
可选地,截屏装置还包括显示模块或选中模块;显示模块,用于在接收模块接收针对目标对象的第一输入之后,在第一输入为对第一消息的第一预设手势的输入的情况下,响应于第一输入,取消显示第一消息,第一消息为目标聊天消息;选中模块,用于在接收模块接收针对目标对象的第一输入之后,在第一输入为对第一消息的第二预设手势的输入的情况下,响应于第一输入,选中第一消息,除第一消息之外的聊天消息为目标聊天消息。
可选地,截屏装置还包括选中模块;选中模块,用于在接收模块接收针对目标对象的第一输入之后,在第一输入为对第一消息的第三预设手势的输入的情况下,响应于第一输入,选中第一消息以及第二消息;其中,目标聊天界面中除第一消息和第二消息之外的消息为目标聊天消息,第二消息为与第一消息的话题相关的消息。
可选地,截屏装置还包括显示模块;显示模块,用于在接收模块接收针对目标对象的第一输入之后,取消显示目标聊天消息,并调整目标聊天界面中除目标聊天消息之外的聊天消息的显示位置。
可选地,截屏装置还包括显示模块;显示模块,用于在接收模块接收针对目标对象的第一输入之前,在第一区域中显示目标聊天界面中待截屏的聊天消息的消息标识,在第二 区域中显示目标聊天界面中取消截屏的聊天消息的消息标识;生成模块,具体用于响应于接收模块接收的第一输入,确定第二区域中的消息标识对应的聊天消息为目标聊天消息;对目标聊天界面截屏,生成除目标聊天消息的截屏图像;其中,第一输入为用户将第一区域中的消息标识移动到第二区域的输入,或者为用户将第二区域中的消息标识移动到第一区域中的输入。
可选地,截屏装置还包括显示模块;显示模块,用于在接收模块接收针对目标对象的第一输入之前,在第三区域中显示目标聊天界面中待截屏的聊天消息的用户标识,在第四区域中显示目标聊天界面中取消截屏的消息的用户标识;生成模块,具体用于响应于接收模块接收的第一输入,确定第四区域中的用户标识对应的聊天消息为目标聊天消息;对目标聊天界面,生成除目标聊天消息的截屏图像;其中,第一输入为用户将第三区域中的用户标识移动到第四区域的输入,或为用户将第四区域中的用户标识移动到第三区域中的输入。
可选地,截屏装置还包括显示模块;显示模块,用于在接收模块接收针对目标对象的第一输入之前,显示子界面,该子界面中显示目标聊天界面中的聊天消息的用户标识;其中,第一输入为用户在该子界面中选择用户标识或者取消选择用户标识的输入。
本申请实施例提供一种截屏装置,在显示目标聊天界面的情况下,截屏装置接收针对目标对象的第一输入;目标对象可以包括以下内容中的任一项:目标聊天消息、目标聊天消息对应的目标联系人标识、目标聊天界面中除目标联系人标识之外的其他联系人标识;响应于第一输入,截屏装置可以生成截屏图像;该截屏图像中包括目标聊天界面中除目标聊天消息之外的聊天消息。由于用户可以在生成截屏图像之前,可以先通过第一输入选择不需要截屏的聊天消息,截屏装置在截屏过程中可以根据用户的选择,生成不包括用户选择的不需要截屏的聊天消息的截屏图片,可以使得用户在截屏之后,无需对截屏图像进行涂鸦、裁剪、拼接等处理,一方面,方便用户快速获取不包括冗余数据的截屏图像,简化了用户的操作步骤,另一方面,不再产生中间的图片,无需既保存原图又保存裁剪后的图片,节省了电子设备的存储空间。
本申请实施例中的截屏装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的截屏装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的截屏装置能够实现图1至图7的方法实施例中截屏装置实现的各个过程,为避免重复,这里不再赘述。
可选地,如图9所示,本申请实施例还提供一种电子设备900,包括处理器901,存 储器902,存储在存储器902上并可在所述处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图10为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元1007,用于在显示目标聊天界面的情况下,接收针对目标对象的第一输入;处理器1010,用于响应于所述第一输入,生成截屏图像,所述截屏图像包括所述目标聊天界面中除所述目标聊天消息之外的其他消息;所述目标对象为以下内容中的任一项:所述目标聊天消息、所述目标聊天消息对应的目标联系人标识、所述目标聊天界面中除所述目标联系人标识之外的其他联系人标识。
本申请实施例提供一种电子设备,在显示目标聊天界面的情况下,电子设备接收针对目标对象的第一输入;目标对象可以包括以下内容中的任一项:目标聊天消息、目标聊天消息对应的目标联系人标识、目标聊天界面中除目标联系人标识之外的其他联系人标识;响应于第一输入,电子设备可以生成截屏图像;该截屏图像中包括目标聊天界面中除目标聊天消息之外的聊天消息。由于用户可以在生成截屏图像之前,可以先通过第一输入选择不需要截屏的聊天消息,电子设备在截屏过程中可以根据用户的选择,生成不包括用户选择的不需要截屏的聊天消息的截屏图片,可以使得用户在截屏之后,无需对截屏图像进行涂鸦、裁剪、拼接等处理,一方面,方便用户快速获取不包括冗余数据的截屏图像,简化了用户的操作步骤,另一方面,不再产生中间的图片,无需既保存原图又保存裁剪后的图片,节省了电子设备的存储空间。
可选地,显示单元1006,用于用户输入单元1007接收针对目标对象的第一输入之后,在第一输入为对第一消息的第一预设手势的输入的情况下,响应于第一输入,取消显示第一消息,第一消息为目标聊天消息;处理器1010,还用于用户输入单元1007接收针对目标对象的第一输入之后,在第一输入为对第一消息的第二预设手势的输入的情况下,响应于第一输入,选中第一消息,除第一消息之外的聊天消息为目标聊天消息。
可选地,处理器1010,还用于用户输入单元1007接收针对目标对象的第一输入之后,在第一输入为对第一消息的第三预设手势的输入的情况下,响应于第一输入,选中第一消息以及第二消息;其中,目标聊天界面中除第一消息和第二消息之外的聊天消息为目标聊 天消息,第二消息为与第一消息的话题相关的聊天消息。
可选地,显示单元1006,还用于用户输入单元1007接收针对目标对象的第一输入之后,取消显示目标聊天消息,并调整目标聊天界面中除目标聊天消息之外的其他聊天消息的显示位置。
可选地,显示单元1006,还用于用户输入单元1007接收针对目标对象的第一输入之前,在第一区域中显示目标聊天界面中待截屏的聊天消息的消息标识,在第二区域中显示目标聊天界面中取消截屏的聊天消息的消息标识;处理器1010,具体用于响应于第一输入,确定第二区域中的消息标识对应的聊天消息为目标聊天消息;对目标聊天界面截屏,生成除目标聊天消息的截屏图像;其中,第一输入为用户将第一区域中的消息标识移动到第二区域的输入,或者为用户将第二区域中的消息标识移动到第一区域中的输入。
可选地,显示单元1006,还用于用户输入单元1007接收针对目标对象的第一输入之前,在第三区域中显示目标聊天界面中待截屏的聊天消息的用户标识,在第四区域中显示目标聊天界面中取消截屏的消息的用户标识;其中,一个用户标识指示所述目标聊天界面中与所述用户标识对应的用户的聊天消息,第一输入为用户将第三区域中的用户标识移动到第四区域的输入,或为用户将第四区域中的用户标识移动到第三区域中的输入。
可选地,显示单元1006,还用于用户输入单元1007接收针对目标对象的第一输入之前,显示子界面,该子界面中显示目标聊天界面中的聊天消息的用户标识;其中,第一输入为用户在子界面中选择或者取消选择用户标识的输入。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元1007包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述截屏方法实施例的各个过程, 且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种截屏方法,所述方法包括:
    在显示目标聊天界面的情况下,接收针对目标对象的第一输入;
    响应于所述第一输入,生成截屏图像;
    其中,所述截屏图像包括所述目标聊天界面中除目标聊天消息之外的其他聊天消息;所述目标对象为以下内容中的任一项:所述目标聊天消息、所述目标聊天消息对应的目标联系人标识、所述目标聊天界面中除所述目标联系人标识之外的其他联系人标识。
  2. 根据权利要求1所述的方法,其中,所述接收针对目标对象的第一输入之后,所述方法还包括:
    在所述第一输入为对第一消息的第一预设手势的输入的情况下,响应于所述第一输入,取消显示所述第一消息,所述第一消息为所述目标聊天消息;
    或者,
    在所述第一输入为对第一消息的第二预设手势的输入的情况下,响应于所述第一输入,选中所述第一消息,除所述第一消息之外的聊天消息为所述目标聊天消息。
  3. 根据权利要求1所述的方法,其中,所述接收针对目标对象的第一输入之后,所述方法还包括:
    在所述第一输入为对第一消息的第三预设手势的输入的情况下,响应于所述第一输入,选中所述第一消息以及第二消息;
    其中,所述目标聊天界面中除所述第一消息和所述第二消息之外的聊天消息为所述目标聊天消息,所述第二消息为与所述第一消息的话题相关的聊天消息。
  4. 根据权利要求1所述的方法,其中,所述接收针对目标对象的第一输入之后,所述方法还包括:
    取消显示所述目标聊天消息,并调整所述目标聊天界面中除所述目标聊天消息之外的聊天消息的显示位置。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述接收针对目标对象的第一输入之前,所述方法还包括:
    在第一区域中显示所述目标聊天界面中待截屏的聊天消息的消息标识,在第二区域中显示所述目标聊天界面中取消截屏的聊天消息的消息标识;
    所述响应于所述第一输入,生成截屏图像,包括:
    响应于所述第一输入,确定所述第二区域中的消息标识对应的聊天消息为所述目标聊天消息;
    对所述目标聊天界面截屏,生成除所述目标聊天消息的截屏图像;
    其中,所述第一输入为用户将所述第一区域中的消息标识移动到所述第二区域的输入,或者为用户将所述第二区域中的消息标识移动到所述第一区域中的输入。
  6. 根据权利要求1至4中任一项所述的方法,其中,所述接收针对目标对象的第一输入之前,所述方法还包括:
    在第三区域中显示所述目标聊天界面中待截屏的聊天消息的用户标识,在第四区域中显示所述目标聊天界面中取消截屏的聊天消息的用户标识;
    所述响应于所述第一输入,生成截屏图像,包括:
    响应于所述第一输入,确定所述第四区域中的用户标识对应的聊天消息为所述目标聊天消息;
    对所述目标聊天界面截屏,生成除所述目标聊天消息的截屏图像;
    其中,一个用户标识指示所述目标聊天界面中与所述用户标识对应的用户的聊天消息,所述第一输入为用户将所述第三区域中的用户标识移动到所述第四区域的输入,或为用户将所述第四区域中的用户标识移动到所述第三区域中的输入。
  7. 根据权利要求1至4中任一项所述的方法,其中,所述接收针对目标对象的第一输入之前,所述方法还包括:
    显示子界面,所述子界面中显示所述目标聊天界面中的聊天消息的用户标识;
    其中,所述第一输入为用户在所述子界面中选择用户标识或者取消选择用户标识的输入。
  8. 一种截屏装置,所述截屏装置包括:接收模块和生成模块;
    所述接收模块,用于在显示目标聊天界面的情况下,接收针对目标对象的第一输入;
    所述生成模块,用于响应于所述第一输入,生成截屏图像;
    其中,所述截屏图像包括所述目标聊天界面中除目标聊天消息之外的其他聊天消息;所述目标对象为以下内容中的任一项:所述目标聊天消息、所述目标聊天消息对应的目标联系人标识、所述目标聊天界面中除所述目标联系人标识之外的其他联系人标识。
  9. 根据权利要求8所述的截屏装置,其中,所述截屏装置还包括显示模块或选中模块;
    所述显示模块,用于在所述接收模块接收针对目标对象的第一输入之后,在所述第一输入为对第一消息的第一预设手势的输入的情况下,响应于所述第一输入,取消显示所述第一消息,所述第一消息为所述目标聊天消息;
    所述选中模块,用于在所述接收模块接收针对目标对象的第一输入之后,在所述第一输入为对第一消息的第二预设手势的输入的情况下,响应于所述第一输入,选中所述第一消息,除所述第一消息之外的聊天消息为所述目标聊天消息。
  10. 根据权利要求8所述的截屏装置,其中,所述截屏装置还包括选中模块;
    所述选中模块,用于在所述接收模块接收针对目标对象的第一输入之后,在所述第一输入为对第一消息的第三预设手势的输入的情况下,响应于所述第一输入,选中所述第一消息以及第二消息;
    其中,所述目标聊天界面中除所述第一消息和所述第二消息之外的消息为所述目标聊天消息,所述第二消息为与所述第一消息的话题相关的消息。
  11. 根据权利要求8所述的截屏装置,其中,所述截屏装置还包括显示模块;
    所述显示模块,用于在所述接收模块接收针对目标对象的第一输入之后,取消显示所述目标聊天消息,并调整所述目标聊天界面中除所述目标聊天消息之外的聊天消息的显示位置。
  12. 根据权利要求8至11中任一项所述的截屏装置,其中,所述截屏装置还包括 显示模块;
    所述显示模块,用于在所述接收模块接收针对目标对象的第一输入之前,在第一区域中显示所述目标聊天界面中待截屏的聊天消息的消息标识,在第二区域中显示所述目标聊天界面中取消截屏的聊天消息的消息标识;
    所述生成模块,具体用于响应于所述接收模块接收的所述第一输入,确定所述第二区域中的消息标识对应的聊天消息为所述目标聊天消息;对所述目标聊天界面截屏,生成除所述目标聊天消息的截屏图像;
    其中,所述第一输入为用户将所述第一区域中的消息标识移动到所述第二区域的输入,或者为用户将所述第二区域中的消息标识移动到所述第一区域中的输入。
  13. 根据权利要求8至11中任一项所述的截屏装置,其中,所述截屏装置还包括显示模块;
    所述显示模块,用于在所述接收模块接收针对目标对象的第一输入之前,在第三区域中显示所述目标聊天界面中待截屏的聊天消息的用户标识,在第四区域中显示所述目标聊天界面中取消截屏的消息的用户标识;
    所述生成模块,具体用于响应于所述接收模块接收的所述第一输入,确定所述第四区域中的用户标识对应的聊天消息为所述目标聊天消息;对所述目标聊天界面,生成除所述目标聊天消息的截屏图像;
    其中,一个用户标识指示所述目标聊天界面中与所述用户标识对应的用户的聊天消息,所述第一输入为用户将所述第三区域中的用户标识移动到所述第四区域的输入,或为用户将所述第四区域中的用户标识移动到所述第三区域中的输入。
  14. 根据权利要求8至11中任一项所述的截屏装置,其中,
    所述显示模块,用于在所述接收针对目标对象的第一输入之前,显示子界面,所述子界面中显示所述目标聊天界面中的聊天消息的用户标识;
    其中,所述第一输入为用户在所述子界面中选择用户标识或者取消选择用户标识的输入。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至7中任一项所述的截屏方法的步骤。
  16. 一种电子设备,所述电子设备被配置成用于执行如权利要求1至7中任一项所述的截屏方法。
  17. 一种截屏装置,所述截屏装置被配置成用于执行如权利要求1至7中任一项所述的截屏方法。
  18. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至7任一项所述的截屏方法。
  19. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至7中任一项所述的截屏方法的步骤。
PCT/CN2021/139084 2020-12-24 2021-12-17 截屏方法、装置及电子设备 WO2022135290A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011553253.3A CN112698894A (zh) 2020-12-24 2020-12-24 截屏方法、装置及电子设备
CN202011553253.3 2020-12-24

Publications (1)

Publication Number Publication Date
WO2022135290A1 true WO2022135290A1 (zh) 2022-06-30

Family

ID=75509904

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/139084 WO2022135290A1 (zh) 2020-12-24 2021-12-17 截屏方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN112698894A (zh)
WO (1) WO2022135290A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698894A (zh) * 2020-12-24 2021-04-23 维沃移动通信(杭州)有限公司 截屏方法、装置及电子设备
CN113965640B (zh) * 2021-10-11 2023-09-01 维沃移动通信有限公司 消息处理方法及装置
CN114911393A (zh) * 2022-05-06 2022-08-16 维沃移动通信有限公司 截屏方法、装置、电子设备和可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040436A1 (en) * 2006-08-11 2008-02-14 Geodesic Information Systems Ltd Instant messaging integrated in a browser
CN104657058A (zh) * 2015-02-06 2015-05-27 深圳市金立通信设备有限公司 一种截图方法
CN107346200A (zh) * 2017-06-30 2017-11-14 努比亚技术有限公司 一种间隔截图方法及终端
CN110456956A (zh) * 2019-08-05 2019-11-15 腾讯科技(深圳)有限公司 截图方法、装置、计算机设备和存储介质
CN112099714A (zh) * 2020-09-22 2020-12-18 维沃移动通信有限公司 截图方法、装置、电子设备及可读存储介质
CN112698894A (zh) * 2020-12-24 2021-04-23 维沃移动通信(杭州)有限公司 截屏方法、装置及电子设备

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101415023B1 (ko) * 2007-04-26 2014-07-04 삼성전자주식회사 네트워크를 통한 정보 제공 방법 및 장치
US8352561B1 (en) * 2009-07-24 2013-01-08 Google Inc. Electronic communication reminder technology
CN102012919B (zh) * 2010-11-26 2013-08-07 深圳市同洲电子股份有限公司 电视截屏图像关联搜索方法、装置及数字电视终端
CN102902703A (zh) * 2012-07-19 2013-01-30 中国人民解放军国防科学技术大学 一种面向网络敏感信息的截图取证与锁定回访的方法
CN103458123B (zh) * 2013-08-30 2015-12-09 广东明创软件科技有限公司 保存、分享聊天记录的方法及其移动终端
CN104679405B (zh) * 2015-02-06 2019-05-14 深圳市金立通信设备有限公司 一种终端
CN107102786B (zh) * 2016-02-19 2020-06-12 腾讯科技(北京)有限公司 一种信息处理方法及客户端
CN106685798B (zh) * 2016-12-08 2020-09-01 蓝信移动(北京)科技有限公司 消息生成的方法、装置及移动终端
CN106873871B (zh) * 2017-01-06 2018-09-11 腾讯科技(深圳)有限公司 页面截图方法和装置
CN107247547A (zh) * 2017-05-25 2017-10-13 北京小米移动软件有限公司 截图处理方法及装置
CN108322806B (zh) * 2017-12-20 2020-04-07 海信视像科技股份有限公司 智能电视及电视画面截图的图形用户界面的显示方法
CN108664288A (zh) * 2018-05-14 2018-10-16 维沃移动通信有限公司 一种图像截取方法及移动终端
CN108848270B (zh) * 2018-06-29 2021-05-11 维沃移动通信(深圳)有限公司 一种截屏图像的处理方法和移动终端
US10572566B2 (en) * 2018-07-23 2020-02-25 Vmware, Inc. Image quality independent searching of screenshots of web content
CN109213407B (zh) * 2018-08-17 2021-01-08 维沃移动通信有限公司 一种截图方法及终端设备
EP3759626A4 (en) * 2018-08-30 2021-10-27 Hewlett-Packard Development Company, L.P. SIMILARITY ANALYSIS OF SHARED CONTENT

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080040436A1 (en) * 2006-08-11 2008-02-14 Geodesic Information Systems Ltd Instant messaging integrated in a browser
CN104657058A (zh) * 2015-02-06 2015-05-27 深圳市金立通信设备有限公司 一种截图方法
CN107346200A (zh) * 2017-06-30 2017-11-14 努比亚技术有限公司 一种间隔截图方法及终端
CN110456956A (zh) * 2019-08-05 2019-11-15 腾讯科技(深圳)有限公司 截图方法、装置、计算机设备和存储介质
CN112099714A (zh) * 2020-09-22 2020-12-18 维沃移动通信有限公司 截图方法、装置、电子设备及可读存储介质
CN112698894A (zh) * 2020-12-24 2021-04-23 维沃移动通信(杭州)有限公司 截屏方法、装置及电子设备

Also Published As

Publication number Publication date
CN112698894A (zh) 2021-04-23

Similar Documents

Publication Publication Date Title
WO2022135290A1 (zh) 截屏方法、装置及电子设备
WO2022001900A1 (zh) 信息发送方法、装置和电子设备
WO2022063022A1 (zh) 视频预览方法、装置及电子设备
WO2022017525A1 (zh) 页面显示方法、装置和电子设备
WO2013094896A1 (en) Method and apparatus for managing message
WO2022048633A1 (zh) 显示方法、装置和电子设备
WO2022012657A1 (zh) 图像编辑方法、装置和电子设备
US11934648B2 (en) Permission setting method and apparatus and electronic device
CN110602565A (zh) 一种图像处理方法及电子设备
WO2022194004A1 (zh) 应用图标整理方法、装置和电子设备
JP2023542666A (ja) 操作方法及び装置
WO2022089409A1 (zh) 文件发送方法、装置及电子设备
WO2022156668A1 (zh) 信息处理方法和电子设备
WO2023025060A1 (zh) 界面显示的适配处理方法、装置和电子设备
WO2022089272A1 (zh) 图像处理方法及装置
WO2022012665A1 (zh) 壁纸显示控制方法、装置和电子设备
WO2022233301A1 (zh) 应用程序的控制方法和装置
WO2022171062A1 (zh) 分享图片的方法、装置、电子设备及存储介质
WO2022135409A1 (zh) 显示处理方法、显示处理装置和可穿戴设备
US20230385426A1 (en) Encryption Method and Apparatus, Electronic Device, and Medium
WO2023030130A1 (zh) 会话处理方法、装置及电子设备
WO2022135476A1 (zh) 截图方法、装置及电子设备
WO2022089481A1 (zh) 信息处理方法、装置及电子设备
WO2022156667A1 (zh) 一种应用的控制方法、装置及电子设备
WO2022111458A1 (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: 21909286

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

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