CN105991407B - Message processing method and device and processing server - Google Patents

Message processing method and device and processing server Download PDF

Info

Publication number
CN105991407B
CN105991407B CN201510073972.8A CN201510073972A CN105991407B CN 105991407 B CN105991407 B CN 105991407B CN 201510073972 A CN201510073972 A CN 201510073972A CN 105991407 B CN105991407 B CN 105991407B
Authority
CN
China
Prior art keywords
message
target
account
processing server
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510073972.8A
Other languages
Chinese (zh)
Other versions
CN105991407A (en
Inventor
刘刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510073972.8A priority Critical patent/CN105991407B/en
Publication of CN105991407A publication Critical patent/CN105991407A/en
Application granted granted Critical
Publication of CN105991407B publication Critical patent/CN105991407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a message processing method, a message processing device and a message processing server, wherein the method comprises the following steps: a processing server receives a message pushing request sent by a configuration server of a public service account, wherein the message pushing request carries a target service message to be pushed; the processing server searches a target account set associated with the public service account, wherein the target account set comprises at least one target account identifier; the processing server acquires the message pushing authority of the public service account; and the processing server sends the target service message to a terminal corresponding to at least one target account identifier in the target account set according to the message pushing authority. The invention can control and process the pushing of the service message, can improve the intelligence of message processing and the interactive effectiveness of the service message.

Description

Message processing method and device and processing server
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for processing a message, and a processing server.
Background
With the development of internet technology, internet applications are rapidly developing. The public service account refers to a service account registered by a developer or a service provider in the internet application, and the developer or the service provider can provide services for one or more users in the internet application through the public service account; wherein, the internet application may refer to: social applications such as instant messaging applications and SNS (Social Networking Services) applications may also refer to: gaming applications, e-commerce applications, and other non-social applications. At present, a public service account usually pushes service messages to users in internet application, and the pushing of a large number of service messages causes information disturbance to the users, so that the users cancel the attention to the public service account, thereby reducing the interactive effectiveness between developers or service providers and the users, and reducing the intelligence of message processing.
Disclosure of Invention
Embodiments of the present invention provide a message processing method, an apparatus, and a processing server, which can control and process the pushing of a service message, and can improve the intelligence of message processing and the interactive effectiveness of the service message.
A first aspect of an embodiment of the present invention provides a message processing method, which may include:
a processing server receives a message pushing request sent by a configuration server of a public service account, wherein the message pushing request carries a target service message to be pushed;
the processing server searches a target account set associated with the public service account, wherein the target account set comprises at least one target account identifier;
the processing server acquires the message pushing authority of the public service account;
and the processing server sends the target service message to a terminal corresponding to at least one target account identifier in the target account set according to the message pushing authority.
A second aspect of the present invention provides a message processing apparatus, which may include:
the system comprises a request receiving unit, a message pushing unit and a message sending unit, wherein the request receiving unit is used for receiving a message pushing request sent by a configuration server of a public service account, and the message pushing request carries a target service message to be pushed;
a set searching unit, configured to search a target account set associated with the public service account, where the target account set includes at least one target account identifier;
the authority acquisition unit is used for acquiring the message pushing authority of the public service account;
and the message pushing unit is used for sending the target service message to a terminal corresponding to at least one target account identifier in the target account set according to the message pushing authority.
A third aspect of the embodiments of the present invention provides a processing server, which may include the message processing apparatus according to the second aspect.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a message processing system according to an embodiment of the present invention;
fig. 2 is a flowchart of a message processing method according to an embodiment of the present invention;
fig. 3 is a flowchart of another message processing method according to an embodiment of the present invention;
FIG. 4 is a flowchart of an embodiment of step S201 shown in FIG. 3;
FIG. 5 is a flowchart of an embodiment of step S207 shown in FIG. 3;
fig. 6 is a flowchart of another message processing method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a message pushing unit according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another message pushing unit according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a task creating unit according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an association establishing unit according to an embodiment of the present invention.
Detailed Description
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.
Please refer to fig. 1, which is a schematic structural diagram of a message processing system according to an embodiment of the present invention; the system may include: the system comprises a processing server, at least one configuration server accessed to the processing server, and at least one terminal accessed to the processing server. In the system shown in fig. 1:
the terminal can be a notebook computer, a mobile phone, a PAD (PAD computer), a vehicle-mounted terminal, intelligent wearable equipment and other equipment. At least one type of internet application may be run in the terminal, including but not limited to: social applications, gaming applications, e-commerce applications, and the like. The user at the terminal side can use internet applications through the terminal, such as: a user A at a terminal A side can register in the Internet application through the terminal A to obtain personal information such as an account identifier and the like, or the user A at the terminal A side can manage privacy information such as a password and the like of the user A in the Internet application through the terminal A, or the user A at the terminal A side can pay attention to a certain public service account, add friends and the like in the Internet application through the terminal A to form a relationship chain of the user A; and so on. The social application refers to an application program capable of realizing a social function; the social applications may include, but are not limited to: instant messaging applications, SNS applications, and the like.
The public service account refers to a service account allocated by the processing server to a developer or a service provider after the developer or the service provider registers in the internet application, and the developer or the service provider can provide services such as message pushing and the like for one or more users in the internet application through the public service account. One public service account may correspond to one configuration server, and the configuration server of the public service account refers to a server that provides services such as message pushing and the like for users in internet applications through the public service account. Specifically, the configuration server of the public service account may be an application server, for example: a developer of an e-commerce application registers a public service account identified as xx in a social application, a configuration server of the public service account xx can be an application server of the e-commerce application, and the configuration server of the public service account xx can provide e-commerce related services for a user in the social application. Specifically, the configuration server of the public service account may also be a web server, for example: a service provider of a certain game website registers a public service account identified as yy in a social application, a configuration server of the public service account yy can be a web server of the game website, and the configuration server of the public service account yy can provide game related services for users in the social application.
The processing server refers to a background server of the internet application, is used for processing various requirements of the internet application in the process of realizing corresponding functions, and can be used for managing user related information, public service account related information and interactive messages among users and between users and public service accounts in the internet application. The relevant information of the user may include, but is not limited to: account number identification, password, relationship chain and the like. The information related to the public service account may include, but is not limited to: identification, relationship chain, etc.
Based on the above description of the embodiments of the present invention, the following describes in detail a message processing method provided by the embodiments of the present invention with reference to fig. 2 to 4.
Please refer to fig. 2, which is a flowchart illustrating a message processing method according to an embodiment of the present invention; the method may comprise the following steps S101-S104.
S101, a processing server receives a message pushing request sent by a configuration server of a public service account, wherein the message pushing request carries a target service message to be pushed.
The message pushing request can be used for requesting to push the target service message to a user in an internet application; the targeted service message may include, but is not limited to: text, picture, audio and video information, etc. In the embodiment of the invention, the processing server can provide a message system interface for the public service account accessed to the internet application, so that the accessed public service account can push the downlink message by using the message system interface. The processing server can also provide the message system interface for the terminal accessed to the internet application, so that the accessed terminal can transmit the uplink message by using the message system interface. In this step, the processing server monitors the message system interface, and reads the message push request from the message system interface when monitoring the message push request sent by the configuration server of the public service account.
S102, the processing server searches a target account set associated with the public service account, wherein the target account set comprises at least one target account identifier.
During the process that the user at the terminal side uses the internet application through the terminal, the user can pay attention to at least one public service account to receive the service provided by the concerned public service account, for example: the user A at the terminal A side can pay attention to a public service account zz corresponding to a certain video website in social application, after the user A pays attention to the public service account zz successfully, an account identification corresponding to the user A forms an attention relation with the public service account zz, and the user A can receive video downloading or video watching service provided by the public service account zz. It should be noted that all account identifications having attention relationship with the same public service account can be constructed as one account set associated with the concerned public service account, for example: the user A corresponds to an account identifier a, the user B corresponds to an account identifier B, the user C corresponds to an account identifier C, the user A, the user B and the user C pay attention to a public service account zz, the account identifier a, the account identifier B and the account identifier C have an attention relationship with the public service account zz, then the account identifier a, the account identifier B and the account identifier C jointly form an account set m, and the account set m is associated with the public service account zz.
Generally, a processing server records the associated relationship, the attention relationship and other related information of the public service account by adopting a relationship chain, and maintains and manages the relationship chain of the public service account; for example: in the above example, when the user a cancels the attention to the public service account zz, the attention relationship between the account identifier a and the public service account zz is simultaneously released, and the processing server needs to update the relationship chain of the public service account zz. In this step, the processing server may obtain a target account set associated with the public service account by searching for the relationship chain of the public service account; according to the above example, the processing server may obtain a target account set m associated with the public service account zz by searching a relationship chain of the public service account zz, where the target account set m includes an account identifier a, an account identifier b, and an account identifier c.
S103, the processing server acquires the message pushing permission of the public service account.
The message pushing permission can be used for defining a pushing rule when the public service account pushes the service message. The message pushing permission may be: the message number threshold in the preset time period is, for example: assuming that the message pushing authority possessed by the public service account zz is a message quantity threshold value in a preset time period, further assuming that the preset time period is 9:00-11:00 and the message quantity threshold value is 20; then the processing server allows the public service account zz to push less than or equal to 20 service messages in a time period of 9:00-11: 00. The message pushing authority can also be as follows: the threshold number of message recipients, for example: assuming that the message pushing authority possessed by the public service account yy is the number threshold of the message receivers, and further assuming that the number threshold of the message receivers is 300; then the processing server allows the public service account yy to push service messages to less than or equal to 300 users at a time.
The message pushing authority of the public service account can be pre-configured by the processing server according to actual conditions, and the message pushing authority of the public service account is stored through the database. Specifically, the processing server may provide a management portal, and an administrator at the processing server side may perform, in combination with actual situations, corresponding authority configuration on the public service account through the management portal, for example: the permission configuration process may consider the service property of the public service account, for example, the public service account xx corresponding to a certain e-commerce application mostly pushes marketing or advertising service messages, or the public service account pp corresponding to a certain bank website mostly pushes card-swiping notification service messages, and so on. The following steps are repeated: the permission configuration process may take into account the common operations of the terminal-side user on the service message, such as the terminal-side user usually blocking the service message of the marketing class or the advertisement class, or the terminal-side user usually opens the service message of the notification class or the reminder class, and so on. The processing server reads the configuration information of the administrator from the management entrance, generates the message pushing authority of the public service account based on the configuration information, and stores the message pushing authority of the public service account in the database. In this step, the processing server may obtain the message pushing permission of the public service account from a database.
S104, the processing server sends the target service message to a terminal corresponding to at least one target account identifier in the target account set according to the message pushing authority.
The message pushing permission can be used for defining a pushing rule when the public service account pushes the service message. In this step, the processing server sends the target service message to a terminal corresponding to at least one target account identifier in the target account set according to a push rule defined by the message push authority. It should be noted that the target account id may be an id of a registered user in the internet application, for example: in the target account set m, the target account id a may be an account id allocated by the processing server when the user a registers in the social application. The target account id may also be an id of a terminal used by a registered user in the internet application, for example: in the target account set m, the target account id B may be an id of the terminal B used by the user B. Generally, one target account id corresponds to one terminal. Before the processing server sends the target service message to a terminal corresponding to at least one target account identifier in the target account set, firstly inquiring the connection condition between the processing server and each terminal, and sending the target service message according to the actual connection condition; specifically, for example: in the step, the processing server respectively inquires the connection condition between the terminal A, the terminal B and the terminal C, supposing that the user A at the side of the terminal A is currently accessed and uses the Internet application, the terminal A is in strong connection with the processing server, and the processing server directly sends the target service message to the terminal A; supposing that a user B at the side of a terminal B is accessed currently but does not use Internet application, the terminal B keeps weak connection with the processing server, and the processing server directly sends the target service message to the terminal B; and supposing that the user C at the side of the terminal C does not access the Internet application at present, the terminal C is disconnected with the processing server, the processing server caches the target service message, and when the terminal C accesses the Internet application again, the cached target service message is sent to the terminal C.
After receiving the target service message, the terminal corresponding to the at least one target account id may display the target service message, for example: according to the above example, after receiving the target service message sent by the processing server, the terminal a may present the target service message to the user a at the terminal a side.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
Please refer to fig. 3, which is a flowchart illustrating another message processing method according to an embodiment of the present invention; the method may include the following steps S201 to S210.
S201, the processing server establishes an association relationship between the public service account and the target account set.
Wherein, the correlation between the public service account and the target account set is as follows: and each target account identifier included in the target account set has a concern relationship with the public service account.
Please refer to fig. 4, which is a flowchart illustrating an embodiment of step S201 shown in fig. 3; as shown in FIG. 4, step S201 may specifically include the following steps ss11-ss13:
ss11, the processing server inquires the relation chain of the public service account number, and acquires at least one target account number identification having the relation of attention with the public service account number.
During the process that the user at the terminal side uses the internet application through the terminal, the user can pay attention to at least one public service account to receive the service provided by the concerned public service account, for example: the user A at the terminal A side can pay attention to a public service account zz corresponding to a certain video website in social application, after the user A pays attention to the public service account zz successfully, an account identification corresponding to the user A forms an attention relation with the public service account zz, and the user A can receive video downloading or video watching service provided by the public service account zz. Generally, a processing server records the associated relationship, the attention relationship and other related information of the public service account by adopting a relationship chain, and maintains and manages the relationship chain of the public service account; for example: in the above example, when the user a cancels the attention to the public service account zz, the attention relationship between the account identifier a and the public service account zz is simultaneously released, and the processing server needs to update the relationship chain of the public service account zz. In this step, the processing server may obtain at least one target account identifier having a concern relationship with the public service account by querying the relationship chain of the public service account.
It should be noted that the target account id may be an id of a registered user in the internet application, for example: the target account id a may be an account id assigned by the processing server when the user a registers in the social application. The target account id may also be an id of a terminal used by a registered user in the internet application, for example: the target account id B may be an id of the terminal B used by the user B.
ss12, the processing server constructs a target account set using the at least one target account identifier.
In the embodiment of the present invention, all account ids having a concern relationship with the same public service account may construct an account set, for example: the user A corresponds to the account identifier a, the user B corresponds to the account identifier B, the user C corresponds to the account identifier C, and the user A, the user B and the user C pay attention to the public service account zz, so that the account identifier a, the account identifier B and the account identifier C have an attention relationship with the public service account zz, and then the account identifier a, the account identifier B and the account identifier C form an account set m together.
ss13, the processing server associates the target account set with the public service account.
The correlation between the public service account and the target account set is as follows: each target account identifier included in the target account set has a concern relationship with the public service account; for example: the account set m constructed according to the above example of the present embodiment is associated with the public service account zz. After the processing server associates the target account set with the public service account, the association relationship is updated to a relationship chain of the public service account, for example: according to the above example, the processing server updates the association relationship in the relationship chain of the public service account zz, which indicates that the public service account zz is associated with the account set m.
S202, the processing server receives a message pushing request sent by the configuration server of the public service account, wherein the message pushing request carries a target service message to be pushed.
The message pushing request can be used for requesting to push the target service message to a user in an internet application; the targeted service message may include, but is not limited to: text, picture, audio and video information, etc. In the embodiment of the invention, the processing server can provide a message system interface for the public service account accessed to the internet application, so that the accessed public service account can push the downlink message by using the message system interface. The processing server can also provide the message system interface for the terminal accessed to the internet application, so that the accessed terminal can transmit the uplink message by using the message system interface. In this step, the processing server monitors the message system interface, and reads the message push request from the message system interface when monitoring the message push request sent by the configuration server of the public service account.
S203, the processing server searches a target account set associated with the public service account, wherein the target account set comprises at least one target account identifier.
In this step, the processing server may obtain a target account set associated with the public service account by searching the relationship chain of the public service account; according to the above example, the processing server may obtain a target account set m associated with the public service account zz by searching a relationship chain of the public service account zz, where the target account set m includes an account identifier a, an account identifier b, and an account identifier c.
S204, the processing server acquires the message pushing permission of the public service account.
The message pushing permission can be used for defining a pushing rule when the public service account pushes the service message. In this embodiment, the message pushing permission may be: the message number threshold in the preset time period is, for example: assuming that the message pushing authority possessed by the public service account zz is a message quantity threshold value in a preset time period, further assuming that the preset time period is 9:00-11:00 and the message quantity threshold value is 20; then the processing server allows the public service account zz to push less than or equal to 20 service messages in a time period of 9:00-11: 00.
The message pushing authority of the public service account can be pre-configured by the processing server according to actual conditions, and the message pushing authority of the public service account is stored through the database. Specifically, the processing server may provide a management portal, and an administrator at the processing server side may perform, in combination with actual situations, corresponding authority configuration on the public service account through the management portal, for example: the permission configuration process may consider the service property of the public service account, for example, the public service account xx corresponding to a certain e-commerce application mostly pushes marketing or advertising service messages, or the public service account pp corresponding to a certain bank website mostly pushes card-swiping notification service messages, and so on. The following steps are repeated: the permission configuration process may take into account the common operations of the terminal-side user on the service message, such as the terminal-side user usually blocking the service message of the marketing class or the advertisement class, or the terminal-side user usually opens the service message of the notification class or the reminder class, and so on. The processing server reads the configuration information of the administrator from the management entrance, generates the message pushing authority of the public service account based on the configuration information, and stores the message pushing authority of the public service account in the database. In this step, the processing server may obtain the message pushing permission of the public service account from a database.
S205, the processing server judges whether the request time of the message pushing request is within the preset time period; if yes, go to step S206; otherwise, ending.
In this embodiment, the message pushing permission may be: the message number threshold in the preset time period is, for example: assuming that the message pushing authority possessed by the public service account zz is a message quantity threshold value in a preset time period, further assuming that the preset time period is 9:00-11:00 and the message quantity threshold value is 20; then, in this step, the processing server first determines whether the request time of the message push request of the public service account zz is within the time period from 9:00 to 11: 00.
S206, the processing server calculates whether the number of the service messages pushed by the public service account in the preset time period is less than the message number threshold; if the statistical result is yes, go to step S207; otherwise, ending.
According to the example shown in step S205, in this step, the processing server needs to further count whether the number of service messages already pushed by the public service account zz in the time period from 9:00 to 11:00 is less than 20, and if so, it indicates that the push of the target service message can be performed by the public service account zz in the time period from 9:00 to 11: 00; if the value is larger than or equal to the preset value, the public service account zz is indicated to be incapable of pushing the target service message within the time period of 9:00-11: 00.
S207, the processing server creates a sending task for the target service message. A sending task typically includes a priority indication.
Please refer to fig. 5, which is a flowchart illustrating an embodiment of step S207 shown in fig. 3; as shown in FIG. 5, step S207 may include the following steps ss21-ss 23:
ss21, the processing server obtains the attribute of the target service message, the attribute of the target service message includes: at least one of a type of the target service message, an amount of information of the target service message, and a latency requirement of the target service message.
The type of the target service message can be divided into the following types according to the industry: science and technology, e-commerce, games, tourism and the like; the type of the target service message can also be divided into: notification class, reminder class, marketing class, advertisement class, and the like. The information amount of the target service message refers to a data size of the target service message. The delay requirement of the target service message means: the expected transmission time of the target service message, for example: the delay of the target service message is set to 2 minutes, which indicates that the target service message is required to be pushed within 2 minutes, or the delay of the target service message is set to a time period of 11:00-12:00, which indicates that the target service message is required to be pushed within a time period of 11:00-12: 00. The attribute of the target service message can be reported to the processing server by a developer or a service provider of the public service account in a configuration information manner.
ss22, the processing server sets priority for the target service message according to the attribute of the target service message.
The priority is an important factor influencing the pushing of the target service message, the priority can be used for embodying the sequence of the pushed target service message, and the higher the priority is, the higher the sequence of the pushed target service message is, that is, the target service message needs to be pushed preferentially. The processing server may set a priority for the target service message in consideration of the attributes of the target service message, for example: the service messages of the notification class, the reminder class are typically prioritized over the marketing class, the advertising class, etc.
ss23, the processing server creates a sending task for the target service message according to the priority of the target service message. A sending task typically includes a priority indication.
S208, the processing server schedules a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to at least one target account identifier in the target account set.
One issue thread is used to perform one issue task. The processing server can schedule a sending thread to execute a sending task according to actual conditions; in particular, the processing server may, depending on the actual sending capabilities and the priority indication, for example: assuming that the processing server creates a sending task q1 for the target service message pushed by the public service account zz, the priority of the sending task q1 is the highest level, and the processing server can schedule the sending thread with the highest sending capability to execute the sending task q 1.
Before the sending thread executes the sending task, the processing server firstly inquires the connection condition between the processing server and each terminal, and schedules the sending thread to execute the sending task according to the actual connection condition; specifically, for example: aiming at a target account set m, a target account identifier a corresponds to a terminal A, a target account B corresponds to a terminal B, and a target account C corresponds to a terminal C, in the step, the processing server respectively inquires the connection conditions between the processing server and the terminal A, the terminal B and the terminal C, and if a user A at the side of the terminal A is currently accessed and uses internet application, the terminal A and the processing server are kept in strong connection; a user B at the side of the terminal B is accessed currently but does not use the Internet application, and the terminal B is weakly connected with the processing server; and when the terminal C is accessed to the internet application again, the cached target service message is sent to the terminal C.
S209, when receiving the interactive message aiming at the public service account fed back by the terminal, the processing server sends the interactive message to the configuration server of the public service account.
After receiving the target service message, the terminal corresponding to the at least one target account id may display the target service message, for example: according to the above example, after receiving the target service message sent by the processing server, the terminal a may present the target service message to the user a at the terminal a side, preferably, the processing server may configure a presentation form of the target service message, and the terminal a presents the target service message according to the presentation form configured by the processing server; the user a at the terminal a side may initiate an operation for the public service account according to the target service message, for example: the user a may browse the content of the target service message, or the user a may initiate a reply operation for the public service account zz according to the target service message, or the user a initiates an operation for requesting the public service account zz to provide a service, and so on, the terminal a generates an interaction message for the public service account zz according to the operation of the user a, and invokes a message system interface provided by the processing server, and feeds back the interaction message for the public service account zz to the processing server, and the processing server sends the interaction message to a configuration server of the public service account, and the configuration server performs a corresponding response to the interaction message.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
Please refer to fig. 6, which is a flowchart illustrating another message processing method according to an embodiment of the present invention; the method may include the following steps S301 to S309.
S301, the processing server establishes an association relationship between the public service account and the target account set.
S302, the processing server receives a message pushing request sent by a configuration server of the public service account, wherein the message pushing request carries a target service message to be pushed.
S303, the processing server searches a target account set associated with the public service account, wherein the target account set comprises at least one target account identifier.
Steps S301 to S303 of this embodiment can refer to steps S201 to S203 of the embodiment shown in fig. 3, which are not described herein again.
S304, the processing server acquires the message pushing permission of the public service account.
The message pushing permission can be used for defining a pushing rule when the public service account pushes the service message. In this embodiment, the message pushing permission may be: the threshold number of message recipients, for example: assuming that the message pushing authority possessed by the public service account yy is the number threshold of the message receivers, and further assuming that the number threshold of the message receivers is 300; then the processing server allows the public service account yy to push service messages to less than or equal to 300 users at a time.
The message pushing authority of the public service account can be pre-configured by the processing server according to actual conditions, and the message pushing authority of the public service account is stored through the database. Specifically, the processing server may provide a management portal, and an administrator at the processing server side may perform, in combination with actual situations, corresponding authority configuration on the public service account through the management portal, for example: the permission configuration process may consider the service property of the public service account, for example, the public service account xx corresponding to a certain e-commerce application mostly pushes marketing or advertising service messages, or the public service account pp corresponding to a certain bank website mostly pushes card-swiping notification service messages, and so on. The following steps are repeated: the permission configuration process may take into account the common operations of the terminal-side user on the service message, such as the terminal-side user usually blocking the service message of the marketing class or the advertisement class, or the terminal-side user usually opens the service message of the notification class or the reminder class, and so on. The processing server reads the configuration information of the administrator from the management entrance, generates the message pushing authority of the public service account based on the configuration information, and stores the message pushing authority of the public service account in the database. In this step, the processing server may obtain the message pushing permission of the public service account from a database.
S305, the processing server determines whether the number of the target account id included in the target account set is greater than the number threshold of the message receiver; if the determination result is negative, i.e. if the determination result is less than or equal to the preset value, the step S307, the step S309 and the step S310 are executed; if yes, i.e. if greater than, go to step S306-step S307-step S308-step S310.
In this embodiment, the message pushing permission may be: the threshold number of message recipients, for example: assuming that the target account set m comprises a target account identifier a, a target account identifier b and a target account c; assuming that the message pushing authority possessed by the public service account zz is a number threshold of message receivers, and further assuming that the number threshold of the message receivers is 300; then, in this step, the processing server determines that the number of the target account id included in the target account set m is 3, which is smaller than the number threshold 300 of the message receiver.
S306, the processing server selects the target account id with the number less than or equal to the threshold value of the number of the message receivers from the target account set.
S307, the processing server creates a sending task for the target service message.
S308, the processing server schedules a sending thread to execute the sending task so as to send the target service message to the terminal corresponding to the selected target account identifier.
S309, the processing server schedules a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to at least one target account identifier in the target account set.
S310, when receiving the interactive message aiming at the public service account fed back by the terminal, the processing server sends the interactive message to a configuration server of the public service account.
Step S307 to step S310 of this embodiment may refer to step S207 to step S209 of the embodiment shown in fig. 3, which is not described herein again.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
A message processing apparatus according to an embodiment of the present invention will be described in detail with reference to fig. 7 to 11. It should be noted that the message processing apparatus shown in fig. 7-11 can be operated in the processing server in the system shown in fig. 1, and can be applied to the method shown in fig. 2-6.
Please refer to fig. 7, which is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention; the apparatus may include: a request receiving unit 101, a set searching unit 102, a right obtaining unit 103 and a message pushing unit 104.
The request receiving unit 101 is configured to receive a message push request sent by a configuration server of a public service account, where the message push request carries a target service message to be pushed.
The message pushing request can be used for requesting to push the target service message to a user in an internet application; the targeted service message may include, but is not limited to: text, picture, audio and video information, etc. In the embodiment of the invention, the processing server can provide a message system interface for the public service account accessed to the internet application, so that the accessed public service account can push the downlink message by using the message system interface. The processing server can also provide the message system interface for the terminal accessed to the internet application, so that the accessed terminal can transmit the uplink message by using the message system interface. The request receiving unit 101 monitors the message system interface, and reads the message push request from the message system interface when monitoring the message push request sent by the configuration server of the public service account.
A set searching unit 102, configured to search a target account set associated with the public service account, where the target account set includes at least one target account id.
During the process that the user at the terminal side uses the internet application through the terminal, the user can pay attention to at least one public service account to receive the service provided by the concerned public service account, for example: the user A at the terminal A side can pay attention to a public service account zz corresponding to a certain video website in social application, after the user A pays attention to the public service account zz successfully, an account identification corresponding to the user A forms an attention relation with the public service account zz, and the user A can receive video downloading or video watching service provided by the public service account zz. It should be noted that all account identifications having attention relationship with the same public service account can be constructed as one account set associated with the concerned public service account, for example: the user A corresponds to an account identifier a, the user B corresponds to an account identifier B, the user C corresponds to an account identifier C, the user A, the user B and the user C pay attention to a public service account zz, the account identifier a, the account identifier B and the account identifier C have an attention relationship with the public service account zz, then the account identifier a, the account identifier B and the account identifier C jointly form an account set m, and the account set m is associated with the public service account zz.
Generally, the processing server records the associated relationship, the attention relationship and other related information of the public service account by using a relationship chain, and maintains and manages the relationship chain of the public service account. The set searching unit 102 may obtain a target account set associated with the public service account by searching the relationship chain of the public service account; according to the above example, the set searching unit 102 may obtain a target account set m associated with the public service account zz by searching a relationship chain of the public service account zz, where the target account set m includes an account identifier a, an account identifier b, and an account identifier c.
An authority acquiring unit 103, configured to acquire a message pushing authority of the public service account.
The message pushing permission can be used for defining a pushing rule when the public service account pushes the service message. The message pushing permission may be: the message number threshold in the preset time period is, for example: assuming that the message pushing authority possessed by the public service account zz is a message quantity threshold value in a preset time period, further assuming that the preset time period is 9:00-11:00 and the message quantity threshold value is 20; then the processing server allows the public service account zz to push less than or equal to 20 service messages in a time period of 9:00-11: 00. The message pushing authority can also be as follows: the threshold number of message recipients, for example: assuming that the message pushing authority possessed by the public service account yy is the number threshold of the message receivers, and further assuming that the number threshold of the message receivers is 300; then the processing server allows the public service account yy to push service messages to less than or equal to 300 users at a time.
The message pushing authority of the public service account can be pre-configured by the processing server according to actual conditions, and the message pushing authority of the public service account is stored through the database. Specifically, the processing server may provide a management portal, and an administrator at the processing server side may perform, in combination with actual situations, corresponding authority configuration on the public service account through the management portal, for example: the permission configuration process may consider the service property of the public service account, for example, the public service account xx corresponding to a certain e-commerce application mostly pushes marketing or advertising service messages, or the public service account pp corresponding to a certain bank website mostly pushes card-swiping notification service messages, and so on. The following steps are repeated: the permission configuration process may take into account the common operations of the terminal-side user on the service message, such as the terminal-side user usually blocking the service message of the marketing class or the advertisement class, or the terminal-side user usually opens the service message of the notification class or the reminder class, and so on. The processing server reads the configuration information of the administrator from the management entrance, generates the message pushing authority of the public service account based on the configuration information, and stores the message pushing authority of the public service account in the database. The authority acquiring unit 103 may acquire the message pushing authority of the public service account from a database.
And the message pushing unit 104 is configured to send the target service message to a terminal corresponding to at least one target account identifier in the target account set according to the message pushing permission.
The message pushing permission can be used for defining a pushing rule when the public service account pushes the service message. The message pushing unit 104 sends the target service message to a terminal corresponding to at least one target account identifier in the target account set according to a pushing rule defined by the message pushing authority. It should be noted that the target account id may be an id of a registered user in the internet application, for example: in the target account set m, the target account id a may be an account id allocated by the processing server when the user a registers in the social application. The target account id may also be an id of a terminal used by a registered user in the internet application, for example: in the target account set m, the target account id B may be an id of the terminal B used by the user B. Generally, one target account id corresponds to one terminal. Before the message pushing unit 104 sends the target service message to the terminal corresponding to at least one target account identifier in the target account set, first query a connection condition between the processing server and each terminal, and send the target service message according to an actual connection condition; specifically, for example: aiming at the target account set m, a target account identifier a corresponds to a terminal A, a target account B corresponds to a terminal B, a target account C corresponds to a terminal C, the message pushing unit 104 respectively inquires the connection conditions between the terminal A, the terminal B and the terminal C, supposing that a user A at the side of the terminal A is currently accessed and uses internet application, the terminal A is in strong connection with the processing server, and the message pushing unit 104 directly sends the target service message to the terminal A; assuming that a user B at a terminal B side is currently accessed but does not use internet application, the terminal B maintains weak connection with the processing server, and the message pushing unit 104 directly sends the target service message to the terminal B; assuming that the user C at the terminal C side does not access the internet application at present, the terminal C is disconnected from the processing server, the message pushing unit 104 caches the target service message, and when the terminal C accesses the internet application again, the cached target service message is sent to the terminal C.
After receiving the target service message, the terminal corresponding to the at least one target account id may display the target service message, for example: according to the above example, after receiving the target service message sent by the processing server, the terminal a may present the target service message to the user a at the terminal a side.
Referring again to fig. 7, the apparatus may further include: an association establishing unit 105 and a feedback unit 106.
An association establishing unit 105, configured to establish an association relationship between the public service account and the target account set. Wherein, the correlation between the public service account and the target account set is as follows: and each target account identifier included in the target account set has a concern relationship with the public service account.
A feedback unit 106, configured to send, when receiving an interaction message for the public service account, which is fed back by a terminal corresponding to the at least one target account identifier, the interaction message to a configuration server of the public service account.
After receiving the target service message, the terminal corresponding to the at least one target account id may display the target service message, for example: according to the above example, after receiving the target service message sent by the processing server, the terminal a may present the target service message to the user a at the terminal a side, preferably, the processing server may configure a presentation form of the target service message, and the terminal a presents the target service message according to the presentation form configured by the processing server; the user a at the terminal a side may initiate an operation for the public service account according to the target service message, for example: the user a may browse the content of the target service message, or the user a may initiate a reply operation for the public service account zz according to the target service message, or the user a initiates an operation for requesting the public service account zz to provide a service, and so on, the terminal a generates an interaction message for the public service account zz according to the operation of the user a, and invokes a message system interface provided by the processing server, and feeds back the interaction message for the public service account zz to the processing server, and the feedback unit 106 sends the interaction message to the configuration server of the public service account, and the configuration server performs a corresponding response to the interaction message.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
Please refer to fig. 8, which is a schematic structural diagram of a message pushing unit according to an embodiment of the present invention; the message pushing unit 104 may include: a time judgment unit 1001 and a message number statistics unit 1002.
A time determining unit 1001, configured to determine whether a request time of the message pushing request is within a preset time period.
In this embodiment, the message pushing permission may be: the message number threshold in the preset time period is, for example: assuming that the message pushing authority possessed by the public service account zz is a message quantity threshold value in a preset time period, further assuming that the preset time period is 9:00-11:00 and the message quantity threshold value is 20; then, the processing time judging unit 1001 judges whether the request time of the message push request of the public service account zz is within the time period of 9:00 to 11: 00.
A message quantity counting unit 1002, configured to count whether the quantity of the service messages pushed by the public service account in the preset time period is smaller than a message quantity threshold, if the request time is within the preset time period.
The message quantity counting unit 1002 needs to count whether the quantity of the service messages pushed by the public service account zz in the time period from 9:00 to 11:00 is less than 20, and if so, it indicates that the public service account zz can push the target service message in the time period from 9:00 to 11: 00; if the value is larger than or equal to the preset value, the public service account zz is indicated to be incapable of pushing the target service message within the time period of 9:00-11: 00.
If the statistical result of the message statistics unit 1002 is smaller than the predetermined value, the message pushing unit further includes: a task creation unit 1003 and a first scheduling unit 1004.
A task creating unit 1003, configured to create a sending task for the target service message. A sending task typically includes a priority indication.
A first scheduling unit 1004, configured to schedule a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to at least one target account id in the target account set.
One issue thread is used to perform one issue task. The processing server can schedule a sending thread to execute a sending task according to actual conditions; specifically, the first scheduling unit 1004 may, according to the actual transmission capability and the priority indication, for example: assuming that a sending task q1 is created for the target service message pushed by the public service account zz, the priority of the sending task q1 is the highest level, and the first scheduling unit 1004 may schedule the sending thread with the strongest sending capability to execute the sending task q 1.
Before the sending thread executes the sending task, the first scheduling unit 1004 firstly queries the connection condition between the processing server and each terminal, and schedules the sending thread to execute the sending task according to the actual connection condition; specifically, for example: for the target account set m, the target account id a corresponds to the terminal a, the target account B corresponds to the terminal B, and the target account C corresponds to the terminal C, the first scheduling unit 1004 queries the connection status with the terminal a, the terminal B, and the terminal C, and supposing that the user a at the terminal a side is currently accessed and using the internet application, the terminal a and the processing server maintain a strong connection; a user B at the side of the terminal B is accessed currently but does not use the Internet application, and the terminal B is weakly connected with the processing server; the user C at the side of the terminal C does not access the Internet application at present, the terminal C is disconnected with the processing server, the first scheduling unit 1004 schedules a sending thread to execute a sending task to directly send the target service message to the terminal A and the terminal B, caches the target service message, and sends the cached target service message to the terminal C when the terminal C accesses the Internet application again.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
Please refer to fig. 9, which is a schematic structural diagram of another message pushing unit according to an embodiment of the present invention; the message pushing unit 104 may include: a number-of-markers judgment unit 2001.
The identifier number determining unit 2001 is configured to determine whether the number of the target account identifiers included in the target account set is greater than a threshold number of message receivers.
In this embodiment, the message pushing permission may be: the threshold number of message recipients, for example: assuming that the target account set m comprises a target account identifier a, a target account identifier b and a target account c; assuming that the message pushing authority possessed by the public service account zz is a number threshold of message receivers, and further assuming that the number threshold of the message receivers is 300; then, the identifier number judging unit 2001 judges that the number of the target account identifiers included in the target account set m is 3, which is smaller than the number threshold 300 of the message recipients.
If the judgment result of the identifier number judgment unit 2001 is less than or equal to, the message pushing unit further includes: a task creation unit 1003 and a second scheduling unit 2002.
A task creating unit 1003, configured to create a sending task for the target service message. A sending task typically includes a priority indication.
A second scheduling unit 2002, configured to schedule a sending thread to execute the sending task, so as to send the target service message to a terminal corresponding to at least one target account id in the target account set.
If the judgment result of the identifier number judgment unit 2001 is greater than that, the message pushing unit further includes: the mark selection unit 2003.
An identifier selecting unit 2003, configured to select, from the target account set, a target account identifier whose number is less than or equal to the number threshold of the message recipients, notify the task creating unit to create a sending task for the target service message, and notify the second scheduling unit to schedule a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to the selected target account identifier.
In this embodiment, the scheduling process of the second scheduling unit 2002 may refer to the scheduling process of the first scheduling unit 1004 shown in fig. 8, which is not described herein again.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
Please refer to fig. 10, which is a schematic structural diagram of a task creating unit according to an embodiment of the present invention; the task creating unit 1003 may include: an attribute acquisition unit 3001, a level setting unit 3002, and a sending task creation unit 3003.
An attribute obtaining unit 3001, configured to obtain an attribute of the target service message, where the attribute of the target service message includes: at least one of a type of the target service message, an amount of information of the target service message, and a latency requirement of the target service message.
The type of the target service message can be divided into the following types according to the industry: science and technology, e-commerce, games, tourism and the like; the type of the target service message can also be divided into: notification class, reminder class, marketing class, advertisement class, and the like. The information amount of the target service message refers to a data size of the target service message. The delay requirement of the target service message means: the expected transmission time of the target service message, for example: the delay of the target service message is set to 2 minutes, which indicates that the target service message is required to be pushed within 2 minutes, or the delay of the target service message is set to a time period of 11:00-12:00, which indicates that the target service message is required to be pushed within a time period of 11:00-12: 00. The attribute of the target service message may be reported to the attribute obtaining unit 3001 by a developer or a service provider of the public service account in a manner of configuration information.
A level setting unit 3002, configured to set a priority for the target service message according to the attribute of the target service message.
The priority is an important factor influencing the pushing of the target service message, the priority can be used for embodying the sequence of the pushed target service message, and the higher the priority is, the higher the sequence of the pushed target service message is, that is, the target service message needs to be pushed preferentially. The level setting unit 3002 may set a priority for the target service message in consideration of the attributes of the target service message, for example: the service messages of the notification class, the reminder class are typically prioritized over the marketing class, the advertising class, etc.
A sending task creating unit 3003, configured to create a sending task for the target service message according to the priority of the target service message. A sending task typically includes a priority indication.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
Fig. 11 is a schematic structural diagram of an association establishing unit according to an embodiment of the present invention; the association establishing unit may include: a query unit 4001, a set construction unit 4002 and an association processing unit 4003.
The querying unit 4001 is configured to query the relationship chain of the public service account, and acquire at least one target account identifier having a relationship of interest with the public service account.
During the process that the user at the terminal side uses the internet application through the terminal, the user can pay attention to at least one public service account to receive the service provided by the concerned public service account, for example: the user A at the terminal A side can pay attention to a public service account zz corresponding to a certain video website in social application, after the user A pays attention to the public service account zz successfully, an account identification corresponding to the user A forms an attention relation with the public service account zz, and the user A can receive video downloading or video watching service provided by the public service account zz. Generally, a processing server records the associated relationship, the attention relationship and other related information of the public service account by adopting a relationship chain, and maintains and manages the relationship chain of the public service account; for example: in the above example, when the user a cancels the attention to the public service account zz, the attention relationship between the account identifier a and the public service account zz is simultaneously released, and the processing server needs to update the relationship chain of the public service account zz. The querying unit 4001 may query the relationship chain of the public service account to obtain at least one target account id having a relationship of interest with the public service account.
It should be noted that the target account id may be an id of a registered user in the internet application, for example: the target account id a may be an account id assigned by the processing server when the user a registers in the social application. The target account id may also be an id of a terminal used by a registered user in the internet application, for example: the target account id B may be an id of the terminal B used by the user B.
A set constructing unit 4002, configured to construct a target account set using the at least one target account identifier.
In the embodiment of the present invention, all account ids having a concern relationship with the same public service account may construct an account set, for example: the user A corresponds to the account identifier a, the user B corresponds to the account identifier B, the user C corresponds to the account identifier C, and the user A, the user B and the user C pay attention to the public service account zz, so that the account identifier a, the account identifier B and the account identifier C have an attention relationship with the public service account zz, and then the account identifier a, the account identifier B and the account identifier C form an account set m together.
An association processing unit 4003, configured to associate the target account set with the public service account.
The correlation between the public service account and the target account set is as follows: each target account identifier included in the target account set has a concern relationship with the public service account; for example: the account set m constructed according to the above example of the present embodiment is associated with the public service account zz. After the association processing unit 4003 associates the target account set with the public service account, the processing server updates the association relationship to the relationship chain of the public service account, for example: according to the above example, the processing server updates the association relationship in the relationship chain of the public service account zz, which indicates that the public service account zz is associated with the account set m.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
The embodiment of the present invention further discloses a processing server, which may be a processing server in the system shown in fig. 1, and the processing server may include a message processing apparatus, and the structure and function of the message processing apparatus may refer to the description related to the embodiments shown in fig. 7 to fig. 11, which is not described herein again.
In the embodiment of the invention, the processing server can push the target service message of the public service account to the terminal corresponding to the target account set associated with the public service account, thereby realizing the effective transmission of the target service message; in addition, the processing server adopts the message pushing authority of the public service account to control and manage the pushed target service message, so that information disturbance to the user is avoided, the intelligence of message processing is effectively improved, and the interaction effectiveness of the service message is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (15)

1. A message processing method, comprising:
a processing server receives a message pushing request sent by a configuration server of a public service account, wherein the message pushing request carries a target service message to be pushed;
the processing server searches a target account set associated with the public service account, wherein the target account set comprises at least one target account identifier;
the processing server acquires the message pushing authority of the public service account; the message pushing permission comprises the following steps: presetting a message quantity threshold value in a time period; or a threshold number of message recipients;
the processing server sends the target service message to a terminal corresponding to at least one target account identifier in the target account set according to the message pushing authority; the target service message is provided with a priority, and the priority of the target service message is used for expressing the sequence of pushing the target service message; the priority of the target service message is set by the processing server according to the attributes of the target service message.
2. The method of claim 1, wherein before the processing server receives the message push request sent by the configuration server of the public service account, the method further comprises:
the processing server establishes an incidence relation between the public service account and the target account set;
wherein, the correlation between the public service account and the target account set is as follows: and each target account identifier included in the target account set has a concern relationship with the public service account.
3. The method of claim 2, wherein the processing server establishing an association between the public service account and the set of target accounts comprises:
the processing server inquires a relation chain of the public service account and acquires at least one target account identifier having a relation of concern with the public service account;
the processing server adopts the at least one target account identifier to construct a target account set;
and the processing server associates the target account set with the public service account.
4. The method of claim 1, wherein the sending, by the processing server, the target service message to the terminal corresponding to at least one target account identifier in the target account set according to the message push permission comprises:
the processing server judges whether the request time of the message pushing request is within the preset time period;
if the request time is within the preset time period, the processing server counts whether the number of the service messages pushed by the public service account within the preset time period is smaller than the message number threshold value;
and if the target service message is smaller than the preset target service message, the processing server creates a sending task for the target service message, and schedules a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to at least one target account identifier in the target account set.
5. The method of claim 1, wherein the sending, by the processing server, the target service message to the terminal corresponding to at least one target account identifier in the target account set according to the message push permission comprises:
the processing server judges whether the number of the target account identifications included in the target account set is larger than the number threshold of the message receivers;
if the target service message is less than or equal to the target service message, the processing server creates a sending task for the target service message, and schedules a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to at least one target account identifier in the target account set;
if the number of the target account identifications is larger than the number threshold value, the processing server selects the target account identifications with the number smaller than or equal to the number threshold value of the message receivers from the target account set, creates a sending task for the target service message, and schedules a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to the selected target account identification.
6. The method of claim 4 or 5, wherein the processing server creates a send task for the target service message, comprising:
the processing server obtains the attribute of the target service message, wherein the attribute of the target service message comprises: at least one of a type of the target service message, an information amount of the target service message, and a delay requirement of the target service message;
the processing server sets a priority for the target service message according to the attribute of the target service message;
and the processing server creates a sending task for the target service message according to the priority of the target service message.
7. The method according to any one of claims 1 to 5, wherein after the processing server sends the target service message to the terminal corresponding to at least one target account id in the target account set according to the message push permission, the method further includes:
and when receiving an interactive message aiming at the public service account and fed back by a terminal corresponding to the at least one target account identifier, the processing server sends the interactive message to a configuration server of the public service account.
8. A message processing apparatus, comprising:
the system comprises a request receiving unit, a message pushing unit and a message sending unit, wherein the request receiving unit is used for receiving a message pushing request sent by a configuration server of a public service account, and the message pushing request carries a target service message to be pushed;
a set searching unit, configured to search a target account set associated with the public service account, where the target account set includes at least one target account identifier;
the authority acquisition unit is used for acquiring the message pushing authority of the public service account; the message pushing permission comprises the following steps: presetting a message quantity threshold value in a time period; or a threshold number of message recipients;
the message pushing unit is used for sending the target service message to a terminal corresponding to at least one target account identifier in the target account set according to the message pushing authority; the target service message is provided with a priority, and the priority of the target service message is used for expressing the sequence of pushing the target service message; the priority of the target service message is set by the processing server according to the attributes of the target service message.
9. The apparatus of claim 8, further comprising:
the association establishing unit is used for establishing an association relationship between the public service account and the target account set;
wherein, the correlation between the public service account and the target account set is as follows: and each target account identifier included in the target account set has a concern relationship with the public service account.
10. The apparatus of claim 9, wherein the association establishing unit comprises:
the inquiry unit is used for inquiring the relation chain of the public service account and acquiring at least one target account identifier which has a relation of concern with the public service account;
the set construction unit is used for constructing a target account set by adopting the at least one target account identifier;
and the association processing unit is used for associating the target account set with the public service account.
11. The apparatus of claim 8, wherein the message pushing unit comprises:
the time judging unit is used for judging whether the request time of the message pushing request is within a preset time period;
a message quantity counting unit, configured to count whether the quantity of service messages pushed by the public service account in the preset time period is smaller than a message quantity threshold value, if the request time is within the preset time period; if the number is smaller than the preset value, the message pushing unit further comprises:
the task creating unit is used for creating a sending task for the target service message;
and the first scheduling unit is used for scheduling a sending thread to execute the sending task so as to send the target service message to a terminal corresponding to at least one target account identifier in the target account set.
12. The apparatus of claim 8, wherein the message pushing unit comprises:
the identification number judging unit is used for judging whether the number of the target account identifications included in the target account set is greater than the number threshold of the message receivers or not; if the number of the messages is smaller than or equal to the number of the messages, the message pushing unit further comprises:
the task creating unit is used for creating a sending task for the target service message;
a second scheduling unit, configured to schedule a sending thread to execute the sending task to send the target service message to a terminal corresponding to at least one target account identifier in the target account set;
if yes, the message pushing unit further comprises:
and the identifier selecting unit is used for selecting the target account identifiers with the number smaller than or equal to the number threshold of the message receivers from the target account set, informing the task creating unit to create sending tasks for the target service messages, and informing the second scheduling unit to schedule the sending threads to execute the sending tasks so as to send the target service messages to the terminals corresponding to the selected target account identifiers.
13. The apparatus according to claim 11 or 12, wherein the task creating unit includes:
an attribute obtaining unit, configured to obtain an attribute of the target service message, where the attribute of the target service message includes: at least one of a type of the target service message, an information amount of the target service message, and a delay requirement of the target service message;
the level setting unit is used for setting the priority for the target service message according to the attribute of the target service message;
and the sending task creating unit is used for creating a sending task for the target service message according to the priority of the target service message.
14. The apparatus of any one of claims 8-12, further comprising:
and the feedback unit is used for sending the interaction message to the configuration server of the public service account when receiving the interaction message aiming at the public service account and fed back by the terminal corresponding to the at least one target account identifier.
15. A processing server, characterized in that it comprises a message processing apparatus according to any one of claims 8-14.
CN201510073972.8A 2015-02-12 2015-02-12 Message processing method and device and processing server Active CN105991407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510073972.8A CN105991407B (en) 2015-02-12 2015-02-12 Message processing method and device and processing server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510073972.8A CN105991407B (en) 2015-02-12 2015-02-12 Message processing method and device and processing server

Publications (2)

Publication Number Publication Date
CN105991407A CN105991407A (en) 2016-10-05
CN105991407B true CN105991407B (en) 2020-03-20

Family

ID=57042018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510073972.8A Active CN105991407B (en) 2015-02-12 2015-02-12 Message processing method and device and processing server

Country Status (1)

Country Link
CN (1) CN105991407B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453593B (en) * 2016-10-26 2020-09-04 腾讯科技(深圳)有限公司 Message pushing method and device
CN108023903B (en) * 2016-10-31 2021-08-17 北京讯飞乐知行软件有限公司 Notification issuing method and system
CN110191048A (en) * 2019-06-25 2019-08-30 苏州梦嘉信息技术有限公司 A kind of customer service information management method and system
CN111652681A (en) * 2020-05-29 2020-09-11 平安医疗健康管理股份有限公司 Receipt processing method, server and computer readable storage medium
CN111931110A (en) * 2020-08-12 2020-11-13 湖南快乐阳光互动娱乐传媒有限公司 Message pushing processing method, device and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638849B (en) * 2011-02-14 2015-07-01 中国移动通信集团公司 Method, system and device for controlling service push
KR20130042763A (en) * 2011-10-19 2013-04-29 주식회사 케이티 Server and method for managing contents sharing, and device for sharing contents
CN103561394B (en) * 2013-11-08 2018-08-21 惠州Tcl移动通信有限公司 A kind of method and system sending message
CN104038908B (en) * 2014-05-27 2017-05-10 小米科技有限责任公司 Push message sending method and device
CN104199938B (en) * 2014-09-09 2017-11-14 北京师范大学 Agricultural land method for sending information and system based on RSS

Also Published As

Publication number Publication date
CN105991407A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US10331863B2 (en) User-generated content permissions status analysis system and method
US10182310B2 (en) Systems and methods for optimizing message notification timing based on geographic location
CN105991407B (en) Message processing method and device and processing server
CN105530175B (en) Message processing method, device and system
KR101827412B1 (en) Methods, systems, and media for managing notifications directed to multiple applications installed on a user device
US9881179B2 (en) User-generated content permissions status analysis system and method
KR101652676B1 (en) System and apparatus for power efficient delivery of social network updates to a receiver device in a broadcast network
US20230244732A1 (en) Method and Apparatus that Collect and Uploads Implicit Analytic Data
US9559992B2 (en) System and method for updating information in an instant messaging application
WO2018164714A1 (en) Notification permission management
CN106470149B (en) Message sending method and device
KR101960007B1 (en) Opportunistic network updates
CN105391803A (en) Message pushing method and device
US20160294744A1 (en) Information sharing management on an instant messaging platform
US20130064336A1 (en) Data Synchronization Policies
CN105991408B (en) A kind of message treatment method, device and processing server
US20140082065A1 (en) System and method for enabling control of mobile device functional components
CN110022259B (en) Message arrival rate determining method and device, data statistics server and storage medium
WO2017016113A1 (en) Method and device for monitoring network traffic
US10963920B2 (en) Web page viewership prediction
CN113892279A (en) Resource subscription method, device, server and computer storage medium
CN111355986A (en) Message processing method and device in live broadcast room and storage medium
KR101596040B1 (en) System and method for providing contents use information
CN114174989A (en) Notification throttling
US11463740B2 (en) Client side behavior self-determination

Legal Events

Date Code Title Description
C06 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