CN112118168B - Message sending method, device, terminal and storage medium - Google Patents

Message sending method, device, terminal and storage medium Download PDF

Info

Publication number
CN112118168B
CN112118168B CN201910544087.1A CN201910544087A CN112118168B CN 112118168 B CN112118168 B CN 112118168B CN 201910544087 A CN201910544087 A CN 201910544087A CN 112118168 B CN112118168 B CN 112118168B
Authority
CN
China
Prior art keywords
message
sending
user account
quick
candidate
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
CN201910544087.1A
Other languages
Chinese (zh)
Other versions
CN112118168A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910544087.1A priority Critical patent/CN112118168B/en
Publication of CN112118168A publication Critical patent/CN112118168A/en
Application granted granted Critical
Publication of CN112118168B publication Critical patent/CN112118168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a message sending method, a message sending device, a terminal and a storage medium. The method comprises the following steps: the first client displays a chat session interface between a first user account and a second user account; displaying at least one candidate quick sending message in a chat session interface; receiving a selection signal corresponding to a target shortcut transmission message among at least one candidate shortcut transmission message; and sending the target shortcut sending message to a second user account. According to the technical scheme, when the user sends the message, manual input is not needed, and only one message is selected from the candidate quick sending messages to be sent, so that the message sending process is quicker and more efficient.

Description

Message sending method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a message sending method, a message sending device, a terminal, and a storage medium.
Background
Currently, a user may communicate with a contact through an application having messaging capabilities (e.g., an instant messaging application).
For a message sender, when a message needs to be sent to a certain message receiver, the content of the message can be edited and input through a keyboard, and then a sending button is clicked to trigger the message to be sent to the receiver.
However, the above message sending process is inefficient.
Disclosure of Invention
The embodiment of the application provides a message sending method, a message sending device, a terminal and a storage medium, which can be used for solving the technical problem of low efficiency in the message sending process. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a message sending method, which is applied to a first client, where the first client corresponds to a first user account, and the method includes:
displaying a chat session interface with a second user account;
displaying at least one candidate quick sending message in the chat session interface;
receiving a selection signal corresponding to a target shortcut transmission message among the at least one candidate shortcut transmission message;
and sending the target shortcut sending message to the second user account.
In another aspect, an embodiment of the present application provides a method for configuring a message template, where the method includes:
displaying a message template configuration interface;
generating a shortcut sending message template according to the content materials added in the message template configuration interface;
and configuring the use permission of the quick message sending template for a first user account or a second user account so as to display the quick message sent based on the quick message sending template when a client corresponding to the first user account displays a chat session interface between the client and the second user account.
In another aspect, an embodiment of the present application provides a message sending apparatus, where the apparatus includes:
the session interface display module is used for displaying a chat session interface between a first user account and a second user account;
the sending message display module is also used for displaying at least one candidate quick sending message in the chat session interface;
a message-to-be-sent selection module, configured to receive a selection signal corresponding to a target shortcut message in the at least one candidate shortcut message;
and the message sending module is used for sending the target quick sending message to the second user account.
In another aspect, an embodiment of the present application provides a message template configuration apparatus, where the apparatus includes:
the configuration interface display module is used for displaying a message template configuration interface;
the message template generating module is used for generating a quick message sending template according to the content materials added in the message template configuration interface;
and the use permission configuration module is used for configuring the use permission of the quick message sending template for a first user account or a second user account so as to display the quick message sending generated based on the quick message sending template when a client corresponding to the first user account displays a chat session interface between the client and the second user account.
In yet another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the foregoing message sending method.
In yet another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the message template configuration method.
In yet another aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the above-mentioned message sending method.
In yet another aspect, an embodiment of the present application provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the above message template configuration method.
In a further aspect, an embodiment of the present application provides a computer program product, which is configured to execute the above message sending method when the computer program product is executed.
In yet another aspect, the present application provides a computer program product, which is configured to perform the message template configuration method when executed.
In the technical scheme provided by the embodiment of the application, at least one candidate quick sending message is displayed in the chat session interface of the first user account and the second user account through the first client, so that the user can select a target quick sending message from the candidate quick sending message and send the target quick sending message to the second user account. Compared with the situation that the message receiving and sending of the two communication parties completely depend on manual input, the technical scheme provided by the embodiment of the application does not need manual input when the user sends the message, and only needs to select one of the candidate quick sending messages to send the message, so that the message sending process is quicker and more efficient.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a message sending method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a chat session interface;
FIG. 4 illustrates a schematic view of a setup interface;
FIG. 5 illustrates a diagram showing candidate quick-send messages;
FIG. 6 is a diagram illustrating a message packet;
FIG. 7 illustrates another diagram showing alternate fasted messages;
FIG. 8 is a flowchart of a message template configuration method according to an embodiment of the present application;
fig. 9 is a flowchart of a message template configuration method according to another embodiment of the present application;
FIG. 10 is a diagram illustrating a message template configuration interface;
FIG. 11 is a diagram illustrating an organizational structure list of a target collection;
FIG. 12 is a diagram illustrating an administrator list;
FIG. 13 illustrates a full flow diagram of a method of sending a message;
fig. 14 is a block diagram of a message sending apparatus according to an embodiment of the present application;
fig. 15 is a block diagram of a message sending apparatus according to another embodiment of the present application;
fig. 16 is a block diagram of a message template configuration apparatus according to an embodiment of the present application;
fig. 17 is a block diagram of a message template configuration apparatus according to another embodiment of the present application;
fig. 18 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the application is shown. The implementation environment may include: a first terminal 10, a second terminal 20 and a messaging server 30.
The first terminal 10 has a first client installed therein and operates therein, and the second terminal 20 has a second client installed therein and operates therein.
In one example, the first client and the second client are clients of the same application, e.g., the first client and the second client are clients of the same instant messaging application, and the first client and the second client are clients of the same social-type application, for example. The first client logs in a first user account, the second client logs in a second user account, and the first user account and the second user account are user accounts in the same application program. For example, when the first client and the second client are both clients of the "X letter" application program, the first user account is a user account registered by the first user in the "X letter" application program, and the second user account is a user account registered by the second user in the "X letter" application program. The first user and the second user may be two different users. In the application scenario, according to the technical scheme of the application, the message sender can quickly send the message to the message receiver in the process of communication (namely message receiving and sending) between two user accounts belonging to the same application program.
In another example, the first client and the second client are clients that share two different applications of the messaging server 30. For example, the first client is a client of one instant messaging application, the second client is a client of another instant messaging application, and the two instant messaging applications are two different application programs, but the two instant messaging applications may share the messaging server 30. For another example, the first client is a client of an instant messaging application, the second client is a client of a social-type application, and the instant messaging application and the social-type application are two different applications, but the instant messaging application and the social-type application may share the messaging server 30. The first client logs in a first user account, the second client logs in a second user account, and the first user account and the second user account are user accounts in two different application programs. For example, when the first client is a client of an "enterprise X letter" application program, and the second client is a client of an "X letter" application program, the first user account is a user account registered by the first user in the "enterprise X letter" application program, and the second user account is a user account registered by the second user in the "X letter" application program. The first user and the second user may be two different users. In the application scenario, according to the technical scheme, the message sender can quickly send a message to the message receiver in the process of communication (namely message receiving and sending) between two user accounts belonging to two different application programs.
It should be noted that, when the first user account and the second user account are user accounts in two different applications, the two different applications may be provided by the same software developer, or may be provided by two different software developers, which is not limited in this embodiment of the present application.
In addition, both the first client and the second client have a message receiving and sending function, that is, the first client and the second client can send messages to other clients and receive messages sent by other clients.
The first terminal 10 and the second terminal 20 may be electronic devices such as a mobile phone, a tablet Computer, a wearable device, a PC (Personal Computer), and the like. The messaging server 30 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The messaging server 30 may communicate with the first terminal 10 and the second terminal 20 through a wired or wireless network, respectively, for relaying messages transceived between the first client and the second client.
In the technical scheme provided by the embodiment of the application, when a first user account logged in a first client sends a message to a second user account, the first client can display at least one candidate quick sending message, and after the first user selects a target quick sending message from the at least one candidate quick sending message, the first client sends the target quick sending message to the second user account, so that the message sending process is quicker and more efficient.
Optionally, as shown in fig. 1, the implementation environment may further include: a configuration terminal 40 and a configuration server 50. A communication connection may be established between the configuration terminal 40 and the configuration server 50 via a network.
The configuration terminal 40 is configured to configure a shortcut message template for generating a shortcut message. The configuration terminal 40 may submit the shortcut sending message template to the configuration server 50, and the configuration server 50 sends the shortcut sending message template to the user client, as described above (the first client and/or the second client), so that the user client can use the shortcut sending message generated based on the shortcut sending message template to perform shortcut sending when sending the message.
The configuration terminal 40 may log in a configuration client, which may be an application client or a web client. Through which the client communicates with the configuration server 50. The configuration terminal 40 may be an electronic device such as a mobile phone, a tablet computer, a PC, etc. The configuration server 50 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
Referring to fig. 2, a flowchart of a message sending method according to an embodiment of the present application is shown. In this embodiment, the execution subject of each step may be the first terminal 10 in the implementation environment shown in fig. 1, such as a first client in the first terminal 10, where the first client corresponds to the first user account. The method may include the steps of:
step 201, displaying a chat session interface with the second user account.
A chat session can be created between the first user account and the second user account, and messages can be sent and received through the chat session. The chat session interface is a user interface for displaying messages received and sent, as well as sending messages, while in a chat session. The first user account can input a message in the chat session interface and send the message to the second user account, and the message sent by the second user account can also be received in the chat session interface.
In the embodiment of the present application, the user account (such as the first user account and the second user account introduced above) is an identifier for uniquely identifying the user, and the user account is usually a character string formed by numbers, letters, symbols, or a combination thereof. Different users have different user accounts.
In the embodiment of the application, a user in a first user account is marked as a first user, a user in a second user account is marked as a second user, and the first user and the second user are two different users.
Step 202, at least one candidate quick sending message is displayed in the chat conversation interface.
Optionally, the displaying of the at least one candidate quick-send message in the chat session interface may be directly displaying the candidate quick-send message in the chat session interface, or displaying the candidate quick-send message in another interface on the upper layer of the chat session interface. The embodiment of the application does not limit the display form of the candidate quick sending message in the chat conversation interface. In addition, the candidate quick-send message may be displayed in the bottom area of the screen, may also be displayed in the top area of the screen, or in other locations, which is not limited in this embodiment of the present application.
The candidate quick send message refers to an already composed send message for selection by the user. The user only needs to select from the messages, and the messages to be sent can be triggered to be sent without manually editing the messages.
Illustratively, as shown in fig. 3, taking the first user as Tom and the second user as Lucy as an example, the first client used by Tom displays a chat session interface 30 with Lucy, and in the chat session interface 30, several candidate quick-send messages 31, such as quick-send message 1, quick-send message 2, and quick-send message 3, are displayed.
In addition, in the embodiment of the present application, the type of the shortcut sending message is not limited. For example, the quick message may be a text message, a picture message, a voice message, a video message, a text message, a web message, an applet message, and the like, which is not limited in this embodiment. For example, after receiving a web page message, the receiving party may directly open the corresponding web page. As another example, the recipient may open the corresponding applet directly after receiving the applet message.
Step 203, a selection signal corresponding to a target quick-send message of the at least one candidate quick-send message is received.
The target quick send message may be any one selected from the at least one candidate quick send message. In this embodiment, the manner in which the first user selects the target quick send message is not limited, for example, the first user may click the target quick send message to trigger a selection signal for the target quick send message.
Illustratively, as shown in FIG. 3, assume that Tom clicks on a target quick Send message 32, such as quick Send message 2, triggering a selection signal for the target quick Send message 32.
And step 204, sending a target quick sending message to the second user account.
And the first client sends the target shortcut sending message to a second client corresponding to the second user account. After the target quick sending message is successfully sent, the first client displays the target quick sending message sent by the first user account in a chat session interface between the first user account and the second user account. Correspondingly, the second client also displays the target quick sending message sent by the first user account in the chat session interface between the second user account and the first user account.
Illustratively, as shown in fig. 3, after the target quick send message 32 is successfully sent out, the first client displays a message bubble 33 corresponding to the target quick send message 32 in the chat session interface 30.
Optionally, the first client may set whether to use the function of shortcut message sending. If the function of the quick sending message is in an open state, displaying candidate quick sending messages when the first client side has a message sending requirement, and under the condition, a user can select the quick sending messages to send; if the function of the quick message sending is in a closed state, the first client does not display the candidate quick message sending when the first client has a message sending requirement, and in this case, the user can only manually input the message to be sent.
Exemplarily, as shown in fig. 4, the first client displays a setting interface 40, where the setting interface 40 includes a switch control 41 corresponding to a function of quickly sending a message, and the first user can select to turn on or turn off the function of quickly sending a message through the switch control 41, so as to meet the personalized setting requirement.
It should be noted that the first user account and the second user account may be user accounts in two different application programs, or may be user accounts in the same application program, which is not limited in this embodiment of the present application.
To sum up, in the technical solution provided in the embodiment of the present application, at least one candidate quick sending message is displayed in the chat session interface between the first user account and the second user account through the first client, so that the user can select a target quick sending message from the candidate quick sending message and send the target quick sending message to the second user account. Compared with the situation that the message receiving and sending of the two communication parties completely depend on manual input, the technical scheme provided by the embodiment of the application does not need manual input when the user sends the message, and only needs to select one of the candidate quick sending messages to send the message, so that the message sending process is quicker and more efficient.
In addition, when the first user account and the second user account are user accounts in two different application programs, a cross-application program message quick sending function can be achieved, and cross-application program communication efficiency is fully improved.
In the embodiments of the present application, several possible implementations of displaying candidate quick-send messages are provided, which are described below.
In a first possible implementation, the step 202 may include the following sub-steps:
(1) in the chat session interface, at least one message classification option is displayed, each message classification option corresponding to a message classification.
The message classification options are used for selecting message classifications, and the quick-send message may include one or more message classifications, each of which may include one or more candidate quick-send messages.
The message classification options may be preset, such as by an administrator configuring the quick send message. The number and types of message classifications may vary for different scenarios and services, and may be configured according to actual needs.
For example, for a business scenario of merchandise sales, the message classifications may include a variety of different classifications for merchandise, coupons, orders, and so forth. Accordingly, as shown in fig. 5, the first client may display a plurality of different message classification options in chat session interface 50, including "goods" option 51, "coupons" option 52, "orders" option 53, and so on.
As another example, for a work business scenario, the message classifications may include a number of different classifications for work plans, meetings, materials, payroll, and the like.
(2) A selection signal corresponding to a target message classification option of the at least one message classification option is received, the target message classification option corresponding to a target message classification.
The target message classification option may be any one selected from the at least one message classification option. In this embodiment, the manner in which the first user selects the target message classification option is not limited, for example, the first user may click the target message classification option to trigger a selection signal for the target message classification option.
Illustratively, as shown in FIG. 5, assume that the first user clicks on the "merchandise" option 51, triggering a selection signal that classifies the "merchandise" message.
(3) And displaying the candidate quick sending messages belonging to the target message classification.
After receiving a selection signal corresponding to the target message classification option, the first client may display candidate quick-send messages belonging to the target message classification in the chat session interface.
Illustratively, as shown in fig. 5, the first client displays a short-cut message 55 belonging to a candidate for the "goods" message category after receiving a selection signal corresponding to the "goods" option 51. The user can select a target quick-send message from the candidate quick-send messages 55 to send.
Optionally, the displaying the candidate quick-send messages belonging to the target message classification includes: and displaying at least one message packet contained in the target message classification, wherein each message packet comprises one or more candidate quick-sending messages.
That is, each message classification may further include a plurality of message packets, and the message packets are secondary categories of the message classification, so as to further subdivide candidate quick-sending messages, and facilitate a user to quickly find a quick-sending message to be sent. In addition, for the number and the type of the message packets included in each message classification, the embodiment of the present application does not limit this, and the number and the type may be configured according to an actual service scenario.
Illustratively, as shown in fig. 6, the "goods" message classification is taken as an example, which may include sold 61 and sold 62 message packets, each of which includes several candidate short-haul messages.
In addition, when the message packet includes multiple candidate quick-send messages, the multiple candidate quick-send messages may be arranged in sequence, for example, from top to bottom, and different quick-send messages may be selected by sliding up and down. Furthermore, the plurality of message packets may also be arranged in sequence, for example, from left to right, and different message packets may be selectively switched by sliding left and right.
Optionally, each candidate quick-send message may be presented in the form of a card. The card comprises a sending control, and the first client sends the target quick sending message to the second user account after receiving a trigger signal corresponding to the sending control in the card corresponding to the target quick sending message.
In a second possible implementation manner, the step 202 may include the following sub-steps:
candidate quick-send messages are displayed in a list below an input box of the chat session interface.
The input box of the chat session interface is used for a user to manually input a message. Optionally, the user may click an input box of the chat session interface, and correspondingly, the first client acquires the trigger signal corresponding to the input box. Then, the first client may display at least one candidate quick-send message in a list form below the input box.
Exemplarily, referring to fig. 7 in combination, in the chat session interface 70, an input box 71 is displayed, the user clicks the input box 71, and correspondingly, the first client acquires a trigger signal corresponding to the input box 71; thereafter, below the input box 71, candidate quick-send messages 72 are displayed in a list.
In summary, in the embodiments of the present application, various possible implementation manners for displaying candidate quick-send messages are provided, so that the embodiments of the present application are more flexible and diverse.
In an exemplary embodiment, before displaying the candidate quick-send message in the chat session interface, the first client further needs to acquire the candidate quick-send message. Optionally, the candidate quick-send message is obtained by:
(1) acquiring sending intention information of a first user account;
(2) and acquiring candidate quick sending messages according to the sending intention information.
Wherein the sending intention information is used for indicating the message sending intention of the first user account. The first client may detect whether the first user account has a message sending intention, and when the sending intention information of the first user account is acquired, it indicates that the first user account wants to send a message. And then, the first client can acquire candidate quick sending messages according to the sending intention information, so that the first user account can select the quick sending messages from the candidate quick sending messages to be sent to the second user account.
For the above-mentioned obtaining of the candidate quick send message according to the sending intention information, based on the difference of the content included in the sending intention information, in the embodiment of the present application, several possible implementation manners of obtaining the candidate quick send message are provided, which will be described below.
In a first possible implementation manner, the sending intention information includes: attribute information of the second user account, the attribute information including but not limited to at least one of: gender, age, label, time added to friends, remarks, and personal signature.
The attribute information is used for representing attribute characteristics of the second user account. Wherein, the label is used for indicating the grouping of the second user in the friend list of the first user account, such as the affairs, teachers, classmates, etc.; the time added as the friend is used for reflecting the time of establishing the friend relationship between the first user account and the second user account; the remarks are used for reflecting the special identification of the second user account on the first user account, such as mom, dad, sister and the like; the personalized signature is used for reflecting the information which the second user account wants to express, and can comprise a contact phone number, a contact address, a company and the like.
In this case, the step (2) may include: and acquiring candidate quick sending messages matched with the attribute information.
When the first client acquires the attribute information of the second user account, the candidate quick-sending messages matched with the attribute information can be acquired from the database of the quick-sending messages.
For example, when the attribute information includes a time added as a friend, and the time indicates that the first user account and the second user account establish a friend relationship for the first time, the candidate quick-send messages matching the attribute information may include "hello", "my is Tom", "very happy to know you", and the like. For another example, when the attribute information includes a tag such as a teacher, then the candidate quick-send messages matching the attribute information may include "you are painstakingly", "my job is completed", "three rows, must have me", and so on. Also for example, when the attribute information includes a note, such as mom, then the candidate quick-send messages that match the attribute information may include "mother happy", "i am home nine times", "carnation", and so on.
In a second possible implementation manner, the sending intention information includes: historical conversation messages are sent and received between the first user account and the second user account.
In this case, the above step (2) may include the following two substeps:
(21) key information is extracted from the historical conversation messages.
The key information is used for reflecting important contents in the historical conversation messages of the first user account and the second user account.
Optionally, according to different types of messages included in the historical conversation message, the extracting of the key information from the historical conversation message may include the following four different cases:
the first method comprises the following steps: if the historical conversation messages comprise text messages, extracting key information from the text messages through text recognition. Through text recognition, the first client may extract the core word of the message from the text message and use the core word as key information.
And the second method comprises the following steps: if the historical conversation message comprises a voice message, extracting key information from the voice message through voice recognition. Through voice recognition, the first client can acquire a voice text corresponding to the voice message, and extract core words from the voice text as key information.
And the third is that: if the historical conversation message comprises a picture message, extracting key information from the picture message through image recognition. Through image recognition, the first terminal can acquire semantic feature content corresponding to the picture message and extract key semantic feature content from the semantic feature content as key information.
And fourthly: and if the historical conversation message comprises a video message, extracting key information from the video message through video identification. Through video identification, the first terminal can acquire contents, such as lines, characters, audio and the like, contained in the video message, and further analyze, identify and extract key information, such as extracting key lines, key characters or key audio as key information.
(22) And acquiring candidate quick sending messages matched with the key information.
After the first client acquires the key information, the candidate fast sending messages matched with the key information can be acquired from the database of the fast and fast sending messages, and the candidate fast sending messages are displayed in the chat session interface. The database of the quick sending messages can store a plurality of quick sending messages and key information corresponding to each quick sending message, and if the key information input by the user is related to the key information corresponding to a certain quick sending message, such as containing, same or similar, the quick sending message is matched with the key information. For example, when the key information is "somebody in week", the first client may acquire "rice aroma", "qilixiang", "heaping mom's speech", and the like as a candidate quick transmission message matching the key information.
In a third possible implementation manner, the sending intention information includes: the first user account is a keyword entered in an input box of the chat session interface.
The keyword refers to a core word in a message prepared by a user. The user may enter keywords in an input box of the chat session interface to obtain candidate quick-send messages.
In this case, the step (2) may include: and acquiring candidate quick sending messages matched with the keywords.
A user can input a keyword in an input box of a chat session interface, and correspondingly, a first client acquires the keyword input in the input box; then, the first client may obtain a candidate quick-send message matched with the keyword from a database of quick-send messages, and display the candidate quick-send message in a chat session interface. The database of the quick sending messages can store a plurality of quick sending messages and the keywords corresponding to each quick sending message, and if the keywords input by the user are included in the keywords corresponding to a certain quick sending message, the quick sending message is matched with the keywords input by the user. For example, when the user inputs a keyword "movie", the first client may acquire "i want to watch a movie", "i want to go to a movie", "a list of newly shown movies", and the like, as a short-cut transmission message that is a candidate matching the keyword "movie". Also for example, when the keyword input by the user is "sansku high", the first client may acquire "sansku self-propagation", "appreciation of a work of sansku high", "starry sky" of sansku high ", and the like as a short-cut transmission message that is a candidate matching the keyword" sansku high ".
In summary, in the embodiment of the application, the candidate quick sending messages are acquired and displayed based on the sending intention information of the sending user, so that the quick sending messages provided for the sending user can better meet the intention and the requirement of the sending user, and the accuracy and the effectiveness of the recommended quick sending messages are improved. In addition, the embodiment of the application provides multiple possible implementation modes for obtaining the candidate quick sending message, and the method has more flexibility and diversity.
In an exemplary embodiment, the candidate quick-send messages are configured by an administrator of the target group. The target collective refers to a non-personal organization form group, and the target collective is a group containing at least two users, which can be a business, a family, a school, a class and the like. Each user in the target collective corresponds to a user account.
In one example, the first user account belongs to a target collective group, the second user account does not belong to the target collective group, and the candidate quick-sending messages displayed by the first client are common messages when the target collective group configures personnel inside the collective group and sends messages to personnel outside the collective group.
The first user account number belongs to the target collective, indicating that the user of the first user account number (i.e., the first user) belongs to the target collective, i.e., the first user belongs to a collective employee of the target collective. The second user account does not belong to the target group, which means that the user of the second user account (i.e., the second user) does not belong to the target group, i.e., the second user belongs to a person outside the target group.
For example, when a first user uses a first user account logged in an "enterprise X letter" client to send a message to a second user account logged in an "X letter" client by a second user outside the group, the first user may use a shortcut sending message configured for internal personnel of the group collectively by a target to which the first user belongs to send the message to the second user. For example, when a first user uses a first user account logged in an "X-letter" client to send a message to a second user account logged in an "enterprise X-letter" client by a second user outside the group, the second user may also send a message to the second user by using a shortcut configured for the personnel inside the group by the target group to which the first user belongs.
By the aid of the method, the purpose that the target collectively configures the rapid message sending for the collective interior personnel when the message is sent to the collective exterior personnel is achieved, and the message sending efficiency when the collective interior personnel and the collective exterior personnel communicate is improved.
In another example, the second user account belongs to a target collective group, the first user account does not belong to the target collective group, and the candidate quick-sending messages displayed by the first client are common messages when the target collective group configures personnel outside the collective group and sends messages to personnel inside the collective group.
The second user account number belongs to the target group, which means that the user of the second user account number (i.e. the second user) belongs to the target group, i.e. the second user belongs to the group insider of the target group. The first user account is not in the target collection, indicating that the user of the first user account (i.e., the first user) is not in the target collection, i.e., the first user is outside of the collection.
For example, when a first user uses a first user account logged in an "X-mail" client to send a message to a second user account logged in an "enterprise X-mail" client by a second user in a target group, the second user may use a shortcut sending message configured for personnel outside the group by the target group to which the second user belongs to send the message to the second user. For example, when the first user uses the first user account registered in the "enterprise X trust" client to send a message to the second user account registered in the "X trust" client by the second user in the target group, the second user may also use the target group to which the second user belongs to configure a quick send message for the outside staff of the group to send the message to the second user.
By the aid of the method, the target group configures the group outsiders with the quick message sending method for sending messages to the group insiders, and message sending efficiency is improved when the group outsiders communicate with the group insiders.
In an exemplary embodiment, after receiving the message sent by the second user account, the first client may further perform the following steps:
(1) and displaying at least one candidate quick reply message.
In the embodiment of the present application, the display interface of the candidate quick reply message is not limited. For example, the candidate quick reply message may be displayed in the chat session interface, or may be displayed in another interface above the chat session interface. In addition, the candidate quick reply message may be displayed in the bottom area of the screen, may also be displayed in the top area of the screen, or in other positions, which is not limited in this embodiment of the present application.
The candidate quick reply message refers to an edited reply message for the user to select. The user only needs to select from the messages, and the messages to be replied can be triggered to be sent without manually editing. In addition, in the embodiment of the present application, the type of the quick reply message is also not limited. For example, the quick reply message may be a text message, a picture message, a voice message, a video message, a teletext message, a web message, an applet message, and so forth.
In addition, there may be a plurality of display modes of the candidate quick reply message. For example, the first client displays at least one message classification option, each message classification option corresponding to a message classification; receiving a selection signal corresponding to a target message classification option of the at least one message classification option, the target message classification option corresponding to a target message classification; and displaying at least one candidate quick reply message belonging to the target message classification. For another example, the first client acquires a keyword related to a message sent by the second user account; and displaying at least one candidate quick reply message corresponding to the keyword.
(2) A selection signal corresponding to a target one of the at least one candidate shortcut reply message is received.
The target quick reply message may be any one selected from the at least one candidate quick reply message. In this embodiment, the manner in which the first user selects the target quick reply message is not limited, for example, the first user may click the target quick reply message to trigger a selection signal for the target quick reply message.
(3) And sending a target quick reply message to the second user account.
And the first client sends the target quick reply message to a second client corresponding to the second user account. After the target quick reply message is successfully sent, the first client displays the target quick reply message sent by the first user account in a chat session interface between the first user account and the second user account. Correspondingly, the second client also displays the target quick reply message sent by the first user account in the chat session interface between the second user account and the first user account.
Optionally, the first client may set whether to use the function of the shortcut reply message. If the function of the quick reply message is in an open state, displaying a candidate quick reply message when the first client side has a message reply requirement, and under the condition, a user can select the quick reply message to send; if the function of the quick reply message is in a closed state, the first client does not display the candidate quick reply message when the first client has a message reply requirement, and in this case, the user can only manually input the message to be replied. Optionally, the functions of the quick send message and the quick reply message may be synchronously turned on or turned off, or may be independently turned on or turned off, which is not limited in the embodiment of the present application.
In summary, in the embodiment of the present application, after receiving a message sent by a second user account, a first client displays at least one candidate quick reply message, so that a user can select a target quick reply message from the candidate quick reply message and reply the target quick reply message to the second user account, thereby making a message reply process faster and more efficient.
In addition, when the first user account and the second user account are user accounts in two different application programs, a function of quickly replying messages of the cross-application program can be realized, and the communication efficiency of the cross-application program is fully improved.
In the above embodiment, it is described that the shortcut sending message can be used for efficient sending in the message sending process of the cross-application program, and the following description will be made on the configuration process of the shortcut sending message.
Referring to fig. 8, a flowchart of a message template configuration method according to an embodiment of the present application is shown. In this embodiment, the execution subject of each step may be a configuration terminal 40 in the implementation environment shown in fig. 1, such as a configuration client in the configuration terminal 40. The method may include the steps of:
step 801, displaying a message template configuration interface.
The configuration terminal is a terminal used by an administrator of the target group. When the administrator needs to customize the quick message template, the configuration client is operated and can display a message template configuration interface. The message template configuration interface is a user interface for an administrator to customize a quick send message template. The administrator can customize different shortcut sending message templates according to actual requirements.
Optionally, the message template configuration interface is further used for allowing an administrator to customize a quick reply message template. The administrator can customize different quick reply message templates according to actual requirements.
And step 802, generating a shortcut sending message template according to the content materials added in the message template configuration interface.
The content material refers to information required by an administrator when customizing the quick sending message template. Alternatively, the content material may be material in the form of text, pictures, speech, video, text, web links, applet links, etc.
Step 803, configuring the usage right of the quick message sending template for the first user account or the second user account, so that when the client corresponding to the first user account displays the chat session interface with the second user account, the quick message sending generated based on the quick message sending template is displayed.
The first user account and the second user account may be user accounts in two different applications, or may be user accounts in the same application.
After the quick message sending template is generated, the usage right of the quick message sending template can be configured to the first user account or the second user account, so that when a user (namely, a first user) in the first user account sends a message to the second user account, the user can use the quick message sending generated based on the quick message sending template. The use process of the quick send message has been described in the above embodiment, and this embodiment will not be described again.
In a possible implementation manner, after the configuration client generates the shortcut sending message template, the configuration client may further generate a shortcut sending message based on the shortcut sending message template. In this case, the usage right of the quick transmission message template is configured to the first user account or the second user account, that is, the usage right of the quick transmission message generated based on the quick transmission message template is configured to the first user account or the second user account.
In another possible implementation, after generating the shortcut message template, the configuration client may send the shortcut message template to the configuration server, and the configuration server may generate a shortcut message based on the shortcut message template. And then, the configuration server sends the quick sending message generated based on the quick sending message template to a target user account according to the target user account (such as a first user account or a second user account) which is configured by the configuration client and has the use permission of the quick sending message template.
In yet another possible implementation manner, after the configuration client generates the quick send message template, the configuration client may send the quick send message template to the configuration server, and the configuration server sends the quick send message template to a target user account according to a target user account (such as the first user account or the second user account) configured by the configuration client and having a usage right of the quick send message template. The client corresponding to the target user account can generate the quick sending message based on the quick sending message template.
In addition, in this embodiment, a description is mainly given of a configuration process of the quick reply message template, which is similar to the description above, and this embodiment is not described again.
To sum up, in the technical solution provided in the embodiment of the present application, a quick message sending template is generated by adding content material to a message template configuration interface, and the permission of the quick message sending template is configured to a first user account or a second user account, so that when a client corresponding to the first user account displays a chat session interface with the second user account, a quick message sent based on the quick message sending template is displayed. By the method, when the first user account sends the message to the second user account, the message can be quickly sent without manual input, and the message sending efficiency is improved.
In addition, if a quick reply message template is configured, the first user account can use the quick reply message after receiving the message sent by the second user account, manual input is not needed, and the message reply efficiency is improved.
Referring to fig. 9, a flowchart of a message template configuration method according to another embodiment of the present application is shown. In this embodiment, the execution subject of each step may be a configuration terminal 40 in the implementation environment shown in fig. 1, such as a configuration client in the configuration terminal 40. The method may include the steps of:
step 901, displaying a message template configuration interface.
Illustratively, referring in conjunction with fig. 10, the configuration client displays a message template configuration interface, which may include a first configuration interface 80 and a second configuration interface 90. A template name input field 81, a keyword input field 82, a template content addition control 83, a sending method 84, a save control 85, a cancel control 86, and the like may be included in the first configuration interface 80. The template name input field 81 is used for the administrator to input the name of the shortcut sending message template; the keyword input field 82 is used for the administrator to input keywords corresponding to the quick message sending template; the template content adding control 83 is used for an administrator to add content materials of the quick message sending template; the transmission mode 84 may include "transmit all" and "randomly transmit one"; the saving control 85 is used for saving the currently configured shortcut sending message template; cancel control 86 is used to cancel the current configuration.
Step 902, a selection signal corresponding to a target template type in a message template configuration interface is obtained.
The message template configuration interface comprises at least one candidate template type. The template types may include text, pictures, voice, video, graphics, web pages, applets, and the like, which are not limited in this embodiment.
Illustratively, referring to fig. 10 in combination, after acquiring the trigger signal corresponding to the template content addition control 83, the configuration client jumps to display the second configuration interface 90. In the second configuration interface 90, at least one candidate template type, such as text 91, picture 92, voice 93, video 94, web page 95, applet 96, etc., may be displayed.
The administrator can select any template type in at least one candidate template type as a target template type; correspondingly, the configuration client may retrieve a selection signal corresponding to a target template type in the message template configuration interface.
And step 903, displaying a material adding interface corresponding to the target template type.
The material adding interface is used for providing the administrator with content materials. The corresponding material addition interfaces are different corresponding to different template types. In addition, the material addition interface may be a sub-interface in the message template configuration interface, or may be another interface independent of the message template configuration interface.
Illustratively, referring to fig. 10 in combination, the administrator selects the image 91 as a target template type, and material adding controls, such as a "select from material library" control 97, a "create image-text" control 98, a "transfer article" control 99, and the like, may be included in the material adding interface 100 corresponding to the target template type. Wherein, selecting the control 97 from the "material library" means selecting a content material from a pre-stored image-text material library and adding the content material to the material adding interface; the 'self-built image-text' control 98 means that an administrator edits images and texts as a content material by himself and adds the content material to the material adding interface; the "transfer article" control 99 refers to adding an article transferred from another place to the material addition interface as a content material.
And step 904, acquiring the content material added in the material adding interface.
The configuration client can obtain the content material added in the material adding interface.
And step 905, generating a shortcut sending message template according to the type of the target template and the content material.
After the content material is obtained, the configuration client can generate a shortcut sending message template according to the type of the target template and the content material.
Optionally, after generating the shortcut sending message template, the configuration client may further perform the following steps 906 and 907:
step 906, send the shortcut sending message template to the server.
After the configuration client generates the shortcut sending message template, the configuration client may send the shortcut sending message template to the configuration server, and the configuration server may store the shortcut sending message template sent by the configuration client.
Step 907, receiving the template synchronization data sent by the server.
The template synchronization data includes shortcut sending message templates edited by a plurality of different administrators. Since the administrators of the target group may include multiple administrators, each administrator may edit the quick-send message template on the configuration client used by each administrator. The server can receive the quick message sending templates edited by a plurality of different administrators and store the templates in a unified way. And then, the server can send the stored shortcut sending message templates edited by a plurality of different administrators to the configuration client used by each administrator. Correspondingly, the configuration client may receive the template synchronization data sent by the server. The configuration client can acquire the quick message sending templates edited by other different administrators by receiving the synchronous data sent by the server, so that the quick message sending templates of each configuration client are enriched, and more types of quick message sending templates can be further configured for the first user account or the second user account.
Optionally, after generating the quick-send message template, the configuration client may also perform steps 908 and 910 described below.
Step 908, displaying the organization structure list of the target collective.
The configuration client may display an organization structure list of the target group, where the organization structure list includes at least one user account belonging to the target group. Optionally, the organization architecture may include at least one hierarchy, each hierarchy including at least one group, and each group may include at least one user account.
Illustratively, referring to fig. 11 in combination, an organization structure list 110 of the target group is displayed in the configuration client, and the organization structure list 110 includes at least one user account 111 belonging to the target group.
At step 909, a selection signal corresponding to a target user account in the organizational structure list is obtained.
Wherein, the target user account includes a first user account or a second user account.
The administrator can select one or more user accounts from the organization structure list of the target collective as target user accounts; correspondingly, the configuration client may obtain a selection signal corresponding to the target user account.
Step 910, configuring the usage right of the shortcut sending message template for the target user account.
The administrator can configure different shortcut sending message templates to different user accounts, and each user account can have the use permission of one or more shortcut sending message templates.
Alternatively, the administrative authority of the short-cut message template may be different for different levels of administrators. For example, some administrators have only the template configuration authority but not the assignment authority of the template use authority, and some administrators have both the template configuration authority and the assignment authority of the template use authority. For another example, some administrators only have the authority to assign the template usage authority to some of the user accounts in the target group, and some administrators only have the authority to assign the template usage authority to all of the user accounts in the target group. The configuration client can acquire the management authority corresponding to the administrator account logged in the configuration client, and according to the management authority, whether the administrator account is allowed to configure the use authority of the quick message sending template for the target user account is determined.
Illustratively, referring collectively to FIG. 12, at least one administrator account is included in administrator list 120. For administrator account "Nick" 121, which belongs to a hierarchical administrator, for a small group in the target collective, e.g., two groups, there is administrative authority, and only the ability to assign template usage rights to the user accounts in the two groups, but not the ability to assign template usage rights to the user accounts in other groups.
In addition, in this embodiment, a description is mainly given of a configuration process of the quick reply message template, which is similar to the description above, and this embodiment is not described again.
To sum up, according to the technical scheme provided by the embodiment of the application, a quick message sending template is generated by adding content materials in a message template configuration interface, and the usage right of the quick message sending template is configured to a first user account or a second user account, so that when a client corresponding to the first user account displays a chat session interface between the client and the second user account, a quick message sent based on the quick message sending template is displayed. By the method, when the first user account sends the message to the second user account, the message can be quickly sent without manual input, and the message sending efficiency is improved.
In the following, reference is made to fig. 13 in combination, which schematically illustrates a complete flow of the message sending method provided in the embodiment of the present application.
Step 1301, configuring a client to display a message template configuration interface;
when the administrator of the target group needs to customize the quick sending message template and/or the quick reply message template, the configuration client in the configuration terminal is operated, and the configuration client can display a message template configuration interface.
Step 1302, the configuration client obtains a selection signal corresponding to a target template type in the message template configuration interface
And step 1303, configuring a material adding interface corresponding to the client display target template type.
In step 1304, the configuration client obtains the content material added in the material adding interface.
And step 1305, generating a quick sending message template and/or a quick reply message template by the configuration client according to the type of the target template and the content material.
In step 1306, the configuration client sends a shortcut sending message template and/or a shortcut reply message template to the configuration server.
Step 1307, the configuration server stores a plurality of shortcut sending message templates and/or shortcut reply message templates sent by different configuration clients.
In step 1308, the configuration server sends template synchronization data to the configuration client, where the template synchronization data includes a quick send message template and/or a quick reply message template edited by a plurality of different administrators.
Step 1309, the configuration client displays the list of organizational structures of the target collection.
In step 1310, the configuration client obtains a selection signal corresponding to a target user account in the organization structure list.
Step 1311, configuring the client to configure the usage right of the quick message sending template and/or the quick message reply template for the target user account.
Step 1312, the configuration client sends configuration information to the configuration server.
The configuration information comprises the use permission data of the quick sending message template and/or the quick reply message template configured for the target user account.
Step 1313, the configuration server sends the configuration information to the messaging server.
The messaging server stores the configuration information, step 1314.
Step 1315, the messaging server synchronizes the configuration information to the first client or the second client.
Step 1316, the first client displays a chat session interface with the second user account, the first client corresponding to the first user account, and the second client corresponding to the second user account.
Step 1317, the first client displays at least one candidate quick-send message in the chat session interface.
In step 1318, the first client receives a selection signal corresponding to a target one of the at least one candidate fastsend message.
Step 1319, the first client sends a target quick send message to the second user account.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 14, a block diagram of a message sending apparatus according to an embodiment of the present application is shown. The device has a function of implementing the message sending method example of the first terminal side, and the function can be implemented by hardware or by hardware executing corresponding software. The device may be the first terminal, and may also be disposed on the first terminal. The apparatus 1400 may include: a session interface display module 1410, a sent message display module 1420, a sent message selection module 1430, and a sent message transmission module 1440.
A session interface display module 1410, configured to display a chat session interface between the first user account and the second user account.
The sending message display module 1420 is further configured to display at least one candidate quick sending message in the chat session interface;
the message-to-send selection module 1430 is configured to receive a selection signal corresponding to a target quick-to-send message in the at least one candidate quick-to-send message.
The sending message sending module 1440 is configured to send the target quick send message to the second user account.
To sum up, in the technical solution provided in the embodiment of the present application, at least one candidate quick sending message is displayed in the chat session interface between the first user account and the second user account through the first client, so that the user can select a target quick sending message from the candidate quick sending message and send the target quick sending message to the second user account. Compared with the situation that the message receiving and sending of the two communication parties completely depend on manual input, the technical scheme provided by the embodiment of the application does not need manual input when the user sends the message, and only needs to select one of the candidate quick sending messages to send the message, so that the message sending process is quicker and more efficient.
In some possible designs, as shown in fig. 15, the sent message display module 1420 includes: a message classification display unit 1421, a message classification selection unit 1422, and a transmission message display unit 1423.
A message classification display unit 1421, configured to display at least one message classification option in the chat session interface, where each message classification option corresponds to a message classification.
A message classification selecting unit 1422, configured to receive a selection signal corresponding to a target message classification option in the at least one message classification option, where the target message classification option corresponds to a target message classification.
A sending message display unit 1423, further configured to display the candidate quick sending messages belonging to the target message classification.
In some possible designs, the sent message display unit 1423 is configured to display at least one message packet included in the target message classification, where each message packet includes one or more candidate quick-send messages.
In some possible designs, the sent message display module 1420 is configured to display the candidate quick-sent messages in a list below an input box of the chat session interface.
In some possible designs, the apparatus 1400 further comprises: an intention information acquisition module 1450, and a transmitted message acquisition module 1460.
The intention information obtaining module 1450 is configured to obtain sending intention information of the first user account, where the sending intention information is used to indicate a message sending intention of the first user account.
A sending message obtaining module 1460, configured to obtain the candidate quick sending message according to the sending intention information.
In some possible designs, the sending intent information includes: attribute information of the second user account, the attribute information including at least one of: gender, age, label, time added as friend, remark, individual signature;
the sending message acquiring module 1460 is configured to acquire the candidate quick sending messages matched with the attribute information.
In some possible designs, the sending intent information includes: historical conversation messages transmitted and received between the first user account and the second user account;
the sending message acquiring module 1460 includes: a key information extraction unit 1461 and a transmission message acquisition unit 1462.
A key information extracting unit 1461, configured to extract key information from the historical conversation message.
A sending message obtaining unit 1462, configured to obtain the candidate quick sending messages that match the key information.
In some possible designs, the key information extracting unit 1461 is configured to, when the historical conversation message includes a text message, extract key information from the text message by text recognition; when the historical conversation message comprises a voice message, extracting key information from the voice message through voice recognition; when the historical conversation message comprises a picture message, extracting key information from the picture message through image recognition; when the historical conversation message comprises a video message, extracting key information from the video message through video identification.
In some possible designs, the sending intent information includes: the first user account inputs keywords in an input box of the chat session interface;
the sent message acquiring module 1460 is configured to acquire the candidate quick sent messages matched with the keywords.
In some possible designs, the first user account and the second user account are user accounts in two different applications.
In some possible designs, the first user account number belongs to a target collective, the second user account number does not belong to the target collective, and the candidate quick-sending message is a common message when the target collective configures for an internal person of the collective and sends a message to an external person of the collective; or the second user account belongs to a target collective group, the first user account does not belong to the target collective group, and the candidate quick sending messages are common messages when the target collective group is configured for personnel outside the collective group and sends messages to personnel inside the collective group.
In some possible designs, as shown in fig. 15, the apparatus 1400 further comprises: a reply message display module 1470, a reply message selection unit 1480, and a reply message sending module 1490.
And a reply message display module 1470 configured to display at least one candidate quick reply message after receiving the message sent by the second user account.
The reply message selection module 1480 is further configured to receive a selection signal corresponding to a target one of the at least one candidate shortcut reply message.
The reply message sending module 1490 is further configured to send the target quick reply message to the second user account.
Referring to fig. 16, a block diagram of a message template configuration apparatus according to an embodiment of the present application is shown. The device has the function of realizing the message template configuration method example of the configuration terminal side, and the function can be realized by hardware or by hardware executing corresponding software. The device can be a configuration terminal and can also be arranged on the configuration terminal. The apparatus 1600 may include: a configuration interface display module 1610, a message template generation module 1620, and a usage rights configuration module 1630.
A configuration interface display module 1610 configured to display a message template configuration interface.
And the message template generating module 1620 is configured to generate a shortcut message sending template according to the content material added in the message template configuration interface.
A permission configuring module 1630, configured to configure a permission of the quick message sending template for a first user account or a second user account, so that when a client corresponding to the first user account displays a chat session interface with the second user account, a quick message sent based on the quick message sending template is displayed.
To sum up, in the technical solution provided in this embodiment of the present application, a quick message sending template is generated by adding a content material to a message template configuration interface, and the usage right of the quick message sending template is configured to a first user account or a second user account, so that when a client corresponding to the first user account displays a chat session interface with the second user account, a quick message sent based on the quick message sending template is displayed. By the method, when the first user account sends the message to the second user account, the message can be quickly sent without manual input, and the message sending efficiency is improved.
In some possible designs, the message template generating module 1620 is configured to obtain a selection signal corresponding to a target template type in the message template configuration interface, where the message template configuration interface includes at least one candidate template type; displaying a material adding interface corresponding to the target template type; acquiring the content material added in the material adding interface; and generating the shortcut sending message template according to the type of the target template and the content material.
In some possible designs, the usage rights configuration module 1630 is configured to display an organizational structure list of a target group, where the organizational structure list includes at least one user account belonging to the target group; acquiring a selection signal corresponding to a target user account in the organization structure list, wherein the target user account comprises the first user account or the second user account; and configuring the use permission of the quick message sending template for the target user account.
In some possible designs, as shown in fig. 17, the apparatus 1600 further comprises: a message template sending module 1640 and a synchronized data receiving module 1650.
And the message template sending module 1640 is used for sending the quick message sending template to the server.
A synchronous data receiving module 1650, configured to receive template synchronous data sent by the server, where the template synchronous data includes a shortcut sending message template edited by multiple different administrators.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 18, a block diagram of a terminal 1800 according to an embodiment of the present application is shown. Generally, the terminal 1800 includes: a processor 1801 and a memory 1802.
The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content required to be displayed on the display screen. In some embodiments, the processor 1801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1802 may include one or more computer-readable storage media, which may be non-transitory. Memory 1802 can also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1802 is configured to store at least one instruction, at least one program, a set of codes, or a set of instructions for execution by the processor 1801 to implement the above-described first client-side message sending method or to implement the above-described message template configuration method for configuring the terminal side.
In some embodiments, the terminal 1800 may further optionally include: a peripheral interface 1803 and at least one peripheral. The processor 1801, memory 1802, and peripheral interface 1803 may be connected by a bus or signal line. Various peripheral devices may be connected to the peripheral interface 1803 via a bus, signal line, or circuit board. Specifically, the peripheral device may include: at least one of a communication interface 1804, a display 1805, audio circuitry 1806, a camera assembly 1807, and a power supply 1808.
Those skilled in the art will appreciate that the configuration shown in fig. 18 is not limiting of terminal 1800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In an exemplary embodiment, a computer readable storage medium is also provided, having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the above-mentioned message sending method.
In an exemplary embodiment, a computer readable storage medium is also provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which is loaded and executed by a processor to implement the above message template configuration method.
Alternatively, the computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided for implementing the above-mentioned message sending method when the computer program product is executed by a processor of a server.
In an exemplary embodiment, there is also provided a computer program product for implementing the above message template configuration method when executed by a processor of a terminal.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A message sending method is applied to a first client, the first client logs in a first user account, and the method comprises the following steps:
displaying a chat session interface between the first client and a second user account, wherein the second client logs in the second user account, the first client and the second client are clients of two different application programs, and the first user account and the second user account are user accounts in the two different application programs; wherein the first user account belongs to a target collective group and the second user account does not belong to the target collective group;
acquiring sending intention information of the first user account, wherein the sending intention information is used for indicating a message sending intention of the first user account;
acquiring at least one candidate quick sending message according to the sending intention information; the candidate quick sending messages are common messages when the targets are configured for the personnel inside the collective and send messages to the personnel outside the collective;
displaying the at least one candidate quick sending message in the chat session interface;
receiving a selection signal corresponding to a target shortcut transmission message among the at least one candidate shortcut transmission message;
and sending the target shortcut sending message to the second user account.
2. The method of claim 1, wherein displaying the at least one candidate quick-send message in the chat session interface comprises:
displaying at least one message classification option in the chat session interface, each message classification option corresponding to a message classification;
receiving a selection signal corresponding to a target message classification option of the at least one message classification option, the target message classification option corresponding to a target message classification;
displaying the candidate quick-send messages belonging to the target message classification.
3. The method of claim 2, wherein displaying the candidate quick-send messages belonging to the target message category comprises:
and displaying at least one message packet contained in the target message classification, wherein each message packet comprises one or more candidate quick-sending messages.
4. The method of claim 1, wherein displaying the at least one candidate quick-send message in the chat session interface comprises:
and displaying the candidate quick sending messages in a list form below an input box of the chat session interface.
5. The method of claim 1, wherein the sending intent information comprises: attribute information of the second user account, the attribute information including at least one of: gender, age, label, time added as friend, remark, individual signature;
the obtaining at least one candidate shortcut sending message according to the sending intention information includes:
and acquiring the candidate quick sending messages matched with the attribute information.
6. The method of claim 1, wherein the sending intent information comprises: historical conversation messages transmitted and received between the first user account and the second user account;
the obtaining at least one candidate shortcut sending message according to the sending intention information includes:
extracting key information from the historical conversation messages;
and acquiring the candidate quick sending messages matched with the key information.
7. The method of claim 6, wherein extracting key information from the historical conversation messages comprises:
if the historical conversation message comprises a text message, extracting the key information from the text message through text recognition;
if the historical conversation message comprises a voice message, extracting the key information from the voice message through voice recognition;
if the historical conversation message comprises a picture message, extracting the key information from the picture message through image identification;
and if the historical conversation message comprises a video message, extracting the key information from the video message through video identification.
8. The method of claim 1, wherein the sending intent information comprises: the first user account inputs keywords in an input box of the chat session interface;
the obtaining at least one candidate shortcut sending message according to the sending intention information includes:
and acquiring the candidate quick sending messages matched with the keywords.
9. The method according to any one of claims 1 to 8, further comprising:
after receiving the message sent by the second user account, displaying at least one candidate quick reply message;
receiving a selection signal corresponding to a target shortcut reply message in the at least one candidate shortcut reply message;
and sending the target quick reply message to the second user account.
10. A message transmission apparatus, characterized in that the apparatus comprises:
the system comprises a conversation interface display module, a first application program module, a second application program module, a conversation interface display module and a chat interface display module, wherein the conversation interface display module is used for displaying a chat conversation interface between a first user account and a second user account, a first client logs in the first user account, a second client logs in the second user account, the first client and the second client are clients of two different application programs, and the first user account and the second user account are user accounts of the two different application programs; wherein the first user account belongs to a target collective group and the second user account does not belong to the target collective group;
the intention information acquisition module is used for acquiring sending intention information of the first user account, and the sending intention information is used for indicating the message sending intention of the first user account;
a sending message acquisition module, configured to acquire at least one candidate quick sending message according to the sending intention information; the candidate quick sending messages are common messages when the target collective is configured for the collective internal personnel and sends messages to the collective external personnel;
a sending message display module, configured to display the at least one candidate quick sending message in the chat session interface;
a message-to-be-sent selection module, configured to receive a selection signal corresponding to a target shortcut message in the at least one candidate shortcut message;
and the sending message sending module is used for sending the target shortcut sending message to the second user account.
11. A terminal, characterized in that it comprises a processor and a memory in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to implement the method according to any one of claims 1 to 9.
12. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method according to any one of claims 1 to 9.
13. A computer program product, characterized in that the computer program product, when executed by a processor, is adapted to carry out the method of any of claims 1 to 9.
CN201910544087.1A 2019-06-21 2019-06-21 Message sending method, device, terminal and storage medium Active CN112118168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910544087.1A CN112118168B (en) 2019-06-21 2019-06-21 Message sending method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910544087.1A CN112118168B (en) 2019-06-21 2019-06-21 Message sending method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112118168A CN112118168A (en) 2020-12-22
CN112118168B true CN112118168B (en) 2022-07-22

Family

ID=73796432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910544087.1A Active CN112118168B (en) 2019-06-21 2019-06-21 Message sending method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112118168B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113569541A (en) * 2021-05-17 2021-10-29 深圳市航通北斗信息技术有限公司 Message generation method, device, equipment and medium
CN113794623A (en) * 2021-08-31 2021-12-14 北京明略软件系统有限公司 Method and device for generating response message, electronic equipment and storage medium
CN113918256B (en) * 2021-09-30 2024-09-17 联想(北京)有限公司 Control method and device and electronic equipment
CN115686337A (en) * 2022-06-06 2023-02-03 北京百度网讯科技有限公司 Information processing method, information processing device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764762A (en) * 2008-10-24 2010-06-30 北京亿企通信息技术有限公司 Method for providing quickly inputted commonly used phrases in on-line customer service
CN105607756A (en) * 2015-12-24 2016-05-25 百度在线网络技术(北京)有限公司 Information recommendation method and device
CN105740244A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Method and equipment for providing rapid conversation information
CN108600553A (en) * 2018-05-09 2018-09-28 北京邦邦共赢网络科技有限公司 A kind of quick method and mobile terminal for sending message
CN108632135A (en) * 2017-03-21 2018-10-09 阿里巴巴集团控股有限公司 The means of communication and device
CN109873745A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Communication control method, device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8583148B2 (en) * 2010-06-07 2013-11-12 Nokia Corporation Method and apparatus for suggesting a message segment based on a contextual characteristic in order to draft a message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764762A (en) * 2008-10-24 2010-06-30 北京亿企通信息技术有限公司 Method for providing quickly inputted commonly used phrases in on-line customer service
CN105740244A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Method and equipment for providing rapid conversation information
CN105607756A (en) * 2015-12-24 2016-05-25 百度在线网络技术(北京)有限公司 Information recommendation method and device
CN108632135A (en) * 2017-03-21 2018-10-09 阿里巴巴集团控股有限公司 The means of communication and device
CN109873745A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Communication control method, device and storage medium
CN108600553A (en) * 2018-05-09 2018-09-28 北京邦邦共赢网络科技有限公司 A kind of quick method and mobile terminal for sending message

Also Published As

Publication number Publication date
CN112118168A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN112118169B (en) Message reply method, device, terminal and storage medium
CN112118168B (en) Message sending method, device, terminal and storage medium
JP7344386B2 (en) Reminder methods, apparatus, devices and computer programs in group sessions
US10218657B2 (en) Method and system for providing private chat within a group chat
US8463303B2 (en) Mobile communication terminal and method of the same for outputting short message
CN108370323A (en) The meeting carried out via network
CN111966779B (en) Knowledge base management method and system for robot, electronic equipment and storage medium
US11695715B2 (en) Methods, systems and computer readable mediums for providing a rich menu for instant messaging services
US9881322B2 (en) Data transfer between mobile computing devices using short-range communication systems
CN107590524A (en) The preparation method and device of a kind of electronic business card
CN112838976B (en) Message processing method and device
CN113110900B (en) Interface display method, device and storage medium
CN112242948B (en) Group session processing method and device, computer equipment and storage medium
US20240080294A1 (en) Message transmission method, message receiving method, apparatus, device, and medium
US11740787B2 (en) Methods and systems for positioning animated images within a dynamic keyboard interface
WO2020187085A1 (en) Message input and display method and apparatus, electronic device and readable storage medium
KR102338959B1 (en) Personalized Messaging Service System and Personalized Messaging Service Method
US20220366130A1 (en) Creating rich communication services (rcs) message templates with graphical build and concurrent representative display
US20210385177A1 (en) Information processing apparatus and non-transitory computer readable medium
CN108710682A (en) Object recommendation method, apparatus and equipment
WO2023083172A1 (en) Expression processing method and apparatus, and electronic device, storage medium, and product
KR102339429B1 (en) Personalized Messaging Service System and Personalized Messaging Service Method
CN107920012B (en) Instant communication message storage method and device
CN109690583A (en) The common recognition between message participant is determined based on message content
US11012382B2 (en) State display information transmission system using chatbot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40035456

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant