WO2020063107A1 - Screenshot method and terminal - Google Patents

Screenshot method and terminal Download PDF

Info

Publication number
WO2020063107A1
WO2020063107A1 PCT/CN2019/099022 CN2019099022W WO2020063107A1 WO 2020063107 A1 WO2020063107 A1 WO 2020063107A1 CN 2019099022 W CN2019099022 W CN 2019099022W WO 2020063107 A1 WO2020063107 A1 WO 2020063107A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
text information
information
voice chat
screenshot
Prior art date
Application number
PCT/CN2019/099022
Other languages
French (fr)
Chinese (zh)
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 WO2020063107A1 publication Critical patent/WO2020063107A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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
    • 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
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • Some embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a screen capture method and a terminal.
  • terminals are becoming more and more popular, and many applications can be installed on the terminals.
  • Users can chat with others using instant messaging applications.
  • users can use the voice chat tool of an instant messaging application to chat with other people.
  • Some embodiments of the present disclosure provide a screen capture method and a terminal to solve the problem that the process of converting voice chat information to text information and then performing screen capture is relatively tedious in the related art.
  • some embodiments of the present disclosure provide a screenshot method, including:
  • some embodiments of the present disclosure further provide a terminal, including:
  • a receiving module configured to receive a first operation for triggering a screenshot
  • a judging module configured to judge whether the screen-to-screen-screen interface contains voice chat information in response to the first operation
  • a conversion module configured to convert the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-be-screen-shot interface
  • the obtaining module is configured to obtain a target screenshot image including the first text information.
  • some embodiments of the present disclosure further provide a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor.
  • the computer program is replaced by the processor.
  • some embodiments of the present disclosure further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the above screen capture method .
  • a first operation for triggering a screen capture is received; in response to the first operation, it is determined whether the screen-to-screen interface includes voice chat information; and the case where the voice-chat information exists on the screen-to-screen interface Next, the voice chat information is converted into corresponding first text information; and a target screenshot image containing the first text information is obtained.
  • voice chat information exists on the screen-to-screen interface
  • the voice chat information can be converted into corresponding first text information.
  • a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
  • FIG. 1 is a flowchart of a screenshot method provided by some embodiments of the present disclosure
  • FIG. 2 is a schematic diagram of a screen-to-screen interface provided by some embodiments of the present disclosure
  • FIG. 3 is a schematic diagram of an obtained screenshot image of a target including first text information provided by some embodiments of the present disclosure
  • FIG. 4 is a flowchart of another screenshot method provided by some embodiments of the present disclosure.
  • FIG. 5 is a schematic diagram of displaying first text information in a preset range of a target position provided by some embodiments of the present disclosure
  • FIG. 6 is a schematic diagram of displaying first text information at a target position provided by some embodiments of the present disclosure
  • FIG. 7 is a flowchart of another screenshot method provided by some embodiments of the present disclosure.
  • FIG. 8 is a structural diagram of a terminal provided by some embodiments of the present disclosure.
  • FIG. 9 is a schematic diagram of a hardware structure of a terminal according to some embodiments of the present disclosure.
  • FIG. 1 is a flowchart of a screenshot method provided by some embodiments of the present disclosure. As shown in FIG. 1, the method includes the following steps:
  • Step 101 Receive a first operation for triggering a screenshot.
  • the terminal may receive a first operation for triggering a screenshot. For example, within a chat interface of an instant messaging application, a user can swipe up on the screen of a terminal using two fingers. At this point, the terminal receives the first operation for triggering a screenshot.
  • Step 102 In response to the first operation, determine whether the screen-to-screen interface contains voice chat information.
  • step 102 in response to the received first operation, it can be determined whether the screen-to-screen interface contains voice chat information.
  • FIG. 2 it is a schematic diagram of an interface to be taken.
  • voice chat information A is the voice chat information sent by the user B
  • the voice chat information A is the read voice chat information
  • the voice chat information B is the voice chat information sent by the user A himself
  • voice chat information C is unread voice chat information.
  • Step 103 When voice chat information exists on the screen-to-screen interface, the voice chat information is converted into corresponding first text information.
  • the voice chat information may be converted into corresponding first text information.
  • voice chat information A may be converted into corresponding first text information
  • voice chat information B may be converted into corresponding first text information
  • voice chat information C may be converted into corresponding first text information.
  • Step 104 Obtain a target screenshot image including the first text information.
  • a target screenshot picture containing the first text information can be obtained.
  • FIG. 3 it is a schematic diagram of a target screen shot image that includes first text information.
  • the first text message converted from the voice chat information A is displayed: "How about going to Songshan Lake?";
  • the first text message converted from the voice chat information B is displayed: "I have something tomorrow morning To be processed. ";
  • the first text message converted from the voice chat message C is displayed:" OK, let's go in the afternoon. "
  • the voice chat information needs to be converted into text information before screenshots are taken.
  • the user needs to convert all the voice chat messages into text messages one by one and then take a screenshot.
  • the operation steps are many and the process is complicated.
  • the voice chat information when voice chat information exists on the screen-to-screen interface, the voice chat information may be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
  • the terminal may be a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (Mobile Internet Device, MID) or Wearable Device.
  • PDA personal digital assistant
  • a mobile Internet device Mobile Internet Device, MID
  • the screen capture method of some embodiments of the present disclosure receives a first operation for triggering a screen capture; in response to the first operation, determining whether the screen-to-screen interface contains voice chat information; and the case where voice-screen chat information exists on the screen-to-screen interface.
  • the voice chat information is converted into corresponding first text information; and a target screenshot image containing the first text information is obtained.
  • the voice chat information can be converted into corresponding first text information.
  • a target screenshot image containing the first text information can be obtained.
  • FIG. 4 is a flowchart of another screenshot method provided by some embodiments of the present disclosure.
  • a screenshot can be taken to obtain a first screenshot picture.
  • the first text information can be synthesized with the first screenshot image to obtain a target screenshot image containing the first text information. As shown in Figure 4, it includes the following steps:
  • Step 401 Receive a first operation for triggering a screenshot.
  • the terminal may receive a first operation for triggering a screenshot. For example, within a chat interface of an instant messaging application, a user can swipe up on the screen of a terminal using two fingers. At this point, the terminal receives the first operation for triggering a screenshot.
  • Step 402 Take a screenshot of the screen-to-be-screen-shot interface to obtain a first screenshot picture.
  • a screenshot in response to the received first operation, a screenshot can be taken of the screenshot interface to obtain a first screenshot picture.
  • Step 403 In response to the first operation, determine whether the screen-to-screen interface contains voice chat information.
  • step 403 in response to the received first operation, it can be determined whether the screen-to-screen interface contains voice chat information.
  • FIG. 2 is a schematic diagram of an interface to be screen shot.
  • voice chat information A is the voice chat information sent by the user B
  • the voice chat information A is the read voice chat information
  • the voice chat information B is the voice chat information sent by the user A himself
  • the voice chat information C is the second message sent by the user Incoming voice chat information
  • voice chat information C is unread voice chat information.
  • a screenshot may be taken of the interface to be screenshot shown in FIG. 2 to obtain a first screenshot picture.
  • Step 404 In the case where voice chat information exists on the screen-to-be-screen-shot interface, convert the voice chat information into corresponding first text information.
  • the voice chat information may be converted into corresponding first text information.
  • voice chat information A may be converted into corresponding first text information
  • voice chat information B may be converted into corresponding first text information
  • voice chat information C may be converted into corresponding first text information.
  • the converting the voice chat information into corresponding first text information includes:
  • voice chat information When the voice chat information is read voice chat information, converting the read voice chat information into corresponding first text information;
  • the method further includes:
  • the terminal may further determine whether the voice chat information in the screen-to-screen interface is read voice chat information.
  • the voice chat information in the screen-to-screen interface is read voice chat information
  • the read voice chat information can be converted into corresponding first text information
  • the voice-chat information in the screen-to-screen interface is unread voice chat information.
  • unread voice chat information C it is prohibited to convert it into corresponding text information.
  • the screen capturer does not know the specific content of the unread voice chat information, that is, the user A does not know the specific content of the unread voice chat information.
  • the unread voice chat information involves confidential information, such as privacy information
  • if all the voice chat information in the screen-to-screen interface is still converted to the corresponding first text information User A will take the screen capture that contains the first text information.
  • confidential information such as privacy information will be leaked out. Therefore, the read voice chat information in the screen-to-screen screen interface can be converted into corresponding first text information, and the unread voice chat information in the screen-to-screen screen interface can be prohibited from being converted into corresponding text information. In this way, information that needs to be kept secret can be prevented from being leaked out, and security is better.
  • Step 405 Combining the first text information with the first screenshot image to obtain a target screenshot image including the first text information.
  • the first text information may be synthesized with the first screenshot picture to obtain a target screenshot picture containing the first text information.
  • the first text information is displayed in the target position or a preset range of the target position
  • the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
  • the first text information may be displayed in the target position or a preset range of the target position.
  • the target position is the position in the target screenshot image of the voice chat information in the screen to be captured after the screenshot is taken.
  • FIG. 5 it is a schematic diagram in which the first text information is displayed within a preset range of the target position.
  • the first text message converted from the voice chat information A "How about going to Songshan Lake?" Is displayed within a preset range of the screen shot position of the voice chat information A; The first text message: "I have something to do tomorrow morning.” It is displayed in the preset range of the screen shot position of the voice chat message B. Displaying the first text information in a preset range of the target position allows the user to know which piece of voice chat information the first text information corresponds to.
  • the first text information may be displayed at the target position.
  • FIG. 6 it is a schematic diagram of displaying first text information at a target position.
  • the first text message converted from the voice chat information A "How about going to Songshan Lake?" Is displayed at the screen shot position of the voice chat information A; the first text message converted from the voice chat information B: "I have something to deal with tomorrow morning.” It is displayed at the screen shot of voice chat message B. Displaying the first text information at the target position allows the user to know which piece of voice chat information the first text information corresponds to.
  • the style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is Text information other than the first text information in the target screenshot.
  • the style of the first text information in the target screenshot image may be a first style; the style of the second text information in the target screenshot image may be a second style.
  • the second text information is text information other than the first text information in the target screenshot image, that is, the second text information is text information in the target screen image except the first text information that is displayed in the target screenshot image after the screen capture. text information. For example, as shown in FIG. 2, “Hello, are you going to play tomorrow?”, “What time is it going to go?” And “Bye.” In the screen-to-be-screened interface are all second text messages.
  • the "style” may be a color, a font, a text size, or the like.
  • the color of the first text information in the target screenshot is blue; the color of the second text information in the target screenshot is orange; or the font of the first text in the target screenshot is italics;
  • the font of the second text information is Song style and so on.
  • the voice chat information when voice chat information exists on an interface to be screen shot, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. Further, a screenshot can be taken to obtain a first screenshot picture. Furthermore, the first text information can be synthesized with the first screenshot image to obtain a target screenshot image containing the first text information. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
  • FIG. 7 is a flowchart of another screenshot method provided by some embodiments of the present disclosure.
  • the main difference between this embodiment and the previous embodiment is that the first text information can be displayed in the screen-to-screen interface, and then the screen-to-screen interface displaying the first text information can be screen-shot to obtain a target screen-shot image containing the first text information.
  • it includes the following steps:
  • Step 701 Receive a first operation for triggering a screenshot.
  • the terminal may receive a first operation for triggering a screenshot. For example, within a chat interface of an instant messaging application, a user can swipe up on the screen of a terminal using two fingers. At this point, the terminal receives the first operation for triggering a screenshot.
  • Step 702 In response to the first operation, determine whether the screen-to-screen interface contains voice chat information.
  • step 702 in response to the received first operation, it may be determined whether the screen-to-screen interface contains voice chat information.
  • FIG. 2 is a schematic diagram of an interface to be screen shot.
  • voice chat information A is the voice chat information sent by the user B
  • voice chat information A is the read voice chat information
  • the voice chat information B is the voice chat information sent by the user A himself
  • the voice chat information C is the second message sent by the user Incoming voice chat information
  • voice chat information C is unread voice chat information.
  • Step 703 When voice chat information exists on the screen-to-be-screen-shot interface, convert the voice chat information into corresponding first text information.
  • the voice chat information may be converted into corresponding first text information.
  • voice chat information A may be converted into corresponding first text information
  • voice chat information B may be converted into corresponding first text information
  • voice chat information C may be converted into corresponding first text information.
  • the converting the voice chat information into corresponding first text information includes:
  • voice chat information When the voice chat information is read voice chat information, converting the read voice chat information into corresponding first text information;
  • the method further includes:
  • the terminal may further determine whether the voice chat information in the screen-to-screen interface is read voice chat information.
  • the voice chat information in the screen-to-screen interface is read voice chat information
  • the read voice chat information can be converted into corresponding first text information
  • the voice-chat information in the screen-to-screen interface is unread voice chat information.
  • unread voice chat information C it is prohibited to convert it into corresponding text information.
  • the screen capturer does not know the specific content of the unread voice chat information, that is, the user A does not know the specific content of the unread voice chat information.
  • the unread voice chat information involves confidential information, such as privacy information
  • if all the voice chat information in the screen-to-screen interface is still converted to the corresponding first text information User A will take the screen capture that contains the first text information.
  • confidential information such as privacy information will be leaked out. Therefore, the read voice chat information in the screen-to-screen screen interface can be converted into corresponding first text information, and the unread voice chat information in the screen-to-screen screen interface can be prohibited from being converted into corresponding text information. In this way, information that needs to be kept secret can be prevented from being leaked out, and security is better.
  • Step 704 Display the first text information in the screen-to-screen interface.
  • step 704 after the voice chat information is converted into the corresponding first text information, the first text information may be displayed in the screen-to-screen interface.
  • the first text information converted from the voice chat information A may be displayed in the screen-to-be-screened interface: "How about going to Songshan Lake?”;
  • the first text information converted from the voice-chat information B may be displayed in the screen-to-screen interface. "I have something to do tomorrow morning.”
  • Step 705 Take a screenshot of the to-be-screenshot interface displaying the first text information, and obtain a target screenshot image that includes the first text information.
  • step 705 after the first text information is displayed in the screen-to-screen screen interface, a screen shot of the screen-to-screen screen interface displaying the first text information may be performed to obtain a target screen-capture picture including the first text information.
  • the first text information is displayed in the target position or a preset range of the target position
  • the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
  • the first text information may be displayed in the target position or a preset range of the target position.
  • the target position is the position in the target screenshot image of the voice chat information in the screen to be captured after the screenshot is taken.
  • the first text message converted from the voice chat information A "How about going to Songshan Lake?" Is displayed within a preset range of the screen shot position of the voice chat information A;
  • the first text message converted from chat message B “I have something to do tomorrow morning.” It is displayed within the preset range of the screen shot position of voice chat message B. Displaying the first text information in a preset range of the target position allows the user to know which piece of voice chat information the first text information corresponds to.
  • the first text information may be displayed at the target position. Still taking FIG. 6 as an example, in FIG. 6, the first text message converted from the voice chat information A: "How about going to Songshan Lake?" Is displayed at the screen shot position of the voice chat information A; it is converted by the voice chat information B The first text message: "I have something to do tomorrow morning.” It is displayed at the screen shot position of the voice chat message B. Displaying the first text information at the target position allows the user to know which piece of voice chat information the first text information corresponds to.
  • the style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is Text information other than the first text information in the target screenshot.
  • the style of the first text information in the target screenshot image may be a first style; the style of the second text information in the target screenshot image may be a second style.
  • the second text information is text information other than the first text information in the target screenshot image, that is, the second text information is text information in the target screen image except the first text information that is displayed in the target screenshot image after the screen capture. text information. For example, as shown in FIG. 2, “Hello, are you going to play tomorrow?”, “What time is it going to go?” And “Bye.” In the screen-to-be-screened interface are all second text messages.
  • the "style” may be a color, a font, a text size, or the like.
  • the color of the first text information in the target screenshot is blue; the color of the second text information in the target screenshot is orange; or the font of the first text in the target screenshot is italics;
  • the font of the second text information is Song style and so on.
  • the voice chat information when voice chat information exists on an interface to be screen shot, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. Further, the first text information can be displayed in the screen-to-screen screen interface, and then the screen-to-screen screen interface displaying the first text information can be screen-shot to obtain a target screen-capture picture including the first text information. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
  • FIG. 8 is a structural diagram of a terminal provided by the implementation of the present disclosure.
  • the terminal 800 includes a receiving module 801, a judging module 802, a conversion module 803, and an obtaining module 804, of which:
  • a receiving module 801 configured to receive a first operation for triggering a screenshot
  • a judging module 802 configured to determine whether the screen-to-screen-screen interface includes voice chat information in response to the first operation
  • a conversion module 803, configured to convert the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-screen interface;
  • the obtaining module 804 is configured to obtain a target screenshot image including the first text information.
  • the terminal further includes:
  • a screenshot module configured to take a screenshot of the interface to be taken to obtain a first screenshot picture
  • the obtaining module is specifically configured to synthesize the first text information with the first screenshot picture to obtain a target screenshot picture containing the first text information.
  • the obtaining module includes:
  • a display sub-module configured to display the first text information in the screen-to-screen interface
  • the screen capture sub-module is configured to screen capture an interface to be screen shot displaying the first text information to obtain a target screen shot image including the first text information.
  • the first text information is displayed in the target position or a preset range of the target position
  • the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
  • the conversion module is specifically configured to convert the read voice chat information into corresponding first text information when the voice chat information is read voice chat information;
  • the terminal further includes:
  • the prohibition module is configured to prohibit conversion of the unread voice chat information into corresponding text information.
  • the style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is Text information other than the first text information in the target screenshot.
  • the terminal 800 can implement the processes implemented by the terminal in the method embodiments in FIG. 1, FIG. 4, and FIG. 7. To avoid repetition, details are not described herein again.
  • the terminal 800 can realize that when there is voice chat information on the screen to be captured, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
  • FIG. 9 is a schematic diagram of a hardware structure of a terminal that implements various embodiments of the present disclosure.
  • the terminal 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911 and other components.
  • a radio frequency unit 901 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911 and other components.
  • the terminal structure shown in FIG. 9 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange different components.
  • the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a car terminal, a wear
  • the processor 910 is configured to control the user input unit 907 to receive a first operation for triggering a screen capture
  • the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
  • the radio frequency unit 901 may be used to receive and send signals during information transmission and reception or during a call. Specifically, the downlink data from the base station is received and processed by the processor 910; To send uplink data to the base station.
  • the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive email, browse web pages, and access streaming media.
  • the audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into audio signals and output them as sound. Also, the audio output unit 903 may also provide audio output (for example, a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the terminal 900.
  • the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 904 is used for receiving audio or video signals.
  • the input unit 904 may include a graphics processing unit (Graphics Processing Unit, GPU) 9041 and a microphone 9042.
  • the graphics processor 9041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode Data is processed.
  • the processed image frames may be displayed on the display unit 906.
  • the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902.
  • the microphone 9042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 901 in the case of a telephone call mode.
  • the terminal 900 further includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 9061 and / Or backlight.
  • an accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes).
  • sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared The sensors and the like are not repeated here.
  • the display unit 906 is configured to display information input by the user or information provided to the user.
  • the display unit 906 may include a display panel 9061.
  • the display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 907 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal.
  • the user input unit 907 includes a touch panel 9071 and other input devices 9072.
  • Touch panel 9071 also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 9071 or near touch panel 9071 operating).
  • the touch panel 9071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 910, receive the command sent by the processor 910 and execute it.
  • various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 9071.
  • the user input unit 907 may further include other input devices 9072.
  • other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, and details are not described herein again.
  • the touch panel 9071 may be overlaid on the display panel 9061.
  • the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel 9071 transmits the touch operation to the processor 910 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 9061.
  • the touch panel 9071 and the display panel 9061 are implemented as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated and Implement the input and output functions of the terminal, which are not limited here.
  • the interface unit 908 is an interface through which an external device is connected to the terminal 900.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more.
  • the interface unit 908 may be used to receive an input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 900 or may be used to communicate between the terminal 900 and an external device. Transfer data.
  • the memory 909 may be used to store software programs and various data.
  • the memory 909 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), and the like; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 909 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 910 is a control center of the terminal, and uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and / or modules stored in the memory 909, and calling data stored in the memory 909, execution is performed. Various functions and processing data of the terminal, so as to monitor the terminal as a whole.
  • the processor 910 may include one or more processing units; optionally, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
  • the terminal 900 may further include a power source 911 (such as a battery) for supplying power to various components.
  • a power source 911 such as a battery
  • the power source 911 may be logically connected to the processor 910 through a power management system, thereby implementing management of charging, discharging, and power consumption management through the power management system. And other functions.
  • terminal 900 includes some functional modules that are not shown, and details are not described herein again.
  • processor 910 is further configured to:
  • processor 910 is further configured to:
  • processor 910 is further configured to:
  • the first text information is displayed in the target position or a preset range of the target position
  • the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
  • processor 910 is further configured to:
  • voice chat information When the voice chat information is read voice chat information, converting the read voice chat information into corresponding first text information;
  • the voice chat information is unread voice chat information, it is prohibited to convert the unread voice chat information into corresponding text information.
  • processor 910 is further configured to:
  • the style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is the target screenshot Text information other than the first text information is included.
  • the terminal 900 can implement the processes implemented by the terminal in the foregoing embodiments. To avoid repetition, details are not described herein again.
  • the terminal 900 can realize that, when voice chat information exists on the screen to be captured, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
  • some embodiments of the present disclosure further provide a terminal, including a processor 910, a memory 909, and a computer program stored on the memory 909 and executable on the processor 910.
  • the computer program is processed by the processor 910 During execution, each process of the embodiment of the screenshot method is implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
  • Some embodiments of the present disclosure also provide a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Abstract

The present invention provides a screenshot method and a terminal. The method comprises: receiving a first operation used for triggering screenshot; in response to the first operation, determining whether an interface to be subjected to screenshot comprises speech chat information or not; converting the speech chat information into corresponding first text information in a case where the interface to be subjected to screenshot comprises the speech chat information; and obtaining a target screenshot image comprising the first text information.

Description

截屏方法和终端Screen capture method and terminal
相关申请的交叉引用Cross-reference to related applications
本申请主张在2018年9月28日在中国提交的中国专利申请号No.201811140890.0的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201811140890.0 filed in China on September 28, 2018, the entire contents of which are hereby incorporated by reference.
技术领域Technical field
本公开的一些实施例涉及通信技术领域,尤其涉及一种截屏方法和终端。Some embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a screen capture method and a terminal.
背景技术Background technique
随着科技的发展进步,终端越来越普及,终端上可以安装很多应用。例如即时通信应用、游戏应用和视频应用等等。用户可以使用即时通信应用与其他人聊天。例如,用户可以使用即时通信应用的语音聊天工具与其他人聊天。With the development of science and technology, terminals are becoming more and more popular, and many applications can be installed on the terminals. Such as instant messaging applications, gaming applications, and video applications. Users can chat with others using instant messaging applications. For example, users can use the voice chat tool of an instant messaging application to chat with other people.
用户使用即时通信应用与其他人聊天时,可能会对聊天记录进行截图,并将获得的截图转发给另一个账号。如果聊天记录中存在语音聊天信息,用户将包含语音聊天信息的截图转发给另一个账号之后,该账号的主人并不能获取到截图中所包含的语音聊天信息的具体含义。相关技术中,可以将语音聊天信息转换为文字信息之后再进行截图。当存在多条语音聊天信息时,用户需要逐条将所有的语音聊天信息转换为文字信息再进行截图,操作步骤较多。因此,相关技术中,将语音聊天信息转换为文字信息再进行截屏的过程比较繁琐。When users chat with other people using instant messaging applications, they may take a screenshot of the chat history and forward the obtained screenshot to another account. If there is voice chat information in the chat history, after the user forwards the screenshot containing the voice chat information to another account, the owner of the account cannot obtain the specific meaning of the voice chat information contained in the screenshot. In the related art, screenshots can be taken after voice chat information is converted into text information. When there are multiple voice chat messages, the user needs to convert all the voice chat messages into text messages one by one and then take a screenshot. The operation steps are many. Therefore, in the related art, the process of converting the voice chat information into text information and then taking a screenshot is relatively complicated.
发明内容Summary of the Invention
本公开的一些实施例提供一种截屏方法和终端,以解决相关技术中,将语音聊天信息转换为文字信息再进行截屏的过程比较繁琐的问题。Some embodiments of the present disclosure provide a screen capture method and a terminal to solve the problem that the process of converting voice chat information to text information and then performing screen capture is relatively tedious in the related art.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开的一些实施例提供了一种截屏方法,包括:In a first aspect, some embodiments of the present disclosure provide a screenshot method, including:
接收用于触发截屏的第一操作;Receiving a first operation for triggering a screenshot;
响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;In response to the first operation, determining whether the screen-to-screen interface includes voice chat information;
在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息;Converting the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-screen interface;
获取包含所述第一文字信息的目标截屏图片。Obtain a target screenshot image containing the first text information.
第二方面,本公开的一些实施例还提供一种终端,包括:In a second aspect, some embodiments of the present disclosure further provide a terminal, including:
接收模块,用于接收用于触发截屏的第一操作;A receiving module, configured to receive a first operation for triggering a screenshot;
判断模块,用于响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;A judging module, configured to judge whether the screen-to-screen-screen interface contains voice chat information in response to the first operation;
转换模块,用于在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息;A conversion module, configured to convert the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-be-screen-shot interface;
获取模块,用于获取包含所述第一文字信息的目标截屏图片。The obtaining module is configured to obtain a target screenshot image including the first text information.
第三方面,本公开的一些实施例还提供一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述截屏方法的步骤。According to a third aspect, some embodiments of the present disclosure further provide a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor. The computer program is replaced by the processor. Implement the steps of the above screenshot method when executed.
第四方面,本公开的一些实施例还提供一种计算机可读取存储介质,所述计算机可读取存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述截屏方法的步骤。According to a fourth aspect, some embodiments of the present disclosure further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the above screen capture method .
这样,本公开的一些实施例中,接收用于触发截屏的第一操作;响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息;获取包含所述第一文字信息的目标截屏图片。这样,在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。In this way, in some embodiments of the present disclosure, a first operation for triggering a screen capture is received; in response to the first operation, it is determined whether the screen-to-screen interface includes voice chat information; and the case where the voice-chat information exists on the screen-to-screen interface Next, the voice chat information is converted into corresponding first text information; and a target screenshot image containing the first text information is obtained. In this way, when voice chat information exists on the screen-to-screen interface, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本公开的一些实施例提供的一种截屏方法的流程图;FIG. 1 is a flowchart of a screenshot method provided by some embodiments of the present disclosure;
图2是本公开的一些实施例提供的待截屏界面的示意图;2 is a schematic diagram of a screen-to-screen interface provided by some embodiments of the present disclosure;
图3是本公开的一些实施例提供的获取到的包含第一文字信息的目标截 屏图片的示意图;FIG. 3 is a schematic diagram of an obtained screenshot image of a target including first text information provided by some embodiments of the present disclosure; FIG.
图4是本公开的一些实施例提供的另一种截屏方法的流程图;FIG. 4 is a flowchart of another screenshot method provided by some embodiments of the present disclosure; FIG.
图5是本公开的一些实施例提供的第一文字信息显示于目标位置的预设范围内的示意图;5 is a schematic diagram of displaying first text information in a preset range of a target position provided by some embodiments of the present disclosure;
图6是本公开的一些实施例提供的第一文字信息显示于目标位置的示意图;6 is a schematic diagram of displaying first text information at a target position provided by some embodiments of the present disclosure;
图7是本公开的一些实施例提供的另一种截屏方法的流程图;7 is a flowchart of another screenshot method provided by some embodiments of the present disclosure;
图8是本公开的一些实施例提供的一种终端的结构图;8 is a structural diagram of a terminal provided by some embodiments of the present disclosure;
图9是本公开的一些实施例提供的一种终端的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a terminal according to some embodiments of the present disclosure.
具体实施方式detailed description
下面将结合本公开的一些实施例中的附图,对本公开的一些实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In the following, the technical solutions in some embodiments of the present disclosure will be clearly and completely described with reference to the drawings in some embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, but not all of them. example. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present disclosure.
参见图1,图1是本公开的一些实施例提供的一种截屏方法的流程图,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a screenshot method provided by some embodiments of the present disclosure. As shown in FIG. 1, the method includes the following steps:
步骤101、接收用于触发截屏的第一操作。Step 101: Receive a first operation for triggering a screenshot.
在步骤101中,终端可以接收用于触发截屏的第一操作。例如,在即时通信应用的聊天界面内,用户可以使用两个手指在终端的屏幕上向上滑动。此时终端就会接收到用于触发截屏的第一操作。In step 101, the terminal may receive a first operation for triggering a screenshot. For example, within a chat interface of an instant messaging application, a user can swipe up on the screen of a terminal using two fingers. At this point, the terminal receives the first operation for triggering a screenshot.
步骤102、响应于所述第一操作,判断待截屏界面是否包含语音聊天信息。Step 102: In response to the first operation, determine whether the screen-to-screen interface contains voice chat information.
在步骤102中,响应于接收到的第一操作,可以判断待截屏界面是否包含语音聊天信息。如图2所示,为待截屏界面的示意图。在图2中,存在三条语音聊天信息,分别为语音聊天信息A、语音聊天信息B和语音聊天信息C。其中,语音聊天信息A为用户乙发来的语音聊天信息,且语音聊天信息A为已读语音聊天信息;语音聊天信息B为用户甲自己发送的语音聊天信息; 语音聊天信息C为用户乙发来的语音聊天信息,且语音聊天信息C为未读语音聊天信息。In step 102, in response to the received first operation, it can be determined whether the screen-to-screen interface contains voice chat information. As shown in FIG. 2, it is a schematic diagram of an interface to be taken. In FIG. 2, there are three pieces of voice chat information, which are voice chat information A, voice chat information B, and voice chat information C, respectively. Among them, the voice chat information A is the voice chat information sent by the user B, and the voice chat information A is the read voice chat information; the voice chat information B is the voice chat information sent by the user A himself; Incoming voice chat information, and voice chat information C is unread voice chat information.
步骤103、在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息。Step 103: When voice chat information exists on the screen-to-screen interface, the voice chat information is converted into corresponding first text information.
在步骤103中,在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。例如,可以将语音聊天信息A转换为对应的第一文字信息;可以将语音聊天信息B转换为对应的第一文字信息;可以将语音聊天信息C转换为对应的第一文字信息。In step 103, when voice chat information exists on the screen-to-screen interface, the voice chat information may be converted into corresponding first text information. For example, voice chat information A may be converted into corresponding first text information; voice chat information B may be converted into corresponding first text information; voice chat information C may be converted into corresponding first text information.
步骤104、获取包含所述第一文字信息的目标截屏图片。Step 104: Obtain a target screenshot image including the first text information.
在步骤104中,将语音聊天信息转换为对应的第一文字信息之后,就可以获取包含第一文字信息的目标截屏图片。如图3所示,为获取到的包含第一文字信息的目标截屏图片的示意图。在图3中,显示了由语音聊天信息A转换而来的第一文字信息:“去松山湖怎么样?”;显示了由语音聊天信息B转换而来的第一文字信息:“明天上午我有事情要处理。”;显示了由语音聊天信息C转换而来的第一文字信息:“好的,那就下午出发吧。”。In step 104, after the voice chat information is converted into the corresponding first text information, a target screenshot picture containing the first text information can be obtained. As shown in FIG. 3, it is a schematic diagram of a target screen shot image that includes first text information. In Figure 3, the first text message converted from the voice chat information A is displayed: "How about going to Songshan Lake?"; The first text message converted from the voice chat information B is displayed: "I have something tomorrow morning To be processed. "; The first text message converted from the voice chat message C is displayed:" OK, let's go in the afternoon. "
需要说明的是,相关技术中,需要将语音聊天信息转换为文字信息之后再进行截屏。当存在多条语音聊天信息时,用户需要逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤较多,过程比较繁琐。It should be noted that, in the related art, the voice chat information needs to be converted into text information before screenshots are taken. When there are multiple voice chat messages, the user needs to convert all the voice chat messages into text messages one by one and then take a screenshot. The operation steps are many and the process is complicated.
而在本公开中,在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。In the present disclosure, when voice chat information exists on the screen-to-screen interface, the voice chat information may be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
本公开的一些实施例中,上述终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In some embodiments of the present disclosure, the terminal may be a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (Mobile Internet Device, MID) or Wearable Device.
本公开的一些实施例的截屏方法,接收用于触发截屏的第一操作;响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字 信息;获取包含所述第一文字信息的目标截屏图片。这样,在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。The screen capture method of some embodiments of the present disclosure receives a first operation for triggering a screen capture; in response to the first operation, determining whether the screen-to-screen interface contains voice chat information; and the case where voice-screen chat information exists on the screen-to-screen interface. Next, the voice chat information is converted into corresponding first text information; and a target screenshot image containing the first text information is obtained. In this way, when voice chat information exists on the screen-to-screen interface, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
参见图4,图4是本公开的一些实施例提供的另一种截屏方法的流程图。本实施例与前一个实施例的主要区别在于可以对待截屏界面进行截屏,获得第一截屏图片。进而可以将第一文字信息与第一截屏图片进行合成,获得包含第一文字信息的目标截屏图片。如图4所示,包括以下步骤:Referring to FIG. 4, FIG. 4 is a flowchart of another screenshot method provided by some embodiments of the present disclosure. The main difference between this embodiment and the previous embodiment is that a screenshot can be taken to obtain a first screenshot picture. Furthermore, the first text information can be synthesized with the first screenshot image to obtain a target screenshot image containing the first text information. As shown in Figure 4, it includes the following steps:
步骤401、接收用于触发截屏的第一操作。Step 401: Receive a first operation for triggering a screenshot.
在步骤401中,终端可以接收用于触发截屏的第一操作。例如,在即时通信应用的聊天界面内,用户可以使用两个手指在终端的屏幕上向上滑动。此时终端就会接收到用于触发截屏的第一操作。In step 401, the terminal may receive a first operation for triggering a screenshot. For example, within a chat interface of an instant messaging application, a user can swipe up on the screen of a terminal using two fingers. At this point, the terminal receives the first operation for triggering a screenshot.
步骤402、对所述待截屏界面进行截屏,获得第一截屏图片。Step 402: Take a screenshot of the screen-to-be-screen-shot interface to obtain a first screenshot picture.
在步骤402中,响应于接收到的第一操作,可以对待截屏界面进行截屏,获得第一截屏图片。In step 402, in response to the received first operation, a screenshot can be taken of the screenshot interface to obtain a first screenshot picture.
步骤403、响应于所述第一操作,判断待截屏界面是否包含语音聊天信息。Step 403: In response to the first operation, determine whether the screen-to-screen interface contains voice chat information.
在步骤403中,响应于接收到的第一操作,可以判断待截屏界面是否包含语音聊天信息。仍以图2为例,如图2所示,为待截屏界面的示意图。在图2中,存在三条语音聊天信息,分别为语音聊天信息A、语音聊天信息B和语音聊天信息C。其中,语音聊天信息A为用户乙发来的语音聊天信息,且语音聊天信息A为已读语音聊天信息;语音聊天信息B为用户甲自己发送的语音聊天信息;语音聊天信息C为用户乙发来的语音聊天信息,且语音聊天信息C为未读语音聊天信息。可以对图2所示的待截屏界面进行截屏,获得第一截屏图片。In step 403, in response to the received first operation, it can be determined whether the screen-to-screen interface contains voice chat information. Still taking FIG. 2 as an example, as shown in FIG. 2, it is a schematic diagram of an interface to be screen shot. In FIG. 2, there are three pieces of voice chat information, which are voice chat information A, voice chat information B, and voice chat information C, respectively. Among them, the voice chat information A is the voice chat information sent by the user B, and the voice chat information A is the read voice chat information; the voice chat information B is the voice chat information sent by the user A himself; the voice chat information C is the second message sent by the user Incoming voice chat information, and voice chat information C is unread voice chat information. A screenshot may be taken of the interface to be screenshot shown in FIG. 2 to obtain a first screenshot picture.
步骤404、在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息。Step 404: In the case where voice chat information exists on the screen-to-be-screen-shot interface, convert the voice chat information into corresponding first text information.
在步骤404中,在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。例如,可以将语音聊天信息A转换为 对应的第一文字信息;可以将语音聊天信息B转换为对应的第一文字信息;可以将语音聊天信息C转换为对应的第一文字信息。In step 404, when voice chat information exists on the screen-to-screen interface, the voice chat information may be converted into corresponding first text information. For example, voice chat information A may be converted into corresponding first text information; voice chat information B may be converted into corresponding first text information; voice chat information C may be converted into corresponding first text information.
可选的,所述将所述语音聊天信息转换为对应的第一文字信息,包括:Optionally, the converting the voice chat information into corresponding first text information includes:
在所述语音聊天信息为已读语音聊天信息的情况下,将所述已读语音聊天信息转换为对应的第一文字信息;When the voice chat information is read voice chat information, converting the read voice chat information into corresponding first text information;
在所述语音聊天信息为未读语音聊天信息的情况下,所述方法还包括:When the voice chat information is unread voice chat information, the method further includes:
禁止将所述未读语音聊天信息转换为对应的文字信息。It is prohibited to convert the unread voice chat information into corresponding text information.
需要说明的是,终端可以进一步判断待截屏界面内的语音聊天信息是否为已读语音聊天信息。在待截屏界面内的语音聊天信息为已读语音聊天信息的情况下,可以将该已读语音聊天信息转换为对应的第一文字信息;在待截屏界面内的语音聊天信息为未读语音聊天信息的情况下,可以禁止将该未读语音聊天信息转换为对应的文字信息。即此时可以将已读语音聊天信息A以及已读语音聊天信息B转换为对应的第一文字信息。而对于未读语音聊天信息C,则禁止将其转换为对应的文字信息。对于未读语音聊天信息,截屏者并不知晓该未读语音聊天信息的具体内容,即用户甲并不知晓该未读语音聊天信息的具体内容。在未读语音聊天信息涉及隐私信息等需要保密的信息时,如果仍将待截屏界面内的所有语音聊天信息均转换为对应的第一文字信息,则用户甲将所获得的包含第一文字信息的截屏图片转发给其他人时,隐私信息等需要保密的信息就会被泄露出去。因此,可以将待截屏界面内的已读语音聊天信息转换为对应的第一文字信息,并禁止将待截屏界面内的未读语音聊天信息转换为对应的文字信息。这样,可以避免需要保密的信息被泄露出去,安全性更好。It should be noted that the terminal may further determine whether the voice chat information in the screen-to-screen interface is read voice chat information. When the voice chat information in the screen-to-screen interface is read voice chat information, the read voice chat information can be converted into corresponding first text information; the voice-chat information in the screen-to-screen interface is unread voice chat information. , You can disable the conversion of the unread voice chat information into the corresponding text information. That is, the read voice chat information A and the read voice chat information B can be converted into corresponding first text information at this time. For unread voice chat information C, it is prohibited to convert it into corresponding text information. For the unread voice chat information, the screen capturer does not know the specific content of the unread voice chat information, that is, the user A does not know the specific content of the unread voice chat information. When the unread voice chat information involves confidential information, such as privacy information, if all the voice chat information in the screen-to-screen interface is still converted to the corresponding first text information, User A will take the screen capture that contains the first text information. When the picture is forwarded to other people, confidential information such as privacy information will be leaked out. Therefore, the read voice chat information in the screen-to-screen screen interface can be converted into corresponding first text information, and the unread voice chat information in the screen-to-screen screen interface can be prohibited from being converted into corresponding text information. In this way, information that needs to be kept secret can be prevented from being leaked out, and security is better.
步骤405、将所述第一文字信息与所述第一截屏图片进行合成,获得包含所述第一文字信息的目标截屏图片。Step 405: Combining the first text information with the first screenshot image to obtain a target screenshot image including the first text information.
在步骤405中,将语音聊天信息转换为对应的第一文字信息之后,可以将第一文字信息与第一截屏图片进行合成,获得包含第一文字信息的目标截屏图片。In step 405, after the voice chat information is converted into the corresponding first text information, the first text information may be synthesized with the first screenshot picture to obtain a target screenshot picture containing the first text information.
可选的,在所述目标截屏图片中,所述第一文字信息显示于目标位置或者目标位置的预设范围内;Optionally, in the target screenshot, the first text information is displayed in the target position or a preset range of the target position;
其中,所述目标位置为所述待截屏界面内的语音聊天信息经截屏之后在所述目标截屏图片内的位置。Wherein, the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
进一步的,在目标截屏图片中,第一文字信息可以显示于目标位置或者目标位置的预设范围内。其中,目标位置为待截屏界面内的语音聊天信息经截屏之后在目标截屏图片内的位置。Further, in the target screenshot, the first text information may be displayed in the target position or a preset range of the target position. Wherein, the target position is the position in the target screenshot image of the voice chat information in the screen to be captured after the screenshot is taken.
如图5所示,为第一文字信息显示于目标位置的预设范围内的示意图。在图5中,由语音聊天信息A转换而来的第一文字信息:“去松山湖怎么样?”显示于语音聊天信息A的截屏位置的预设范围内;由语音聊天信息B转换而来的第一文字信息:“明天上午我有事情要处理。”显示于语音聊天信息B的截屏位置的预设范围内。将第一文字信息显示于目标位置的预设范围内,可以让用户知道第一文字信息对应的是哪一条语音聊天信息。As shown in FIG. 5, it is a schematic diagram in which the first text information is displayed within a preset range of the target position. In FIG. 5, the first text message converted from the voice chat information A: "How about going to Songshan Lake?" Is displayed within a preset range of the screen shot position of the voice chat information A; The first text message: "I have something to do tomorrow morning." It is displayed in the preset range of the screen shot position of the voice chat message B. Displaying the first text information in a preset range of the target position allows the user to know which piece of voice chat information the first text information corresponds to.
或者,在目标截屏图片中,第一文字信息可以显示于目标位置。如图6所示,为第一文字信息显示于目标位置的示意图。在图6中,由语音聊天信息A转换而来的第一文字信息:“去松山湖怎么样?”显示于语音聊天信息A的截屏位置处;由语音聊天信息B转换而来的第一文字信息:“明天上午我有事情要处理。”显示于语音聊天信息B的截屏位置处。将第一文字信息显示于目标位置,可以让用户知道第一文字信息对应的是哪一条语音聊天信息。Alternatively, in the target screenshot, the first text information may be displayed at the target position. As shown in FIG. 6, it is a schematic diagram of displaying first text information at a target position. In FIG. 6, the first text message converted from the voice chat information A: "How about going to Songshan Lake?" Is displayed at the screen shot position of the voice chat information A; the first text message converted from the voice chat information B: "I have something to deal with tomorrow morning." It is displayed at the screen shot of voice chat message B. Displaying the first text information at the target position allows the user to know which piece of voice chat information the first text information corresponds to.
可选的,所述目标截屏图片内的第一文字信息的样式为第一样式;所述目标截屏图片内的第二文字信息的样式为第二样式,其中,所述第二文字信息为所述目标截屏图片内除所述第一文字信息之外的文字信息。Optionally, the style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is Text information other than the first text information in the target screenshot.
需要说明的是,目标截屏图片内的第一文字信息的样式可以为第一样式;目标截屏图片内的第二文字信息的样式可以为第二样式。其中,第二文字信息为目标截屏图片内除第一文字信息之外的文字信息,即第二文字信息为待截屏界面内除第一文字信息之外的文字信息经截屏后显示于目标截屏图片内的文字信息。例如,如图2所示,待截屏界面内的“你好,明天出去玩吗?”、“几点出发?”以及“拜拜。”均为第二文字信息。It should be noted that the style of the first text information in the target screenshot image may be a first style; the style of the second text information in the target screenshot image may be a second style. Wherein, the second text information is text information other than the first text information in the target screenshot image, that is, the second text information is text information in the target screen image except the first text information that is displayed in the target screenshot image after the screen capture. text information. For example, as shown in FIG. 2, “Hello, are you going to play tomorrow?”, “What time is it going to go?” And “Bye.” In the screen-to-be-screened interface are all second text messages.
上述“样式”可以为颜色、字体或者文字大小等等。例如,目标截屏图片内的第一文字信息的颜色为蓝色;目标截屏图片内的第二文字信息的颜色为橙色;或者,目标截屏图片内的第一文字信息的字体为楷体;目标截屏图 片内的第二文字信息的字体为宋体等等。将第一文字信息和第二文字信息做视觉区分,可以让用户清楚了解哪些文字信息是由语音聊天信息转换而来,哪些文字信息是待截屏界面内的原始文字信息。The "style" may be a color, a font, a text size, or the like. For example, the color of the first text information in the target screenshot is blue; the color of the second text information in the target screenshot is orange; or the font of the first text in the target screenshot is italics; The font of the second text information is Song style and so on. By visually distinguishing the first text information from the second text information, the user can clearly understand which text information is converted from the voice chat information and which text information is the original text information in the screen-to-screen interface.
本公开的一些实施例的截屏方法,在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。进一步的,可以对待截屏界面进行截屏,获得第一截屏图片。进而可以将第一文字信息与第一截屏图片进行合成,获得包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。In the screen capture method of some embodiments of the present disclosure, when voice chat information exists on an interface to be screen shot, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. Further, a screenshot can be taken to obtain a first screenshot picture. Furthermore, the first text information can be synthesized with the first screenshot image to obtain a target screenshot image containing the first text information. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
参见图7,图7是本公开的一些实施例提供的另一种截屏方法的流程图。本实施例与前一个实施例的主要区别在于可以在待截屏界面内显示第一文字信息,进而可以对显示有第一文字信息的待截屏界面进行截屏,获得包含第一文字信息的目标截屏图片。如图7所示,包括以下步骤:Referring to FIG. 7, FIG. 7 is a flowchart of another screenshot method provided by some embodiments of the present disclosure. The main difference between this embodiment and the previous embodiment is that the first text information can be displayed in the screen-to-screen interface, and then the screen-to-screen interface displaying the first text information can be screen-shot to obtain a target screen-shot image containing the first text information. As shown in Figure 7, it includes the following steps:
步骤701、接收用于触发截屏的第一操作。Step 701: Receive a first operation for triggering a screenshot.
在步骤701中,终端可以接收用于触发截屏的第一操作。例如,在即时通信应用的聊天界面内,用户可以使用两个手指在终端的屏幕上向上滑动。此时终端就会接收到用于触发截屏的第一操作。In step 701, the terminal may receive a first operation for triggering a screenshot. For example, within a chat interface of an instant messaging application, a user can swipe up on the screen of a terminal using two fingers. At this point, the terminal receives the first operation for triggering a screenshot.
步骤702、响应于所述第一操作,判断待截屏界面是否包含语音聊天信息。Step 702: In response to the first operation, determine whether the screen-to-screen interface contains voice chat information.
在步骤702中,响应于接收到的第一操作,可以判断待截屏界面是否包含语音聊天信息。仍以图2为例,如图2所示,为待截屏界面的示意图。在图2中,存在三条语音聊天信息,分别为语音聊天信息A、语音聊天信息B和语音聊天信息C。其中,语音聊天信息A为用户乙发来的语音聊天信息,且语音聊天信息A为已读语音聊天信息;语音聊天信息B为用户甲自己发送的语音聊天信息;语音聊天信息C为用户乙发来的语音聊天信息,且语音聊天信息C为未读语音聊天信息。In step 702, in response to the received first operation, it may be determined whether the screen-to-screen interface contains voice chat information. Still taking FIG. 2 as an example, as shown in FIG. 2, it is a schematic diagram of an interface to be screen shot. In FIG. 2, there are three pieces of voice chat information, which are voice chat information A, voice chat information B, and voice chat information C, respectively. Among them, the voice chat information A is the voice chat information sent by the user B, and the voice chat information A is the read voice chat information; the voice chat information B is the voice chat information sent by the user A himself; the voice chat information C is the second message sent by the user Incoming voice chat information, and voice chat information C is unread voice chat information.
步骤703、在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息。Step 703: When voice chat information exists on the screen-to-be-screen-shot interface, convert the voice chat information into corresponding first text information.
在步骤703中,在待截屏界面存在语音聊天信息的情况下,可以将语音 聊天信息转换为对应的第一文字信息。例如,可以将语音聊天信息A转换为对应的第一文字信息;可以将语音聊天信息B转换为对应的第一文字信息;可以将语音聊天信息C转换为对应的第一文字信息。In step 703, in the case where voice chat information exists on the screen to be captured, the voice chat information may be converted into corresponding first text information. For example, voice chat information A may be converted into corresponding first text information; voice chat information B may be converted into corresponding first text information; voice chat information C may be converted into corresponding first text information.
可选的,所述将所述语音聊天信息转换为对应的第一文字信息,包括:Optionally, the converting the voice chat information into corresponding first text information includes:
在所述语音聊天信息为已读语音聊天信息的情况下,将所述已读语音聊天信息转换为对应的第一文字信息;When the voice chat information is read voice chat information, converting the read voice chat information into corresponding first text information;
在所述语音聊天信息为未读语音聊天信息的情况下,所述方法还包括:When the voice chat information is unread voice chat information, the method further includes:
禁止将所述未读语音聊天信息转换为对应的文字信息。It is prohibited to convert the unread voice chat information into corresponding text information.
需要说明的是,终端可以进一步判断待截屏界面内的语音聊天信息是否为已读语音聊天信息。在待截屏界面内的语音聊天信息为已读语音聊天信息的情况下,可以将该已读语音聊天信息转换为对应的第一文字信息;在待截屏界面内的语音聊天信息为未读语音聊天信息的情况下,可以禁止将该未读语音聊天信息转换为对应的文字信息。即此时可以将已读语音聊天信息A以及已读语音聊天信息B转换为对应的第一文字信息。而对于未读语音聊天信息C,则禁止将其转换为对应的文字信息。对于未读语音聊天信息,截屏者并不知晓该未读语音聊天信息的具体内容,即用户甲并不知晓该未读语音聊天信息的具体内容。在未读语音聊天信息涉及隐私信息等需要保密的信息时,如果仍将待截屏界面内的所有语音聊天信息均转换为对应的第一文字信息,则用户甲将所获得的包含第一文字信息的截屏图片转发给其他人时,隐私信息等需要保密的信息就会被泄露出去。因此,可以将待截屏界面内的已读语音聊天信息转换为对应的第一文字信息,并禁止将待截屏界面内的未读语音聊天信息转换为对应的文字信息。这样,可以避免需要保密的信息被泄露出去,安全性更好。It should be noted that the terminal may further determine whether the voice chat information in the screen-to-screen interface is read voice chat information. When the voice chat information in the screen-to-screen interface is read voice chat information, the read voice chat information can be converted into corresponding first text information; the voice-chat information in the screen-to-screen interface is unread voice chat information. , You can disable the conversion of the unread voice chat information into the corresponding text information. That is, the read voice chat information A and the read voice chat information B can be converted into corresponding first text information at this time. For unread voice chat information C, it is prohibited to convert it into corresponding text information. For the unread voice chat information, the screen capturer does not know the specific content of the unread voice chat information, that is, the user A does not know the specific content of the unread voice chat information. When the unread voice chat information involves confidential information, such as privacy information, if all the voice chat information in the screen-to-screen interface is still converted to the corresponding first text information, User A will take the screen capture that contains the first text information. When the picture is forwarded to other people, confidential information such as privacy information will be leaked out. Therefore, the read voice chat information in the screen-to-screen screen interface can be converted into corresponding first text information, and the unread voice chat information in the screen-to-screen screen interface can be prohibited from being converted into corresponding text information. In this way, information that needs to be kept secret can be prevented from being leaked out, and security is better.
步骤704、在所述待截屏界面内显示所述第一文字信息。Step 704: Display the first text information in the screen-to-screen interface.
在步骤704中,将语音聊天信息转换为对应的第一文字信息之后,可以在待截屏界面内显示第一文字信息。In step 704, after the voice chat information is converted into the corresponding first text information, the first text information may be displayed in the screen-to-screen interface.
例如,可以在待截屏界面内显示由语音聊天信息A转换而来的第一文字信息:“去松山湖怎么样?”;可以在待截屏界面内显示由语音聊天信息B转换而来的第一文字信息:“明天上午我有事情要处理。”。For example, the first text information converted from the voice chat information A may be displayed in the screen-to-be-screened interface: "How about going to Songshan Lake?"; The first text information converted from the voice-chat information B may be displayed in the screen-to-screen interface. "I have something to do tomorrow morning."
步骤705、对显示有所述第一文字信息的待截屏界面进行截屏,获得包含所述第一文字信息的目标截屏图片。Step 705: Take a screenshot of the to-be-screenshot interface displaying the first text information, and obtain a target screenshot image that includes the first text information.
在步骤705中,在待截屏界面内显示第一文字信息之后,可以对显示有第一文字信息的待截屏界面进行截屏,获得包含第一文字信息的目标截屏图片。In step 705, after the first text information is displayed in the screen-to-screen screen interface, a screen shot of the screen-to-screen screen interface displaying the first text information may be performed to obtain a target screen-capture picture including the first text information.
可选的,在所述目标截屏图片中,所述第一文字信息显示于目标位置或者目标位置的预设范围内;Optionally, in the target screenshot, the first text information is displayed in the target position or a preset range of the target position;
其中,所述目标位置为所述待截屏界面内的语音聊天信息经截屏之后在所述目标截屏图片内的位置。Wherein, the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
在目标截屏图片中,第一文字信息可以显示于目标位置或者目标位置的预设范围内。其中,目标位置为待截屏界面内的语音聊天信息经截屏之后在目标截屏图片内的位置。In the target screenshot, the first text information may be displayed in the target position or a preset range of the target position. Wherein, the target position is the position in the target screenshot image of the voice chat information in the screen to be captured after the screenshot is taken.
仍以图5为例,在图5中,由语音聊天信息A转换而来的第一文字信息:“去松山湖怎么样?”显示于语音聊天信息A的截屏位置的预设范围内;由语音聊天信息B转换而来的第一文字信息:“明天上午我有事情要处理。”显示于语音聊天信息B的截屏位置的预设范围内。将第一文字信息显示于目标位置的预设范围内,可以让用户知道第一文字信息对应的是哪一条语音聊天信息。Still taking FIG. 5 as an example, in FIG. 5, the first text message converted from the voice chat information A: "How about going to Songshan Lake?" Is displayed within a preset range of the screen shot position of the voice chat information A; The first text message converted from chat message B: "I have something to do tomorrow morning." It is displayed within the preset range of the screen shot position of voice chat message B. Displaying the first text information in a preset range of the target position allows the user to know which piece of voice chat information the first text information corresponds to.
或者,在目标截屏图片中,第一文字信息可以显示于目标位置。仍以图6为例,在图6中,由语音聊天信息A转换而来的第一文字信息:“去松山湖怎么样?”显示于语音聊天信息A的截屏位置处;由语音聊天信息B转换而来的第一文字信息:“明天上午我有事情要处理。”显示于语音聊天信息B的截屏位置处。将第一文字信息显示于目标位置,可以让用户知道第一文字信息对应的是哪一条语音聊天信息。Alternatively, in the target screenshot, the first text information may be displayed at the target position. Still taking FIG. 6 as an example, in FIG. 6, the first text message converted from the voice chat information A: "How about going to Songshan Lake?" Is displayed at the screen shot position of the voice chat information A; it is converted by the voice chat information B The first text message: "I have something to do tomorrow morning." It is displayed at the screen shot position of the voice chat message B. Displaying the first text information at the target position allows the user to know which piece of voice chat information the first text information corresponds to.
可选的,所述目标截屏图片内的第一文字信息的样式为第一样式;所述目标截屏图片内的第二文字信息的样式为第二样式,其中,所述第二文字信息为所述目标截屏图片内除所述第一文字信息之外的文字信息。Optionally, the style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is Text information other than the first text information in the target screenshot.
需要说明的是,目标截屏图片内的第一文字信息的样式可以为第一样式;目标截屏图片内的第二文字信息的样式可以为第二样式。其中,第二文字信 息为目标截屏图片内除第一文字信息之外的文字信息,即第二文字信息为待截屏界面内除第一文字信息之外的文字信息经截屏后显示于目标截屏图片内的文字信息。例如,如图2所示,待截屏界面内的“你好,明天出去玩吗?”、“几点出发?”以及“拜拜。”均为第二文字信息。It should be noted that the style of the first text information in the target screenshot image may be a first style; the style of the second text information in the target screenshot image may be a second style. Wherein, the second text information is text information other than the first text information in the target screenshot image, that is, the second text information is text information in the target screen image except the first text information that is displayed in the target screenshot image after the screen capture. text information. For example, as shown in FIG. 2, “Hello, are you going to play tomorrow?”, “What time is it going to go?” And “Bye.” In the screen-to-be-screened interface are all second text messages.
上述“样式”可以为颜色、字体或者文字大小等等。例如,目标截屏图片内的第一文字信息的颜色为蓝色;目标截屏图片内的第二文字信息的颜色为橙色;或者,目标截屏图片内的第一文字信息的字体为楷体;目标截屏图片内的第二文字信息的字体为宋体等等。将第一文字信息和第二文字信息做视觉区分,可以让用户清楚了解哪些文字信息是由语音聊天信息转换而来,哪些文字信息是待截屏界面内的原始文字信息。The "style" may be a color, a font, a text size, or the like. For example, the color of the first text information in the target screenshot is blue; the color of the second text information in the target screenshot is orange; or the font of the first text in the target screenshot is italics; The font of the second text information is Song style and so on. By visually distinguishing the first text information from the second text information, the user can clearly understand which text information is converted from the voice chat information and which text information is the original text information in the screen-to-screen interface.
本公开的一些实施例的截屏方法,在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。进一步的,可以在待截屏界面内显示第一文字信息,进而可以对显示有第一文字信息的待截屏界面进行截屏,获得包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。In the screen capture method of some embodiments of the present disclosure, when voice chat information exists on an interface to be screen shot, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. Further, the first text information can be displayed in the screen-to-screen screen interface, and then the screen-to-screen screen interface displaying the first text information can be screen-shot to obtain a target screen-capture picture including the first text information. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
参见图8,图8是本公开实施提供的终端的结构图,如图8所示,终端800包括接收模块801、判断模块802、转换模块803和获取模块804,其中:Referring to FIG. 8, FIG. 8 is a structural diagram of a terminal provided by the implementation of the present disclosure. As shown in FIG. 8, the terminal 800 includes a receiving module 801, a judging module 802, a conversion module 803, and an obtaining module 804, of which:
接收模块801,用于接收用于触发截屏的第一操作;A receiving module 801, configured to receive a first operation for triggering a screenshot;
判断模块802,用于响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;A judging module 802, configured to determine whether the screen-to-screen-screen interface includes voice chat information in response to the first operation;
转换模块803,用于在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息;A conversion module 803, configured to convert the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-screen interface;
获取模块804,用于获取包含所述第一文字信息的目标截屏图片。The obtaining module 804 is configured to obtain a target screenshot image including the first text information.
可选的,所述终端还包括:Optionally, the terminal further includes:
截屏模块,用于对所述待截屏界面进行截屏,获得第一截屏图片;A screenshot module, configured to take a screenshot of the interface to be taken to obtain a first screenshot picture;
所述获取模块具体用于将所述第一文字信息与所述第一截屏图片进行合成,获得包含所述第一文字信息的目标截屏图片。The obtaining module is specifically configured to synthesize the first text information with the first screenshot picture to obtain a target screenshot picture containing the first text information.
可选的,所述获取模块包括:Optionally, the obtaining module includes:
显示子模块,用于在所述待截屏界面内显示所述第一文字信息;A display sub-module, configured to display the first text information in the screen-to-screen interface;
截屏子模块,用于对显示有所述第一文字信息的待截屏界面进行截屏,获得包含所述第一文字信息的目标截屏图片。The screen capture sub-module is configured to screen capture an interface to be screen shot displaying the first text information to obtain a target screen shot image including the first text information.
可选的,在所述目标截屏图片中,所述第一文字信息显示于目标位置或者目标位置的预设范围内;Optionally, in the target screenshot, the first text information is displayed in the target position or a preset range of the target position;
其中,所述目标位置为所述待截屏界面内的语音聊天信息经截屏之后在所述目标截屏图片内的位置。Wherein, the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
可选的,所述转换模块具体用于在所述语音聊天信息为已读语音聊天信息的情况下,将所述已读语音聊天信息转换为对应的第一文字信息;Optionally, the conversion module is specifically configured to convert the read voice chat information into corresponding first text information when the voice chat information is read voice chat information;
在所述语音聊天信息为未读语音聊天信息的情况下,所述终端还包括:When the voice chat information is unread voice chat information, the terminal further includes:
禁止模块,用于禁止将所述未读语音聊天信息转换为对应的文字信息。The prohibition module is configured to prohibit conversion of the unread voice chat information into corresponding text information.
可选的,所述目标截屏图片内的第一文字信息的样式为第一样式;所述目标截屏图片内的第二文字信息的样式为第二样式,其中,所述第二文字信息为所述目标截屏图片内除所述第一文字信息之外的文字信息。Optionally, the style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is Text information other than the first text information in the target screenshot.
终端800能够实现图1、图4和图7的方法实施例中终端实现的各个过程,为避免重复,这里不再赘述。且终端800可以实现在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。The terminal 800 can implement the processes implemented by the terminal in the method embodiments in FIG. 1, FIG. 4, and FIG. 7. To avoid repetition, details are not described herein again. In addition, the terminal 800 can realize that when there is voice chat information on the screen to be captured, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
图9为实现本公开各个实施例的一种终端的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a terminal that implements various embodiments of the present disclosure.
该终端900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开的一些实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 9 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange different components. In some embodiments of the present disclosure, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a car terminal, a wearable device, a pedometer, and the like.
处理器910,用于控制用户输入单元907接收用于触发截屏的第一操作;The processor 910 is configured to control the user input unit 907 to receive a first operation for triggering a screen capture;
响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;In response to the first operation, determining whether the screen-to-screen interface includes voice chat information;
在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息;Converting the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-screen interface;
获取包含所述第一文字信息的目标截屏图片。Obtain a target screenshot image containing the first text information.
在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。In the case where voice chat information exists on the screen to be screen shot, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
应理解的是,本公开的一些实施例中,射频单元901可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in some embodiments of the present disclosure, the radio frequency unit 901 may be used to receive and send signals during information transmission and reception or during a call. Specifically, the downlink data from the base station is received and processed by the processor 910; To send uplink data to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
终端通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive email, browse web pages, and access streaming media.
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与终端900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into audio signals and output them as sound. Also, the audio output unit 903 may also provide audio output (for example, a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the terminal 900. The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。The input unit 904 is used for receiving audio or video signals. The input unit 904 may include a graphics processing unit (Graphics Processing Unit, GPU) 9041 and a microphone 9042. The graphics processor 9041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode Data is processed. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 901 in the case of a telephone call mode.
终端900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在终端900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 900 further includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light. The proximity sensor can close the display panel 9061 and / Or backlight. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the attitude of the terminal (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared The sensors and the like are not repeated here.
显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。The display unit 906 is configured to display information input by the user or information provided to the user. The display unit 906 may include a display panel 9061. The display panel 9061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元907可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 907 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. Touch panel 9071, also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 9071 or near touch panel 9071 operating). The touch panel 9071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 910, receive the command sent by the processor 910 and execute it. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 9071. In addition to the touch panel 9071, the user input unit 907 may further include other input devices 9072. Specifically, other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, and details are not described herein again.
进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉 输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 9071 may be overlaid on the display panel 9061. When the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel 9071 transmits the touch operation to the processor 910 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 9061. Although in FIG. 9, the touch panel 9071 and the display panel 9061 are implemented as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated and Implement the input and output functions of the terminal, which are not limited here.
接口单元908为外部装置与终端900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端900内的一个或多个元件或者可以用于在终端900和外部装置之间传输数据。The interface unit 908 is an interface through which an external device is connected to the terminal 900. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more. The interface unit 908 may be used to receive an input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 900 or may be used to communicate between the terminal 900 and an external device. Transfer data.
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 909 may be used to store software programs and various data. The memory 909 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), and the like; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 909 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器910是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器910可包括一个或多个处理单元;可选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 is a control center of the terminal, and uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and / or modules stored in the memory 909, and calling data stored in the memory 909, execution is performed. Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 910 may include one or more processing units; optionally, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910.
终端900还可以包括给各个部件供电的电源911(比如电池),可选的,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 900 may further include a power source 911 (such as a battery) for supplying power to various components. Optionally, the power source 911 may be logically connected to the processor 910 through a power management system, thereby implementing management of charging, discharging, and power consumption management through the power management system. And other functions.
另外,终端900包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 900 includes some functional modules that are not shown, and details are not described herein again.
可选的,处理器910还用于:Optionally, the processor 910 is further configured to:
对所述待截屏界面进行截屏,获得第一截屏图片;Taking a screenshot of the to-be-screenshot interface to obtain a first screenshot picture;
将所述第一文字信息与所述第一截屏图片进行合成,获得包含所述第一文字信息的目标截屏图片。Synthesizing the first text information and the first screenshot image to obtain a target screenshot image containing the first text information.
可选的,处理器910还用于:Optionally, the processor 910 is further configured to:
在所述待截屏界面内控制显示单元906显示所述第一文字信息;Controlling the display unit 906 to display the first text information in the screen-to-screen interface;
对显示有所述第一文字信息的待截屏界面进行截屏,获得包含所述第一文字信息的目标截屏图片。Screen capture the screen-to-be-screened interface displaying the first text information to obtain a target screen shot image including the first text information.
可选的,处理器910还用于:Optionally, the processor 910 is further configured to:
在所述目标截屏图片中,所述第一文字信息显示于目标位置或者目标位置的预设范围内;In the target screenshot, the first text information is displayed in the target position or a preset range of the target position;
其中,所述目标位置为所述待截屏界面内的语音聊天信息经截屏之后在所述目标截屏图片内的位置。Wherein, the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
可选的,处理器910还用于:Optionally, the processor 910 is further configured to:
在所述语音聊天信息为已读语音聊天信息的情况下,将所述已读语音聊天信息转换为对应的第一文字信息;When the voice chat information is read voice chat information, converting the read voice chat information into corresponding first text information;
在所述语音聊天信息为未读语音聊天信息的情况下,禁止将所述未读语音聊天信息转换为对应的文字信息。When the voice chat information is unread voice chat information, it is prohibited to convert the unread voice chat information into corresponding text information.
可选的,处理器910还用于:Optionally, the processor 910 is further configured to:
所述目标截屏图片内的第一文字信息的样式为第一样式;所述目标截屏图片内的第二文字信息的样式为第二样式,其中,所述第二文字信息为所述目标截屏图片内除所述第一文字信息之外的文字信息。The style of the first text information in the target screenshot is the first style; the style of the second text information in the target screenshot is the second style, wherein the second text information is the target screenshot Text information other than the first text information is included.
终端900能够实现前述实施例中终端实现的各个过程,为避免重复,这里不再赘述。且终端900可以实现在待截屏界面存在语音聊天信息的情况下,可以将语音聊天信息转换为对应的第一文字信息。进而可以获取包含第一文字信息的目标截屏图片。无需用户逐条将所有的语音聊天信息转换为文字信息再进行截屏,操作步骤少,方便快捷。The terminal 900 can implement the processes implemented by the terminal in the foregoing embodiments. To avoid repetition, details are not described herein again. In addition, the terminal 900 can realize that, when voice chat information exists on the screen to be captured, the voice chat information can be converted into corresponding first text information. Then, a target screenshot image containing the first text information can be obtained. There is no need for the user to convert all the voice chat information into text information one by one and then take a screenshot. The operation steps are few and convenient.
可选的,本公开的一些实施例还提供一种终端,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, some embodiments of the present disclosure further provide a terminal, including a processor 910, a memory 909, and a computer program stored on the memory 909 and executable on the processor 910. The computer program is processed by the processor 910 During execution, each process of the embodiment of the screenshot method is implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
本公开的一些实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述截屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Some embodiments of the present disclosure also provide a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the processes of the above screen capture method embodiments are implemented, and the same Technical effects. To avoid repetition, we will not repeat them here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude that there are other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of the present disclosure that is essentially or contributes to related technologies can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, and optical disk) ) Includes instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure have been described above with reference to the accompanying drawings, but the present disclosure is not limited to the specific implementations described above, and the specific implementations described above are only schematic and not restrictive. Those of ordinary skill in the art at Under the inspiration of this disclosure, many forms can be made without departing from the spirit of the present disclosure and the scope of protection of the claims, which all fall within the protection of this disclosure.

Claims (14)

  1. 一种截屏方法,包括:A screen capture method includes:
    接收用于触发截屏的第一操作;Receiving a first operation for triggering a screenshot;
    响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;In response to the first operation, determining whether the screen-to-screen interface includes voice chat information;
    在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息;Converting the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-screen interface;
    获取包含所述第一文字信息的目标截屏图片。Obtain a target screenshot image containing the first text information.
  2. 根据权利要求1所述的方法,其中,所述接收用于触发截屏的第一操作之后,所述方法还包括:The method according to claim 1, wherein after receiving the first operation for triggering a screenshot, the method further comprises:
    对所述待截屏界面进行截屏,获得第一截屏图片;Taking a screenshot of the to-be-screenshot interface to obtain a first screenshot picture;
    所述获取包含所述第一文字信息的目标截屏图片,包括:The obtaining a target screenshot image including the first text information includes:
    将所述第一文字信息与所述第一截屏图片进行合成,获得包含所述第一文字信息的目标截屏图片。Synthesizing the first text information and the first screenshot image to obtain a target screenshot image containing the first text information.
  3. 根据权利要求1所述的方法,其中,所述获取包含所述第一文字信息的目标截屏图片,包括:The method according to claim 1, wherein the obtaining a target screenshot image containing the first text information comprises:
    在所述待截屏界面内显示所述第一文字信息;Displaying the first text information in the screen-to-screen interface;
    对显示有所述第一文字信息的待截屏界面进行截屏,获得包含所述第一文字信息的目标截屏图片。Screen capture the screen-to-be-screened interface displaying the first text information to obtain a target screen shot image including the first text information.
  4. 根据权利要求2或3所述的方法,其中,在所述目标截屏图片中,所述第一文字信息显示于目标位置或者目标位置的预设范围内;The method according to claim 2 or 3, wherein in the target screenshot, the first text information is displayed in a target position or a preset range of the target position;
    其中,所述目标位置为所述待截屏界面内的语音聊天信息经截屏之后在所述目标截屏图片内的位置。Wherein, the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
  5. 根据权利要求1所述的方法,其中,所述将所述语音聊天信息转换为对应的第一文字信息,包括:The method according to claim 1, wherein the converting the voice chat information into corresponding first text information comprises:
    在所述语音聊天信息为已读语音聊天信息的情况下,将所述已读语音聊天信息转换为对应的第一文字信息;When the voice chat information is read voice chat information, converting the read voice chat information into corresponding first text information;
    在所述语音聊天信息为未读语音聊天信息的情况下,所述方法还包括:When the voice chat information is unread voice chat information, the method further includes:
    禁止将所述未读语音聊天信息转换为对应的文字信息。It is prohibited to convert the unread voice chat information into corresponding text information.
  6. 根据权利要求1所述的方法,其中,所述目标截屏图片内的第一文字信息的样式为第一样式;所述目标截屏图片内的第二文字信息的样式为第二样式,其中,所述第二文字信息为所述目标截屏图片内除所述第一文字信息之外的文字信息。The method according to claim 1, wherein a style of the first text information in the target screenshot picture is a first style; a style of the second text information in the target screenshot picture is a second style, wherein The second text information is text information other than the first text information in the target screenshot.
  7. 一种终端,包括:A terminal including:
    接收模块,用于接收用于触发截屏的第一操作;A receiving module, configured to receive a first operation for triggering a screenshot;
    判断模块,用于响应于所述第一操作,判断待截屏界面是否包含语音聊天信息;A judging module, configured to judge whether the screen-to-screen-screen interface contains voice chat information in response to the first operation;
    转换模块,用于在所述待截屏界面存在语音聊天信息的情况下,将所述语音聊天信息转换为对应的第一文字信息;A conversion module, configured to convert the voice chat information into corresponding first text information when the voice chat information exists on the screen-to-be-screen-shot interface;
    获取模块,用于获取包含所述第一文字信息的目标截屏图片。The obtaining module is configured to obtain a target screenshot image including the first text information.
  8. 根据权利要求7所述的终端,还包括:The terminal according to claim 7, further comprising:
    截屏模块,用于对所述待截屏界面进行截屏,获得第一截屏图片;A screenshot module, configured to take a screenshot of the interface to be taken to obtain a first screenshot picture;
    所述获取模块具体用于将所述第一文字信息与所述第一截屏图片进行合成,获得包含所述第一文字信息的目标截屏图片。The obtaining module is specifically configured to synthesize the first text information with the first screenshot picture to obtain a target screenshot picture containing the first text information.
  9. 根据权利要求7所述的终端,其中,所述获取模块包括:The terminal according to claim 7, wherein the acquisition module comprises:
    显示子模块,用于在所述待截屏界面内显示所述第一文字信息;A display sub-module, configured to display the first text information in the screen-to-screen interface;
    截屏子模块,用于对显示有所述第一文字信息的待截屏界面进行截屏,获得包含所述第一文字信息的目标截屏图片。The screen capture sub-module is configured to screen capture an interface to be screen shot displaying the first text information to obtain a target screen shot image including the first text information.
  10. 根据权利要求8或9所述的终端,其中,在所述目标截屏图片中,所述第一文字信息显示于目标位置或者目标位置的预设范围内;The terminal according to claim 8 or 9, wherein in the target screenshot, the first text information is displayed in a target position or a preset range of the target position;
    其中,所述目标位置为所述待截屏界面内的语音聊天信息经截屏之后在所述目标截屏图片内的位置。Wherein, the target position is a position in the target screen shot picture after the voice chat information in the screen to be screen shot interface is screen shot.
  11. 根据权利要求7所述的终端,其中,所述转换模块具体用于在所述语音聊天信息为已读语音聊天信息的情况下,将所述已读语音聊天信息转换为对应的第一文字信息;The terminal according to claim 7, wherein the conversion module is specifically configured to convert the read voice chat information into corresponding first text information when the voice chat information is read voice chat information;
    在所述语音聊天信息为未读语音聊天信息的情况下,所述终端还包括:When the voice chat information is unread voice chat information, the terminal further includes:
    禁止模块,用于禁止将所述未读语音聊天信息转换为对应的文字信息。The prohibition module is configured to prohibit conversion of the unread voice chat information into corresponding text information.
  12. 根据权利要求7所述的终端,其中,所述目标截屏图片内的第一文 字信息的样式为第一样式;所述目标截屏图片内的第二文字信息的样式为第二样式,其中,所述第二文字信息为所述目标截屏图片内除所述第一文字信息之外的文字信息。The terminal according to claim 7, wherein a style of the first text information in the target screenshot picture is a first style; a style of the second text information in the target screenshot picture is a second style, wherein The second text information is text information other than the first text information in the target screenshot.
  13. 一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的截屏方法的步骤。A terminal includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, any one of claims 1 to 6 is implemented. Steps of the screen capture method described in item.
  14. 一种计算机可读取存储介质,所述计算机可读取存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的截屏方法的步骤。A computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the screen capture method according to any one of claims 1 to 6 are implemented. .
PCT/CN2019/099022 2018-09-28 2019-08-02 Screenshot method and terminal WO2020063107A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811140890.0 2018-09-28
CN201811140890.0A CN109412932B (en) 2018-09-28 2018-09-28 Screen capturing method and terminal

Publications (1)

Publication Number Publication Date
WO2020063107A1 true WO2020063107A1 (en) 2020-04-02

Family

ID=65465488

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/099022 WO2020063107A1 (en) 2018-09-28 2019-08-02 Screenshot method and terminal

Country Status (2)

Country Link
CN (1) CN109412932B (en)
WO (1) WO2020063107A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412932B (en) * 2018-09-28 2021-03-19 维沃移动通信有限公司 Screen capturing method and terminal
CN110674825A (en) * 2019-09-27 2020-01-10 安徽咪鼠科技有限公司 Character recognition method, device and system applied to intelligent voice mouse and storage medium
CN112711366A (en) * 2020-12-23 2021-04-27 维沃移动通信(杭州)有限公司 Image generation method and device and electronic equipment
CN113079086B (en) * 2021-04-07 2023-06-27 维沃移动通信有限公司 Message transmission method, message transmission device, electronic device, and storage medium
CN113965640B (en) * 2021-10-11 2023-09-01 维沃移动通信有限公司 Message processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001480A1 (en) * 2002-06-04 2004-01-01 Keiko Tanigawa Communication system and communication method
CN103327181A (en) * 2013-06-08 2013-09-25 广东欧珀移动通信有限公司 Voice chatting method capable of improving efficiency of voice information learning for users
CN103458123A (en) * 2013-08-30 2013-12-18 广东明创软件科技有限公司 Method for saving and sharing chatting records and mobile terminal thereof
CN106941443A (en) * 2017-03-29 2017-07-11 努比亚技术有限公司 One population historical record checks terminal and method
CN107995101A (en) * 2017-11-30 2018-05-04 上海掌门科技有限公司 A kind of method and apparatus for being used to switching to speech message into text message
CN108089803A (en) * 2017-12-19 2018-05-29 广东小天才科技有限公司 A kind of screenshotss information acquisition method and device
CN109412932A (en) * 2018-09-28 2019-03-01 维沃移动通信有限公司 A kind of screenshotss method and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8374863B2 (en) * 2006-02-10 2013-02-12 Spinvox Limited Mass-scale, user-independent, device-independent voice messaging system
CN105354017B (en) * 2015-09-28 2018-09-25 小米科技有限责任公司 Information processing method and device
CN105930525A (en) * 2016-05-30 2016-09-07 北京小米移动软件有限公司 Content search method and apparatus
CN106604089A (en) * 2016-10-25 2017-04-26 北京小米移动软件有限公司 Intelligent television screenshot sharing method and device
CN107018237A (en) * 2017-04-28 2017-08-04 努比亚技术有限公司 A kind of unread message processing method, terminal and computer-readable recording medium
CN107277250A (en) * 2017-06-20 2017-10-20 努比亚技术有限公司 Display is concerned the method, terminal and computer-readable recording medium of chat message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001480A1 (en) * 2002-06-04 2004-01-01 Keiko Tanigawa Communication system and communication method
CN103327181A (en) * 2013-06-08 2013-09-25 广东欧珀移动通信有限公司 Voice chatting method capable of improving efficiency of voice information learning for users
CN103458123A (en) * 2013-08-30 2013-12-18 广东明创软件科技有限公司 Method for saving and sharing chatting records and mobile terminal thereof
CN106941443A (en) * 2017-03-29 2017-07-11 努比亚技术有限公司 One population historical record checks terminal and method
CN107995101A (en) * 2017-11-30 2018-05-04 上海掌门科技有限公司 A kind of method and apparatus for being used to switching to speech message into text message
CN108089803A (en) * 2017-12-19 2018-05-29 广东小天才科技有限公司 A kind of screenshotss information acquisition method and device
CN109412932A (en) * 2018-09-28 2019-03-01 维沃移动通信有限公司 A kind of screenshotss method and terminal

Also Published As

Publication number Publication date
CN109412932A (en) 2019-03-01
CN109412932B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2020042785A1 (en) Application display method and mobile terminal
CN108540655B (en) Caller identification processing method and mobile terminal
WO2021109907A1 (en) Application sharing method, first electronic device and computer-readable storage medium
WO2020063107A1 (en) Screenshot method and terminal
CN109078319B (en) Game interface display method and terminal
WO2019223494A1 (en) Screenshot capturing method and mobile terminal
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
US20200257433A1 (en) Display method and mobile terminal
WO2021098633A1 (en) Information display and transmission methods, and electronic device
CN109241775B (en) Privacy protection method and terminal
WO2019196929A1 (en) Video data processing method and mobile terminal
WO2020020126A1 (en) Information processing method and terminal
WO2020057258A1 (en) Information processing method and terminal
WO2020238449A1 (en) Notification message processing method and terminal
CN108874352B (en) Information display method and mobile terminal
WO2019223569A1 (en) Information processing method and mobile terminal
WO2020238463A1 (en) Message processing method and terminal
WO2020238536A1 (en) Information processing method and terminal device
WO2021057290A1 (en) Information control method and electronic device
WO2020199986A1 (en) Video call method and terminal device
WO2019201146A1 (en) Expression image display method and terminal device
WO2021104232A1 (en) Display method and electronic device
WO2020042815A1 (en) Text editing method and mobile terminal
CN111158817A (en) Information processing method and electronic equipment

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

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

Country of ref document: EP

Kind code of ref document: A1