CN107528768B - Message prompting method and device - Google Patents
Message prompting method and device Download PDFInfo
- Publication number
- CN107528768B CN107528768B CN201610797330.7A CN201610797330A CN107528768B CN 107528768 B CN107528768 B CN 107528768B CN 201610797330 A CN201610797330 A CN 201610797330A CN 107528768 B CN107528768 B CN 107528768B
- Authority
- CN
- China
- Prior art keywords
- account
- client
- message
- information
- prompt
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-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)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a message prompting method and a message prompting device. Wherein, the method comprises the following steps: receiving a message prompt instruction sent by a client of the social application, wherein the client logs in by using a first account, and the message prompt instruction carries account characteristic information; searching a type of second account matched with the target account characteristics in the account characteristic information in the social application; and sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to view information in the social application. The invention solves the technical problem of lower efficiency caused by complicated information reminding operation in the related technology.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a message prompting method and apparatus.
Background
In life, IM (Instant Messaging) software (such as QQ and wechat) plays a crucial role in human-to-human communication, especially in a scenario of simultaneous communication of multiple persons, considering both cost and timeliness, and is even the only option, such as group chat in QQ (i.e. simultaneous chat of multiple persons in IM software).
Because the group chat often causes people to miss some important information, the group chat generally provides a function of reminding someone to pay special attention to a certain chat content, for example, an @ function in the QQ group, for example, if the user wants to remind abc, an @ abc can be inserted into the chat content, so that the IM software on the abc side of the user reminds him to pay attention to the information in a way that a plurality of people in the IM software chat at the same time.
However, if a person wants to remind a plurality of persons to pay attention to a certain message at the same time, the "@" function can only remind a person precisely, so that the person can only manually input their names, such as "@ abc, @ def …", in order to remind a plurality of persons at the same time.
Aiming at the technical problem of lower efficiency caused by complicated information reminding operation in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a message prompting method and a message prompting device, which are used for at least solving the technical problem of low efficiency caused by complicated message prompting operation in the related technology.
According to an aspect of an embodiment of the present invention, there is provided a message alert method, including: receiving a message prompt instruction sent by a client of the social application, wherein the client logs in by using a first account, and the message prompt instruction carries account characteristic information; searching a type of second account matched with the target account characteristics in the account characteristic information in the social application; and sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to view information in the social application.
According to another aspect of the embodiments of the present invention, there is also provided a message prompting method, including: receiving prompt triggering information in a client of the social application, wherein the client logs in by using a first account; responding to prompt trigger information to obtain the characteristics of the target account; and sending a message prompt instruction to a server of the social application in the client, wherein the message prompt instruction carries account characteristic information, the account characteristic information comprises prompt trigger information and target account characteristics, and the message prompt instruction is used for instructing the server to search a class of second accounts matched with the target account characteristics in the account characteristic information in the social application and send a prompt message to each second account in the class of second accounts.
According to an aspect of the embodiments of the present invention, there is also provided a message notification apparatus, including: the first receiving unit is used for receiving a message prompt instruction sent by a client of the social application, wherein the client logs in by using a first account, and the message prompt instruction carries account characteristic information; the searching unit is used for searching a type of second account matched with the target account characteristics in the account characteristic information in the social application; the first sending unit is used for sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to check information in the social application.
According to another aspect of the embodiments of the present invention, there is also provided a message notification apparatus, including: the second receiving unit is used for receiving prompt triggering information in a client of the social application, wherein the client logs in by using the first account; the response unit is used for responding the prompt trigger information to acquire the characteristics of the target account; and the message prompting instruction is used for instructing the server to search a class of second accounts matched with the target account characteristics in the account characteristic information in the social application, and sending a prompting message to each second account in the class of second accounts.
In the embodiment of the invention, a message prompt instruction sent by a client of a social application is received; searching a type of second account matched with the target account characteristics in the account characteristic information in the social application; the method comprises the steps of sending a prompt message to each second account in one type of second accounts, wherein the prompt message is used for prompting the second accounts to check information in social application, and because target account features can be directly input or selected at a client, the technical problem of low efficiency caused by complicated information reminding operation in the related art can be solved, and the technical effect of improving the use efficiency of the information reminding function is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a diagram of a hardware environment for a message alert method according to an embodiment of the invention;
FIG. 2 is a flow diagram of an alternative message prompting method according to an embodiment of the invention;
fig. 3 is a schematic diagram of an interactive interface of the instant messenger in the related art;
FIG. 4 is a flow diagram of an alternative message prompting method according to an embodiment of the invention;
FIG. 5 is a flow diagram of an alternative message prompting method according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an alternative message prompting device according to an embodiment of the invention;
FIG. 7 is a schematic diagram of an alternative message prompting device according to an embodiment of the invention;
FIG. 8 is a schematic diagram of an alternative message prompting device according to an embodiment of the invention;
FIG. 9 is a schematic diagram of an alternative message prompting device according to an embodiment of the invention; and
fig. 10 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the embodiment of the invention, the embodiment of the method for prompting the message is provided.
Alternatively, in the present embodiment, the above method may be applied to a hardware environment formed by the server 102 and the terminal 104 as shown in fig. 1. As shown in fig. 1, a server 102 is connected to a terminal 104 via a network including, but not limited to: the terminal 104 is not limited to a PC, a mobile phone, a tablet computer, etc. in a wide area network, a metropolitan area network, or a local area network. The method of the embodiment of the present invention may be executed by the server 102, the terminal 104, or both the server 102 and the terminal 104. The terminal 104 may execute the method of the embodiment of the present invention by a client installed thereon.
Fig. 2 is a flowchart of an alternative message prompting method according to an embodiment of the present invention, and as shown in fig. 2, the method may include the following steps:
step S202, receiving a message prompting instruction sent by a client of the social application, wherein the client logs in by using a first account, and the message prompting instruction carries account characteristic information.
Step S204, searching a type of second accounts matched with the target account characteristics in the account characteristic information in the social application.
Step S206, a prompt message is sent to each second account in the first class of second accounts, and the prompt message is used for prompting the second accounts to check information in the social application.
Through the steps S202 to S206, by performing feature matching according to the target account features in the account feature information received by the social application terminal, one type of second accounts satisfying the target account features are found, and then a prompt message is sent to each second account in the one type of second accounts to prompt the second accounts to perform information check.
The steps can be executed at an application server side of the social application, the social application can be operated on a mobile phone, a tablet computer, a computer and other terminals, and can be an APP application, a webpage application and the like, for example, the commonly used social applications such as QQ, WeChat, QQ space, WeChat friend circle, Tencent microblog and the like. The message prompt instruction is a data packet which meets an information communication protocol between the client and the application server.
The first account is an account of a current user in the client, and the second account is an account of a friend of the current user or an account paying attention to the user. For example, for the QQ group, the account of the user currently inputting information is the first account, and the accounts of other users in the QQ group may be the second accounts.
It should be noted that, in the above steps, the account characteristic information includes prompt trigger information and target account characteristic, and the prompt trigger information is a specified character, such as "@", "#", or the like, which is specified to trigger execution of the message prompt method of the present application, and may also be a character string; the target account feature is an account feature directly entered by the user or an account feature selected from a set of account features. For example, the user inputs "@ age less than 20", "@" is prompt trigger information, and "age less than 20" is a target account feature, and for example, when the client receives the "@" character input by the user, one or account features in the account feature set are displayed, and the user may directly select a desired target account feature or select a desired target account feature through a pull-down slide. In addition, the characteristic information may be obtained after the client performs the collection processing on the user information, or may be obtained after the server performs the collection processing on the user information, or may be defined by the user in a self-defined manner such as a tag, for example, when adding a friend, the tag is modified or added to be a "colleague" or a "girlfriend".
As shown in fig. 3, in the related art, the names of the users to be reminded need to be accurately input, and it is not convenient to remind one type of users at the same time, even if only one user of this type of users does not know or forget his name, the user needs to go to a lengthy contact list for searching. As the administrator in fig. 3 has two persons (named "just give you …" and "romantic") when the user who joins the group for the first time wants to consult some questions with the administrator, the goal can only be reached by accurately inputting "@ romantic" or "@ just give you …", which is particularly inconvenient for the new person who just enters the group.
By using the technical scheme of the application, the defect that the class of users with the same characteristics cannot be reminded conveniently at the same time in the prior art scheme can be well overcome by utilizing the characteristic classification based on the characteristics of all the users in the group in advance. When the user inputs "@ feature F" (feature F is selected from the drop-down list of the feature set F), the purpose of simultaneously reminding all users with the feature F in the group is achieved. Meanwhile, the scheme is compatible with a common @ function, and the user can still remind the user with the name of abc by inputting '@ abc'.
For example, in fig. 3, "@ administrator" may be directly input, the administrator is the target account feature, the server may find that the administrators in the group are "just give you …" and "romantic" according to the "administrator" feature, and send the prompt message to "just give you …" and "romantic", so that the time for the user to use the reminding function may be shortened.
Embodiments of the present application are described below in detail with reference to steps S202 to S206:
before executing the message prompt instruction sent by the client of the social application received in step S202, an account feature set may be sent to the client, where the account feature set is used to instruct the client to display the account feature set when receiving the prompt trigger information, where the account feature set includes one or more account features.
The account feature set comprehensively considers feature complete sets obtained by the features of all persons in the session group or all persons paying attention to the first account, such as roles, ages, sexes, hometown, graduation schools, speaking characteristics and the like.
Optionally, before executing the message prompt instruction sent by the client of the social application in step S202, indication information may be sent to the client, where the indication information is used to indicate that the client displays an account feature set when receiving prompt trigger information when the number of multiple accounts is greater than a preset parameter in the indication information, where the multiple accounts are accounts searched in the social application (for example, all accounts in a current session group of a first account in the instant messaging application, and all accounts paying attention to the first account in the information sharing application).
When the social application of the client is initialized, the application server can issue the account feature set and the preset parameters in the form of the configuration file to configure the client, so that the client can directly read the preset parameters from the configuration file stored in the local during the process of displaying the account feature set, and then read the account feature set and display when the number of friends in the current QQ group is judged to be not less than the preset parameters. When the account feature set is displayed, the account feature set can be displayed in a drop-down box form.
When prompt trigger information (such as "@") is input in the social application on the client, the client can be triggered to detect whether the configuration file is stored locally, and if not, the client can actively apply for the configuration file from the application server.
When the client detects that the local configuration file is not updated after the preset time, the client also actively applies for updating to the application server, the application server issues the configuration file with the latest version, after the client receives the configuration file, the client checks whether the version number of the received configuration file is higher than that of the locally stored configuration file, and if so, the locally stored configuration file is updated to the received configuration file.
Since the arrangement order of the account features in the account feature set does not consider the usage habits of the user at the initial time, after the message prompt instruction sent by the client receiving the social application in step S202 is executed, the arrangement order of the account features in the account feature set may be updated based on the account feature information, where the client displays the account features in the account feature set according to the arrangement order. And after receiving a message prompt instruction sent by a client of the social application, updating the value of the preset parameter according to account characteristic information sent by the client.
Specifically, updating the arrangement sequence of account features in the account feature set based on the account feature information includes: determining the current using times of the target account feature in the account feature information, for example, if the account feature in the account feature set is used once, the weight of the account feature set can be automatically increased by 1; the ranking order is determined according to the current number of times of use of each account feature in the account feature set, that is, the ranking may be performed according to the weight value of each account feature, for example, a row with a higher weight is arranged at the front of the queue, and a row with a lower weight is arranged at the back of the queue.
When the value of the preset parameter is updated according to the account characteristic information sent by the client, the change of the current session group or the account number paying attention to the first account and the frequency condition of the prompt trigger information used by the user can be checked according to the user information (such as the account characteristic information) uploaded by the client.
It should be noted that, because the usage habits of the user constantly change, in order to adapt to the change of the user, the above manner may also be used to update the arrangement order of the account features in the account feature set and update the values of the preset parameters so as to follow the change of the habits of the user, thereby meeting the user requirements.
In step S204, searching for a type of second account in the social application that matches the target account feature in the account feature information includes: under the condition that the social application is an instant messaging application (such as QQ, WeChat and the like), searching a second account matched with the characteristics of the target account from the current session and/or the historical session of the first account; and under the condition that the social application is an information sharing application (such as QQ space, WeChat friend circle, Tencent microblog and other applications), searching a second account matched with the target account characteristic from the accounts concerning the first account.
In the instant messaging application, when a type of second account matched with the characteristics of a target account is searched from the current session and/or the historical session of a first account, the second account can be determined from the current session or the historical session according to the actual operation of a user. For example, if the user inputs prompt trigger information "@" in a dialog box of the current session, a second account meeting the characteristics of the target account is searched from the current session so as to embody that the second account views the message sent by the second account; if the user inputs prompt trigger information '@' in a non-dialog box (such as a friend search bar and the like) of the application, a second account meeting the characteristics of the target account can be searched from the session (which can be one or more of the current session and the historical session) selected by the user, and the user is reminded to view messages sent by the user in the groups; if the user inputs the prompt trigger information '@' in a non-dialog box (such as a friend search bar) of the application, a second account meeting the characteristics of the target account can be searched from all friends of the user. When prompt triggering information is input in a non-dialog box (such as a friend search bar and the like), the operation of establishing a group can be performed, and specifically, a group including a first type of second account is established.
It should be noted that, when searching for a type of second account in the social application that matches the target account feature in the account feature information, if the target account feature is one, the type of second account is a second account that has or does not have the target account feature; and under the condition that the target account characteristics are multiple, the first-class second account is the second account which meets the logical relation among the multiple target account characteristics.
The logical relations include logical and (represented by the symbol "n"), logical or (represented by the symbol "u"), and logical not (represented by the symbol "minus"), and when the user selects the target account feature, the user can select or directly input the logical relation of the feature, for example, if the logical relation of a certain target account feature is selected as logical not, it is equivalent to searching for a second account without the target account feature; if the logic relation between any two target account characteristics selected by the user is a logic AND, the user selects a second type of account with the two target account characteristics at the same time; if the logical relationship between any two target account characteristics selected by the user is logical or, then the user account with at least one of the two target account characteristics is selected.
For example, when the user selects feature f1,f2,f3… allows the user to select the relationship between these features that the person to be reminded needs to have, e.g., (f)1∩f2)∪f3Indicating the need for the person to be reminded to meet the feature f at the same time1And f2Or only need to have the feature f3And (4) finishing.
In the above embodiment, after searching for a type of second account in the social application that matches the target account feature in the account feature information in step S204, in a case that the social application is an instant messaging application, a session group is established, where the session group includes a first account and a type of second account, for example, when a user inputs a prompt trigger information in a non-dialog box (such as a friend search bar, etc.), a group establishing operation may be performed, specifically, a group including a type of second account is established.
In step S206, sending the prompting message to each of the first type of second accounts includes: sending a prompt message for prompting that a specified message is checked on the instant messaging application under the condition that the social application is the instant messaging application, wherein the specified message is a message specified by the first account; and sending a prompt message for prompting that the specified content is viewed on the information sharing application under the condition that the social application is the information sharing application, wherein the specified content is the sharing content specified by the first account.
If the prompt is the prompt for establishing the group in the communication application, the sending the prompt message to each second account in the first class of second accounts comprises the following steps: and sending a prompt message to each second account, wherein the prompt message is used for requesting each second account to join the session group, and the user selects to join or not join after seeing the prompt message, and the prompt message is viewed by the user, or the prompt message is used for prompting that each second account is joined to the session group, namely the user is informed of the group joined through the prompt message.
The following describes an embodiment of the present application in detail with reference to an instant messaging application and an information sharing application as examples:
implementation-based instant messaging application
The instant messaging application is a widely used application in life, and includes QQ, wechat, and the like, and the application takes QQ as an example for explanation, but the application is not limited thereto.
Scenario 1, user needs to send message to multiple users (but these multiple users are not in the same group)
Optionally, the user may input the prompt trigger information @ at a designated location (e.g., a search bar) of the user interface of the QQ on the mobile phone, and input the account characteristic information "success", and then the application server or the QQ application of the mobile phone automatically searches for friends with hometown of "success" or current location of "success" among all friends of the mobile phone.
The user can directly input the messages which need to be sent to the users after the account characteristic information, and the server forwards the messages input by the user to the searched friends. At this time, the sent prompt message may be a message input by the user, or identification information used for identifying the message sent by the user in the session list of the friend of the user. In order to distinguish between the prompt trigger and the message the user needs to send, a gap symbol, such as "#", may be added between the two.
Optionally, the user may input the prompt trigger information @ at a designated location (e.g., a search bar) of a QQ user interface on the mobile phone, and input the account characteristic information "beijing", and then the application server or the QQ application at the mobile phone end automatically searches for friends of which hometown is "beijing" or whose current location is "beijing" among all friends of the friends, and establishes a group including the friends, or requests the friends to join the currently created group.
At this time, the sent prompt message is a request message requesting to join the group, or a prompt message prompting that the friend has joined the group.
After the group is created, the user can send the message in the group.
Scenario 2, user needs to send message to multiple users (multiple users in the same group)
Optionally, the user may input the prompt trigger information @, and input the account characteristic information "market department" in the session interface of the current session group, the server may identify all the coworkers of the "market department" in the session group, and when the user sends the message "@ market department", the server may send the prompt message to all the coworkers of the "market department", and when the coworkers issue the prompt message, the server may automatically jump to the message "@ market department", and the user may send the message of the specified content in the message after or before the message "@ market department", so that the coworkers of the "market department" may not miss the message of the specified content.
Alternatively, the user may input a message that needs to be received by the "market department" colleague, such as "three-point meeting in afternoon", and then input the prompt trigger information @, and input the account characteristic information "market department", so that, when the user sends the complete message of "three-point meeting in afternoon @ market department", the server identifies all colleagues with the "market department" characteristic (such as "market department in name", "market department in remark", classification information "market department", etc.) from the conversation group, and forms a prompt message prompting to view the message in the conversation list of the colleagues while sending "three-point meeting in afternoon @ market department" to the colleagues.
Alternatively, the user may also directly input "@ market department three-point conference in afternoon" in the conversation interface of the current conversation group. In order to distinguish the prompt trigger information from the message that the user needs to send, a designated character or character string such as a space, a "," "&" or the like may be added between "market division" and "three point afternoon meeting".
It should be noted that, in the above application scenario, after the user inputs "@", the QQ client may automatically display a plurality of feature information about all the friends or friends in the designated group, which is automatically generated by the application server, and the user only needs to select the required feature information in the list; or both, allowing the user to enter features themselves and to select features from the list.
In addition, the behavior information (such as session information) of the user is sent to the application server, and the application server performs corresponding operations. If the account characteristic information input by the user is unused before, adding the account characteristic information into an account characteristic set for the user to use later; if the account characteristic information input by the user exists in the account characteristic set, the application server updates the use times of the account characteristic information in the account characteristic set, and reorders the use times based on the current use times of the account characteristic information, and the use times are arranged in front of the queue, so that the user can select the account characteristic information conveniently.
Information sharing application of embodiment two
The information sharing application includes a space (such as a QQ space), a friend circle (such as a WeChat friend circle), a microblog (such as a Tengchong microblog), and the like, and the Tengchong microblog is taken as an example for detailed description, but not limited thereto.
After a user plays with a plurality of friends on a trip, the user takes a plurality of photos, and when the user needs to remind the friends to view the photos (namely, specified contents) through a microblog, the user can operate as follows.
After the photos are uploaded, prompt triggering information '@' is input in the sharing window, then account characteristic information is input, and the user can click to share, wherein the server can determine accounts of the friends according to the account characteristic information and sends the shared prompt information to user accounts of the friends. When the friends open the microblog, the prompt message is received, and the sharing link can be directly accessed to view the photo when the prompt message is opened.
Optionally, the account characteristic information may be group identification information and classification information in the microblog, for example, if the friends of the user are in the same group, the user may input a group name or a friend classification directly after "@".
Optionally, the account characteristic information may also be characteristic information of the user, such as information of gender, age, hometown, location, company, department, position, and the like. If the user can input "Beijing andU" after "@", all friends of the user are reminded to meet the requirements of "in Beijing" and "women in gender".
According to another aspect of the embodiments of the present invention, there is also provided a message prompting method, as shown in fig. 4, the method includes:
step S402, prompt triggering information is received in a client of the social application, and the client logs in through a first account.
And step S404, responding to the prompt triggering information to acquire the characteristics of the target account.
Step S406, a message prompt instruction is sent to the server of the social application in the client, the message prompt instruction carries account characteristic information, the account characteristic information includes prompt trigger information and target account characteristics, and the message prompt instruction is used for instructing the server to search a class of second accounts matched with the target account characteristics in the account characteristic information in the social application, and send a prompt message to each second account in the class of second accounts.
Through the steps S402 to S406, by performing feature matching according to the target account features in the account feature information received by the social application terminal, one type of second accounts satisfying the target account features are found, and then a prompt message is sent to each second account in the one type of second accounts to prompt the second accounts to perform information check.
The steps can be executed at a client side of the social application, and the social application can be an APP application, a webpage application and the like, such as common social applications like QQ, WeChat, QQ space, WeChat friend circle, Tengchong microblog and the like; the client can be at a terminal such as a mobile phone, a tablet computer, a computer and the like; the message prompt instruction is a data packet which meets an information communication protocol between the client and the application server.
The first account is an account of a current user in the client, and the second account is an account of a friend of the current user or an account paying attention to the user. For example, for the QQ group, the account of the user currently inputting information is the first account, and the accounts of other users in the QQ group may be the second accounts.
The prompt trigger information is a designated character used for triggering execution of the message prompt method of the application, such as a "@", "#", and the like, or may be a character string; the target account feature is an account feature directly entered by the user or an account feature selected from a set of account features. For example, the user inputs "@ age less than 20", "@" is prompt trigger information, and "age less than 20" is a target account feature, and for example, when the client receives the "@" character input by the user, one or account features in the account feature set are displayed, and the user may directly select a desired target account feature or select a desired target account feature through a pull-down slide.
Embodiments of the present application are described in detail below with reference to steps S402 to S406:
in step S402, prompt trigger information is received in a client of the social application, and the client logs in using a first account. For example, after the user logs in the client through the first account, the user inputs the prompt trigger information, such as the prompt trigger information "@", and the client responds through step S404.
In step S404, the obtaining the target account feature in response to the prompt trigger information includes: responding to prompt trigger information to display an account feature set in the client, wherein the account feature set comprises one or more account features; receiving a feature selection instruction in a client; and responding to the characteristic selection instruction to select a target account characteristic from the account characteristic set.
Specifically, the step of displaying the account feature set in the client in response to the prompt trigger information includes: determining the arrangement sequence of each account feature in the account feature set; and displaying one or more account characteristics in the account characteristic set in the client according to the arrangement sequence.
When the arrangement order of the account features in the account feature set is determined, the arrangement order of the account features in the account feature set can be obtained from an application server of the social application. For example, it is obtained by:
the first method is as follows: when prompt trigger information (such as "@") is input in the social application on the client, the client can be triggered to detect whether the configuration file is stored locally, if not, the configuration file is initiatively applied to the application server, and the arrangement sequence of the account features is stored in the configuration file.
The second method comprises the following steps: when the client detects that the local configuration file is not updated after the preset time, the client also actively applies for updating to the application server, the application server issues the configuration file with the latest version, after the client receives the configuration file, the client checks whether the version number of the received configuration file is higher than the version number of the locally stored configuration file, if so, the locally stored configuration file is updated to the received configuration file, and the arrangement sequence of the account characteristics is stored in the configuration file.
The third method comprises the following steps: before executing step S402, when the social application of the client is initialized, the client may receive the account feature set and the arrangement order of the account features that are issued by the application server in the form of the configuration file, so as to perform the relevant configuration.
By using the configuration method, the habits of most users can be comprehensively considered, and the basic habit requirements of most users can be met under the condition of not consuming local resources.
Optionally, when the arrangement order of the account features in the account feature set is determined, the arrangement order of the account features is determined according to the current number of times of use of the account features on the client, that is, the initial arrangement order of the account features is obtained from an initial configuration file, the initial order is given by the server, the weights of all the features are all 0, the number of times of use or the weight of the account feature is updated locally at the client after the user uses the account feature once, after the user selects a certain feature f, the weight of the f is increased by 1, the f is re-sorted according to the weights, and then the re-sorting is performed according to the number of times of use or the weights of the local account features. By using the configuration method, the use habits of the individual users can be counted more accurately, the arrangement sequence meeting the habit requirements of the individual users is provided for the individual users, and the user experience can be further provided.
It should be noted that the feature set F may be generated at the client or the server, but considering that the server has more complete user information and the generation speed is faster, it may be generated at the server and sent to the client along with the configuration file; if the user habit is matched, the user habit can be generated at the client side.
Optionally, not all groups need to use the prompting method of the present application, which may be limited in such a way that, before displaying the account feature set in the client in response to the prompt trigger information, in a case where the social application is an instant messaging application, it is determined whether the first number of accounts in the current session group of the first account reaches a preset parameter, wherein, in a case where it is determined that the first number reaches the preset parameter, the account feature set is displayed in the client in response to the prompt trigger information; or, when the social application is an information sharing application, determining whether the second number of the account concerning the first account reaches a preset parameter, wherein, when the second number reaches the preset parameter, the account feature set is displayed in the client in response to the prompt trigger information.
For example, in the process of displaying the account feature set, the client may directly read the preset parameter from the configuration file stored locally, and when it is determined that the number of friends in the current QQ group is not less than the preset parameter, the account feature set is read and displayed. When the account feature set is displayed, the account feature set can be displayed in a drop-down box form.
The embodiments of the present application will be described in detail below with reference to the QQ group in the instant messaging account as an example. As shown in fig. 5:
step S502, the client receives the prompt triggering information. For example, user U has entered @inthe chat window while chatting in the QQ group.
Step S504, whether the configuration file is stored locally or not. If yes, go to step S508, otherwise go to step S506.
Step S506, request a configuration file from the cloud (application server). And pre-generating a feature set F based on all user features in the group at the server and issuing the feature set F to the client along with the configuration file.
Step S508, the configuration file is parsed to obtain the account feature set and the preset parameters (i.e., the threshold N).
In step S510, it is determined whether the number of people is greater than or equal to the threshold N, if so, step S512 is executed, otherwise, step S514 is executed.
Step S512, displaying a drop-down box of the account feature set for the user to select. If the number of people in the group Q is NQAnd displaying the drop-down box display feature set F for the user to select.
Step S514, degenerates to the normal @ function. The user can select the reminded accounts one by one after @ the user has finished selecting the reminded accounts.
If the number of people in the group is NQ<N or the user has not selected any feature in the feature set F, degenerates to the normal @ function, i.e. after accurately entering the name of a certain user in the group, he is reminded separately.
At step S516, whether the user has selected at least one account feature. If so, go to step S518, otherwise go to step S514.
Step S518, all users who meet the selection feature are reminded. If the user selects one or more features f1,f2,f3…, a message M is sent, and the server will push the message M with the reminding mark to all users who meet any one of the selected characteristics, and the clients of these users will remind the users of the message M in a striking way.
Step S520, uploading the user behavior data to the cloud.
And the server side updates the threshold N and the feature set F according to the uploaded data, packages the threshold N and the feature set F into a configuration file and sends the configuration file to the client side.
In this embodiment, the user U inputs prompt trigger information "@" in the group chat "And then, if the number of people in the group exceeds a threshold (namely a preset parameter) N, automatically popping up a drop-down box, and listing a feature set F generated in advance based on the features of all the users in the group in the drop-down box. User selection of one or more features F in the set F1,f2,f3… IM software will have all features f1Or f2Or f3Generates a striking prompt to remind the user to pay attention to the information sent by the user U. Otherwise, if the number of people in the group is less than the threshold value N or the user U does not select any feature in the feature set F, the system degenerates to the ordinary "@ function", namely, the process of accurately reminding the user of the name abc, namely "@ abc", is executed. By using the classification based on the characteristics of all users in the group, the defect that the users with the same characteristics cannot be reminded conveniently and simultaneously in the prior art scheme can be well solved. When the user inputs "@ feature F" (feature F is selected from the drop-down list of the feature set F), the purpose of simultaneously reminding all users with the feature F in the group is achieved. Meanwhile, the scheme is compatible with a common @ function, and the user can still remind the user with the name of abc by inputting '@ abc'.
In the embodiment, the system mainly comprises a client and a server, wherein the client is responsible for displaying a drop-down box of the feature set F and uploading user behaviors, and the server is responsible for updating the threshold N and the feature set F, packaging the threshold N and the feature set F into a configuration file and sending the configuration file to the client.
For the application server at the server, when a configuration file is sent down, the configuration can be implemented through the following fields:
the meaning of each field is as follows:
version: the version number of the current configuration file is used for updating the local configuration file, and the updating is carried out only when the version number of the new configuration file issued by the server is higher than the local version number.
features: namely, the feature set F, comprehensively considers the feature complete set obtained by the features of all the persons in the group, such as roles, ages, sexes, hometown, graduation colleges, speaking characteristics, and the like.
threshold: i.e. a threshold (preset parameter) N, when the user enters @ in a chat in a group with more than N people, a drop-down box is shown to show the feature set F of the group for selection.
For the client, the functions of the present application can be implemented by the following schematic codes:
it should be noted that, when the @ function is used for multi-user chat, in order to remind a user of paying particular attention to a certain message, a special mark of the @ username "is inserted into the message, and the IM software reminds the user of the message in a certain striking manner.
By the embodiment, the reminding method based on the characteristics is used, so that the user experience can be improved when the user uses the reminding function, a complicated and error-prone input process is omitted, and the user with the same characteristics can be reminded in group chat conveniently.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to the embodiment of the invention, the invention also provides a message prompting device for implementing the message prompting method. Fig. 6 is a schematic diagram of an alternative message prompting apparatus according to an embodiment of the present invention, and as shown in fig. 6, the apparatus may include: a first receiving unit 61, a searching unit 63 and a first sending unit 65.
The first receiving unit is used for receiving a message prompt instruction sent by a client of the social application, wherein the client logs in by using a first account, and the message prompt instruction carries account characteristic information;
the searching unit is used for searching a type of second account matched with the target account characteristics in the account characteristic information in the social application;
the first sending unit is used for sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to check information in the social application.
Through the units, the first receiving unit performs feature matching according to the target account features in the account feature information received by the social application terminal, the searching unit searches the first class of second accounts meeting the target account features, then the first sending unit sends a prompt message to each second account in the first class of second accounts to prompt the second accounts to check information, and as the target account features can be directly input or selected at the client, the technical problem of low efficiency caused by complicated information reminding operation in the related technology can be solved, and the technical effect of improving the use efficiency of the information reminding function is achieved.
It should be noted that the first receiving unit 61 in this embodiment may be configured to execute step S202 in embodiment 1 of this application, the searching unit 63 in this embodiment may be configured to execute step S204 in embodiment 1 of this application, and the first sending unit 65 in this embodiment may be configured to execute step S206 in embodiment 1 of this application.
The steps can be executed at an application server side of the social application, the social application can be operated on a mobile phone, a tablet computer, a computer and other terminals, and can be an APP application, a webpage application and the like, for example, the commonly used social applications such as QQ, WeChat, QQ space, WeChat friend circle, Tencent microblog and the like. The message prompt instruction is a data packet which meets an information communication protocol between the client and the application server.
The first account is an account of a current user in the client, and the second account is an account of a friend of the current user or an account paying attention to the user. For example, for the QQ group, the account of the user currently inputting information is the first account, and the accounts of other users in the QQ group may be the second accounts.
It should be noted that, in the above steps, the account characteristic information includes prompt trigger information and target account characteristic, and the prompt trigger information is a specified character, such as "@", "#", or the like, which is specified to trigger execution of the message prompt method of the present application, and may also be a character string; the target account feature is an account feature directly entered by the user or an account feature selected from a set of account features. For example, the user inputs "@ age less than 20", "@" is prompt trigger information, and "age less than 20" is a target account feature, and for example, when the client receives the "@" character input by the user, one or account features in the account feature set are displayed, and the user may directly select a desired target account feature or select a desired target account feature through a pull-down slide.
Optionally, as shown in fig. 7, the apparatus further includes: a second sending unit 67, configured to send an account feature set to the client before receiving a message prompt instruction sent by the client of the social application, and instruct the client to display the account feature set when receiving prompt trigger information, where the account feature set includes one or more account features; the account feature set comprises target account features, and the account feature information comprises prompt trigger information and the target account features.
Optionally, the apparatus further comprises: and the updating unit is used for updating the arrangement sequence of the account features in the account feature set based on the account feature information after receiving a message prompt instruction sent by a client of the social application, wherein the client displays the account features in the account feature set according to the arrangement sequence.
Specifically, the updating unit determines the current use times of the target account characteristics in the account characteristic information; and determining the arrangement sequence according to the current use times of each account feature in the account feature set.
Optionally, the device further includes a third sending unit, configured to send indication information to the client before receiving a message prompt instruction sent by the client of the social application, where the indication information is used to indicate that the client displays an account feature set when receiving prompt trigger information when the number of multiple accounts is greater than a preset parameter in the indication information, where the multiple accounts are accounts searched in the social application;
the updating unit is further configured to update the value of the preset parameter according to the account characteristic information sent by the client after receiving a message prompt instruction sent by the client of the social application.
In the above embodiment, the search unit includes: the first searching module is used for searching a second account with the same type as the target account in the current session and/or the historical session of the first account under the condition that the social application is the instant messaging application; and the second searching module is used for searching a type of second account matched with the characteristics of the target account from the accounts concerning the first account under the condition that the social application is the information sharing application.
When searching a type of second account matched with the target account characteristics in the account characteristic information in the social application, the searching unit searches the type of second account matched with the target account characteristics from the current session and/or the historical session of the first account under the condition that the social application is an instant messaging application; and under the condition that the social application is an information sharing application, searching a second account matched with the target account characteristics from the accounts concerning the first account.
It should be noted that, when the target account number is one, the first-type second account numbers are the second account numbers which all have or do not have the target account number characteristics; and under the condition that the target account characteristics are multiple, the first-class second account is the second account which meets the logical relation among the multiple target account characteristics.
The logical relationship comprises logical AND logical OR, wherein the logical AND between any two target account characteristics represents the second type of account with any two target account characteristics; a logical OR between any two target account features represents a user account with at least one of any two target account features.
Optionally, the apparatus of the present application comprises: the group establishing unit is used for establishing a session group under the condition that the social application is an instant messaging application after searching a class of second accounts matched with the target account characteristics in the account characteristic information in the social application, wherein the session group comprises a first account and a class of second accounts. The first sending unit is further configured to send a prompt message to each second account, where the prompt message is used to request each second account to join the session group or is used to prompt that each second account has been joined to the session group.
The first transmitting unit described above includes: the first sending module is used for sending a prompt message for prompting that a specified message is checked on the instant messaging application under the condition that the social application is the instant messaging application, wherein the specified message is a message specified by a first account; the second sending module is used for sending a prompt message for prompting that the specified content is viewed on the information sharing application under the condition that the social application is the information sharing application, wherein the specified content is the sharing content specified by the first account.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of embodiment 1 described above. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
According to another aspect of the embodiments of the present invention, there is also provided a message prompting apparatus, as shown in fig. 8, the apparatus includes: a second receiving unit 81, a responding unit 83 and a fourth transmitting unit 85.
The second receiving unit 81 is configured to receive the prompt triggering information in a client of the social application, where the client logs in using the first account.
The response unit 83 is configured to respond to the prompt trigger information to obtain the target account feature.
The fourth sending unit 85 is configured to send the social application to the server in the client. And sending a message prompting instruction, wherein the message prompting instruction carries account characteristic information, the account characteristic information comprises prompting trigger information and target account characteristics, and the message prompting instruction is used for instructing the server to search a class of second accounts matched with the target account characteristics in the account characteristic information in the social application and send a prompting message to each second account in the class of second accounts.
Through the unit, the target account characteristics can be directly input or selected at the client, so that the technical problem of low efficiency caused by complicated information reminding operation in the related technology can be solved, and the technical effect of improving the use efficiency of the information reminding function is achieved.
It should be noted that the second receiving unit 81 in this embodiment may be configured to execute step S402 in embodiment 1 of this application, the responding unit 83 in this embodiment may be configured to execute step S404 in embodiment 1 of this application, and the fourth sending unit 85 in this embodiment may be configured to execute step S406 in embodiment 1 of this application.
Alternatively, as shown in fig. 9, the response unit 83 includes: a first response module 831, configured to display an account feature set in the client in response to the prompt trigger, where the account feature set includes one or more account features; a receiving module 833, configured to receive a feature selection instruction in a client; the second response module 835 is configured to select a target account feature from the account feature set in response to the feature selection instruction.
Optionally, the apparatus further comprises: the first judging unit is used for judging whether the first number of accounts in the current session group of the first account reaches a preset parameter or not before the account feature set is displayed in the client in response to the prompt triggering information under the condition that the social application is an instant messaging application, wherein the account feature set is displayed in the client in response to the prompt triggering information under the condition that the first number is judged to reach the preset parameter; and the second judging unit is used for judging whether the second number of the accounts paying attention to the first account reaches a preset parameter or not when the social application is the information sharing application, wherein the account feature set is displayed in the client in response to the prompt trigger information under the condition that the second number is judged to reach the preset parameter.
The first response module is further configured to determine an arrangement order of each account feature in the account feature set; and displaying one or more account characteristics in the account characteristic set in the client according to the arrangement sequence.
Specifically, a first response module acquires the arrangement sequence of each account feature in an account feature set from an application server of the social application; or, determining the arrangement sequence of the account characteristics according to the current use times of the account characteristics on the client.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of embodiment 1 described above. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of embodiment 1 described above. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
Example 3
According to the embodiment of the invention, the invention also provides a server or a terminal for implementing the message prompting method.
Fig. 10 is a block diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 10, the terminal may include: one or more processors 1001 (only one is shown in fig. 10), a memory 1003, and a transmission apparatus 1005 (such as the transmission apparatus in the above embodiment), as shown in fig. 10, the terminal may further include an input-output device.
The memory 1003 may be used to store software programs and modules, such as program instructions/modules corresponding to the message prompting method and apparatus in the embodiments of the present invention, and the processor 1001 executes various functional applications and data processing by running the software programs and modules stored in the memory 1003, that is, implements the above method. The memory 1003 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1003 may further include memory located remotely from the processor 1001, which may be connected to a terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmitting device 1005 is used for receiving or transmitting data via a network, and can also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmitting device 1005 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1005 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
Among them, the memory 1003 is used to store an application program, in particular.
The processor 1001 may call an application stored in the memory 1003 via the transmitting device 1005 to perform the following steps: receiving a message prompt instruction sent by a client of the social application, wherein the client logs in by using a first account, and the message prompt instruction carries account characteristic information; searching a type of second account matched with the target account characteristics in the account characteristic information in the social application; and sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to view information in the social application.
The processor 1001 is further configured to perform the following steps: receiving prompt triggering information in a client of the social application, wherein the client logs in by using a first account; responding to prompt trigger information to obtain the characteristics of the target account; and sending a message prompt instruction to a server of the social application in the client, wherein the message prompt instruction carries account characteristic information, the account characteristic information comprises prompt trigger information and target account characteristics, and the message prompt instruction is used for instructing the server to search a class of second accounts matched with the target account characteristics in the account characteristic information in the social application and send a prompt message to each second account in the class of second accounts.
By adopting the embodiment of the invention, the characteristic matching is carried out according to the target account characteristic in the account characteristic information received by the social application terminal, one class of second accounts meeting the target account characteristic is found, and then the prompting message is sent to each second account in the one class of second accounts to prompt the second accounts to carry out information checking.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 10 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 10 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Example 4
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be a program code for executing the message prompting method.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
s1, receiving a message prompt instruction sent by a client of the social application, wherein the client logs in by using a first account, and the message prompt instruction carries account characteristic information;
s2, searching a type of second account matched with the target account characteristics in the account characteristic information in the social application;
and S3, sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to view information in the social application.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
s4, receiving prompt triggering information in a client of the social application, wherein the client logs in by using a first account;
s5, responding the prompt trigger information to obtain the target account characteristics;
and S6, sending a message prompting instruction to the server of the social application in the client, wherein the message prompting instruction carries account characteristic information, the account characteristic information comprises prompting trigger information and target account characteristics, and the message prompting instruction is used for instructing the server to search a class of second accounts matched with the target account characteristics in the account characteristic information in the social application, and sending a prompting message to each second account in the class of second accounts.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (27)
1. A message prompting method is characterized by comprising the following steps:
sending indication information to a client of a social application, wherein the indication information is used for indicating that the client displays an account feature set when receiving prompt trigger information under the condition that the number of a plurality of accounts is greater than a preset parameter in the indication information, the plurality of accounts are accounts searched in the social application, and the account feature set comprises one or more account features;
receiving a message prompt instruction sent by the client, wherein the client logs in by using a first account, the message prompt instruction carries account characteristic information, the account characteristic information comprises prompt trigger information and target account characteristics, and the target account characteristics are obtained from an account characteristic set displayed by the client when the prompt trigger information is received;
searching a type of second account matched with the target account characteristics;
and sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to view information in the social application.
2. The method of claim 1, wherein prior to receiving a message alert instruction sent by a client of a social application, the method further comprises:
sending an account feature set to the client, wherein the account feature set is used for indicating the client to display the account feature set when receiving prompt trigger information;
wherein the account feature set includes the target account feature.
3. The method of claim 2, wherein after receiving a message prompt instruction sent by a client of a social application, the method further comprises:
updating the arrangement sequence of account features in the account feature set based on the account feature information, wherein the client displays the account features in the account feature set according to the arrangement sequence.
4. The method of claim 3, wherein updating the ranking order of account features in the account feature set based on the account feature information comprises:
determining the current use times of the target account characteristics in the account characteristic information;
and determining the arrangement sequence according to the current use times of each account feature in the account feature set.
5. The method of claim 3, further comprising:
and after receiving a message prompt instruction sent by a client of the social application, updating the value of the preset parameter according to the account characteristic information sent by the client.
6. The method of claim 1, wherein finding a class of second accounts in the social application that matches the target account characteristics in the account characteristic information comprises:
under the condition that the social application is an instant messaging application, searching the second account with the type matched with the target account characteristics from the current session and/or the historical session of the first account;
and under the condition that the social application is an information sharing application, searching the second account of the same type matched with the target account characteristics from the accounts concerning the first account.
7. The method of any of claims 1 to 6, wherein when searching for a class of second accounts in the social application that matches the target account characteristics in the account characteristics information,
under the condition that the target account number characteristic is one, the second accounts of the same type are the second accounts which have or do not have the target account number characteristic;
and under the condition that the target account characteristics are multiple, the second account of the same type is the second account which meets the logical relationship among the multiple target account characteristics.
8. The method of claim 7, wherein the logical relationship comprises a logical AND and logical OR, wherein,
the logical AND between any two of the target account characteristics represents a second type of account having any two of the target account characteristics;
a logical or between any two of the target account features represents a user account having at least one of any two of the target account features.
9. The method of claim 2, wherein sending a prompting message to each of the class of second accounts comprises:
sending the prompt message for prompting to view a specified message on the instant messaging application under the condition that the social application is the instant messaging application, wherein the specified message is a message specified by the first account;
and sending the prompt message for prompting that the specified content is viewed on the information sharing application under the condition that the social application is the information sharing application, wherein the specified content is the sharing content specified by the first account.
10. The method of claim 1,
the method further comprises the following steps: after searching a class of second accounts matched with the target account characteristics in the account characteristic information in the social application, establishing a session group under the condition that the social application is an instant messaging application, wherein the session group comprises the first account and the class of second accounts;
sending a prompting message to each of the second accounts of the category of second accounts comprises: and sending the prompting message to each second account, wherein the prompting message is used for requesting each second account to join the session group or prompting that each second account is already joined the session group.
11. A message prompting method is characterized by comprising the following steps:
receiving indication information sent by a server of a social application, wherein the indication information is used for indicating a client of the social application to display an account feature set when prompt trigger information is received under the condition that the number of a plurality of accounts is larger than a preset parameter in the indication information, the plurality of accounts are accounts searched in the social application, the account feature set comprises one or more account features, the prompt trigger information is received in a current session group in the client, and the client logs in by using a first account;
responding to the prompt trigger information, and acquiring the number of the searched accounts in the current session group;
displaying the account feature set under the condition that the number of the searched accounts in the current session group is determined to be larger than the preset parameter in the indication information;
acquiring target account characteristics from the account characteristic set;
and sending a message prompting instruction to a server of the social application in the client, wherein the message prompting instruction carries account characteristic information, the account characteristic information comprises the prompting trigger information and the target account characteristic, and the message prompting instruction is used for instructing the server to search a class of second accounts matched with the target account characteristic in the account characteristic information in the social application and send a prompting message to each second account in the class of second accounts.
12. The method of claim 11, wherein obtaining target account features in response to the prompt trigger information comprises:
responding to the prompt trigger information to display an account feature set in the client, wherein the account feature set comprises one or more account features;
receiving a feature selection instruction in the client;
and responding to the characteristic selection instruction to select the target account characteristic from the account characteristic set.
13. The method of claim 12, wherein prior to displaying the set of account features in the client in response to the prompt trigger, the method further comprises:
under the condition that the social application is an instant messaging application, judging whether a first number of accounts in a current session group of the first account reaches a preset parameter, wherein under the condition that the first number is judged to reach the preset parameter, an account feature set is displayed in the client in response to the prompt trigger information; or the like, or, alternatively,
and under the condition that the social application is an information sharing application, judging whether the second number of the accounts paying attention to the first account reaches the preset parameter, and responding to the prompt trigger information to display an account feature set in the client under the condition that the second number reaches the preset parameter.
14. The method of claim 12 or 13, wherein displaying a set of account features in the client in response to the prompt trigger comprises:
determining the arrangement sequence of each account feature in the account feature set;
and displaying one or more account characteristics in the account characteristic set in the client according to the arrangement sequence.
15. The method of claim 13, wherein determining the ranking order of the account features in the account feature set comprises:
acquiring the arrangement sequence of each account feature in the account feature set from an application server of the social application; or the like, or, alternatively,
and determining the arrangement sequence of the account characteristics according to the current use times of the account characteristics on the client.
16. A message prompting apparatus, comprising:
the system comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a message prompt instruction sent by a client of a social application, the client logs in by using a first account, the message prompt instruction carries account characteristic information, the account characteristic information comprises prompt trigger information and target account characteristics, and the target account characteristics are obtained from an account characteristic set displayed when the client receives the prompt trigger information;
the searching unit is used for searching a type of second account matched with the target account characteristics;
the first sending unit is used for sending a prompt message to each second account in the class of second accounts, wherein the prompt message is used for prompting the second accounts to view information in the social application;
wherein the apparatus further comprises:
the third sending unit is configured to send indication information to a client of a social application before receiving a message prompt instruction sent by the client, where the indication information is used to indicate that the client displays an account feature set when receiving prompt trigger information when the number of multiple accounts is greater than a preset parameter in the indication information, the multiple accounts are accounts searched in the social application, and the account feature set includes one or more account features.
17. The apparatus of claim 16, further comprising:
the second sending unit is used for sending an account feature set to a client before receiving a message prompt instruction sent by the client of the social application, and is used for indicating the client to display the account feature set when receiving prompt trigger information, wherein the account feature set comprises one or more account features;
the account feature set comprises the target account features, and the account feature information comprises the prompt trigger information and the target account features.
18. The apparatus of claim 17, further comprising:
and the updating unit is used for updating the arrangement sequence of the account features in the account feature set based on the account feature information after receiving a message prompt instruction sent by a client of the social application, wherein the client displays the account features in the account feature set according to the arrangement sequence.
19. The apparatus of claim 18, further comprising:
the updating unit is further configured to update the value of the preset parameter according to the account characteristic information sent by the client after receiving a message prompt instruction sent by the client of the social application.
20. The apparatus of claim 16, wherein the lookup unit comprises:
the first searching module is used for searching the second account with the type matched with the characteristics of the target account from the current session and/or the historical session of the first account under the condition that the social application is an instant messaging application;
and the second searching module is used for searching the second accounts of the same type matched with the characteristics of the target account from the accounts concerning the first account under the condition that the social application is an information sharing application.
21. The apparatus of claim 17, wherein the first sending unit comprises:
the first sending module is used for sending the prompt message for prompting that a specified message is checked on the instant messaging application under the condition that the social application is the instant messaging application, wherein the specified message is a message specified by the first account;
the second sending module is configured to send the prompt message for prompting that specified content is viewed on the information sharing application when the social application is the information sharing application, where the specified content is the shared content specified by the first account.
22. A message prompting apparatus, comprising:
a second receiving unit, configured to receive indication information sent by a server of a social application, where the indication information is used to indicate that a client of the social application displays an account feature set when receiving a prompt trigger message when the number of multiple accounts is greater than a preset parameter in the indication information, where the multiple accounts are accounts searched in the social application, the account feature set includes one or more account features, and the prompt trigger message is received in a current session group in the client, where the client logs in using a first account;
the response unit is used for responding the prompt trigger information to acquire the characteristics of the target account and acquiring the number of the searched accounts in the current session group;
the account feature set is also used for displaying the account feature set under the condition that the number of the searched accounts in the current session group is determined to be larger than the preset parameter in the indication information;
acquiring target account characteristics from the account characteristic set;
a fourth sending unit, configured to send a message prompt instruction to the server of the social application in the client, where the message prompt instruction carries account feature information, where the account feature information includes the prompt trigger information and the target account feature, and the message prompt instruction is used to instruct the server to search for a type of second account in the social application that matches the target account feature in the account feature information, and send a prompt message to each second account in the type of second account.
23. The apparatus of claim 22, wherein the response unit comprises:
a first response module, configured to respond to the prompt trigger message to display an account feature set in the client, where the account feature set includes one or more account features;
a receiving module, configured to receive a feature selection instruction in the client;
and the second response module is used for responding the characteristic selection instruction to select the target account characteristic from the account characteristic set.
24. The apparatus of claim 23, further comprising:
a first determining unit, configured to determine, before displaying an account feature set in the client in response to the prompt trigger information, whether a first number of accounts in a current session group of the first account reaches a preset parameter when the social application is an instant messaging application, where, when determining that the first number reaches the preset parameter, the account feature set is displayed in the client in response to the prompt trigger information;
a second determining unit, configured to determine whether a second number of accounts paying attention to the first account reaches the preset parameter when the social application is an information sharing application, where an account feature set is displayed in the client in response to the prompt trigger information when the second number is determined to reach the preset parameter.
25. The apparatus of claim 23 or 24, wherein the first response module is further configured to:
determining the arrangement sequence of each account feature in the account feature set;
and displaying one or more account characteristics in the account characteristic set in the client according to the arrangement sequence.
26. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 14 by means of the computer program.
27. A storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797330.7A CN107528768B (en) | 2016-08-31 | 2016-08-31 | Message prompting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797330.7A CN107528768B (en) | 2016-08-31 | 2016-08-31 | Message prompting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107528768A CN107528768A (en) | 2017-12-29 |
CN107528768B true CN107528768B (en) | 2020-10-09 |
Family
ID=60748475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610797330.7A Active CN107528768B (en) | 2016-08-31 | 2016-08-31 | Message prompting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107528768B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110324277B (en) * | 2018-03-28 | 2021-11-05 | 腾讯科技(深圳)有限公司 | Connection method and device for real-time communication, storage medium and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139048A (en) * | 2011-12-05 | 2013-06-05 | 北京神州泰岳软件股份有限公司 | Group information reminding method and system |
CN104144106A (en) * | 2013-09-26 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Information forwarding method, device and system |
CN105429850A (en) * | 2015-11-10 | 2016-03-23 | 浙江翼信科技有限公司 | Method and device for notifying communication object in group chat of instant communication tool |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2873526A1 (en) * | 2004-07-21 | 2006-01-27 | France Telecom | METHOD AND SYSTEM FOR MANAGING IDENTITY OVERLOAD AND PRIVATE / PUBLIC AVAILABILITY OF AN INSTANT MESSAGING ADDRESS |
-
2016
- 2016-08-31 CN CN201610797330.7A patent/CN107528768B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139048A (en) * | 2011-12-05 | 2013-06-05 | 北京神州泰岳软件股份有限公司 | Group information reminding method and system |
CN104144106A (en) * | 2013-09-26 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Information forwarding method, device and system |
CN105429850A (en) * | 2015-11-10 | 2016-03-23 | 浙江翼信科技有限公司 | Method and device for notifying communication object in group chat of instant communication tool |
Also Published As
Publication number | Publication date |
---|---|
CN107528768A (en) | 2017-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230015178A1 (en) | Techniques for messaging bot rich communication | |
US11128582B2 (en) | Emoji recommendation method and apparatus | |
US11438294B2 (en) | System and method for auto-formatting messages based on learned message templates | |
TWI402700B (en) | Social network search | |
EP2753026B1 (en) | Method, apparatus and storage medium for adding friends in social network | |
CN110046299B (en) | Computerized system and method for automatically performing an implicit message search | |
US10845949B2 (en) | Continuity of experience card for index | |
US20170250935A1 (en) | Techniques for messaging bot app interactions | |
US9390396B2 (en) | Bootstrapping social networks using augmented peer to peer distributions of social networking services | |
US20170091717A1 (en) | Auto extraction of tasks from unstructured communications such as emails and messages | |
US10162897B2 (en) | System and method for providing knowledge sharing service based on user relationship information of social network service | |
US10873553B2 (en) | System and method for triaging in a message system on send flow | |
CN110034998B (en) | Computer system and method for controlling electronic messages and their responses after delivery | |
CN108353019B (en) | Method, terminal and server for associating users | |
US8478728B2 (en) | Online dating with private support groups | |
CN106550004B (en) | Service object recommendation method and device | |
US20120254764A1 (en) | System to suggest and automatically organize events for social activities | |
EP3211840B1 (en) | Techniques for messaging bot rich communication | |
US9503410B2 (en) | Sharing of activity metadata via messaging systems | |
WO2016123896A1 (en) | Information sharing method and device | |
US20210194842A1 (en) | System and Method for Displaying Message or User Lists | |
CN111030922A (en) | Session display method and device in instant messaging, storage medium and electronic device | |
US20180239806A1 (en) | System and method for editing dynamically aggregated data | |
CN107528768B (en) | Message prompting method and device | |
CN113256240B (en) | Message processing method and device and server |
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 |