CN112383666B - Content sending method and device and electronic equipment - Google Patents

Content sending method and device and electronic equipment Download PDF

Info

Publication number
CN112383666B
CN112383666B CN202011241770.7A CN202011241770A CN112383666B CN 112383666 B CN112383666 B CN 112383666B CN 202011241770 A CN202011241770 A CN 202011241770A CN 112383666 B CN112383666 B CN 112383666B
Authority
CN
China
Prior art keywords
message
picture
keyword
content
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011241770.7A
Other languages
Chinese (zh)
Other versions
CN112383666A (en
Inventor
胡鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011241770.7A priority Critical patent/CN112383666B/en
Publication of CN112383666A publication Critical patent/CN112383666A/en
Application granted granted Critical
Publication of CN112383666B publication Critical patent/CN112383666B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • Library & Information Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a content sending method, a content sending device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the efficiency of sending messages by the electronic equipment is low. The content sending method comprises the following steps: under the condition that a first message is displayed on a session interface, determining a first keyword corresponding to the first message according to the first message, and determining M first pictures corresponding to the first keyword from electronic equipment, wherein M is a positive integer; displaying N picture identifications in a session interface, wherein each picture identification is used for indicating a first picture; receiving first input of a user to a target picture identifier in the N picture identifiers; in response to the first input, target content is sent, the target content including a first picture indicated by the target picture identification. The content sending method provided by the embodiment of the application can be applied to the process of sending the message by the electronic equipment.

Description

Content sending method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a content sending method, a content sending device and electronic equipment.
Background
Generally, a user can send various types of messages such as text, pictures and voice to other electronic devices through a chat application in the electronic device, so as to communicate with other users.
For example, a user may record a voice message or input a text message through the electronic device, trigger the electronic device to send the voice message or the text message to another electronic device, and then trigger the electronic device to display all pictures included in the album, so as to search for a picture related to the content of the sent message in all the pictures, so that the user may perform multiple operations on the picture, so as to trigger the electronic device to send a message including the picture to another electronic device, so as to communicate with another user.
However, since the user needs to search all the pictures included in the album for the pictures related to the content of the sent message one by one, and perform multiple operations to trigger the electronic device to send the message including the picture to other electronic devices, the operation of the user is cumbersome and time-consuming in the process of sending the message including the picture, which results in low efficiency of sending the message by the electronic device.
Disclosure of Invention
The embodiment of the application aims to provide a content sending method, a content sending device and electronic equipment, which can solve the problem that the electronic equipment is low in message sending efficiency.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a content sending method, including: under the condition that a first message is displayed on a session interface, determining a first keyword corresponding to the first message according to the first message, and determining M first pictures corresponding to the first keyword from electronic equipment, wherein M is a positive integer; displaying N picture identifications in the session interface, wherein each picture identification is used for indicating a first picture, and N is a positive integer less than or equal to M; receiving first input of a user to a target picture identifier in the N picture identifiers; in response to the first input, target content is sent, the target content including a first picture indicated by the target picture identification.
In a second aspect, an embodiment of the present application provides a content transmission apparatus, including: the device comprises a determining module, a display module, a receiving module and a sending module. The determining module is used for determining a first keyword corresponding to the first message according to the first message under the condition that the first message is displayed on the session interface, and determining M first pictures corresponding to the first keyword from the electronic equipment, wherein M is a positive integer. And the display module is used for displaying N picture identifications in the conversation interface, each picture identification is respectively used for indicating a first picture, and N is a positive integer less than or equal to M. And the receiving module is used for receiving first input of a target picture identifier in the N picture identifiers displayed by the display module by a user. And the sending module is used for responding to the first input received by the receiving module and sending the target content, and the target content comprises the first picture indicated by the target picture identification.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, in a case that a session interface displays a first message, an electronic device may determine, according to the first message, a first keyword corresponding to the first message, determine, from the electronic device, M first pictures corresponding to the first keyword, and then display, in the session interface, N picture identifiers of N first pictures of the M first pictures, so that the electronic device may send, according to a first input of a user to a target picture identifier of the N picture identifiers, target content of the first picture indicated by the target picture identifier. The electronic equipment can determine all keywords corresponding to the first message according to the first message, directly determine all pictures corresponding to all the keywords from the electronic equipment, and then display picture identifications of some pictures in all the pictures, so that a user can directly input the target picture identification related to the content of the first message in the picture identifications of some pictures, the electronic equipment can send the target content of the pictures indicated by the target picture identification, the user does not need to search the pictures related to the content of the first message one by one in all the pictures included in the album and perform multiple operations, the operation of the user can be simplified, time consumption is reduced, and the efficiency of sending the messages by the electronic equipment can be improved.
Drawings
Fig. 1 is a schematic diagram of a content transmission method provided in an embodiment of the present application;
fig. 2 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a second schematic diagram of a content transmission method according to an embodiment of the present application;
fig. 6 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 7 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 8 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 9 is a seventh schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 10 is an eighth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 11 is a ninth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a content transmitting apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 14 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The content transmission method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The content sending method provided by the embodiment of the application can be applied to a scene that a user sends a message and can also be applied to a scene that the user replies the message.
For a scene of sending a message by a user, suppose that a user 1 sends a message to an electronic device 2 of a user 2 through a chat-type application (e.g., application 1) in the electronic device 1, in the related art, the user 1 may record a voice message 1 in a session interface 1 corresponding to the user 2 in the application 1, and click a "send" control in the session interface 1 to trigger the electronic device to send the voice message 1 to the electronic device 2 corresponding to the user 2, and then perform multiple operations on the electronic device 1 to enable the electronic device 1 to display all pictures in an "album" application program, so that the user 1 may search pictures 1 capable of expressing an emotional state of the user among all the pictures one by one, and perform a selection input on the picture 1 to enable the electronic device 1 to select the picture 1, so that the user 1 may click the "send" control in the session interface 1, so that the electronic device 1 can send a message comprising the picture 1 to the electronic device 2. However, since the user 1 needs to search for the picture 1 one by one in all the pictures included in the "album" application and perform multiple operations on the picture 1, the electronic device 1 can be triggered to send the message including the picture 1 to the electronic device 2, and thus the operation of the user is complicated in the process of sending the message including the picture 1. In this embodiment, the user 1 may record the voice message 1 in the session interface 1 corresponding to the user 2 in the application 1, so that the electronic device 1 may obtain the keyword of the voice message 1, determine a plurality of pictures corresponding to the keyword from the electronic device 1, and display a picture thumbnail of some of the plurality of pictures in the session interface 1, so that the user 1 may directly input a picture thumbnail of a picture related to the content of the voice message 1 in the picture thumbnails of some of the pictures, so that the electronic device 1 may send a message including a picture indicated by a picture identifier related to the content of the voice message 1, thereby simplifying the user operation and reducing time consumption.
It is understood that, besides the case of recording a voice message, the user 1 may input a text message and send the text message to the electronic device 2 corresponding to the user 2, and the method is also applicable.
For a scene of a user replying to a message, assuming that a user 1 replies to a message 1 sent by a user 2 through a chat-type application (for example, the application 1) in an electronic device 1, the user 1 may first listen to or view the message 1 in a session interface 1 corresponding to the user 2 in the application 1, and then perform multiple operations on the electronic device 1, so that the electronic device 1 may display all pictures in an "album" application, so that the user 1 may search, one by one, the pictures 1 related to the content of the voice message 1 in all the pictures, and perform a selection input on the pictures 1, so that the electronic device 1 may select the pictures 1, so that the user 1 may click a "send" control in the session interface 1, so that the electronic device 1 may send a message including the pictures 1 to the electronic device 2. However, since the user 1 needs to search for the picture 1 one by one in all the pictures included in the "album" application and perform multiple operations on the picture 1, the electronic device 1 can be started to send the message including the picture 1 to the electronic device 2, and thus the operation of the user is complicated in the process of sending the message including the picture 1.
In this embodiment of the application, when the message 1 is displayed in the session interface 1, the electronic device 1 may obtain a keyword of the message 1, and determine, according to the keyword, a keyword of a message content replied to the message 1 from the electronic device, then the electronic device 1 may determine, according to the keyword of the content, a plurality of pictures corresponding to the keyword of the content from the electronic device 1, and display, in the session interface 1, picture thumbnails of some pictures in the plurality of pictures, so that the user 1 may directly input, in the picture thumbnails of the some pictures, a picture identifier related to the content, so that the electronic device 1 may send a message including a picture indicated by the picture identifier related to the content, to reply to the message 1, thereby simplifying the operation of the user and reducing time consumption.
Fig. 1 shows a flowchart of a content sending method provided in an embodiment of the present application. As shown in fig. 1, a content transmission method provided in an embodiment of the present application may include steps 101 to 104 described below.
Step 101, under the condition that the first message is displayed on the session interface, the content sending device determines a first keyword corresponding to the first message according to the first message, and determines M first pictures corresponding to the first keyword from the content sending device.
Optionally, in a scenario, when the content sending apparatus displays the main interface of the first application, if the content sending apparatus detects that a user inputs a user identifier of a certain user in the main interface of the first application, the content sending apparatus may switch the main interface to a session interface, so that the user may input in the session interface, so that the content sending apparatus may obtain the first message and display the first message on the session interface.
It is understood that the session interface is a session interface corresponding to a user as described above.
For example, the content transmitting apparatus is a mobile phone. As shown in fig. 2 (a), the mobile phone displays a conversation interface (e.g., interface 10), the interface 10 includes a "please speak with long press of voice key" control, so that the user can input the "please speak with long press of voice key" control, so that the mobile phone can log in the first message; as shown in fig. 2 (B), after the user inputs the "please speak with long press of voice key" control, the handset may record a first message and display the first message (e.g., message 11) in the interface 10.
Further optionally, in this embodiment of the application, the text information corresponding to the recorded voice message may be displayed in a text input box in the session interface. It is understood that the content transmitting apparatus does not transmit the first message immediately after the content transmitting apparatus acquires the first message.
Optionally, in another scenario, when the content sending apparatus receives a first message sent by another user, if the content sending apparatus detects that the user inputs an application identifier of the first application, the content sending apparatus may open the first application and display a main interface of the first application, so that, when the content sending apparatus detects that the user inputs the user identifier of the other user in the main interface of the first application, the content sending apparatus may switch the main interface to a session interface, where the session interface displays the first message.
Optionally, in this embodiment of the application, the first application may be a chat-type application.
Optionally, in this embodiment of the application, the first message may be a voice message or a text message to be sent, or may be a voice message or a text message received by a content sending device.
Optionally, in this embodiment of the application, in a case that the first message is a voice message to be sent, the first keyword may specifically be a keyword in the voice message; under the condition that the first message is a text message to be sent, the first keyword can be a keyword in the text message; in the case that the first message is a voice message received by the content sending apparatus, the first keyword may specifically be a keyword of a message content that is determined by the content sending apparatus according to the keyword in the voice message and is replied to the voice message; in the case that the first message is a text message received by the content sending device, the first keyword may be a keyword of a message content determined by the content sending device according to the keyword in the text message and replied to the text message.
Optionally, in this embodiment of the application, the content sending apparatus may perform voice recognition processing on the voice message to obtain the text corresponding to the voice message, so that the content sending apparatus may obtain the keyword in the voice message from the text corresponding to the voice message to determine the first keyword corresponding to the voice message.
Further optionally, in this embodiment of the application, after the content sending apparatus obtains the text corresponding to the voice message, the content sending apparatus may display the text in the session interface, so that the user may input at least one text in the text, so that the content sending apparatus may determine the at least one text as the first keyword.
Further optionally, in this embodiment of the application, after the content sending device obtains the text corresponding to the voice message, the content sending device may detect the text to obtain the keyword in the voice message, so as to determine the first keyword.
In an embodiment of the application, the first keyword may include one keyword or multiple keywords, the first keyword corresponds to at least one first picture, and M is a positive integer.
It can be understood that, in the case that the first keyword includes one keyword, the one keyword corresponds to at least one first picture; and under the condition that the first keyword comprises a plurality of keywords, each keyword in the plurality of keywords corresponds to at least one first picture respectively.
Optionally, in this embodiment of the application, the first keyword is respectively matched with image information of at least one picture, and the image information may include any one of the following items: image name, image type.
Optionally, in this embodiment of the application, the M pictures may include at least one of the following: pictures stored in the content sending device and pictures obtained by the content sending device through screen capturing of the application program interface.
Optionally, in this embodiment of the application, when the M pictures are pictures stored in the content sending apparatus, the content sending apparatus may determine, according to the first keyword, at least one first picture whose image information matches the first keyword from the content sending apparatus, so as to determine the M first pictures.
For example, assuming that the first keyword includes a plurality of keywords, such as a "kitten" keyword and a "puppy" keyword, the content transmitting apparatus may determine, from a local album in the content transmitting apparatus, at least one first picture whose image name matches the "kitten" keyword according to the "kitten" keyword, and determine, from the local album in the content transmitting apparatus, at least one first picture whose image name matches the "puppy" keyword according to the "puppy" keyword.
Optionally, in this embodiment of the application, in a case that the M pictures are pictures obtained by the content sending apparatus by capturing a screen of an application program interface of the content sending apparatus, the content sending apparatus may determine, from the content sending apparatus, at least one application (for example, a target application in the following embodiments) in which application information (for example, an application type) is associated with the first keyword according to the first keyword, and determine at least one first picture from the at least one application, so as to determine the M first pictures.
For example, assuming that the first keyword includes a keyword, for example, a "kitten" keyword, the content sending apparatus may determine, from the applications running (for example, running in the background) of the content sending apparatus, at least one application (for example, a "song" application) whose application type is associated with the "kitten" keyword according to the "kitten" keyword, and perform a screen shot on an interface of the "song" application (i.e., a song cover corresponding to a currently playing song) to obtain a screen shot picture, and determine the screen shot picture as a first picture.
Optionally, in this embodiment of the application, when the content sending apparatus determines that any first picture corresponding to the first keyword does not exist in the content sending apparatus, the content sending apparatus may send the first keyword to the server, so that the server may obtain, according to the first keyword, a plurality of first pictures corresponding to the first keyword, and send the plurality of first pictures to the content sending apparatus.
And 102, the content sending device displays the N picture identifications in a conversation interface.
In this embodiment of the application, each of the N picture identifiers is used to indicate a first picture, and N is a positive integer smaller than or equal to M.
It is understood that the content transmitting apparatus may display picture identifications of all first pictures in the session interface (i.e., N is equal to M), or may display picture identifications of some first pictures in the M first pictures in the session interface (i.e., N is less than M).
Optionally, in this embodiment of the application, in a case that the first keyword is one keyword, the content sending apparatus may display the picture identifiers of all the first pictures in the session interface; in the case that the first keyword is a plurality of keywords, the content sending apparatus may display, in the session interface, the picture identifier of a part of the M first pictures (e.g., the first picture corresponding to the first keyword in the plurality of keywords).
Optionally, in this embodiment of the application, the content sending apparatus may display a target window in a floating manner in the first area of the session interface, where the target window includes N picture identifiers.
Optionally, in this embodiment of the application, the first area may specifically be: an adjacent area of one edge line (e.g., a lower edge line) of the display screen of the content transmission apparatus.
It should be noted that the above "adjacent region of one edge line" can be understood as follows: an area within a predetermined range of the one edge line.
For example, referring to fig. 2B, as shown in fig. 3, the mobile phone may display a target window (e.g., a window 13) in a first region (e.g., a region 12 (shown by a dashed box), where the window 13 includes N picture identifiers (e.g., a picture identifier 14, a picture identifier 15, and a picture identifier 16), the picture identifier 14 is used to indicate one first picture, the picture identifier 15 is used to indicate another first picture, and the picture identifier 16 is used to indicate another first picture) of the interface 10.
Step 103, the content sending device receives a first input of a target picture identifier in the N picture identifiers from a user.
In an embodiment of the present application, the first input is used to trigger the content sending apparatus to send the target content.
Optionally, in this embodiment of the application, the first input may specifically be a click input of the user to the target picture identifier.
Step 104, the content transmitting apparatus transmits the target content in response to the first input.
In this embodiment of the application, the target content includes a first picture indicated by the target picture identifier.
Optionally, in this embodiment of the application, when the first message is a message to be sent, the content sending apparatus may send the first picture indicated by the target picture identifier, or may send the first picture indicated by the target picture identifier and the first message.
It can be understood that, in the case that the first message is a voice message to be sent, the target content includes the first picture indicated by the target picture identifier, or includes the first picture indicated by the target picture identifier and the first message.
Optionally, in this embodiment of the application, in a case that the first message is a message received by the content sending apparatus, the content sending apparatus may send the first picture indicated by the target picture identifier.
It can be understood that, in the case that the first message is a message to be sent, the target content includes the first picture indicated by the target picture identifier.
Optionally, in this embodiment of the application, the content sending apparatus may send the target content to the content sending apparatus of the other user corresponding to the session interface.
Optionally, in this embodiment of the application, after the content sending apparatus sends the target content, the content sending apparatus may display the target content in the session interface.
For example, in conjunction with fig. 3, as shown in fig. 4 (a), the user may make a first input (e.g., click input) on the picture identifier 15, so that the mobile phone may send a first picture indicated by the picture identifier 15; as shown in fig. 4 (B), after the user makes the first input, the mobile phone may send the first picture indicated by the picture identifier 15 to the content sending device of the other user corresponding to the interface 10, and display the first picture (e.g., picture 17) indicated by the picture identifier 15 in the interface 10.
In this embodiment of the application, in a case that a first message is a message to be sent, after a user triggers a content sending device to obtain the first message, the content sending device may identify information in the first message, for example, in a case that the first message is a voice message, the information in the voice message is converted into a text and displayed in a session interface, the user selects a desired first keyword, or the information in the voice message is converted into a text and the first keyword is obtained from the text; therefore, the content sending device can determine M first pictures corresponding to the first keyword from the content sending device according to the first keyword, and display the picture identifiers of N first pictures in the M first pictures in the input area of the session interface. In this way, if the user needs to send a picture related to the first message, the user can select a picture identifier of a certain picture in the picture identifiers of the N first pictures and input a "send" control in the session interface, so that the content sending device can send the first message and a message including the certain picture; if the user does not need to send the picture related to the first message, the user can directly input the sending control in the conversation interface, so that the content sending device can directly send the first message.
In this embodiment of the application, when the first message is a message received by the content transmitting apparatus, and when the first message is displayed on the session interface, the user may input the first message, so that the content transmitting apparatus may display the first message. After displaying the first message (or while displaying the first message), in the case that the first message is a voice message, the content transmitting apparatus may identify information in the voice message, display the information in the session interface, and select a desired second keyword by the user, or convert the information in the voice message into text and obtain the second keyword from the text; therefore, the content sending device may determine, according to the second keyword, the first keyword corresponding to the second keyword (i.e., the keyword of the reply message content), determine M first pictures corresponding to the first keyword from the content sending device, and display, in an input area in the session interface, the picture identifiers of N first pictures in the M first pictures. Thus, if the user needs to reply to the picture related to the first message, the user can select the picture identifier of a certain picture in the picture identifiers of the N first pictures and input the sending control in the session interface, so that the content sending device can reply to the message including the certain picture; if the user does not need to reply to the picture related to the first message, the reply content can be directly input in the input area and input to the "send" control in the conversation interface, so that the content sending device can send the message including the reply content.
In the content sending method provided by the embodiment of the application, when the session interface displays the first message, the content sending device may determine, according to the first message, the first keyword corresponding to the first message, determine, from the content sending device, M first pictures corresponding to the first keyword, and then display, in the session interface, N picture identifiers of the N first pictures in the M first pictures, so that the content sending device may send the target content of the first picture including the target picture identifier indication according to a first input of a user to the target picture identifier in the N picture identifiers. The content sending device can determine all keywords corresponding to the first message according to the first message, directly determine all pictures corresponding to all the keywords from the content sending device, and then display picture identifiers of some pictures in all the pictures, so that a user can directly input target picture identifiers related to the content of the first message in the picture identifiers of some pictures, the content sending device can send target content of the pictures indicated by the target picture identifiers, the user does not need to search pictures related to the content of the first message one by one in all the pictures included in the album and perform multiple operations, the operation of the user can be simplified, time consumption is reduced, and the efficiency of the content sending device for sending the messages can be improved.
In the following, how the content transmitting apparatus transmits the target content will be described by taking the first message as a voice message to be transmitted as an example.
Optionally, in this embodiment of the application, when the first message is a voice message to be sent, the target content further includes the first message. Specifically, as shown in fig. 5 in conjunction with fig. 1, before the "transmission target content" in step 104, the content transmission method provided in the embodiment of the present application may further include step 201 and step 202 described below, and step 104 may be specifically realized by step 104a described below.
Step 201, the content sending device responds to the first input and displays at least one control on the conversation interface.
In this embodiment, each of the at least one control is used to indicate a sending method.
Further optionally, in this embodiment of the application, the at least one sending method includes at least one of the following: a mode of simultaneously transmitting the first message and the picture, a mode of separately transmitting the first message and the picture, and a mode of transmitting only the picture.
It can be understood that, when the first message is a voice message, the method may further include: and the method comprises one of a sending mode of simultaneously sending the characters and the pictures corresponding to the voice and a sending mode of respectively sending the characters and the pictures corresponding to the voice.
It should be noted that the above "manner in which the first message and the picture are sent simultaneously" may be understood as: the content transmitting apparatus may add a first message on a picture (i.e., display the first message on the picture), and transmit the picture. After the picture is sent, if the first message is a voice message, the first message is displayed on the picture as a voice display bar, and a user can input the voice display bar so that the content sending device can play the voice message; and if the first message is a text message, displaying the text content on the picture. The above "sending mode in which the text and the picture corresponding to the voice are sent simultaneously" may be understood as follows: the content sending device can perform voice recognition processing on the voice message to obtain the characters corresponding to the voice message, so that the content sending device can add the characters to the picture to generate a new picture and send the new picture. The above "manner of sending the first message and the picture respectively" may be understood as: a mode of first sending a first message and then sending a picture; or, the picture is sent first, and then the first message is sent.
Further optionally, in this embodiment of the application, the content sending apparatus may display at least one control in a floating manner on the second area of the session interface.
Further optionally, in this embodiment of the application, the first area may specifically be: adjacent to one edge line (e.g., the right edge line) of the display screen of the content transmission apparatus.
For example, referring to fig. 4 (a), as shown in fig. 6, after the user makes a first input to the picture identifier 15, the mobile phone may display at least one control (e.g., control 19, control 20, control 21, control 22, and control 23) in a second region (e.g., region 18 (illustrated by a dashed box) of the interface 10 in a floating manner, where the control 19 is used to indicate one sending mode (e.g., a mode of sending only a picture), the control 20 is used to indicate another sending mode (e.g., a mode of sending a first message and a picture simultaneously), the control 21 is used to indicate another sending mode (e.g., a sending mode of sending text and a picture corresponding to voice simultaneously when the first message is a voice message), the control 22 is used to indicate another sending mode (e.g., a mode of sending a first message and a picture respectively), the control 23 is used to indicate another sending mode (e.g., when the first message is a voice message, the transmission modes of transmitting the text and the picture corresponding to the voice).
Step 202, the content sending apparatus receives a third input of the user to a target control of the at least one control.
In this embodiment of the application, the third input is used to trigger the content sending apparatus to send the first message and the first picture indicated by the target picture identifier.
Further optionally, in this embodiment of the application, the third input may specifically be a click input of the target control by the user.
And 104a, the content sending device responds to the third input, and sends the first message and the first picture indicated by the target picture identification in the sending mode indicated by the target control.
In the embodiment of the application, in different scenes, a user may need different sending modes to send the first message and the first picture indicated by the target picture identifier, and therefore, the content sending apparatus may display at least one control (each control is used for indicating one sending mode), so that the user may select the sending mode required by the user to send the first message and the first picture indicated by the target picture identifier according to the use requirement.
In the embodiment of the application, the content sending device can display the at least one control on the session interface, so that a user can perform third input on a target control in the at least one control according to a use requirement, so that the content sending device can send the first message and the first picture indicated by the target picture identifier in a sending mode indicated by the target control, and thus the flexibility of the content sending device in sending messages can be improved.
Optionally, in this embodiment of the application, when the sending method indicated by the target control is a method in which the first message and the picture are sent simultaneously, after step 104a, the content sending method provided in this embodiment of the application may further include step 301 described below.
Step 301, the content sending apparatus displays the first picture indicated by the target picture identifier in the session interface, and displays the first message on the first picture indicated by the target picture identifier.
Further optionally, in this embodiment of the application, the content sending apparatus may display the first message in an overlay manner, for example, partially overlay-displaying the first message on the first picture indicated by the target picture identifier.
It should be noted that, the above "partially displaying the first message in the first picture indicated by the target picture identifier" may be understood as: and the display area of the first message is positioned in the display area of the first picture indicated by the target picture identification.
Further optionally, in this embodiment of the application, when the sending mode indicated by the target control is a mode in which the first message and the picture are sent simultaneously, the content sending apparatus displays the first picture indicated by the target picture identifier in the session interface, and displays the first message on the first picture indicated by the target picture identifier in an overlaid manner.
For example, referring to fig. 4 (a), as shown in fig. 7, after the user makes a first input to the picture identifier 15, the mobile phone may send a voice message and a first picture indicated by the picture identifier 15 to the mobile phones of other users corresponding to the interface 10, display the first picture indicated by the picture identifier 15 (e.g., a picture 24) in the interface 10, and overlay and display the voice message (e.g., a message 25) on the picture 24.
Further optionally, in this embodiment of the application, when the sending mode indicated by the target control is a mode in which, when the first message is voice, text corresponding to the voice and a picture are sent simultaneously, the content sending device displays the first picture indicated by the target picture identifier in the session interface, and overlays and displays the text corresponding to the voice on the first picture indicated by the target picture identifier; and when the sending mode indicated by the target control is a mode in which the characters and the pictures are sent simultaneously when the first message is the characters, the content sending device displays the first picture indicated by the target picture identification in the conversation interface, and covers and displays the corresponding characters on the first picture indicated by the target picture identification.
For example, referring to fig. 4 (a), as shown in fig. 8, after the user makes a first input on the picture identifier 15, the mobile phone may send a first message and a first picture indicated by the picture identifier 15 to the mobile phones of other users corresponding to the interface 10, display the first picture indicated by the picture identifier 15 (e.g., a picture 26) in the interface 10, and overlay and display text (e.g., text 27) corresponding to the voice message on the picture 26.
In the embodiment of the application, the content sending device may display the first message in a covering manner in the display area of the first picture indicated by the target picture identifier, that is, the content sending device may display the first picture indicated by the target picture identifier and the first message in the same display area, respectively, so that the display space of the content sending device for displaying the session interface may be saved.
It can be understood that the content sending device does not only display the first picture and the first message indicated by the target picture identifier respectively, and therefore, the diversity of the content displayed by the content sending device can be improved, and thus, the user experience can be improved.
In the following, it will be exemplified how the content transmitting apparatus transmits the target content, taking the first message as a message to be transmitted.
Optionally, in this embodiment of the application, when the first message is a message to be sent, the content sending apparatus may send the first picture indicated by the target picture identifier in a default sending manner in response to the first input.
Further optionally, in this embodiment of the application, the default sending manner may specifically be: a mode of transmitting only pictures.
The following will exemplify how the content transmitting apparatus determines the first keyword corresponding to the first message based on the first message.
Optionally, in a possible implementation manner of the embodiment of the present application, in a case that the first message is a message to be sent, the step 101 may be specifically implemented by a step 101a or a step 101b described below.
Step 101a, under the condition that the first message is displayed on the conversation interface and the first message is a voice message input by a user, the content sending device determines a first keyword from characters corresponding to the first message.
It can be understood that, in the case that the first message is a voice message input by the user, the user may perform a fourth input, so that the content sending apparatus, in response to the fourth input, performs parsing processing on the first voice message to obtain a text corresponding to the first voice message, and displays the text corresponding to the first voice message on the session interface, so that the user may perform a fifth input on a first keyword in the text corresponding to the first voice message, so that the content sending apparatus, in response to the fifth input, determines the first keyword; under the condition that the first message is the text message input by the user, the text message can be directly analyzed to obtain the first keyword.
Further optionally, in this embodiment of the application, the session interface further includes a first control, and the user may perform a fourth input on the first control, so that the content sending apparatus may perform parsing processing on the first message.
Further optionally, in this embodiment of the application, the fourth input may specifically be a click input of the first control by the user.
Further optionally, in this embodiment of the application, the content sending apparatus may perform, when the first message is a voice message, voice recognition processing on the voice message to obtain characters corresponding to the voice message, and display the characters corresponding to the voice message in a floating manner on the conversation interface.
For example, in conjunction with (B) in fig. 2, as shown in (a) in fig. 9, the interface 10 further includes a first control (e.g., control 28), so that the user can make a fourth input (e.g., click input) on the control 28; as shown in fig. 9 (B), after the user makes the fourth input, the mobile phone may perform a speech recognition process on the voice message to obtain a text corresponding to the voice message, and display the text (for example, text 29) corresponding to the voice message in a floating manner on the interface 10.
Further optionally, in this embodiment of the application, the fifth input may specifically be a click input of the first keyword in the text corresponding to the first message by the user.
In the embodiment of the application, because the content sending device may not have the keyword required by the user in the keywords determined according to the first message, the content sending device may display the first control in the session interface, so that the user may input the first control, so that the content sending device may analyze and process the first message, and display the text corresponding to the first message in the session interface, so that the user may select the keyword required by the user from the text.
In the embodiment of the application, the content sending device can determine the first keyword from the text corresponding to the first message to be sent, that is, the content sending device can determine the keyword required by the user, so that the content sending device can determine the first picture required by the user from the content sending device according to the keyword required by the user, and thus, the accuracy of determining the picture required by the user by the content sending device can be improved.
Step 101b, under the condition that the first message is displayed on the conversation interface, and under the condition that the first message is received by the content sending device, determining a second keyword from characters corresponding to the first message, and determining a first keyword corresponding to the second keyword according to the second keyword.
It is to be understood that, in the case where the first message is a message received by the content generation apparatus, the content transmission apparatus may perform a voice recognition process on the voice message to acquire a second keyword, where the first message is a voice message, and the second keyword is a keyword included in the content of the voice message.
In an embodiment of the present application, the first keyword is a keyword of content of a message reply for the first message.
Further optionally, in this embodiment of the application, at least one corresponding relationship is pre-stored in the content sending apparatus, and one corresponding relationship is a corresponding relationship between a received message keyword and a reply message keyword, so that the content sending apparatus may determine the first keyword from the at least one corresponding relationship according to the second keyword.
For example, the content transmitting apparatus may determine, according to the second keyword, one received message keyword that matches the second keyword from among at least one received message keyword in the at least one correspondence, and determine, as the first keyword, one reply message keyword in one correspondence corresponding to the one received message keyword, to determine the first keyword.
In the embodiment of the application, the content sending device can determine all the keywords in the received first message from the characters corresponding to the first message, and determine the keywords of the message content replied by the user for the first message according to all the keywords, so that the content sending device can directly determine all the first pictures corresponding to the keywords of the content according to the keywords of the content, and display all the first pictures, without needing the user to operate the content sending device for many times, therefore, the efficiency of the content sending device for displaying the pictures replied by the user can be improved, and thus, the efficiency of the content sending device for replying the message can be improved.
The following will describe in detail the determination of M first pictures corresponding to the first keyword from the electronic device.
Optionally, in this embodiment of the application, the M first pictures corresponding to the first keyword include at least one of the following:
the content sending device determines L first pictures corresponding to the first keyword from a picture library of the electronic equipment;
or the content sending device captures a screen of an interface of a target application program, and determines K screen capture pictures as K first pictures corresponding to the first keyword;
wherein L and K are both positive integers less than or equal to M.
It can be understood that the L first pictures are: and the image information is respectively matched with all or part of the first keywords.
Further optionally, in this embodiment of the application, the target application program is: and the application programs which run in the background of the content sending device and respectively match the application types with all or part of the first keywords, and the target application program can comprise one application program or a plurality of application programs.
For example, assuming that the first keyword includes "where", the content sending apparatus may determine, from all applications in the content sending apparatus, an application (e.g., a "map" application) that runs in the background and has an application type that matches the "where" keyword, respectively, and perform a screen shot on an interface (e.g., an interface displayed last before the running in the background) of the "map" application to determine K first pictures (i.e., one first picture).
In this embodiment of the application, because the M first pictures determined by the content sending device may include pictures in the content sending device and/or pictures obtained by performing screen capture on an interface of the target application program, that is, the M first pictures determined by the content sending device do not only include pictures stored in the content sending device, when there are a plurality of first keywords, the content sending device may preferentially display picture identifiers of pictures (i.e., pictures that may be required by a user) that are frequently matched with the first keywords, so that the user may quickly select picture identifiers required by the user from the plurality of picture identifiers, thereby improving the efficiency of the content sending device in sending messages.
In the following, how the content transmission apparatus displays the picture identifier will be described by taking the first keyword as an example of a plurality of keywords.
Optionally, in this embodiment of the application, the first keyword is a plurality of keywords, and N is smaller than M. Specifically, before the step 102, the content transmission method provided in the embodiment of the present application may further include the following step 401 and step 402, and the step 102 may be specifically realized by the following step 102 a.
Step 401, the content sending apparatus displays a plurality of keywords in the session interface, and displays P picture identifiers in the session interface.
In this embodiment of the application, the P picture identifiers are picture identifiers corresponding to a first keyword in a plurality of keywords, and P is a positive integer less than or equal to M.
Further optionally, in this embodiment of the application, the content sending apparatus may determine an arrangement order of the plurality of keywords according to the arrangement order of the plurality of keywords in the first message, so that the content sending apparatus may display the plurality of keywords in the conversation interface, and display the picture identifier corresponding to the first keyword in the conversation interface.
Further optionally, in this embodiment of the application, the content sending apparatus may display a target window in a floating manner in the first area of the session interface, where the target window includes a plurality of keywords and P picture identifiers.
For example, referring to fig. 2B, as shown in fig. 10, the mobile phone may display a target window (e.g., a window 31) in a first region (e.g., a region 30 (illustrated by a dashed box in the figure)) of the interface 10 in a floating manner, where the window 31 includes a plurality of keywords (e.g., a keyword 32, a keyword 33, and a keyword 34) and P picture identifiers (e.g., a picture identifier 35, a picture identifier 36, a picture identifier 37, and a picture identifier 38), and each of the picture identifier 35, the picture identifier 36, the picture identifier 37, and the picture identifier 38 is a picture identifier corresponding to a first keyword (i.e., a keyword 32) in the plurality of keywords.
Step 402, the content transmitting apparatus receives a second input of an ith keyword from the plurality of keywords from the user.
In the embodiment of the application, i is a positive integer greater than 1.
It is to be understood that the ith keyword may be any one of a plurality of keywords.
In this embodiment of the application, the second input is used to trigger the content sending apparatus to display the picture identifier.
Further optionally, in this embodiment of the application, the second input may specifically be a click input of the ith keyword by the user.
And 102a, the content sending device responds to the second input and displays N picture identifications corresponding to the ith keyword in the conversation interface.
Further optionally, in this embodiment of the application, the content sending apparatus may update the P picture identifiers displayed in the session interface to N picture identifiers, so as to display the N picture identifiers in the session interface.
For example, in conjunction with fig. 10, as shown in (a) of fig. 11, the user may perform a second input (e.g., click input) on an ith keyword (e.g., keyword 33) of the multiple keywords (i.e., keyword 32, keyword 33, and keyword 34), so that the mobile phone may display N picture identifiers corresponding to the keyword 33; as shown in fig. 11 (B), after the user makes the second input, the mobile phone may update the picture identifier 35, the picture identifier 36, the picture identifier 37, and the picture identifier 38 in the window 31 to N picture identifiers (for example, the picture identifier 39, the picture identifier 40, the picture identifier 41, and the picture identifier 42), where the picture identifier 39, the picture identifier 40, the picture identifier 41, and the picture identifier 42 are all picture identifiers corresponding to the keyword 33.
In the embodiment of the application, the content sending device can display the picture identifier corresponding to one keyword firstly, and then display the picture identifier corresponding to the other keyword according to the input of the user to the other keyword, namely, the content sending device can display the picture identifier corresponding to one keyword required by the user according to the input of the user instead of displaying the picture identifiers corresponding to a plurality of keywords, so that the number of the picture identifiers displayed by the content sending device can be reduced, the time consumed for the user to search the picture identifier required by the user can be reduced, and the message sending efficiency of the content sending device can be improved.
In the content transmission method provided in the embodiment of the present application, the execution subject may be a content transmission apparatus, or a control module in the content transmission apparatus for executing the content transmission method. In the embodiments of the present application, a content transmission apparatus executes a content transmission method as an example, and an apparatus for the content transmission method according to the embodiments of the present application will be described.
Fig. 12 is a schematic diagram showing a possible configuration of a content transmitting apparatus according to an embodiment of the present application. As shown in fig. 12, the content transmitting apparatus 60 may include: a determination module 61, a display module 62, a receiving module 63 and a sending module 64.
The determining module 61 is configured to determine, according to a first message, a first keyword corresponding to the first message when the first message is displayed on the session interface, and determine M first pictures corresponding to the first keyword from the content sending apparatus, where M is a positive integer. And a display module 62, configured to display N picture identifiers in the session interface, where each picture identifier is used to indicate a first picture, and N is a positive integer less than or equal to M. A receiving module 63, configured to receive a first input of a target picture identifier in the N picture identifiers displayed by the display module 62. A sending module 64, configured to send target content in response to the first input received by the receiving module 63, where the target content includes a first picture indicated by the target picture identifier.
In a possible implementation manner, the determining, from the electronic device, M first pictures corresponding to the first keyword includes at least one of: determining L first pictures corresponding to the first keyword from a picture library of the electronic equipment; or, screen capturing is carried out on the interface of the target application program, and K screen capturing pictures are determined as K first pictures corresponding to the first keyword; wherein L and K are both positive integers less than or equal to M.
In a possible implementation manner, the first keyword is a plurality of keywords, and N is smaller than M. The display module 62 is further configured to display a plurality of keywords in the session interface, and display P picture identifiers in the session interface, where the P picture identifiers are picture identifiers corresponding to a first keyword in the plurality of keywords, and P is a positive integer smaller than or equal to M. The receiving module 63 is further configured to receive a second input of an ith keyword from the plurality of keywords, where i is a positive integer greater than 1. The display module 62 is specifically configured to display, in response to the second input received by the receiving module 63, N picture identifiers corresponding to the ith keyword in the session interface.
In a possible implementation manner, the target content further includes a first message. The display module 62 is further configured to display at least one control on the session interface, where each control is respectively used to indicate a sending method. The receiving module 63 is further configured to receive a third input of the user to a target control in the at least one control. The sending module 64 is specifically configured to send, in response to the third input received by the receiving module 63, the first message and the first picture indicated by the target picture identifier in the sending manner indicated by the target control.
In a possible implementation manner, the sending manner indicated by the target control is a manner in which the first message and the picture are sent simultaneously, or a manner in which, when the first message is a voice message, text and the picture corresponding to the voice are sent simultaneously. The display module 62 is further configured to display the first picture indicated by the target picture identifier in the session interface, and display the first message on the first picture indicated by the target picture identifier.
In a possible implementation manner, the determining module 61 is specifically configured to determine the first keyword from the first message when the first message is a message input by a user; or, under the condition that the first message is the message received by the content sending device, determining a second keyword from the characters corresponding to the first message, and determining a first keyword corresponding to the second keyword according to the second keyword; the first keyword is a keyword of the message content replied to the first message.
According to the content transmitting device provided by the embodiment of the application, since the content transmitting device can determine all the keywords corresponding to the first message according to the first message, and directly determine all the pictures corresponding to all the keywords from the content transmitting device, then the picture identifiers of some pictures in all the pictures are displayed, so that the user can directly input the target picture identifier related to the content of the first message in the picture identifiers of some pictures, so that the content transmission apparatus can transmit the target content including the picture indicated by the target picture identification, without the need for the user to search for pictures related to the content of the first message one by one among all the pictures included in the album and perform multiple operations, therefore, the operation of the user can be simplified, and the time consumption can be reduced, so that the efficiency of the content sending device for sending the message can be improved.
The content transmitting apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The content transmitting apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The content sending apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 11, and is not described here again to avoid repetition.
Optionally, as shown in fig. 13, an electronic device 70 is further provided in the embodiment of the present application, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and capable of running on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the foregoing method for sending a content according to the embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 14 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 14 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 110 is configured to, when a first message is displayed on the session interface, determine, according to the first message, a first keyword corresponding to the first message, and determine, from the electronic device, M first pictures corresponding to the first keyword, where M is a positive integer.
A display unit 106, configured to display N picture identifiers in the session interface, where each picture identifier is used to indicate a first picture, and N is a positive integer less than or equal to M.
A user input unit 107, configured to receive a first input of a target picture identifier of the N picture identifiers by a user.
And the radio frequency unit 101 is configured to send target content in response to the first input, where the target content includes a first picture indicated by the target picture identifier.
According to the electronic device provided by the embodiment of the application, all the keywords corresponding to the first message can be determined by the electronic device according to the first message, all the pictures corresponding to all the keywords can be directly determined from the electronic device, and then the picture identifiers of some of the pictures can be displayed, so that a user can directly input the target picture identifiers related to the content of the first message in the picture identifiers of some of the pictures, the electronic device can send the target content of the pictures indicated by the target picture identifiers, the user does not need to search the pictures related to the content of the first message one by one in all the pictures included in the album, and multiple operations are performed, so that the operation of the user can be simplified, the time consumption is reduced, and the efficiency of sending the messages by the electronic device can be improved.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display a plurality of keywords in the session interface, and display P picture identifiers in the session interface, where the P picture identifiers are picture identifiers corresponding to a first keyword in the plurality of keywords, and P is a positive integer less than or equal to M.
The user input unit 107 is further configured to receive a third input of an ith keyword from the plurality of keywords, where i is a positive integer greater than 1.
The display unit 106 is specifically configured to display, in response to the third input, N picture identifiers corresponding to the ith keyword in the session interface.
In the embodiment of the application, the electronic device can display the picture identifier corresponding to one keyword firstly, and then display the picture identifier corresponding to the other keyword according to the input of the user to the other keyword, namely the electronic device can display the picture identifier corresponding to one keyword required by the user according to the input of the user instead of displaying the picture identifiers corresponding to a plurality of keywords, so that the number of the picture identifiers displayed by the electronic device can be reduced, time consumed for the user to search the picture identifier required by the user can be reduced, and the efficiency of sending messages by the electronic device can be improved.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display at least one control on the session interface, where each control is respectively used to indicate a sending method.
The user receiving unit 107 is further configured to receive a second input of the user to a target control in the at least one control.
The radio frequency unit 101 is specifically configured to send, in response to the second input, the first message and the first picture indicated by the target picture identifier in the sending manner indicated by the target control.
In the embodiment of the application, the electronic device can display the at least one control on the session interface, so that a user can perform second input on a target control in the at least one control according to a use requirement, so that the electronic device can send the first message and the first picture indicated by the target picture identifier in a sending mode indicated by the target control, and therefore the flexibility of sending messages by the electronic device can be improved.
The display unit 106 is further configured to display the first picture indicated by the target picture identifier in the session interface, and display the first message on the first picture indicated by the target picture identifier.
In the embodiment of the application, the electronic device can display the first message in the display area of the first picture indicated by the target picture identifier, that is, the electronic device can respectively display the first picture indicated by the target picture identifier and the first message in the same display area, so that the display space of the electronic device for displaying the session interface can be saved.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to determine, when the first message is a message input by a user, a first keyword from a text corresponding to the first message; or, under the condition that the first message is a message received by the electronic device, determining a second keyword from the characters corresponding to the first message, and determining a first keyword corresponding to the second keyword according to the second keyword; the first keyword is a keyword of content for performing message reply on the first message.
In the embodiment of the application, since the content sending device can determine the first keyword from the text corresponding to the first message to be sent, that is, the content sending device can determine the keyword required by the user, the content sending device can determine the first picture required by the user from the content sending device according to the keyword required by the user, and thus, the accuracy of determining the picture required by the user by the content sending device can be improved.
In the embodiment of the application, the content sending device can determine all the keywords in the characters from the characters corresponding to the received first message, and determine the keywords of the content replied by the user for the first message according to the all the keywords, so that the content sending device can directly determine all the first pictures corresponding to the keywords of the content according to the keywords of the content, and display all the first pictures, and the user does not need to perform multiple operations on the content sending device, therefore, the efficiency of the content sending device for displaying the pictures replied by the user can be improved, and thus, the efficiency of the content sending device for replying the message can be improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing content transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method for sending a content, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for content delivery, the method comprising:
under the condition that a first message is displayed on a session interface, determining a first keyword corresponding to the first message according to the first message, and determining M first pictures corresponding to the first keyword from electronic equipment, wherein M is a positive integer;
displaying N picture identifications in the session interface, wherein each picture identification is used for indicating a first picture, and N is a positive integer less than or equal to M;
receiving first input of a user to a target picture identifier in the N picture identifiers;
in response to the first input, sending target content, wherein the target content comprises a first picture indicated by the target picture identification and the first message;
the sending target content comprises: adding the first message on the first picture, and sending the first picture added with the first message;
the determining, from the electronic device, M first pictures corresponding to the first keyword includes:
determining a target application program according to the first keyword, performing screen capture on an interface of the target application program, and determining K screen capture pictures as K first pictures corresponding to the first keyword; the target application program is an application program of which the application type is associated with the first keyword in application programs operated by the electronic equipment;
wherein K is a positive integer less than or equal to M.
2. The method of claim 1, wherein the target content further comprises the first message;
before the sending the target content, the method further comprises:
displaying at least one control on the session interface, wherein each control is used for indicating a sending mode;
receiving a second input of a target control in the at least one control from a user;
the sending target content comprises:
and responding to the second input, and sending the first message and the first picture indicated by the target picture identification in a sending mode indicated by the target control.
3. The method according to claim 2, wherein the sending mode indicated by the target control is a mode in which the first message and the first picture are sent simultaneously;
after the sending of the first message and the first picture indicated by the target picture identifier, the method further includes:
and displaying the first picture indicated by the target picture identification in the session interface, and displaying the first message on the first picture indicated by the target picture identification.
4. The method of claim 1, wherein determining, from the first message, a first keyword corresponding to the first message comprises:
determining the first keyword from the first message under the condition that the first message is a message input by a user;
or, under the condition that the first message is a message received by the electronic device, determining a second keyword from the first message, and determining the first keyword corresponding to the second keyword according to the second keyword; the first keyword is a keyword in the message content for replying the first message.
5. A content transmission apparatus, characterized in that the content transmission apparatus comprises: the device comprises a determining module, a display module, a receiving module and a sending module;
the determining module is used for determining a first keyword corresponding to a first message according to the first message under the condition that the first message is displayed on a session interface; determining M first pictures corresponding to the first keyword from a content sending device, wherein M is a positive integer;
the display module is used for displaying N picture identifications in the session interface, each picture identification is respectively used for indicating a first picture, and N is a positive integer less than or equal to M;
the receiving module is used for receiving first input of a target picture identifier in the N picture identifiers displayed by the display module by a user;
the sending module is configured to send target content in response to the first input received by the receiving module, where the target content includes a first picture indicated by the target picture identifier and the first message;
the sending module is specifically configured to add the first message to the first picture in response to the first input received by the receiving module, and send the first picture to which the first message is added;
the determining module is specifically configured to:
determining a target application program according to the first keyword, performing screen capture on an interface of the target application program, and determining K screen capture pictures as K first pictures corresponding to the first keyword; the target application program is an application program of which the application type is associated with the first keyword in application programs operated by the electronic equipment;
wherein K is a positive integer less than or equal to M.
6. The content transmitting apparatus according to claim 5, wherein the target content further includes the first message;
the display module is further configured to display at least one control on the session interface, where each control is used to indicate a sending method;
the receiving module is further configured to receive a second input of a user to a target control in the at least one control displayed by the display module;
the sending module is specifically configured to send, in response to the second input received by the receiving module, the first message and the first picture indicated by the target picture identifier in a sending manner indicated by the target control.
7. The content sending apparatus according to claim 6, wherein the target control indicates a sending mode in which the first message and the first picture are sent simultaneously;
the display module is further configured to display the first picture indicated by the target picture identifier in the session interface, and display the first message on the first picture indicated by the target picture identifier.
8. The content transmitting apparatus according to claim 5, wherein the determining module is specifically configured to:
determining the first keyword from the first message pair under the condition that the first message is a voice message input by a user;
or, under the condition that the first message is the message received by the content sending device, determining a second keyword from the first message, and determining the first keyword corresponding to the second keyword according to the second keyword; the first keyword is a keyword of message content for replying to the first message.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the content transmission method according to any one of claims 1 to 4.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the content transmission method according to any one of claims 1 to 4.
CN202011241770.7A 2020-11-09 2020-11-09 Content sending method and device and electronic equipment Active CN112383666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011241770.7A CN112383666B (en) 2020-11-09 2020-11-09 Content sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011241770.7A CN112383666B (en) 2020-11-09 2020-11-09 Content sending method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112383666A CN112383666A (en) 2021-02-19
CN112383666B true CN112383666B (en) 2022-05-17

Family

ID=74579090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011241770.7A Active CN112383666B (en) 2020-11-09 2020-11-09 Content sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112383666B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099033A (en) * 2021-03-29 2021-07-09 维沃移动通信有限公司 Information sending method, information sending device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017198013A1 (en) * 2016-05-19 2017-11-23 阿里巴巴集团控股有限公司 Method and device for processing group message
CN110312036A (en) * 2019-06-27 2019-10-08 维沃移动通信有限公司 A kind of content sends, methods of exhibiting and terminal
CN111090489A (en) * 2019-12-26 2020-05-01 维沃移动通信有限公司 Information control method and electronic equipment
CN111638837A (en) * 2020-05-13 2020-09-08 维沃移动通信有限公司 Message processing method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063369A (en) * 2014-06-26 2014-09-24 北京奇虎科技有限公司 Processing method, device and system of interactive text message
CN105159988B (en) * 2015-08-28 2018-08-21 广东小天才科技有限公司 A kind of method and device of browsing photo
US9898847B2 (en) * 2015-11-30 2018-02-20 Shanghai Sunson Activated Carbon Technology Co., Ltd. Multimedia picture generating method, device and electronic device
CN105721283B (en) * 2016-01-26 2020-03-17 北京小米移动软件有限公司 Method, device and equipment for sending screenshot message
CN109684497B (en) * 2018-12-19 2021-08-24 北京金山安全软件有限公司 Image-text matching information sending method and device and electronic equipment
CN110297928A (en) * 2019-07-02 2019-10-01 百度在线网络技术(北京)有限公司 Recommended method, device, equipment and the storage medium of expression picture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017198013A1 (en) * 2016-05-19 2017-11-23 阿里巴巴集团控股有限公司 Method and device for processing group message
CN110312036A (en) * 2019-06-27 2019-10-08 维沃移动通信有限公司 A kind of content sends, methods of exhibiting and terminal
CN111090489A (en) * 2019-12-26 2020-05-01 维沃移动通信有限公司 Information control method and electronic equipment
CN111638837A (en) * 2020-05-13 2020-09-08 维沃移动通信有限公司 Message processing method and electronic equipment

Also Published As

Publication number Publication date
CN112383666A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN111984162A (en) Page display method and device and electronic equipment
CN113094143B (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN113300938A (en) Message sending method and device and electronic equipment
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112947807A (en) Display method and device and electronic equipment
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
CN112702261A (en) Information display method and device and electronic equipment
CN111859900A (en) Message display method and device and electronic equipment
CN112269509B (en) Information processing method and device and electronic equipment
CN112383666B (en) Content sending method and device and electronic equipment
CN113676395A (en) Information processing method, related device and readable storage medium
CN113253903A (en) Operation method and operation device
CN112181351A (en) Voice input method and device and electronic equipment
CN111897474A (en) File processing method and electronic equipment
CN114374663B (en) Message processing method and message processing device
WO2022199614A1 (en) Interface input source switching method and apparatus, and electronic device
CN113364915B (en) Information display method and device and electronic equipment
CN112764603B (en) Message display method and device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
CN112818094A (en) Chat content processing method and device and electronic equipment
CN113593614A (en) Image processing method and device
CN113794575A (en) Message sending method and device and electronic equipment
CN113360038A (en) Application function searching method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant