[go: up one dir, main page]

CN109660450B - Automatic message reply method, device, terminal, server and storage medium - Google Patents

Automatic message reply method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN109660450B
CN109660450B CN201811571048.2A CN201811571048A CN109660450B CN 109660450 B CN109660450 B CN 109660450B CN 201811571048 A CN201811571048 A CN 201811571048A CN 109660450 B CN109660450 B CN 109660450B
Authority
CN
China
Prior art keywords
user
target
automatic reply
template
reply
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
CN201811571048.2A
Other languages
Chinese (zh)
Other versions
CN109660450A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811571048.2A priority Critical patent/CN109660450B/en
Publication of CN109660450A publication Critical patent/CN109660450A/en
Application granted granted Critical
Publication of CN109660450B publication Critical patent/CN109660450B/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/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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method, a device, a terminal, a server and a storage medium for automatically replying a message, and belongs to the technical field of network communication. The technical scheme provided by the embodiment of the disclosure can acquire the target automatic reply template set by the first user for the second user concerned by the first user in the target multi-person conversation based on the automatic reply instruction of the first user, so that when the first user does not check the target multi-person conversation in time, if the second user issues a new message to the first user in the target multi-person conversation, the first user can perform automatic reply, and the intelligent degree of conversation process processing is improved.

Description

Automatic message reply method, device, terminal, server and storage medium
Technical Field
The present disclosure relates to the field of network communication technologies, and in particular, to a method, an apparatus, a terminal, a server, and a storage medium for automatically replying a message.
Background
With the development of network communication technology, more and more social applications are appeared, and information interaction among users can be carried out based on the social applications. When a user is inconvenient to reply to a message posted by other users in the conversation interface of the social application in time, the user may want to automatically reply to the message posted by other users to inform other users that it is now inconvenient to reply to the message.
Currently, a common automatic message reply method is that the user a can select an automatic reply function in a specific state on a system setting page of the social application, so as to set specific automatic reply content in a setting area corresponding to the automatic reply function. Furthermore, when the user a switches the user state to the away state or the busy state, the terminal automatically starts the automatic reply function, and at this time, if the user B associated with the user a sends a message to the user a in the personal conversation between the user a and the user B, the user a can automatically reply the set automatic reply content to the user B.
Based on the above message automatic reply method, the terminal can automatically reply the message sent by the associated user only in the personal conversation, and the terminal cannot automatically reply the message sent by the user in the multi-person conversation, so that the user sending the message in the multi-person conversation cannot obtain a response in time, and the intelligence of the conversation processing is poor.
Disclosure of Invention
In order to overcome the problem of poor intelligence of session processing in the related art, the present disclosure provides a method, an apparatus, a terminal, a server, and a storage medium for automatically replying a message. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for automatically replying to a message, where the method is applied to a terminal, and includes:
acquiring an automatic reply instruction of a first user, wherein the automatic reply instruction is used for indicating that automatic reply is performed on a second user in a target multi-person conversation, and the second user is a concerned user of the first user in the target multi-person conversation;
acquiring a target automatic reply template based on the automatic reply instruction;
when receiving a new message of the second user, issuing a target message in the target multi-person conversation based on the target automatic reply template, wherein the new message carries a first reminding mark, and the first reminding mark is used for prompting the second user to issue the new message which needs to be checked by the first user.
In one possible design, the obtaining the target auto-reply template includes:
displaying a preset number of auto-reply templates associated with the first user;
and when a selected instruction of any one of the preset number of automatic reply templates is received, acquiring the automatic reply template corresponding to the selected instruction as the target automatic reply template.
In one possible design, the obtaining the target auto-reply template includes:
displaying an automatic reply input box;
and inputting the target automatic reply template based on the automatic reply input box.
In one possible design, after the target auto-reply template is input based on the auto-reply input box, the method further includes:
and updating the template library of the first user based on the target automatic reply template, wherein the template library is used for storing the automatic reply template of the first user in the multi-person conversation.
In one possible design, the publishing of the target message in the target multi-person session based on the target auto-reply template when receiving the new message of the second user comprises:
extracting the second user identification from the new message based on the new message;
acquiring the target automatic reply template associated with the second user identification;
and issuing the target message in the target multi-person conversation based on the target automatic reply template.
In one possible design, the publishing the target message in the target multi-person session based on the target automatic reply template includes:
acquiring a second reminding mark and a second user name carried by the new message;
generating the target message based on the second reminding mark, the second username and the target automatic reply template;
and issuing the target message to the target multi-person conversation.
In one possible design, before the obtaining of the automatic reply instruction of the first user, the method further includes:
acquiring an attention instruction of the first user, wherein the attention instruction is used for indicating attention to the second user in the target multi-person conversation;
and displaying the second user in an attention list corresponding to the target multi-person conversation based on the attention instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for automatically replying to a message, where the method is applied to a server, and includes:
receiving an association instruction, wherein the association instruction is used for instructing a server to associate a target automatic reply template with a second user in a target multi-person conversation record of a first user;
associating a target automatic reply template with a second user in the target multi-person session record of the first user based on the association instruction;
and when an automatic reply request of the first user is received, sending the target automatic reply template to a terminal, wherein the automatic reply request is used for requesting to reply to a new message which is issued by the second user in the target multi-person conversation.
In one possible design, the associating, in the target multi-person conversation record of the first user based on the associating instruction, a target automatic reply template with a second user includes:
acquiring a target automatic reply template identifier carried by the associated instruction;
associating the target automatic reply template identification with the second user in a target multi-person session record of the first user.
According to a third aspect of the embodiments of the present disclosure, there is provided an automatic message reply device, which is applied to a terminal, and includes:
a first obtaining unit, configured to obtain an automatic reply instruction of a first user, where the automatic reply instruction is used to instruct automatic reply to a second user in a target multi-person conversation, and the second user is a user concerned by the first user in the target multi-person conversation;
a second obtaining unit configured to obtain a target auto-reply template based on the auto-reply instruction;
and the issuing unit is configured to issue a target message in the target multi-person conversation based on the target automatic reply template when receiving a new message of the second user, wherein the new message carries a first reminding mark, and the first reminding mark is used for reminding the second user to issue the new message which needs to be checked by the first user.
In one possible design, the second obtaining unit is configured to:
displaying a preset number of auto-reply templates associated with the first user;
and when a selected instruction of any one of the preset number of automatic reply templates is received, acquiring the automatic reply template corresponding to the selected instruction as the target automatic reply template.
In one possible design, the second obtaining unit includes:
a display subunit configured to display an auto-reply input box;
an input subunit configured to input the target auto-reply template based on the auto-reply input box.
In one possible design, the second obtaining unit further includes:
and the updating subunit is configured to update the template library of the first user based on the target automatic reply template, wherein the template library is used for storing the automatic reply template of the first user in the multi-person conversation.
In one possible design, the issue unit includes:
an extraction subunit configured to extract the second subscriber identity from the new message based on the new message;
an obtaining subunit configured to obtain the target automatic reply template associated with the second user identifier;
a publishing subunit configured to publish the target message in the target multi-person conversation based on the target automatic reply template.
In one possible design, the publishing subunit is configured to:
acquiring a second reminding mark and a second user name carried by the new message;
generating the target message based on the second reminding mark, the second username and the target automatic reply template;
and issuing the target message to the target multi-person conversation.
In one possible design, the apparatus further includes:
a third obtaining unit configured to obtain an attention instruction of the first user, the attention instruction being used to instruct attention to the second user in the target multi-person session;
a display unit configured to display the second user in a focus list corresponding to the target multi-person session based on the focus instruction.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an automatic message reply device, which is applied to a server, including:
a receiving unit configured to receive an association instruction, wherein the association instruction is used for instructing a server to associate a target automatic reply template with a second user in a target multi-person session record of a first user;
an association unit configured to associate a target automatic reply template with a second user in a target multi-person session record of the first user based on the association instruction;
and the sending unit is configured to send the target automatic reply template to a terminal when receiving an automatic reply request of the first user, wherein the automatic reply request is used for requesting to reply to a new message of the second user in the target multi-person conversation.
In one possible design, the association unit is configured to:
acquiring a target automatic reply template identifier carried by the associated instruction;
associating the target automatic reply template identification with the second user in a target multi-person session record of the first user.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an automatic reply instruction of a first user, wherein the automatic reply instruction is used for indicating that automatic reply is performed on a second user in a target multi-person conversation, and the second user is a concerned user of the first user in the target multi-person conversation;
acquiring a target automatic reply template based on the automatic reply instruction;
when receiving a new message of the second user, issuing a target message in the target multi-person conversation based on the target automatic reply template, wherein the new message carries a first reminding mark, and the first reminding mark is used for prompting the second user to issue the new message which needs to be checked by the first user.
According to a sixth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving an association instruction, wherein the association instruction is used for instructing a server to associate a target automatic reply template with a second user in a target multi-person conversation record of a first user;
associating a target automatic reply template with a second user in the target multi-person session record of the first user based on the association instruction;
and when an automatic reply request of the first user is received, sending the target automatic reply template to a terminal, wherein the automatic reply request is used for requesting to reply to a new message of the second user in the target multi-person conversation.
According to a seventh aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, in which instructions, when executed by a processor of a terminal, enable the terminal to perform a method of automatically replying to a message, the method including:
acquiring an automatic reply instruction of a first user, wherein the automatic reply instruction is used for indicating that automatic reply is performed on a second user in a target multi-person conversation, and the second user is a concerned user of the first user in the target multi-person conversation;
acquiring a target automatic reply template based on the automatic reply instruction;
when receiving a new message of the second user, issuing a target message in the target multi-person conversation based on the target automatic reply template, wherein the new message carries a first reminding mark, and the first reminding mark is used for prompting the second user to issue the new message which needs to be checked by the first user.
According to an eighth aspect of embodiments of the present disclosure, there is provided an application program comprising one or more instructions which, when executed by a processor of a terminal, enable the terminal to perform a method of automatically replying to a message, the method comprising:
acquiring an automatic reply instruction of a first user, wherein the automatic reply instruction is used for indicating that automatic reply is performed on a second user in a target multi-person conversation, and the second user is a concerned user of the first user in the target multi-person conversation;
acquiring a target automatic reply template based on the automatic reply instruction;
when receiving a new message of the second user, issuing a target message in the target multi-person conversation based on the target automatic reply template, wherein the new message carries a first reminding mark, and the first reminding mark is used for prompting the second user to issue the new message which needs to be checked by the first user.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device for automatically replying the target multi-user session, the target automatic replying template set by the first user for the second user concerned by the first user in the target multi-user session is obtained based on the automatic replying instruction of the first user, so that when the first user does not check the target multi-user session in time, if the second user issues a new message to the first user in the target multi-user session, the first user can automatically reply, and the intelligent degree of session process processing is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method for automatically replying to a message according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method for automatic reply to a message according to an example embodiment.
Fig. 3 is a flow chart illustrating a method for automatic reply to a message according to an example embodiment.
Fig. 4 is a flow chart illustrating a method of automatic reply to a message in accordance with an exemplary embodiment.
Fig. 5 is a block diagram illustrating an apparatus for automatically replying to a message according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for automatically replying to a message according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a structure of a terminal 700 according to an example embodiment.
Fig. 8 is a block diagram illustrating a structure of a server 800 according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for automatically replying to a message according to an exemplary embodiment, where the method is applied to a terminal, as shown in fig. 1, and includes the following steps:
in step 101, an automatic reply instruction of a first user is obtained, where the automatic reply instruction is used to instruct automatic reply to a second user in a target multi-person conversation, where the second user is a focused user of the first user in the target multi-person conversation.
In step 102, a target auto-reply template is obtained based on the auto-reply instruction.
In step 103, when a new message of the second user is received, based on the target automatic reply template, a target message is published in the target multi-person conversation, where the new message carries a first reminding mark, and the first reminding mark is used to prompt the second user to publish the new message that needs to be viewed by the first user.
In some embodiments, obtaining the target auto-reply template comprises:
displaying a preset number of auto-reply templates associated with the first user;
and when a selected instruction of any one of the preset number of automatic reply templates is received, acquiring the automatic reply template corresponding to the selected instruction as the target automatic reply template.
In some embodiments, obtaining the target auto-reply template comprises:
displaying an automatic reply input box;
and inputting the target automatic reply template based on the automatic reply input box.
In some embodiments, after the target auto-reply template is input based on the auto-reply input box, the method further comprises:
and updating the template library of the first user based on the target automatic reply template, wherein the template library is used for storing the automatic reply templates of the first user in the multi-person conversation.
In some embodiments, publishing a target message in the target multi-person session based on the target auto-reply template upon receiving a new message for the second user comprises:
extracting the second user identification from the new message based on the new message;
acquiring the target automatic reply template associated with the second user identification;
and issuing the target message in the target multi-person conversation based on the target automatic reply template.
In some embodiments, publishing the target message in the target multi-person session based on the target auto-reply template comprises:
acquiring a second reminding mark and a second user name carried by the new message;
generating the target message based on the second reminding mark, the second user name and the target automatic reply template;
and issuing the target message to the target multi-person conversation.
In some embodiments, before obtaining the auto-reply instruction of the first user, the method further comprises:
acquiring an attention instruction of the first user, wherein the attention instruction is used for indicating attention to the second user in the target multi-person conversation;
and displaying the second user in an attention list corresponding to the target multi-person session based on the attention instruction.
Fig. 2 is a flowchart illustrating a method for automatically replying to a message according to an exemplary embodiment, where the method is applied to a server, as shown in fig. 2, and includes the following steps:
in step 201, receiving an association instruction, wherein the association instruction is used for instructing a server to associate a target automatic reply template with a second user in a target multi-person session record of a first user;
in step 202, based on the association instruction, associating a target automatic reply template with a second user in the target multi-person session record of the first user;
in step 203, when receiving an automatic reply request of the first user, the target automatic reply template is sent to a terminal, and the automatic reply request is used for requesting to reply to a new message of the second user in the target multi-person conversation.
In some embodiments, associating, in the target multi-person session record of the first user, the target auto-reply template with the second user based on the association instruction comprises:
acquiring a target automatic reply template identifier carried by the associated instruction;
and associating the target automatic reply template identification with the second user in the target multi-person session record of the first user.
Fig. 3 is a flowchart illustrating a message automatic reply method according to an exemplary embodiment, and as shown in fig. 3, the message automatic reply method may be applied in a terminal, and includes the following steps:
in step 301, the terminal acquires an attention instruction of the first user, the attention instruction being used for instructing attention to a second user in the target multi-person session.
In the embodiment of the disclosure, the terminal may have a social application thereon, and the first user may register and log in the social application, and the social application may provide a session function, for example, a multi-person session function, based on which the first user of the terminal may perform information interaction with multiple other users in the target multi-person session at the same time. The target multi-person conversation may be any multi-person conversation of the first user, and the second user may be a user that the first user wants to pay attention to in the target multi-person conversation, for example, the second user may be a leader or a friend of the first user. The second user and the first user may be associated users or not, and the embodiment of the present disclosure is not limited herein. The attention instruction of the first user can be triggered by clicking operation of the first user on an attention control corresponding to the second user in the target multi-person conversation.
For example, the process of the terminal acquiring the attention instruction of the first user may include the following steps 301A to 301C:
301A, the terminal displays the profile page of the second user in the target multi-person conversation.
The profile page of the second user may be used to display information about the second user, for example, the profile page of the second user may display the second user's avatar, account number, and personality signature, etc. Of course, the profile page may also display setting controls.
Specifically, when the terminal detects the trigger operation of the first user on the target multi-person conversation, a target multi-person conversation interface may be displayed, and a plurality of user avatars may be displayed on the target multi-person conversation interface. When the terminal detects the triggering operation of the first user on the head portrait of the second user, the terminal can display the personal data page of the second user.
In addition, the target multi-person conversation interface can also be provided with a multi-person conversation setting control, when the terminal detects the triggering operation of the multi-person conversation setting control, the terminal can display a multi-person data page of the target multi-person conversation, and the multi-person data page can display the head portraits of all users in the target multi-person conversation. When the terminal detects the triggering operation of the first user on the head portrait of the second user in the multi-user data page, the terminal can also display the personal data page of the second user. The specific way of displaying the profile page of the second user on the terminal is not limited in the embodiments of the present disclosure.
301B, when the terminal detects the trigger operation of the setting control corresponding to the second user, the terminal displays the personal setting page of the second user.
The personal setting page of the second user can be used for the first user to perform relevant setting on the second user. For example, the first user may set notes, nicknames, etc. for the second user in the second user's personal settings page. Of course, the personal setting page may also have a focus control for the first user to set the second user as a focus user.
301C, when the terminal detects that the first user triggers the attention control in the personal setting page, the terminal acquires the attention instruction of the first user.
The above steps 301A to 301B are exemplified by triggering the focus control in the personal setting page of the second user, and the process of the terminal acquiring the focus instruction of the first user is described. For example, an attention adding control may be displayed in the multi-user profile page, when the terminal detects a trigger operation of a first user on the attention adding control, the terminal may display at least user names of all users in the target multi-user session, and when the terminal detects a selection operation of a user name of a second user in all the user names, the terminal may obtain the attention instruction. Of course, the focus control may also be correspondingly displayed within the preset range of each user avatar displayed on the target session interface, and when the terminal detects a trigger operation on the focus control correspondingly displayed on the user avatar of the second user, the terminal may also obtain the focus instruction.
In step 302, the terminal displays the second user in a focus list corresponding to the target multi-person session based on the focus instruction.
In an embodiment of the disclosure, the focus list is used to display all users focused on by the first user in the target multi-meeting. The focus list may be displayed in the multi-person profile page corresponding to the target multi-person session as set forth in step 301A.
For example, the specific process of the terminal displaying the second user in the attention list corresponding to the target multi-person session may include the following steps 302A to 302C:
302A, the terminal determines a display position of the second user based on the focus list.
The terminal may obtain the display positions of the users that have been displayed in the attention list, and further, the terminal may determine the display position of the second user in the attention list according to a preset display rule. For example, the display rule may be sequentially displayed from front to back in time order, and the terminal may determine that the display position of the second user is behind all displayed users in the attention list. Of course, the terminal may also determine the display position of the second user on the attention list according to other display rules, for example, the terminal may also determine the display position of the second user on the attention list according to the alphabetical ranking of the initials of the user names of the respective users. The terminal may further determine, according to a descending order of the number of interactions between each user and the first user, a display position of the second user in the attention list, which is not limited herein in the embodiment of the present disclosure.
302B, the terminal acquires the user head portrait and the user name of the second user based on the attention instruction.
The attention instruction may carry a user avatar and a user name of the second user, and the terminal may extract the user avatar and the user name of the second user directly based on the attention instruction. Certainly, the attention instruction may also carry the user identifier of the second user, and the terminal may extract the user identifier of the second user based on the attention instruction, and then obtain the user avatar and the user name of the second user associated with the user identifier of the second user from the server or locally at the terminal. The disclosed embodiments are not limited herein.
302C, the terminal draws the user head portrait and the user name of the second user in the attention list based on the display position of the second user.
The terminal can draw the user head portrait and the user name of the second user at the corresponding display positions in the attention list according to the preset display sizes of the user head portrait and the user name. Of course, the terminal may also adjust the display sizes of the avatar and the user name of the second user according to the size of the attention list and the number of users already displayed in the attention list, and further display the adjusted avatar and user name of the second user in the attention list. The disclosed embodiments are not limited herein.
In addition, the terminal may store an attention list of the target multi-person session, and the server may also store an attention list of the target multi-person session, and a process of storing the second user in the attention list corresponding to the target multi-person session is described below, taking the server as an example in which the attention list is stored:
when the terminal detects the trigger operation on the attention control in step 301C, the terminal may obtain an attention request of the first user, where the attention request is used to indicate that attention is paid to the second user, and the attention request may carry a user identifier of the first user, an identifier of the target multi-person session, and a user identifier of the second user. The terminal may send the attention request to the server, and after receiving the attention request, the server may obtain, from the server, a target multi-person session record of the first user according to the user identifier of the first user and the identifier of the target multi-person session, which are carried by the attention request, where the target multi-person session record may have an attention list. Further, the server may store the user identification of the second user in an attention list in the target multi-person session record. The server stores an attention list for each multi-person conversation of the first user, and every two attention lists can be unrelated to each other.
The foregoing steps 301 to 302 are processes in which the terminal pays attention to the second user in the target multi-user session, and of course, in other embodiments, the second user may also be stored in an attention list stored in the terminal, the processes are the same as the processes in which the second user is stored in the server, and details of the embodiments of the present disclosure are not described here.
In step 303, the terminal obtains an auto-reply instruction of the first user.
In an embodiment of the present disclosure, the auto-reply instruction is used to instruct the terminal to automatically reply to the second user in the target multi-person conversation.
Specifically, when the terminal detects that the second user exists in the attention list corresponding to the target multi-person session, the terminal may be triggered to acquire an automatic reply instruction of the first user.
Further, the second user's personal setting page referred to in step 301B above may also have an auto-answer control. When the terminal detects that the second user exists in the attention list corresponding to the target multi-person conversation, the terminal can set an automatic reply control displayed on a personal setting page of the second user to be in an activation state, wherein when the automatic reply control is in the activation state, the first user can perform triggering operation on the automatic reply control. When the terminal detects that the first user triggers the automatic reply control corresponding to the second user, the terminal can acquire the automatic reply instruction of the first user. Of course, in other embodiments, the terminal may also obtain the automatic reply instruction of the first user in other manners, and the embodiment of the present disclosure is not specifically limited herein. The specific process of displaying the personal setting page of the second user by the terminal is the same as the process related to the above step 301A to step 301B, and details of the embodiment of the present disclosure are not repeated here.
In step 304, the terminal displays a preset number of auto-reply templates associated with the first user based on the auto-reply command.
In the embodiment of the present disclosure, the automatic reply template may be an automatic reply template preset by the first user, or may be an automatic reply template that the first user has set for other users.
For example, the process of the terminal displaying a preset number of auto-reply templates associated with the first user may include the following steps 304A to 304C:
304A, the terminal may determine that the first user is in the template library of the social application according to the auto-reply instruction.
The template library may store therein respective auto-reply templates that the first user has set in the social application. The template library may be stored in the terminal or in the server. Taking the template library as an example, the terminal may send the automatic reply instruction to the server, and after receiving the automatic reply instruction, the server may obtain the template library associated with the user identifier of the first user and the identifier of the social application based on the user identifier of the first user and the identifier of the social application carried by the automatic reply instruction. The process of the terminal acquiring the template library of the social application of the first user stored locally is the same as the process of the terminal acquiring from the server, and the embodiments of the present disclosure are not described in detail herein.
Taking the template library stored in the server as an example, the process of storing each automatic reply template in the template library may be as follows: at least one pre-configured automatic reply template can be stored in the template library by default, and each automatic reply template can correspondingly store pre-configured priority information. Furthermore, when the user uses the social application on the terminal for the first time, at least one automatic reply template can be input in a multi-person conversation setting page corresponding to the social application, each automatic reply template can carry a first timestamp, and the first timestamp is used for indicating a time point when the user inputs the automatic reply template. When the terminal detects that the user inputs the completion operation, the terminal can acquire the template storage request and send the template storage request to the server. The server can determine the template library of the first user based on the first user identification carried by the template storage request. Furthermore, the server may correspondingly store the at least one auto-reply template and the first timestamp thereof carried by the template storage request in the template library of the first user. In addition, after the first user sets a new automatic reply template for any concerned user in any multi-user session, the terminal may also send the new automatic reply template and the first timestamp carried by the new automatic reply template to the server, and the server may correspondingly store the new automatic reply template and the first timestamp carried by the new automatic reply template in the template library of the first user.
Further, the server may preset a maximum number of auto-reply templates that may be stored in the template library, which may be ten, for example. When the server acquires a new auto-reply template again after the auto-reply templates stored in the template library reach the maximum number, the server may update the template library based on the new auto-reply template. For example, the process of the server updating the template library may include the following steps a1 to A3:
a1, the server traverses each first time stamp stored in the template library to determine the earliest first time stamp.
The server may compare sequentially with other first timestamps based on any one of the first timestamps, and when the any one of the first timestamps is earlier than all of the other first timestamps, the server may determine the any one of the first timestamps to be the earliest timestamp.
A2, the server replaces the auto-reply template corresponding to the earliest timestamp with the new auto-reply template.
A3, the server stores a second timestamp in the template library in correspondence with the new automatic reply template, wherein the second timestamp is used for indicating a time point when the terminal acquires the new automatic reply template.
The foregoing steps a1 to A3 have described the updating process of the template library by taking the automatic reply template carrying the timestamp as an example, and of course, in other embodiments, the template library may be updated in other manners, for example, priority information may be set for each automatic reply template, and the server may update the template library according to the priority information of each automatic reply template. In addition, the process of updating the template library may replace at least one auto-reply template stored by default in the template library. The disclosed embodiments are not specifically limited herein.
304B, the terminal obtains a preset number of automatic reply templates according to a preset rule based on the template library associated with the user identifier of the first user.
When the first user uses the social application for the first time, the terminal may obtain all the preconfigured automatic reply templates from the template library, and of course, the terminal may also obtain the automatic reply templates with the priority ranking located at the top preset digit according to the priority information of each preconfigured automatic reply template.
After the automatic reply templates which are once set by the first user are stored in the template library, the terminal can acquire the automatic reply templates with the first time stamps of the preset number, wherein the first time stamps are later than the threshold value, according to the first time stamps carried by the stored automatic reply templates in the template library. Of course, the terminal may also obtain all the automatic reply templates stored in the template library from the server, and the terminal may also obtain a preset number of automatic reply templates according to other preset rules, which is not limited herein in the embodiments of the present disclosure.
304C, the terminal displays the preset number of automatic reply templates in the preset area.
The terminal can determine the preset area configured in advance, and in the preset area, the preset number of automatic reply templates are sequentially displayed according to the sequence of the first timestamps corresponding to the preset number of automatic reply templates from morning to evening. The terminal may also sequentially display the preset number of automatic reply templates according to the sequence of the priority information corresponding to the preset number of automatic reply templates, which is not limited in this disclosure. Of course, the terminal may also adjust the size of the preset area according to the preset number, and sequentially display the preset number of automatic reply templates in the adjusted area.
The preset area may be located within the preset range of the auto-answer control in step 303, for example, the preset area may be located within a range of 2cm to 4cm below the auto-answer control, and of course, the preset area may also be a secondary page of the second user's personal setting page.
In step 305, when the terminal receives a selected instruction for any one of the preset number of auto-reply templates, an auto-reply template corresponding to the selected instruction is obtained as the target auto-reply template.
In this disclosure, the selection instruction may be triggered by a selection operation of the first user on any one of the automatic reply templates, and the selection instruction may be used by the terminal to determine the target reply template based on the preset number of automatic reply templates. The target automatic reply template is the automatic reply template selected by the first user for the second user.
The selection operation can be realized by directly clicking the display area of any one of the automatic reply templates on the terminal by the first user, certainly, a selectable control can be displayed in a preset area of each automatic reply template displayed on the terminal, and the user can also realize the selection operation of the automatic reply template corresponding to the selectable control by clicking the selectable control. When the terminal detects the selection operation in any way, the terminal may trigger the selection instruction, and the embodiment of the present disclosure is not specifically limited herein.
The foregoing steps 304 to 305 are described as an example of selecting, by the terminal, from preset automatic reply templates, and a process of acquiring, by the terminal, the target automatic reply template, but of course, the terminal may also acquire the target automatic reply template through the following processes involved in the steps (1) to (2):
(1) the terminal displays an automatic reply input box.
When the terminal detects the trigger operation of the auto-reply control corresponding to the second user, the terminal may draw a pre-configured auto-reply input box in a preset area. The terminal may not display the preset number of auto-reply templates when displaying the auto-reply input frame, and certainly, the terminal may display the preset number of auto-reply templates and also display the auto-reply input frame, which is not limited herein.
(2) And the terminal inputs the target automatic reply template based on the automatic reply input box.
The target automatic reply template can be any text message customized by the user.
In addition, after the terminal inputs the target auto-reply template in the auto-reply input box, the terminal may further update the template library of the first user based on the target auto-reply template, and a specific process of updating the template library of the first user by the terminal is similar to the process from step a1 to step A3, which is not described in detail herein in the embodiments of the present disclosure.
The foregoing steps 304 to 305 are described with respect to the process of the terminal acquiring the target automatic reply template, taking the template library of the first user as an example, and the template library of the first user may also be stored in the terminal. When the template library of the first user can also be stored in the terminal, the process of the terminal obtaining the target automatic reply template is the same as the process from step 304 to step 305, and details of the embodiment of the present disclosure are not repeated here.
In addition, after the terminal acquires the target automatic reply template, the target automatic reply template can be associated with the second user. The association process is described below by taking the example of associating the target automatic reply template with the second user in the terminal: the terminal may associate the target auto-reply template with the second user in a locally stored target multi-person session record for the first user. Specifically, after the terminal acquires the target automatic reply template, the terminal may trigger an association instruction, and the terminal may locally acquire the target multi-person session record from the terminal according to the user identifier of the first user and the identifier of the target multi-person session, which are carried by the association instruction. Furthermore, the terminal can correspondingly store the target automatic reply template and the user identifier of the second user carried by the association instruction in the target multi-person session record, so that the purpose that the terminal associates the target automatic reply template with the second user is achieved. The target multi-person conversation record may store therein relevant settings of the first user for the target multi-person conversation, for example, a list of audiences of the first user in the target multi-person conversation. Of course, the target multi-person session record may also have auto-reply templates stored therein that are associated with respective interested users of the first user. Of course, the target multi-hot session record may also have stored therein an identification of an auto-reply template associated with the respective interested user. In addition, the terminal may also send the association instruction to the server, and the server associates the target automatic reply template with the second user.
When the terminal receives a new message, a second subscriber identity is extracted from the new message in step 306.
In this disclosure, the new message is a new message issued by a user other than the first user in the target multi-person conversation, and the new message may carry a first alert flag, where the first alert flag is used to prompt the first user to issue the new message. The second user identification is used to uniquely represent the second user.
In step 307, the terminal obtains a target auto-reply template associated with the second user identity.
For example, the process of the terminal acquiring the target automatic reply template associated with the second user identifier may include the following steps 307A to 307B:
307A, the terminal acquires a template acquisition instruction.
When the terminal receives the reminding message, the terminal can trigger the template obtaining instruction, the template obtaining instruction is used for indicating the terminal to obtain the target automatic reply template associated with the second user identification, and the template obtaining instruction can carry the second user identification, the user identification of the first user and the identification of the target multi-person conversation.
307B, the terminal acquires the target automatic reply template associated with the second user identification from the terminal based on the template acquisition instruction.
Specifically, corresponding to the process in which the terminal associates the target automatic reply template with the second user, the terminal may locally determine the corresponding target multi-user session record of the first user according to the user identifier of the first user and the identifier of the target multi-user session, which are carried by the template acquisition instruction. Based on the second user identifier carried by the template acquisition instruction, the terminal may acquire the target automatic reply template associated with the second user identifier from the target multi-person session record.
The foregoing steps 307A to 307B are described by taking an example that the terminal obtains the target automatic reply template associated with the second user identifier from the local terminal, and of course, in other embodiments, the target automatic reply template associated with the second user identifier may also be obtained from the server, the obtaining process is the same as the obtaining process in the local terminal, and details of the embodiment of the present disclosure are not repeated here.
In step 308, the terminal obtains the second reminder mark and the second username carried in the new message.
In the embodiment of the present disclosure, the second reminding mark is used to prompt the publishing user of the new information to view the new message. The second reminding mark may be a reminding mark preconfigured in the terminal, for example, the reminding mark may be "@", and of course, the terminal may also be preconfigured with the second reminding character in another form, which is not limited in this embodiment of the disclosure. The second user name is a user name of the second user.
In step 309, the terminal generates a target message based on the second reminder label, the second username, and the target auto-reply template.
In an embodiment of the present disclosure, the target message is a message to be published into the target multi-person conversation.
The terminal can place the second reminding mark and the second username at a preset position in the target automatic reply template based on the target automatic reply template, and then splice the second reminding mark, the second username and the target automatic reply template into the target message. For example, the second reminding mark preconfigured by the terminal and the second username located at the end of the target automatic reply template are "@", the second username is "queen", the target automatic reply template acquired by the terminal is "i am not present and replies you later", the target message generated by the terminal may be "i am not present and replies you @ queen" later ". Of course, the terminal may also configure the second reminder mark and the second username to be located in other positions of the target automatic reply template, which is not limited herein in this disclosure.
The above-mentioned steps 307 to 309 are processes of generating the target message for the terminal, and the process is described by taking the example of generating the target message based on the second reminding mark, the second username and the target automatic reply template. Of course, in other embodiments, the terminal may not configure the second reminding mark in advance, the terminal may also directly use the target automatic reply template as the target message, and the terminal may also generate other forms of target messages based on the target automatic reply template, which is not limited herein in this disclosure.
In step 310, the terminal issues the target message into the target multi-person conversation.
According to the method and the device for automatically replying the target multi-user session, the target automatic replying template set by the first user for the second user concerned by the first user in the target multi-user session is obtained based on the automatic replying instruction of the first user, so that when the first user does not check the target multi-user session in time, if the second user issues a new message to the first user in the target multi-user session, the first user can automatically reply, and the intelligent degree of session process processing is improved.
The above-mentioned embodiment shown in fig. 3 is an example of associating the target automatic reply template with the second user at the terminal, and the message automatic reply method is described, the process of associating the target automatic reply template with the second user may also be performed in the server, and the process of associating the target automatic reply template with the second user in the server is described below with the embodiment shown in fig. 4. Fig. 4 is a flowchart illustrating a message automatic reply method according to an exemplary embodiment, which may be applied to a server, as shown in fig. 4, and includes the following steps:
in step 401, the terminal obtains a correlation instruction.
In an embodiment of the present disclosure, the association instruction is configured to instruct the server to associate the target auto-reply template with the second user in the target multi-person session record of the first user. The association instruction may carry a user identifier of a first user, an identifier of a target multi-person conversation, and a user identifier of a second user, where the user identifier of the first user is used to uniquely identify the first user, the identifier of the target multi-person conversation is used to uniquely identify the target multi-person reply in the social application, and the user identifier of the second user is used to uniquely identify the second user. In addition, the association instruction may further carry a target automatic reply template identifier, where the target automatic reply template identifier is used to uniquely identify the target automatic reply template acquired by the terminal for the second user, and the target automatic reply template is any one of the automatic reply templates acquired by the terminal based on any one of the implementation manners in steps 304 to 305. For example, the association instruction may be triggered by any one of the following scenarios:
in the first scenario, the terminal detects a selection operation of the first user on any one of the preset number of automatic reply templates displayed by the terminal in step 304. In this scenario, it may be considered that the first user selects any one of the automatic reply templates for the second user, and the selected one is used as a target automatic reply template that can reply the reminder message of the second user, and at this time, the terminal may trigger the association instruction.
And in a second scenario, the terminal detects that the first user inputs the target automatic reply template in the automatic reply input box displayed by the terminal. In this scenario, the first user may be considered as a second user who self-defines the target automatic reply template, and at this time, the terminal may trigger the association instruction. Of course, in other embodiments, the terminal may also trigger the association instruction in other manners, and the embodiments of the present disclosure are not specifically limited herein.
In step 402, the terminal sends the association instruction to the server.
In step 403, after receiving the association instruction, the server obtains the target auto-reply template identifier carried by the association instruction.
Wherein the target auto-reply template identification is associated with the template library of the first user stored in the server referred to in step 304 above. The template library of the first user stores the preset number of automatic reply templates related in step 304, and also stores the automatic reply templates input by the first user in the automatic reply input box each time.
In step 404, the server associates the target auto-reply template identification with the second user in the target multi-person session record of the first user.
In the embodiment of the present disclosure, similar to the target multi-person conversation record of the first user stored in the terminal, the target multi-person conversation record of the first user stored in the server may also store the relevant setting of the first user on the target multi-person conversation. For example, the target multi-person conversation record may store a message record of the target multi-person conversation, and of course, the target multi-person conversation record may also store each target automatic reply template identifier.
Specifically, the server may determine, from the server, the target multi-person session record associated with the user identifier of the first user and the identifier of the target multi-person session according to the user identifier of the first user and the identifier of the target multi-person session carried by the association instruction. Furthermore, the server may correspondingly store the user identifier of the second user and the target automatic reply template identifier carried by the association instruction in the target multi-user session record of the first user, so as to achieve the purpose that the server associates the target automatic reply template identifier with the second user.
The steps 401 to 404 are processes of associating the target automatic reply template with the second user in the server, and of course, in other embodiments, the target automatic reply template may also be associated with the second user in other ways, which is not limited herein in this disclosure.
In step 405, the terminal obtains an automatic reply request of the first user.
The automatic reply request is used to instruct the terminal to automatically reply to a new message issued by another user in a multi-person conversation, where the another user is a user concerned in any multi-person conversation with the first user, and for example, the another user may be the second user. The multi-person conversation may be any multi-person conversation of the first user on the social application, and the new message may carry a first reminder tag for prompting the first user to post the new message. The automatic reply request may carry a user identifier of the first user, an identifier of the target multi-person session, and a user identifier of the second user. When the terminal detects the new message, the terminal may trigger an automatic reply request of the first user.
In step 406, the terminal sends the auto-reply request to the server.
In step 407, after the server receives the auto-reply request of the first user, the target auto-reply template is obtained.
In the embodiment of the present disclosure, the process of the server sending the target automatic reply template to the terminal may include the following exemplary steps 407A to 407B:
407A, the server determines a target auto-reply template identification associated with the second user based on the auto-reply request.
Specifically, the server may determine the target multi-person session record of the first user according to the user identifier of the first user and the identifier of the target multi-person session carried in the automatic reply request. Furthermore, the server may obtain, from the target multi-user session record, a target automatic reply template identifier stored in correspondence with the user identifier of the second user, according to the user identifier of the second user carried by the automatic reply request.
407B, the server acquires the target automatic reply template associated with the target automatic reply template identification based on the target automatic reply template identification.
The server may extract the target automatic reply template associated with the target automatic reply template identifier from the template library of the first user related in step 304 according to the target automatic reply template identifier, and of course, the server may also obtain the target automatic reply template in other manners, which is not limited in this embodiment of the disclosure.
In step 408, the server sends the target auto-reply template to the terminal.
In step 409, after receiving the target automatic reply template, the terminal generates a target message based on the target automatic reply template, and issues the target message to the target multi-person conversation.
In the embodiment of the present disclosure, the process is the same as the process related to the above step 308 to step 310, and details of the embodiment of the present disclosure are not repeated here.
According to the method and the device for automatically replying the target multi-user session, the target automatic replying template set by the first user for the second user concerned by the first user in the target multi-user session is obtained based on the automatic replying instruction of the first user, so that when the first user does not check the target multi-user session in time, if the second user issues a new message to the first user in the target multi-user session, the first user can automatically reply, and the intelligent degree of session process processing is improved.
Fig. 5 is a block diagram illustrating an automatic message reply apparatus, which may be applied to a terminal, according to an exemplary embodiment. Referring to fig. 5, the apparatus includes: a first acquisition unit 501, a second acquisition unit 502 and a publication unit 503.
A first obtaining unit 501, configured to obtain an automatic reply instruction of a first user, where the automatic reply instruction is used to instruct automatic reply to a second user in a target multi-person conversation, where the second user is a user concerned by the first user in the target multi-person conversation;
a second obtaining unit 502 configured to obtain a target auto-reply template based on the auto-reply instruction;
the publishing unit 503 is configured to, when receiving a new message of the second user, publish a target message in the target multi-person conversation based on the target automatic reply template, where the new message carries a first reminding mark, and the first reminding mark is used to prompt the second user to publish the new message that needs to be viewed by the first user.
In one possible design, the second obtaining unit 502 is configured to:
displaying a preset number of auto-reply templates associated with the first user;
and when a selected instruction of any one of the preset number of automatic reply templates is received, acquiring the automatic reply template corresponding to the selected instruction as the target automatic reply template.
In one possible design, the second obtaining unit 502 includes:
a display subunit configured to display an auto-reply input box;
an input subunit configured to input the target auto-reply template based on the auto-reply input box.
In one possible design, the second obtaining unit 502 further includes:
and the updating subunit is configured to update the template library of the first user based on the target automatic reply template, wherein the template library is used for storing the automatic reply templates of the first user in the multi-person conversation.
In one possible design, the issue unit 503 includes:
an extracting subunit configured to extract the second subscriber identity from the new message based on the new message;
an obtaining subunit configured to obtain the target automatic reply template associated with the second user identifier;
and the issuing subunit is configured to issue the target message in the target multi-person conversation based on the target automatic reply template.
In one possible design, the publishing subunit is configured to:
acquiring a second reminding mark and a second user name carried by the new message;
generating the target message based on the second reminding mark, the second user name and the target automatic reply template;
and issuing the target message to the target multi-person conversation.
In one possible design, the apparatus further includes:
a third obtaining unit configured to obtain an attention instruction of the first user, the attention instruction being used for instructing attention to the second user in the target multi-person session;
a display unit configured to display the second user in a focus list corresponding to the target multi-person session based on the focus instruction.
According to the method and the device for automatically replying the target multi-user session, the target automatic replying template set by the first user for the second user concerned by the first user in the target multi-user session is obtained based on the automatic replying instruction of the first user, so that when the first user does not check the target multi-user session in time, if the second user issues a new message to the first user in the target multi-user session, the first user can automatically reply, and the intelligent degree of session process processing is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating an automatic message reply apparatus, which may be applied to a server, according to an exemplary embodiment. Referring to fig. 6, the apparatus includes: receiving section 601, associating section 602, and transmitting section 603.
A receiving unit 601 configured to receive an association instruction, where the association instruction is used to instruct a server to associate a target automatic reply template with a second user in a target multi-person session record of a first user;
an associating unit 602 configured to associate a target automatic reply template with a second user in the target multi-person session record of the first user based on the associating instruction;
a sending unit 603 configured to send the target automatic reply template to the terminal when receiving an automatic reply request of the first user, the automatic reply request being used for requesting to reply to a new message of the second user in the target multi-person conversation.
In one possible design, the associating unit 602 is configured to:
acquiring a target automatic reply template identifier carried by the associated instruction;
and associating the target automatic reply template identification with the second user in the target multi-person session record of the first user.
According to the method and the device for automatically replying the target multi-user session, the target automatic replying template set by the first user for the second user concerned by the first user in the target multi-user session is obtained based on the automatic replying instruction of the first user, so that when the first user does not check the target multi-user session in time, if the second user issues a new message to the first user in the target multi-user session, the first user can automatically reply, and the intelligent degree of session process processing is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating a structure of a terminal 700 according to an example embodiment. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 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 701 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 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may 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 memory 702 is used to store at least one instruction for execution by processor 701 to implement the method for automatic reply to a message provided by the method embodiments of the present invention.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 704 may further include NFC (Near Field Communication) related circuits, which are not limited in this disclosure.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 709 is provided to supply power to various components of terminal 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 709 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of terminal 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually becomes larger, the processor 701 controls the touch display 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 8 is a block diagram illustrating a structure of a server 800 according to an example embodiment. The server 800 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where the memory 802 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 801 to implement the message automatic reply method provided by the above-mentioned method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform the message auto-reply method in the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (19)

1. An automatic message reply method, which is applied to a terminal, includes:
acquiring an automatic reply instruction of a first user, wherein the automatic reply instruction is used for indicating that automatic reply is performed on a second user in a target multi-person conversation, and the second user is a concerned user of the first user in the target multi-person conversation;
based on the automatic reply instruction, acquiring a target automatic reply template associated with a second user identification, wherein the second user identification is used for uniquely representing the second user;
when a new message of the second user is received, extracting the second user identification from the new message based on the new message; and issuing a target message in the target multi-person conversation based on the target automatic reply template associated with the second user identification, wherein the new message carries a first reminding mark, and the first reminding mark is used for prompting the second user to issue the new message which needs to be checked by the first user.
2. The method of claim 1, wherein obtaining the target auto-reply template associated with the second user identification comprises:
displaying a preset number of auto-reply templates associated with the first user;
and when a selected instruction of any one of the preset number of automatic reply templates is received, acquiring the automatic reply template corresponding to the selected instruction as the target automatic reply template.
3. The method of claim 1, wherein obtaining the target auto-reply template associated with the second user identification comprises:
displaying an automatic reply input box;
and inputting the target automatic reply template based on the automatic reply input box.
4. The method of claim 3, wherein after the target auto-reply template is entered based on the auto-reply input box, the method further comprises:
and updating the template base of the first user based on the target automatic reply template, wherein the template base is used for storing each automatic reply template of the first user in each multi-person conversation.
5. The method of claim 1, wherein publishing the target message in the target multi-person session based on the target auto-reply template associated with the second user identification comprises:
acquiring a second reminding mark and a second user name carried by the new message;
generating the target message based on the second reminding mark, the second username and the target automatic reply template;
and issuing the target message to the target multi-person conversation.
6. The method of claim 1, wherein prior to obtaining the auto-reply instruction of the first user, the method further comprises:
acquiring an attention instruction of the first user, wherein the attention instruction is used for indicating attention to the second user in the target multi-person conversation;
and displaying the second user in an attention list corresponding to the target multi-person conversation based on the attention instruction.
7. An automatic message reply method, which is applied to a server and comprises the following steps:
receiving an association instruction, wherein the association instruction is used for instructing the server to associate a target automatic reply template with a second user in a target multi-person conversation record of a first user;
associating the target automatic reply template with the second user in a target multi-person session record of the first user based on the association instruction;
and when an automatic reply request of the first user is received, sending the target automatic reply template to a terminal, wherein the automatic reply request is used for requesting automatic reply to a new message of a second user in the target multi-person conversation, and the second user is a concerned user of the first user in the target multi-person conversation.
8. The method of claim 7, wherein associating the target auto-reply template with the second user in a target multi-person session record of the first user based on the association instructions comprises:
acquiring a target automatic reply template identifier carried by the associated instruction;
associating the target automatic reply template identification with the second user in a target multi-person session record of the first user.
9. An automatic message reply device, which is applied to a terminal, comprising:
a first obtaining unit, configured to obtain an automatic reply instruction of a first user, where the automatic reply instruction is used to instruct automatic reply to a second user in a target multi-person conversation, and the second user is a user concerned by the first user in the target multi-person conversation;
a second obtaining unit configured to obtain a target automatic reply template associated with a second user identifier based on the automatic reply instruction, wherein the second user identifier is used for uniquely representing the second user;
the issuing unit is configured to issue a target message in the target multi-person conversation based on the target automatic reply template when receiving a new message of the second user, wherein the new message carries a first reminding mark, and the first reminding mark is used for reminding the second user of issuing the new message needing to be checked by the first user;
the issue unit includes:
an extraction subunit configured to extract the second subscriber identity from the new message based on the new message;
an obtaining subunit, configured to obtain the target automatic reply template associated with the second user identifier, obtained by the second obtaining unit;
a publishing subunit configured to publish the target message in the target multi-person session based on the target auto-reply template associated with the second user identification.
10. The apparatus of claim 9, wherein the second obtaining unit is configured to:
displaying a preset number of auto-reply templates associated with the first user;
and when a selected instruction of any one of the preset number of automatic reply templates is received, acquiring the automatic reply template corresponding to the selected instruction as the target automatic reply template.
11. The apparatus of claim 9, wherein the second obtaining unit comprises:
a display subunit configured to display an auto-reply input box;
an input subunit configured to input the target auto-reply template based on the auto-reply input box.
12. The apparatus of claim 11, wherein the second obtaining unit further comprises:
and the updating subunit is configured to update the template library of the first user based on the target automatic reply template, wherein the template library is used for storing the automatic reply template of the first user in the multi-person conversation.
13. The apparatus of claim 9, wherein the publishing subunit is configured to:
acquiring a second reminding mark and a second user name carried by the new message;
generating the target message based on the second reminding mark, the second username and the target automatic reply template;
and issuing the target message to the target multi-person conversation.
14. The apparatus of claim 9, further comprising:
a third obtaining unit configured to obtain an attention instruction of the first user, the attention instruction being used to instruct attention to the second user in the target multi-person session;
a display unit configured to display the second user in a focus list corresponding to the target multi-person session based on the focus instruction.
15. An automatic message reply device, which is applied to a server, comprising:
a receiving unit configured to receive an association instruction, wherein the association instruction is used for instructing the server to associate a target automatic reply template with a second user in a target multi-person session record of a first user;
an association unit configured to associate the target automatic reply template with the second user in a target multi-person session record of the first user based on the association instruction;
and the sending unit is configured to send the target automatic reply template to a terminal when receiving an automatic reply request of the first user, wherein the automatic reply request is used for requesting automatic reply to a new message of a second user in a target multi-person conversation, and the second user is a concerned user of the first user in the target multi-person conversation.
16. The apparatus of claim 15, wherein the associating unit is configured to:
acquiring a target automatic reply template identifier carried by the associated instruction;
associating the target automatic reply template identification with the second user in a target multi-person session record of the first user.
17. A terminal, comprising:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the method steps of the message auto-reply method according to any one of claims 1 to 6.
18. A server, comprising:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the method steps of the message auto-reply method according to any one of claims 7 to 8.
19. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the method steps of the message auto-reply method according to any one of claims 1 to 6; or when executed by a processor of a server, enabling the server to perform the method steps of the message auto-reply method according to any one of claims 7 to 8.
CN201811571048.2A 2018-12-21 2018-12-21 Automatic message reply method, device, terminal, server and storage medium Active CN109660450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811571048.2A CN109660450B (en) 2018-12-21 2018-12-21 Automatic message reply method, device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811571048.2A CN109660450B (en) 2018-12-21 2018-12-21 Automatic message reply method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN109660450A CN109660450A (en) 2019-04-19
CN109660450B true CN109660450B (en) 2021-05-18

Family

ID=66116074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811571048.2A Active CN109660450B (en) 2018-12-21 2018-12-21 Automatic message reply method, device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN109660450B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516880A (en) * 2012-06-28 2014-01-15 中国移动通信集团河北有限公司 Method and device for sending short messages
CN105827808A (en) * 2015-09-24 2016-08-03 维沃移动通信有限公司 Automatic reply method and electronic device
CN107644359A (en) * 2016-07-22 2018-01-30 长沙海商网络技术有限公司 A kind of micro-blog management system and method based on B2C e-commerce platforms

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9252975B2 (en) * 2006-05-03 2016-02-02 International Business Machines Corporation Computer-implemented method, tool, and program product for automatically replying to an instant message
CN103596145A (en) * 2013-11-08 2014-02-19 小米科技有限责任公司 Information automatic responding method, device and terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516880A (en) * 2012-06-28 2014-01-15 中国移动通信集团河北有限公司 Method and device for sending short messages
CN105827808A (en) * 2015-09-24 2016-08-03 维沃移动通信有限公司 Automatic reply method and electronic device
CN107644359A (en) * 2016-07-22 2018-01-30 长沙海商网络技术有限公司 A kind of micro-blog management system and method based on B2C e-commerce platforms

Also Published As

Publication number Publication date
CN109660450A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN110278464B (en) Method and device for displaying list
CN112947823A (en) Session processing method, device, equipment and storage medium
CN109451343A (en) Video sharing method, apparatus, terminal and storage medium
CN112751679B (en) Instant messaging message processing method, terminal and server
CN109327608B (en) Song sharing method, terminal, server and system
CN111083516B (en) Live broadcast processing method and device
CN110932963B (en) Multimedia resource sharing method, system, device, terminal, server and medium
CN112764608B (en) Message processing method, device, equipment and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN109151044B (en) Information pushing method and device, electronic equipment and storage medium
CN112667835B (en) Works processing method, device, electronic device and storage medium
CN113411680A (en) Multimedia resource playing method, device, terminal and storage medium
CN110769313B (en) Video processing method and device and storage medium
CN110418152B (en) Method and device for carrying out live broadcast prompt
CN110109608B (en) Text display method, text display device, text display terminal and storage medium
CN112163406A (en) Interactive message display method, device, computer equipment and storage medium
CN110032417A (en) Session entry mask method, apparatus, equipment and storage medium
CN111628925A (en) Song interaction method and device, terminal and storage medium
CN112788359A (en) Live broadcast processing method and device, electronic equipment and storage medium
CN114201244B (en) Task execution method, task creation method, device, terminal and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN113420172A (en) Picture sharing method and device, computer equipment and medium
CN110286839B (en) Message sending method, device, terminal and storage medium
CN109033473B (en) Picture sharing method and device and computer readable storage medium
CN109819308B (en) Virtual resource acquisition method, device, terminal, server and storage medium

Legal Events

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