CN104601445A - Message handling method, device, terminal and server - Google Patents

Message handling method, device, terminal and server Download PDF

Info

Publication number
CN104601445A
CN104601445A CN201410840978.9A CN201410840978A CN104601445A CN 104601445 A CN104601445 A CN 104601445A CN 201410840978 A CN201410840978 A CN 201410840978A CN 104601445 A CN104601445 A CN 104601445A
Authority
CN
China
Prior art keywords
message
account number
subscribing
public service
service account
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.)
Granted
Application number
CN201410840978.9A
Other languages
Chinese (zh)
Other versions
CN104601445B (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.)
Shenzhen Yayue Technology 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 CN201410840978.9A priority Critical patent/CN104601445B/en
Publication of CN104601445A publication Critical patent/CN104601445A/en
Application granted granted Critical
Publication of CN104601445B publication Critical patent/CN104601445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides message handling method, device, terminal and server. The method comprises the steps of sending a message subscribing request of public service account to a handling server through the terminal, wherein the message subscribing request carries a public service account marker, a subscriber marker and a target service message marker; searching the related server of the public service account through the handling server according to the public service account marker; generating a subscribing notification through the handling server according to the message subscribing request, and sending the subscribing notification to the related server; pushing a target service message to the terminal according to the subscribing notification; outputting the target service message in a service page of the public service account through the terminal. With the adoption of the method, the practicality in message handling during message subscribing of the public service account is improved, and the flexibility in message handling is improved.

Description

A kind of message treatment method, device, terminal and server
Technical field
The present invention relates to Internet technical field, be specifically related to technical field of internet application, particularly relate to a kind of message treatment method, device, terminal and server.
Background technology
Along with the development of Internet technology, internet, applications is developed rapidly.Wherein, public service account number refers to the service account numbers that developer or service provider register in internet, applications, and developer or service provider can by public service account number for the one or more users in internet, applications provide service; Wherein, internet, applications can refer to: the social activity application of instant messaging application, SNS (Social Networking Services, social network services) application etc., also can refer to: other non-social activity application such as game application, electric business application.At present, public service account number adopts unified method of service per family to all use paying close attention to this public service account number, such as: in social activity application, public service account number pushes identical notification message etc. to all social user paying close attention to this public service account number, user cannot customize or obtain the service message of the personalization for public service account number, thus reduce the practicality of Message Processing, and reduce the flexibility of Message Processing.
Summary of the invention
The embodiment of the present invention provides a kind of message treatment method, device, terminal and server, can realize the message subscribing for public service account number, promotes the practicality of Message Processing, promotes the flexibility of Message Processing.
Embodiment of the present invention first aspect provides a kind of message treatment method, can comprise:
Terminal sends for the message subscribing request of public service account number to processing server, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request;
Described processing server, according to the mark of described public service account number, searches the associated server of described public service account number;
Described processing server generates subscribing notification according to described message subscribing request, and described subscribing notification is sent to described associated server;
Described associated server, according to described subscribing notification, pushes described destination service message to described terminal;
Described terminal exports described destination service message in the service page of described public service account number.
Embodiment of the present invention second aspect provides another kind of message treatment method, can comprise:
Terminal sends the message subscribing request for public service account number to processing server, described processing server is made to generate subscribing notification according to described message subscribing request, and described subscribing notification is sent to the associated server of described public service account number, with by described associated server according to described subscribing notification, push described destination service message to described terminal;
Described terminal exports described destination service message in the service page of described public service account number;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
The embodiment of the present invention third aspect provides another message treatment method, can comprise:
The message subscribing request for public service account number that processing server receiving terminal sends, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request;
Described processing server, according to the mark of described public service account number, searches the associated server of described public service account number;
Described processing server generates subscribing notification according to described message subscribing request, and described subscribing notification is sent to described associated server, to make described associated server according to described subscribing notification, push described destination service message to described terminal, and in the service page of described public service account number, export described destination service message by described terminal.
Embodiment of the present invention fourth aspect provides another message treatment method, can comprise:
The associated server of public service account number receives the subscribing notification of processing server transmission, and wherein, the message subscribing request for public service account number that described processing server sends according to terminal generates described subscribing notification;
Described associated server, according to described subscribing notification, pushes described destination service message to described terminal, makes described terminal in the service page of described public service account number, export described destination service message;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
The embodiment of the present invention the 5th aspect provides a kind of message processing apparatus, can comprise:
Request unit, for sending the message subscribing request for public service account number to processing server, described processing server is made to generate subscribing notification according to described message subscribing request, and described subscribing notification is sent to the associated server of described public service account number, with by described associated server according to described subscribing notification, push described destination service message to terminal;
Output unit, for exporting described destination service message in the service page of described public service account number;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
The embodiment of the present invention the 6th aspect provides a kind of terminal, can comprise the message processing apparatus of above-mentioned 5th aspect.
The embodiment of the present invention the 7th aspect provides another kind of message processing apparatus, can comprise:
Receiving element, for the message subscribing request for public service account number that receiving terminal sends, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request;
Search unit, for the mark according to described public service account number, search the associated server of described public service account number;
Subscribing notification generation unit, for generating subscribing notification according to described message subscribing request;
Transmitting element, for described subscribing notification is sent to described associated server, to make described associated server according to described subscribing notification, push described destination service message to described terminal, and in the service page of described public service account number, export described destination service message by described terminal.
Embodiment of the present invention eighth aspect provides another message processing apparatus, can comprise:
Notice receiving element, for receiving the subscribing notification that processing server sends, wherein, the message subscribing request for public service account number that described processing server sends according to terminal generates described subscribing notification;
Push unit, for according to described subscribing notification, pushes described destination service message to described terminal, makes described terminal in the service page of described public service account number, export described destination service message;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
The embodiment of the present invention the 9th aspect provides a kind of server, can comprise the message processing apparatus of above-mentioned 7th aspect or eighth aspect.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of a kind of message treatment method that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the another kind of message treatment method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of another message treatment method that Fig. 3 provides for the embodiment of the present invention;
The flow chart of another message treatment method that Fig. 4 provides for the embodiment of the present invention;
The flow chart of another message treatment method that Fig. 5 provides for the embodiment of the present invention
The schematic diagram of the service page of a kind of public service account number that Fig. 6 a provides for the embodiment of the present invention;
The schematic diagram of the service page of the another kind of public service account number that Fig. 6 b provides for the embodiment of the present invention;
The schematic diagram of a kind of message subscribing page that Fig. 6 c provides for the embodiment of the present invention;
A kind of schematic diagram of pointing out the page that Fig. 6 d provides for the embodiment of the present invention;
The schematic diagram of a kind of subscription list that Fig. 6 e provides for the embodiment of the present invention;
The structural representation of a kind of message processing apparatus that Fig. 7 provides for the embodiment of the present invention;
The structural representation of the another kind of message processing apparatus that Fig. 8 provides for the embodiment of the present invention;
The structural representation of another message processing apparatus that Fig. 9 provides for the embodiment of the present invention;
Figure 10 is the structural representation searching the embodiment of unit shown in Fig. 9;
Figure 11 is the structural representation of the embodiment of the subscribing notification generation unit shown in Fig. 9;
The structural representation of another message processing apparatus that Figure 12 provides for the embodiment of the present invention;
Figure 13 is the structural representation of the embodiment of the push unit shown in Figure 12.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the embodiment of the present invention, terminal can be the equipment such as notebook computer, mobile phone, PAD (panel computer), car-mounted terminal, intelligent wearable device.The internet, applications of at least one type can be run in terminal, include but not limited to: social application, game application, electric business application etc.Wherein, social application refers to the application program that can realize social functions; Described social activity application can include but not limited to: instant messaging application, SNS application etc.
In the embodiment of the present invention, public service account number refers to the service account numbers that developer or service provider register in internet, applications, and developer or service provider can by public service account number for the one or more users in internet, applications provide the service comprising message push, message subscribing etc.Processing server refers to the background server of internet, applications, realizing the various demands in corresponding function process for the treatment of internet, applications, and the interaction message that can be used between relevant information to the user in internet, applications, the relevant information of public service account number and user, between user and public service account number manages.Wherein, the relevant information of user can include but not limited to: the information such as account number, mark, password, relation chain.The relevant information of public service account number can include but not limited to: the information such as account number, mark, log-on message.
In the embodiment of the present invention, a public service account number may correspond to an associated server, and the associated server of public service account number refers to the server being provided the services such as such as message push by public service account number for the user in internet, applications.Particularly, the associated server of public service account number can be application server, such as: developer's registration one in social activity application of certain electric business's application is designated the public service account number of xx, the associated server of this public service account number xx can be the application server of this electric business's application, the associated server of this public service account number xx can using the interactive interface of this electric business's application as service page, for the user in social activity application provides service.Particularly, the associated server of public service account number also can be web page server, such as: service provider's registration one in social activity application of certain game website is designated the public service account number of yy, the associated server of this public service account number yy can be the web page server of this game website, the associated server of this public service account number yy can using the webpage of this game website as service page, for the user in social activity application provides service.
Based on above-mentioned description, below in conjunction with accompanying drawing 1-accompanying drawing 6, the message treatment method that the embodiment of the present invention provides is described in detail.
Referring to Fig. 1, is the flow chart of a kind of message treatment method that the embodiment of the present invention provides; The present embodiment sets forth the flow process of message treatment method from end side; The method can comprise the following steps S101-step S102.
S101, terminal sends the message subscribing request for public service account number to processing server, described processing server is made to generate subscribing notification according to described message subscribing request, and described subscribing notification is sent to the associated server of described public service account number, with by described associated server according to described subscribing notification, push described destination service message to described terminal.
Internet, applications can run in terminal, and user can use described internet, applications by described terminal.In specific implementation, user is in the process using described internet, applications, the service that at least one public service account number provides with the public service account number accepting to pay close attention to can be paid close attention to, such as: user can pay close attention to public service account number corresponding to certain video website in social activity application, and the video that this user then can accept public service account number corresponding to this video website and provide is downloaded or video-see service; For another example: user can pay close attention to certain electric business and apply corresponding public service account number in social activity application, this user then can accept this electric business and apply electric business's shopping service that corresponding public service account number provides.Particularly, user can pull subscription the service message of certain public service account number, such as: user can pull subscription the TV play update notifying message of public service account number corresponding to video website, or the user electric business that can pull subscription applies the article shipping order message of corresponding public service account number, etc.When user pulls subscription certain service message of certain public service account number, described terminal can set up wired or wireless connection with described processing server, and based on being wired or wirelessly connected of setting up with described processing server, the message subscribing request for this public service account number can be sent to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.
Described processing server based on being wired or wirelessly connected of setting up with described terminal, can receive the message subscribing request that described terminal sends.Described processing server, according to the mark of the public service account number of carrying in this message subscribing request, can find the associated server of this public service account number; Described processing server also can generate subscribing notification according to described message subscribing request.Described subscribing notification can be used for notifying that described associated server pushes destination service message to subscriber.Described subscribing notification can comprise: the subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.
Also wired or wireless mode can be adopted between described processing server with described associated server to be connected, described processing server can be connected based on wired or wireless between described associated server, and described subscribing notification is sent to described associated server.Described associated server can call the subscription transmission interface carried in described subscribing notification, pushes described destination service message to described terminal.
S102, described terminal exports described destination service message in the service page of described public service account number.
In specific implementation, if the associated server of described public service account number is application server, the then interactive interface of the application of service page associated by described public service account number of described public service account number, such as: the electric business that is applied as associated by public service account number being designated xx applies, the associated server of this public service account number xx can be the application server of this electric business's application, and the service page of this public service account number xx can be the interactive interface of this electric business's application.If the associated server of described public service account number is web page server, the then website of service page associated by described public service account number of described public service account number, such as: the website associated by public service account number being designated yy is game website, the associated server of this public service account number yy can be the web page server of this game website, and the service page of this public service account number yy can be certain webpage of this game website.In this step, described terminal can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, make the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Fig. 2, is the flow chart of the another kind of message treatment method that the embodiment of the present invention provides; The present embodiment sets forth the flow process of message treatment method from processing server side; The method can comprise the following steps S201-step S204.
S201, the message subscribing request for public service account number that processing server receiving terminal sends, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request.
When the user of end side pulls subscription certain service message of certain public service account number, described terminal can set up wired or wireless connection with described processing server, and based on being wired or wirelessly connected of setting up with described processing server, the message subscribing request for this public service account number can be sent to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.Described processing server can set up wired or wireless connection with described terminal, and based on being wired or wirelessly connected of setting up with described terminal, can receive the message subscribing request for public service account number that described terminal sends.
S202, described processing server, according to the mark of described public service account number, searches the associated server of described public service account number.
Developer or service provider in internet, applications to described processing server application service account numbers time, the address of the server of process demand for services can be configured in described processing server, described processing server is that developer or service provider distribute public service account number, and record the log-on message of the public service account number of distributing simultaneously, wherein, described log-on message can include but not limited to: the mark of public service account number of distributing, the address etc. of configuration server.In this step, described processing server is according to the mark of public service account number entrained in described message subscribing request, inquire about the log-on message of this public service account number, and from log-on message, read the address of the configuration server of described public service account number, the address of the described configuration server read is defined as the address of the associated server of described public service account number.
S203, described processing server generates subscribing notification according to described message subscribing request.
Described subscribing notification can be used for notifying that described associated server pushes destination service message to subscriber.Described subscribing notification can comprise: the subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.
S204, described subscribing notification is sent to described associated server by described processing server, to make described associated server according to described subscribing notification, push described destination service message to described terminal, and in the service page of described public service account number, export described destination service message by described terminal.
Wired or wireless mode can be adopted between described processing server with described associated server to be connected, and described processing server can be connected based on wired or wireless between described associated server, and described subscribing notification is sent to described associated server.Described associated server can call the subscription transmission interface carried in described subscribing notification, pushes described destination service message to described terminal.Further, described terminal can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, make the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Fig. 3, is the flow chart of another message treatment method that the embodiment of the present invention provides; The present embodiment sets forth the flow process of message treatment method from the associated server side of public service account number; The method can comprise the following steps S301-step S302.
S301, the associated server of public service account number receives the subscribing notification of processing server transmission, and wherein, the message subscribing request for public service account number that described processing server sends according to terminal generates described subscribing notification.
When the user of end side pulls subscription certain service message of certain public service account number, described terminal can set up wired or wireless connection with described processing server, and based on being wired or wirelessly connected of setting up with described processing server, the message subscribing request for this public service account number can be sent to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.
Described processing server can generate subscribing notification according to described message subscribing request.Described subscribing notification can be used for notifying that described associated server pushes destination service message to subscriber.Described subscribing notification can comprise: the subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.Described associated server based on being wired or wirelessly connected of setting up with described processing server, can receiving described processing server and sends described subscribing notification.
S302, described associated server, according to described subscribing notification, pushes described destination service message to described terminal, makes described terminal in the service page of described public service account number, export described destination service message.
In specific implementation, described associated server can according to the subscription status of subscriber entrained in described subscribing notification, confirms described subscriber whether destination server described in successful subscription.Described associated server also can call template calling interface invocation target source template entrained in described subscribing notification, utilizes destination service message described in this target message template configuration.Further, described associated server also can call subscription transmission interface entrained in described subscribing notification, and described destination service message push configuration generated is to described terminal.Described terminal can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, makes the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Fig. 4, is the flow chart of another message treatment method that the embodiment of the present invention provides; The present embodiment sets forth the flow process of message treatment method from the mutual side between the associated server of terminal, processing server and public service account number; The method can comprise the following steps S401-step S405.
S401, terminal sends for the message subscribing request of public service account number to processing server, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request.
Internet, applications can run in terminal, and user can use described internet, applications by described terminal.In specific implementation, user is in the process using described internet, applications, the service that at least one public service account number provides with the public service account number accepting to pay close attention to can be paid close attention to, such as: user can pay close attention to public service account number corresponding to certain video website in social activity application, and the video that this user then can accept public service account number corresponding to this video website and provide is downloaded or video-see service; For another example: user can pay close attention to certain electric business and apply corresponding public service account number in social activity application, this user then can accept this electric business and apply electric business's shopping service that corresponding public service account number provides.Particularly, user can pull subscription the service message of certain public service account number, such as: user can pull subscription the TV play update notifying message of public service account number corresponding to video website, or the user electric business that can pull subscription applies the article shipping order message of corresponding public service account number, etc.When user pulls subscription certain service message of certain public service account number, described terminal can set up wired or wireless connection with described processing server, and based on being wired or wirelessly connected of setting up with described processing server, the message subscribing request for this public service account number can be sent to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.
S402, described processing server, according to the mark of described public service account number, searches the associated server of described public service account number.
Developer or service provider in internet, applications to described processing server application service account numbers time, the address of the server of process demand for services can be configured in described processing server, described processing server is that developer or service provider distribute public service account number, and record the log-on message of the public service account number of distributing simultaneously, wherein, described log-on message can include but not limited to: the mark of public service account number of distributing, the address etc. of configuration server.In this step, described processing server is according to the mark of public service account number entrained in described message subscribing request, inquire about the log-on message of this public service account number, and from log-on message, read the address of the configuration server of described public service account number, the address of the described configuration server read is defined as the address of the associated server of described public service account number.
S403, described processing server generates subscribing notification according to described message subscribing request.
Described subscribing notification can be used for notifying that described associated server pushes destination service message to subscriber.Described subscribing notification can comprise: the subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.
S404, described subscribing notification is sent to described associated server by described processing server.
Wired or wireless mode can be adopted between described processing server with described associated server to be connected, and described processing server can be connected based on wired or wireless between described associated server, and described subscribing notification is sent to described associated server.
S405, described associated server, according to described subscribing notification, pushes described destination service message to described terminal.
In specific implementation, described associated server can according to the subscription status of subscriber entrained in described subscribing notification, confirms described subscriber whether destination server described in successful subscription.Described associated server also can call template calling interface invocation target source template entrained in described subscribing notification, utilizes destination service message described in this target message template configuration.Further, described associated server also can call subscription transmission interface entrained in described subscribing notification, and described destination service message push configuration generated is to described terminal.
S406, described terminal exports described destination service message in the service page of described public service account number.
In specific implementation, if the associated server of described public service account number is application server, the then interactive interface of the application of service page associated by described public service account number of described public service account number, such as: the electric business that is applied as associated by public service account number being designated xx applies, the associated server of this public service account number xx can be the application server of this electric business's application, and the service page of this public service account number xx can be the interactive interface of this electric business's application.If the associated server of described public service account number is web page server, the then website of service page associated by described public service account number of described public service account number, such as: the website associated by public service account number being designated yy is game website, the associated server of this public service account number yy can be the web page server of this game website, and the service page of this public service account number yy can be certain webpage of this game website.In this step, described terminal can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, make the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Fig. 5, is the flow chart of another message treatment method that the embodiment of the present invention provides; The present embodiment sets forth the flow process of message treatment method from the mutual side between terminal, processing server and public service account number; The method can comprise the following steps S501-step S517.
S501, associated server calls the message subscribing address that processing server provides.
Described message subscribing address can unique identification message subscribing page.Conveniently described associated server is called, and the use of conveniently user, described processing server can adopt the mode of button control to provide described message subscribing address, namely described processing server can carry out encapsulation process to described message subscribing address, generates the button control carrying message subscribing address.In specific implementation, if described associated server is application server, described associated server can adopt SDK (Software Development Kit, SDK) mode to call the message subscribing address that described processing server provides.If described associated server is web page server, described associated server can adopt JS (Javascript, a kind of literal translation formula script) mode to call the message subscribing address that described processing server provides.
S502, described associated server exports described message subscribing address in the service page of public service account number.
In specific implementation, in internet, applications, exported the service page of described public service account number by terminal.If described associated server is application server, described associated server can by described message subscribing address transfer to described terminal, in internet, applications, exported the interactive interface of the associated application of described public service account number by described terminal, and in the interactive interface of the associated application of described public service account number, export described message subscribing address.If described associated server is web page server, described associated server can by described message subscribing address transfer to described terminal, in internet, applications, exported the webpage of the associating websites of described public service account number by described terminal, and in the webpage of the associating websites of described public service account number, export described message subscribing address.In a kind of feasible execution mode, please also refer to Fig. 6 a, the schematic diagram of the service page of a kind of public service account number provided for the embodiment of the present invention.Described associated server directly can transfer to terminal after calling the message subscribing address of button control form, is exported in the service page of described public service account number by described terminal." subscription " button control in service page as shown in Figure 6 a.
In the execution mode that another kind is feasible, please also refer to Fig. 6 b, the schematic diagram of the service page of the another kind of public service account number provided for the embodiment of the present invention.After described associated server calls described message subscribing address, can carry out Reseal to this message subscribing address is Quick Response Code, and Quick Response Code is transferred to terminal, is exported in the service page of described public service account number by described terminal.Quick Response Code in service page as shown in Figure 6 b.
S503, when the Action Events for described message subscribing address being detected in the service page in described public service account number, described terminal pulls the message subscribing page corresponding to described message subscribing address from described processing server.
When user operates described message subscribing address in the service page of described public service account number, described terminal can detect Action Events, such as: when user clicks " subscription " button control in the service page shown in Fig. 6 a, or, during Quick Response Code in the service page shown in scanning input Fig. 6 b, described terminal can detect the Action Events for described message subscribing address.Further, described terminal, according to described message subscribing address, pulls the message subscribing page from described processing server.Wherein, the described message subscribing page by described processing server provide, facilitate user to complete the interaction page of message subscribing flow process.
S504, described terminal exports the described message subscribing page.
Described terminal can export the described message subscribing page in internet, applications, completes message subscribing flow process to be supplied to user.Specifically please also refer to Fig. 6 c, it is the schematic diagram of a kind of message subscribing page that the embodiment of the present invention provides; Describe the details that user can subscribe in the message subscribing page shown in Fig. 6 c, comprising: brief introduction of public service account number, destination service message etc., further, in the message subscribing page shown in Fig. 6 c, additionally provide the button being confirmed whether to subscribe to.
S505, when message subscribing solicit operation being detected in the described message subscribing page, described terminal obtains the mark of the mark of described public service account number, subscriber identity and destination service message, and generates the message subscribing request for described public service account number.
When the button that the confirmation that user clicks in the message subscribing page shown in Fig. 6 c is subscribed to, described terminal can detect message subscribing solicit operation in the described message subscribing page, and described terminal then generates the message subscribing request for described public service account number according to described message subscribing solicit operation.In the embodiment of the present invention, whether described terminal is also exportable subscribes to successful prompting, please also refer to Fig. 6 d, is a kind of schematic diagram of pointing out the page that the embodiment of the present invention provides; If described terminal successfully generates described message subscribing request, then successfully can point out the page to the subscription shown in user's output map 6d.Be understandable that, if the described message subscribing request of the unsuccessful generation of described terminal, then can export to user and subscribe to failed prompting.
S506, terminal sends for the message subscribing request of public service account number to processing server, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request.
Described terminal can set up wired or wireless connection with described processing server, and based on being wired or wirelessly connected of setting up with described processing server, can send the message subscribing request for this public service account number to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.
S507, described processing server, according to the mark of described public service account number, inquires about the log-on message of described public service account number.
Developer or service provider in internet, applications to described processing server application service account numbers time, the address of the server of process demand for services can be configured in described processing server, described processing server is that developer or service provider distribute public service account number, and record the log-on message of the public service account number of distributing simultaneously, wherein, described log-on message can include but not limited to: the mark of public service account number of distributing, the address etc. of configuration server.In this step, described processing server, according to the mark of public service account number entrained in described message subscribing request, inquires about the log-on message of this public service account number.
S508, described processing server obtains the server configuration address of described public service account number from the log-on message of described public service account number.
S509, the server configuration address of described public service account number is defined as the address of the associated server of described public service account number by described processing server.
S510, described processing server, according to described subscriber identity, upgrades the subscription status of described subscriber, and extracts subscription transmission interface.
The subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.
S511, described processing server, according to the mark of destination service message, obtains the mark of target message template corresponding to described destination service message, and extracts template calling interface.
Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.
S512, described processing server carries out encapsulation process to the mark of the subscription status of described subscriber, described subscription transmission interface, described target message template and described template calling interface, generates subscribing notification.
S513, described subscribing notification is sent to described associated server by described processing server.
Wired or wireless mode can be adopted between described processing server with described associated server to be connected, and described processing server can be connected based on wired or wireless between described associated server, and described subscribing notification is sent to described associated server.
In specific implementation, described subscribing notification can be treated to XML data by described processing server, and this XML data is sent to described associated server.Employing instantiation is represented the structure of the XML data of this subscribing notification below:
<xml>
<ToUserName><![CDATA[gh_fb579bf5f1cc]]></ToUserName>
<FromUserName><![CDATA[ocYxcuF53MLG9ag45xD5EeWrykqk]]></FromUserName>
<CreateTime>1411616365</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[subscribe_msg]]></Event>
<TemplateID><![CDATA[12314]]></TemplateID>
<Sid><![CDATA[colaghost]]></Sid>
<OpenID><![CDATA[abc]]></OpenID>
</xml>
The structure of above-mentioned XML data is described as follows:
ToUserName: represent public service account number;
FromUSerName: represent the unique identification of user in public service account number;
CreateTime: represent the time created;
MsgType: expression type of message is event;
Event: the message subscribing operation representing user, wherein subscribe_msg represents that message subscribing operates, and unsubscrib_msg represents that message quits the subscription of operation;
TemplateID: represent the target message template ID subscribing to or quit the subscription of;
Sid: represent the interior mark for identifying user identity imported into for the Action Events of described message subscribing address of the service page of public service account number;
OpenID: represent the unique identification of user in public service account number is identical with FromUserName.
S514, described associated server calls described template calling interface, obtains described target message template.
Described associated server can to call in described subscribing notification entrained template calling interface, and according to the mark of target message template, obtains described target message template.In specific implementation, described associated server can call template calling interface entrained in described subscribing notification, sends request the POST request obtaining target message template to described processing server.Employing instantiation is represented the structure that POST asks below:
The structure of above-mentioned POST request is described as follows:
Templat_id: represent the target message template ID that will obtain;
OpenID: represent the user ID that will obtain.
Described processing server is asked according to the POST of described associated server, returns corresponding JSON data to described associated server.Employing instantiation is represented the structure of these JSON data below:
The structure of above-mentioned JSON data is described as follows:
Errcode: represent error code, 0 represents normal, non-zero expression mistake;
Errmsg: the description representing error message;
Subscribe: represent and whether subscribe to, 0 represents not subscription, and 1 expression is subscribed to.
S515, described associated server is configuration service content in described target message template, generates described destination service message.
S516, described associated server calls described subscription transmission interface, pushes described destination service message by described processing server to described terminal.
Described associated server can call subscription transmission interface entrained in described subscribing notification, pushes described destination service message by described processing server to described terminal.In specific implementation, described associated server can call subscription transmission interface entrained in described subscribing notification, sends request the POST request sending destination service message to described processing server.Employing instantiation is represented the structure that this POST asks below:
The above-mentioned POST request that described processing server sends according to described associated server, by described destination service message push to described terminal.
S517, described terminal exports described destination service message in the service page of described public service account number.
If the associated server of described public service account number is application server, the then interactive interface of the application of service page associated by described public service account number of described public service account number, such as: the electric business that is applied as associated by public service account number being designated xx applies, the associated server of this public service account number xx can be the application server of this electric business's application, and the service page of this public service account number xx can be the interactive interface of this electric business's application.If the associated server of described public service account number is web page server, the then website of service page associated by described public service account number of described public service account number, such as: the website associated by public service account number being designated yy is game website, the associated server of this public service account number yy can be the web page server of this game website, and the service page of this public service account number yy can be certain webpage of this game website.In this step, described terminal can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, make the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
S518, described processing server detects the propelling movement result of described destination service message.
Described propelling movement result can comprise: push successfully, push unsuccessfully, due to other reasonses such as such as networks push failure because user rejects.
S519, described processing server is by described propelling movement result feedback extremely described associated server.
In specific implementation, described propelling movement result treatment can be XML data by described processing server, and this XML data is sent to described associated server.Employing instantiation is represented the structure of the XML data of this propelling movement result below:
(1) when described propelling movement result is for pushing successfully, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUserName>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163836></MsgID>
<Status><![CDATA[success]]></Status>
</xml>
(2) when described propelling movement result is for pushing unsuccessfully because user rejects, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUserName>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:user block]]></Status>
</xml>
(3) when described propelling movement result is for pushing failed due to other reasonses such as such as networks, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUserName>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:system failed]]></Status>
</xml>
S520, when receiving the unsubscription request for described destination service message that described terminal sends, described processing server generates according to described unsubscription request and quits the subscription of notice, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described unsubscription request.
After the service message of user's successful subscription public service account number, can pass through described terminal inquiry subscription list, described terminal can obtain the subscription list of described user from described processing server and export.Please also refer to Fig. 6 e, it is the schematic diagram of a kind of subscription list that the embodiment of the present invention provides; Also comprise " quitting the subscription of " button in subscription list as shown in fig 6e, " quit the subscription of " button when user clicks this, described terminal then sends the unsubscription request for destination service message to described processing server.Described processing server generates according to described unsubscription request and quits the subscription of notice, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described unsubscription request.Described notice of quitting the subscription of is for notifying that described associated server stops pushing described destination service message to described terminal.
S521, described notice of quitting the subscription of is sent to described associated server by described processing server.
Described processing server can be connected based on the wired or wireless of described associated server, and described notice of quitting the subscription of is sent to described associated server.It should be noted that, the step S520-step S521 of the present embodiment has set forth the main flow that message is quit the subscription of, and the flow process of its concrete flow process and message subscribing is similar, specifically can see the associated description of step S501-step S519 about message subscribing.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Below in conjunction with accompanying drawing 7-accompanying drawing 8, the structure of a kind of message processing apparatus that the embodiment of the present invention provides is described in detail.It should be noted that, the message processing apparatus shown in Fig. 7-Fig. 8 can run in the terminal described in the embodiment of the present invention, and can be applicable in the method shown in above-mentioned Fig. 1-Fig. 6.
Referring to Fig. 7, is the structural representation of a kind of message processing apparatus that the embodiment of the present invention provides; This device can comprise: request unit 101 and output unit 102.
Request unit 101, for sending the message subscribing request for public service account number to processing server, described processing server is made to generate subscribing notification according to described message subscribing request, and described subscribing notification is sent to the associated server of described public service account number, with by described associated server according to described subscribing notification, push described destination service message to terminal.
Internet, applications can run in terminal, and user can use described internet, applications by described terminal.In specific implementation, user is in the process using described internet, applications, the service that at least one public service account number provides to accept each public service account number can be paid close attention to, such as: user can pay close attention to public service account number corresponding to certain video website in internet, applications, this user then can accept the video that public service account number corresponding to this video website provide and downloads or video-see service; For another example: user can pay close attention to certain electric business and apply corresponding public service account number in social activity application, this user then can accept this electric business and apply electric business's shopping service that corresponding public service account number provides.Particularly, user can pull subscription the service message of certain public service account number, such as: user can pull subscription the TV play update notifying message of public service account number corresponding to video website, or the user electric business that can pull subscription applies the article shipping order message of corresponding public service account number, etc.When user pulls subscription certain service message of certain public service account number, described terminal can set up wired or wireless connection with described processing server, described request unit 101 based on being wired or wirelessly connected of setting up with described processing server, can send the message subscribing request for this public service account number to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.
Described processing server based on being wired or wirelessly connected of setting up with described terminal, can receive the message subscribing request that described request unit 101 sends.Described processing server, according to the mark of the public service account number of carrying in this message subscribing request, can find the associated server of this public service account number; Described processing server also can generate subscribing notification according to described message subscribing request.Described subscribing notification can be used for notifying that described associated server pushes destination service message to subscriber.Described subscribing notification can comprise: the subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.
Also wired or wireless mode can be adopted between described processing server with described associated server to be connected, described processing server can be connected based on wired or wireless between described associated server, and described subscribing notification is sent to described associated server.Described associated server can call the subscription transmission interface carried in described subscribing notification, pushes described destination service message to described terminal.
Output unit 102, for exporting described destination service message in the service page of described public service account number.
In specific implementation, if the associated server of described public service account number is application server, the then interactive interface of the application of service page associated by described public service account number of described public service account number, such as: the electric business that is applied as associated by public service account number being designated xx applies, the associated server of this public service account number xx can be the application server of this electric business's application, and the service page of this public service account number xx can be the interactive interface of this electric business's application.If the associated server of described public service account number is web page server, the then website of service page associated by described public service account number of described public service account number, such as: the website associated by public service account number being designated yy is game website, the associated server of this public service account number yy can be the web page server of this game website, and the service page of this public service account number yy can be certain webpage of this game website.Described output unit 102 can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, make the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Fig. 8, is the structural representation of the another kind of message processing apparatus that the embodiment of the present invention provides; This device can comprise: request unit 101, output unit 102, event detection unit 103, page output unit 104 and request generation unit 105.Wherein, the 26S Proteasome Structure and Function of request unit 101 and output unit 102 see above-mentioned associated description embodiment illustrated in fig. 8, can be not repeated herein.
Event detection unit 103, for when the Action Events for described message subscribing address being detected in the service page in described public service account number, pulls the message subscribing page corresponding to described message subscribing address from described processing server.
When user operates described message subscribing address in the service page of described public service account number, described terminal can detect Action Events, such as: when user clicks " subscription " button control in the service page shown in Fig. 6 a, or, during Quick Response Code in the service page shown in scanning input Fig. 6 b, described event detection unit 103 can detect the Action Events for described message subscribing address.Further, described event detection unit 103, according to described message subscribing address, pulls the message subscribing page from described processing server.Wherein, the described message subscribing page by described processing server provide, facilitate user to complete the interaction page of message subscribing flow process.
Page output unit 104, for exporting the described message subscribing page.
Described page output unit 104 can export the described message subscribing page in internet, applications, completes message subscribing flow process to be supplied to user.Specifically please also refer to Fig. 6 c, the details that user can subscribe to are described in the message subscribing page, comprise: brief introduction of public service account number, destination service message etc., further, in the message subscribing page shown in Fig. 6 c, additionally provide the button being confirmed whether to subscribe to.
Request generation unit 105, for when message subscribing solicit operation being detected in the described message subscribing page, obtain the mark of the mark of described public service account number, subscriber identity and destination service message, and generate the message subscribing request for described public service account number.
When the button that the confirmation that user clicks in the message subscribing page shown in Fig. 6 c is subscribed to, described request generation unit 105 can detect message subscribing solicit operation in the described message subscribing page, and described request generation unit 105 generates the message subscribing request for described public service account number according to described message subscribing solicit operation.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
The embodiment of the invention also discloses a kind of terminal, can comprise a message processing apparatus, the 26S Proteasome Structure and Function of this message processing apparatus see the associated description of above-mentioned Fig. 7-embodiment illustrated in fig. 8, can be not repeated herein.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Below in conjunction with accompanying drawing 9-accompanying drawing 11, the structure of the another kind of message processing apparatus that the embodiment of the present invention provides is described in detail.It should be noted that, the message processing apparatus shown in Fig. 9-Figure 11 can run in the processing server described in the embodiment of the present invention, and can be applicable in the method shown in above-mentioned Fig. 1-Fig. 6.
Referring to Fig. 9, is the structural representation of another message processing apparatus that the embodiment of the present invention provides; This device can comprise: receiving element 201, search unit 202, subscribing notification generation unit 203 and transmitting element 204.
Receiving element 201, for the message subscribing request for public service account number that receiving terminal sends, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request.
When the user of end side pulls subscription certain service message of certain public service account number, described terminal can set up wired or wireless connection with described processing server, and based on being wired or wirelessly connected of setting up with described processing server, the message subscribing request for this public service account number can be sent to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.Described processing server can set up wired or wireless connection with described terminal, and described receiving element 201 based on being wired or wirelessly connected of setting up with described terminal, can receive the message subscribing request for public service account number that described terminal sends.
Search unit 202, for the mark according to described public service account number, search the associated server of described public service account number.
Developer or service provider in internet, applications to described processing server application service account numbers time, the address of the server of process demand for services can be configured in described processing server, described processing server is that developer or service provider distribute public service account number, and record the log-on message of the public service account number of distributing simultaneously, wherein, described log-on message can include but not limited to: the mark of public service account number of distributing, the address etc. of configuration server.Describedly search the mark of unit 202 according to public service account number entrained in described message subscribing request, inquire about the log-on message of this public service account number, and from log-on message, read the address of the configuration server of described public service account number, the address of the described configuration server read is defined as the address of the associated server of described public service account number.
Subscribing notification generation unit 203, for generating subscribing notification according to described message subscribing request.
Described subscribing notification can be used for notifying that described associated server pushes destination service message to subscriber.Described subscribing notification can comprise: the subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.
Transmitting element 204, for described subscribing notification is sent to described associated server, to make described associated server according to described subscribing notification, push described destination service message to described terminal, and in the service page of described public service account number, export described destination service message by described terminal.
Wired or wireless mode can be adopted between described processing server with described associated server to be connected, and described transmitting element 204 can be connected based on wired or wireless between described associated server, and described subscribing notification is sent to described associated server.Described associated server can call the subscription transmission interface carried in described subscribing notification, pushes described destination service message to described terminal.Further, described terminal can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, make the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
Alternatively, then refer to Fig. 9, this device also can comprise: detecting unit 205 and result feedback unit 206.
Detecting unit 205, for detecting the propelling movement result of described destination service message.
Described propelling movement result can comprise: push successfully, push unsuccessfully, due to other reasonses such as such as networks push failure because user rejects.
Result feedback unit 206, for by described propelling movement result feedback to described associated server.
In specific implementation, described propelling movement result treatment can be XML (Extensible Markup Language, extend markup language) data by described result feedback unit 206, and this XML data is sent to described associated server.The structure of the XML data of this propelling movement result will be represented below with instantiation:
(1) when described propelling movement result is for pushing successfully, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUserName>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163836></MsgID>
<Status><![CDATA[success]]></Status>
</xml>
(2) when described propelling movement result is for pushing unsuccessfully because user rejects, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUserName>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:user block]]></Status>
</xml>
(3) when described propelling movement result is for pushing failed due to other reasonses such as such as networks, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUserName>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:system failed]]></Status>
</xml>
Further alternatively, then refer to Fig. 9, this device also can comprise: quit the subscription of notice generation unit 207.
Quit the subscription of notice generation unit 207, for when receiving the unsubscription request for described destination service message that described terminal sends, generate according to described unsubscription request and quit the subscription of notice, in described unsubscription request, carry the mark of the mark of described public service account number, subscriber identity and destination service message.
After the service message of user's successful subscription public service account number, can pass through described terminal inquiry subscription list, described terminal can obtain the subscription list of described user from described processing server and export.Can comprise " quitting the subscription of " button in subscription list, " quit the subscription of " button when user clicks this, described terminal then sends the unsubscription request for destination service message to described processing server.Described notice generation unit 207 of quitting the subscription of generates according to described unsubscription request and quits the subscription of notice, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described unsubscription request.Described notice of quitting the subscription of is for notifying that described associated server stops pushing described destination service message to described terminal.
Described transmitting element 204 is also for being sent to described associated server by described notice of quitting the subscription of.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Figure 10, is the structural representation searching the embodiment of unit shown in Fig. 9; This is searched unit 202 and can comprise: trade mark enquiries unit 2201, configuration reading unit 2202 and address determination unit 2203.
Trade mark enquiries unit 2201, for the mark according to described public service account number, inquires about the log-on message of described public service account number.
Developer or service provider in internet, applications to described processing server application service account numbers time, the address of the server of process demand for services can be configured in described processing server, described processing server is that developer or service provider distribute public service account number, and record the log-on message of the public service account number of distributing simultaneously, wherein, described log-on message can include but not limited to: the mark of public service account number of distributing, the address etc. of configuration server.Described trade mark enquiries unit 2201, according to the mark of public service account number entrained in described message subscribing request, inquires about the log-on message of this public service account number.
Configuration reading unit 2202, for obtaining the server configuration address of described public service account number in the log-on message from described public service account number.
Address determination unit 2203, for being defined as the address of the associated server of described public service account number by the server configuration address of described public service account number.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Figure 11, is the structural representation of the embodiment of the subscribing notification generation unit shown in Fig. 9; This subscribing notification generation unit 203 can comprise: subscribe to processing unit 2301, template processing unit 2302 and encapsulation process unit 2303.
Subscribe to processing unit 2301, for according to described subscriber identity, upgrade the subscription status of described subscriber, and extract subscription transmission interface.
The subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.
Template processing unit 2302, for the mark according to destination service message, obtains the mark of target message template corresponding to described destination service message, and extracts template calling interface.
Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.
Encapsulation process unit 2303, carries out encapsulation process for the mark of the subscription status to described subscriber, described subscription transmission interface, described target message template and described template calling interface, generates subscribing notification.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
The embodiment of the invention also discloses a kind of server, this server can be described processing server, can comprise a message processing apparatus, and the 26S Proteasome Structure and Function of this message processing apparatus see the associated description of above-mentioned Fig. 9-embodiment illustrated in fig. 11, can be not repeated herein.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Below in conjunction with accompanying drawing 12-accompanying drawing 13, the structure of another message processing apparatus that the embodiment of the present invention provides is described in detail.It should be noted that, the message processing apparatus shown in Figure 12-Figure 13 can run in the associated server of the public service account number described in the embodiment of the present invention, and can be applicable in the method shown in above-mentioned Fig. 1-Fig. 6.
Referring to Figure 12, is the structural representation of another message processing apparatus that the embodiment of the present invention provides; This device can comprise: notice receiving element 301 and push unit 302.
Notice receiving element 301, for receiving the subscribing notification that processing server sends, wherein, the message subscribing request for public service account number that described processing server sends according to terminal generates described subscribing notification.
When the user of end side pulls subscription certain service message of certain public service account number, described terminal can set up wired or wireless connection with described processing server, and based on being wired or wirelessly connected of setting up with described processing server, the message subscribing request for this public service account number can be sent to described processing server.The mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.Wherein, described subscriber identity can be used for the subscriber that unique identification initiates this message subscribing request, this subscriber identity can for subscribing to the mark of the user of certain service message of this public service account number by described terminal request, also can be to the mark of described processing server transmission for the terminal of the message subscribing request of this public service account number.
Described processing server can generate subscribing notification according to described message subscribing request.Described subscribing notification can be used for notifying that described associated server pushes destination service message to subscriber.Described subscribing notification can comprise: the subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of described subscriber can comprise: subscription status and non-subscription status.That described subscription transmission interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to send destination service message to subscriber.Described target message template refers to the source template corresponding to that provided by described processing server, described destination service message, and described associated server can utilize destination service message described in described target message template configuration.That described template calling interface opens to described associated server for described processing server, be supplied to the interface that described associated server carries out calling to configure described destination service message.Described notice receiving element 301 based on being wired or wirelessly connected of setting up with described processing server, can receiving described processing server and sends described subscribing notification.
Push unit 302, for according to described subscribing notification, pushes described destination service message to described terminal, makes described terminal in the service page of described public service account number, export described destination service message.
In specific implementation, described associated server can according to the subscription status of subscriber entrained in described subscribing notification, confirms described subscriber whether destination server described in successful subscription.Described associated server also can call template calling interface invocation target source template entrained in described subscribing notification, utilizes destination service message described in this target message template configuration.Further, described push unit 302 also can call subscription transmission interface entrained in described subscribing notification, and described destination service message push configuration generated is to described terminal.Described terminal can export the service page of described public service account number in internet, applications, and in this service page, export described destination service message, makes the bookkeepings such as the user of end side such as can browse this destination service message, closedown.
Alternatively, then refer to Figure 12, this device also can comprise: call by location unit 303 and address output cell 304.
Call by location unit 303, for calling the message subscribing address that described processing server provides.
Described message subscribing address can unique identification message subscribing page.Conveniently described associated server is called, and the use of conveniently user, described processing server can adopt the mode of button control to provide described message subscribing address, namely described processing server can carry out encapsulation process to described message subscribing address, generates the button control carrying message subscribing address.In specific implementation, if described associated server is application server, the message subscribing address that described call by location unit 303 can adopt SDK mode to call described processing server to provide.If described associated server is web page server, the message subscribing address that described call by location unit 303 can adopt JS mode to call described processing server to provide.
Address output cell 304, for exporting described message subscribing address in the service page of described public service account number.
In specific implementation, in internet, applications, exported the service page of described public service account number by terminal.If described associated server is application server, described address output cell 304 can by described message subscribing address transfer to described terminal, in internet, applications, exported the interactive interface of the associated application of described public service account number by described terminal, and in the interactive interface of the associated application of described public service account number, export described message subscribing address.If described associated server is web page server, described address output cell 304 can by described message subscribing address transfer to described terminal, in internet, applications, exported the webpage of the associating websites of described public service account number by described terminal, and in the webpage of the associating websites of described public service account number, export described message subscribing address.In a kind of feasible execution mode, please also refer to Fig. 6 a, after described call by location unit 303 calls the message subscribing address of button control form, described address output cell 304 directly can transfer to terminal, is exported in the service page of described public service account number by described terminal." subscription " button control in service page as shown in Figure 6 a.
In the execution mode that another kind is feasible, please also refer to Fig. 6 b, after described call by location unit 303 calls described message subscribing address, it is Quick Response Code that described address output cell 304 can carry out Reseal to this message subscribing address, and Quick Response Code is transferred to terminal, exported in the service page of described public service account number by described terminal.Quick Response Code in service page as shown in Figure 6 b.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
Referring to Figure 13, is the structural representation of the embodiment of the push unit shown in Figure 12; This push unit 302 can comprise: template acquiring unit 3201, message generation unit 3202 and message push unit 3203.
Template acquiring unit 3201, for calling described template calling interface, obtains described target message template.
Described template acquiring unit 3201 can to call in described subscribing notification entrained template calling interface, and according to the mark of target message template, obtains described target message template.In specific implementation, described template acquiring unit 3201 can call template calling interface entrained in described subscribing notification, sends request the POST request obtaining target message template to described processing server.Employing instantiation is represented the structure that POST asks below:
The structure of above-mentioned POST request is described as follows:
Templat_id: represent the target message template ID that will obtain;
OpenID: represent the user ID that will obtain.
Described processing server is asked according to the POST of described associated server, returns corresponding JSON data to described associated server.Employing instantiation is represented the structure of these JSON data below:
The structure of above-mentioned JSON data is described as follows:
Errcode: represent error code, 0 represents normal, non-zero expression mistake;
Errmsg: the description representing error message;
Subscribe: represent and whether subscribe to, 0 represents not subscription, and 1 expression is subscribed to.
Message generation unit 3202, for configuration service content in described target message template, generates described destination service message.
Message push unit 3203, for calling described subscription transmission interface, pushes described destination service message by described processing server to described terminal.
Described message push unit 3203 can call subscription transmission interface entrained in described subscribing notification, pushes described destination service message by described processing server to described terminal.In specific implementation, described message push unit 3203 can call subscription transmission interface entrained in described subscribing notification, sends request the POST request sending destination service message to described processing server.Employing instantiation is represented the structure that this POST asks below:
The above-mentioned POST request that described processing server sends according to described message push unit 3203, by described destination service message push to described terminal.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
The embodiment of the invention also discloses a kind of server, this server can be the associated server of described public service account number, can comprise a message processing apparatus, the 26S Proteasome Structure and Function of this message processing apparatus see the associated description of above-mentioned Figure 12-embodiment illustrated in fig. 13, can be not repeated herein.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, processing server can generate according to the subscription of terminal the associated server that subscribing notification is sent to public service account number, by associated server according to described subscribing notification, by described destination service message push to terminal, and in the service page of described public service account number, export described destination service message by described terminal, thus the message subscribing achieved for public service account number, user is enable to obtain customization, personalized service message, promote the practicality of Message Processing, promote the flexibility of Message Processing.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (23)

1. a message treatment method, is characterized in that, comprising:
Terminal sends for the message subscribing request of public service account number to processing server, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request;
Described processing server, according to the mark of described public service account number, searches the associated server of described public service account number;
Described processing server generates subscribing notification according to described message subscribing request, and described subscribing notification is sent to described associated server;
Described associated server, according to described subscribing notification, pushes described destination service message to described terminal;
Described terminal exports described destination service message in the service page of described public service account number.
2. a message treatment method, is characterized in that, comprising:
Terminal sends the message subscribing request for public service account number to processing server, described processing server is made to generate subscribing notification according to described message subscribing request, and described subscribing notification is sent to the associated server of described public service account number, with by described associated server according to described subscribing notification, push described destination service message to described terminal;
Described terminal exports described destination service message in the service page of described public service account number;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
3. method as claimed in claim 2, is characterized in that, described terminal also comprises before sending the message subscribing request for public service account number to processing server:
When the Action Events for message subscribing address being detected in the service page in described public service account number, described terminal pulls the message subscribing page corresponding to described message subscribing address from described processing server;
Described terminal exports the described message subscribing page;
When message subscribing solicit operation being detected in the described message subscribing page, described terminal obtains the mark of the mark of described public service account number, subscriber identity and destination service message, and generates the message subscribing request for described public service account number.
4. a message treatment method, is characterized in that, comprising:
The message subscribing request for public service account number that processing server receiving terminal sends, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request;
Described processing server, according to the mark of described public service account number, searches the associated server of described public service account number;
Described processing server generates subscribing notification according to described message subscribing request, and described subscribing notification is sent to described associated server, to make described associated server according to described subscribing notification, push described destination service message to described terminal, and in the service page of described public service account number, export described destination service message by described terminal.
5. method as claimed in claim 4, it is characterized in that, described processing server, according to the mark of described public service account number, is searched the associated server of described public service account number, being comprised:
Described processing server, according to the mark of described public service account number, inquires about the log-on message of described public service account number;
Described processing server obtains the server configuration address of described public service account number from the log-on message of described public service account number;
The server configuration address of described public service account number is defined as the address of the associated server of described public service account number by described processing server.
6. method as claimed in claim 4, is characterized in that, described processing server generates subscribing notification according to described message subscribing request, comprising:
Described processing server, according to described subscriber identity, upgrades the subscription status of described subscriber, and extracts subscription transmission interface;
Described processing server, according to the mark of destination service message, obtains the mark of target message template corresponding to described destination service message, and extracts template calling interface;
Described processing server carries out encapsulation process to the mark of the subscription status of described subscriber, described subscription transmission interface, described target message template and described template calling interface, generates subscribing notification.
7. method as claimed in claim 4, it is characterized in that, described associated server, according to described subscribing notification, after described terminal pushes described destination service message, also comprises:
Described processing server detects the propelling movement result of described destination service message;
Described processing server is by described propelling movement result feedback extremely described associated server.
8. the method as described in any one of claim 4-7, is characterized in that, also comprises:
When receiving the unsubscription request for described destination service message that described terminal sends, described processing server generates according to described unsubscription request and quits the subscription of notice, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described unsubscription request;
Described notice of quitting the subscription of is sent to described associated server by described processing server.
9. a message treatment method, is characterized in that, comprising:
The associated server of public service account number receives the subscribing notification of processing server transmission, and wherein, the message subscribing request for public service account number that described processing server sends according to terminal generates described subscribing notification;
Described associated server, according to described subscribing notification, pushes described destination service message to described terminal, makes described terminal in the service page of described public service account number, export described destination service message;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
10. method as claimed in claim 9, is characterized in that, before the subscribing notification of the associated server reception processing server transmission of described public service account number, also comprises:
Described associated server calls the message subscribing address that described processing server provides;
Described associated server exports described message subscribing address in the service page of described public service account number.
11. methods as described in claim 9 or 10, it is characterized in that, described associated server, according to described subscribing notification, pushes described destination service message to described terminal, comprising:
Described associated server calls template calling interface, obtains described target message template;
Described associated server is configuration service content in described target message template, generates described destination service message;
Described associated server calls subscription transmission interface, pushes described destination service message by described processing server to described terminal;
Wherein, described subscribing notification comprises: the subscription status of described subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.
12. 1 kinds of message processing apparatus, is characterized in that, comprising:
Request unit, for sending the message subscribing request for public service account number to processing server, described processing server is made to generate subscribing notification according to described message subscribing request, and described subscribing notification is sent to the associated server of described public service account number, with by described associated server according to described subscribing notification, push described destination service message to terminal;
Output unit, for exporting described destination service message in the service page of described public service account number;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
13. devices as claimed in claim 12, is characterized in that, also comprise:
Event detection unit, for when the Action Events for message subscribing address being detected in the service page in described public service account number, pulls the message subscribing page corresponding to described message subscribing address from described processing server;
Page output unit, for exporting the described message subscribing page;
Request generation unit, for when message subscribing solicit operation being detected in the described message subscribing page, obtain the mark of the mark of described public service account number, subscriber identity and destination service message, and generate the message subscribing request for described public service account number.
14. 1 kinds of terminals, is characterized in that, comprise the message processing apparatus as described in claim 12 or 13.
15. 1 kinds of message processing apparatus, is characterized in that, comprising:
Receiving element, for the message subscribing request for public service account number that receiving terminal sends, carries the mark of the mark of described public service account number, subscriber identity and destination service message in described message subscribing request;
Search unit, for the mark according to described public service account number, search the associated server of described public service account number;
Subscribing notification generation unit, for generating subscribing notification according to described message subscribing request;
Transmitting element, for described subscribing notification is sent to described associated server, to make described associated server according to described subscribing notification, push described destination service message to described terminal, and in the service page of described public service account number, export described destination service message by described terminal.
16. devices as claimed in claim 15, is characterized in that, described in search unit and comprise:
Trade mark enquiries unit, for the mark according to described public service account number, inquires about the log-on message of described public service account number;
Configuration reading unit, for obtaining the server configuration address of described public service account number in the log-on message from described public service account number;
Address determination unit, for being defined as the address of the associated server of described public service account number by the server configuration address of described public service account number.
17. devices as claimed in claim 15, it is characterized in that, described subscribing notification generation unit comprises:
Subscribe to processing unit, for according to described subscriber identity, upgrade the subscription status of described subscriber, and extract subscription transmission interface;
Template processing unit, for the mark according to destination service message, obtains the mark of target message template corresponding to described destination service message, and extracts template calling interface;
Encapsulation process unit, carries out encapsulation process for the mark of the subscription status to described subscriber, described subscription transmission interface, described target message template and described template calling interface, generates subscribing notification.
18. devices as claimed in claim 15, is characterized in that, also comprise:
Detecting unit, for detecting the propelling movement result of described destination service message;
Result feedback unit, for by described propelling movement result feedback to described associated server.
19. devices as described in any one of claim 15-18, is characterized in that, also comprise:
Quit the subscription of notice generation unit, for when receiving the unsubscription request for described destination service message that described terminal sends, generate according to described unsubscription request and quit the subscription of notice, in described unsubscription request, carry the mark of the mark of described public service account number, subscriber identity and destination service message;
Described transmitting element is also for being sent to described associated server by described notice of quitting the subscription of.
20. 1 kinds of message processing apparatus, is characterized in that, comprising:
Notice receiving element, for receiving the subscribing notification that processing server sends, wherein, the message subscribing request for public service account number that described processing server sends according to terminal generates described subscribing notification;
Push unit, for according to described subscribing notification, pushes described destination service message to described terminal, makes described terminal in the service page of described public service account number, export described destination service message;
Wherein, the mark of the mark of described public service account number, subscriber identity and destination service message is carried in described message subscribing request.
21. devices as claimed in claim 20, is characterized in that, also comprise:
Call by location unit, for calling the message subscribing address that described processing server provides;
Address output cell, for exporting described message subscribing address in the service page of described public service account number.
22. devices as described in claim 20 or 21, it is characterized in that, described push unit comprises:
Template acquiring unit, for calling template calling interface, obtains described target message template;
Message generation unit, for configuration service content in described target message template, generates described destination service message;
Message push unit, for calling described subscription transmission interface, pushes described destination service message by described processing server to described terminal;
Wherein, described subscribing notification comprises: the subscription status of described subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.
23. 1 kinds of servers, is characterized in that, comprise the message processing apparatus as described in any one of claim 15-19, or the message processing apparatus as described in any one of claim 20-22.
CN201410840978.9A 2014-12-27 2014-12-27 Message handling method, device, terminal and server Active CN104601445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410840978.9A CN104601445B (en) 2014-12-27 2014-12-27 Message handling method, device, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410840978.9A CN104601445B (en) 2014-12-27 2014-12-27 Message handling method, device, terminal and server

Publications (2)

Publication Number Publication Date
CN104601445A true CN104601445A (en) 2015-05-06
CN104601445B CN104601445B (en) 2017-04-12

Family

ID=53126966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410840978.9A Active CN104601445B (en) 2014-12-27 2014-12-27 Message handling method, device, terminal and server

Country Status (1)

Country Link
CN (1) CN104601445B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808683A (en) * 2016-03-02 2016-07-27 百度在线网络技术(北京)有限公司 Artificial intelligence based self-media information subscription method and apparatus
WO2016184266A1 (en) * 2015-05-20 2016-11-24 腾讯科技(深圳)有限公司 Early warning method and device, and processing server
CN106209607A (en) * 2016-09-12 2016-12-07 腾讯科技(深圳)有限公司 Subscription information methods of exhibiting and device
WO2017101265A1 (en) * 2015-12-18 2017-06-22 腾讯科技(深圳)有限公司 Message processing method, processing server, terminal and storage medium
CN107070891A (en) * 2017-03-10 2017-08-18 腾讯科技(深圳)有限公司 Service calling method and device
CN107124628A (en) * 2017-05-10 2017-09-01 深圳创维数字技术有限公司 The dissemination method and system of a kind of ad data
CN108243210A (en) * 2016-12-23 2018-07-03 北京神州泰岳软件股份有限公司 A kind of information-pushing method and Information Push Server
CN108769229A (en) * 2018-06-06 2018-11-06 平安科技(深圳)有限公司 Information customizes sending method, device, computer equipment and storage medium
CN110324372A (en) * 2018-03-29 2019-10-11 中国移动通信有限公司研究院 A kind of service calling method, device, medium, equipment and system
CN115941467A (en) * 2023-02-03 2023-04-07 成都万创科技股份有限公司 Registration template-based Internet of things tablet device registration method and system
US11657224B2 (en) 2017-03-10 2023-05-23 Tencent Technology (Shenzhen) Company Limited Device control method, storage medium, and computer device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125134A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Network interaction method, device and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125134A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Network interaction method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LYXIATIAN001: "公众平台开放模板消息,增加业务通知能力", 《检索自互联网:<URL: HTTP://BBS.PAIDAI.COM/TOPIC/286030 >》 *
QINGTY: "微信公众号开发之[发送模板消息]", 《检索自互联网:<URL: HTTP://WWW.THINKSAAS.CN/TOPICS/0/348/348237.HTML >》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016184266A1 (en) * 2015-05-20 2016-11-24 腾讯科技(深圳)有限公司 Early warning method and device, and processing server
US10476833B2 (en) 2015-05-20 2019-11-12 Tencent Technology (Shenzhen) Company Limited Warning method and apparatus, and processing server
US10587544B2 (en) 2015-12-18 2020-03-10 Tencent Technology (Shenzhen) Company Limited Message processing method, processing server, terminal, and storage medium
WO2017101265A1 (en) * 2015-12-18 2017-06-22 腾讯科技(深圳)有限公司 Message processing method, processing server, terminal and storage medium
CN105808683A (en) * 2016-03-02 2016-07-27 百度在线网络技术(北京)有限公司 Artificial intelligence based self-media information subscription method and apparatus
CN106209607A (en) * 2016-09-12 2016-12-07 腾讯科技(深圳)有限公司 Subscription information methods of exhibiting and device
CN106209607B (en) * 2016-09-12 2020-06-23 腾讯科技(深圳)有限公司 Subscription information display method and device
CN108243210A (en) * 2016-12-23 2018-07-03 北京神州泰岳软件股份有限公司 A kind of information-pushing method and Information Push Server
CN107070891A (en) * 2017-03-10 2017-08-18 腾讯科技(深圳)有限公司 Service calling method and device
US11657224B2 (en) 2017-03-10 2023-05-23 Tencent Technology (Shenzhen) Company Limited Device control method, storage medium, and computer device
CN107124628B (en) * 2017-05-10 2020-08-11 深圳创维数字技术有限公司 Advertisement data publishing method and system
CN107124628A (en) * 2017-05-10 2017-09-01 深圳创维数字技术有限公司 The dissemination method and system of a kind of ad data
CN110324372A (en) * 2018-03-29 2019-10-11 中国移动通信有限公司研究院 A kind of service calling method, device, medium, equipment and system
CN108769229A (en) * 2018-06-06 2018-11-06 平安科技(深圳)有限公司 Information customizes sending method, device, computer equipment and storage medium
CN108769229B (en) * 2018-06-06 2021-07-16 平安科技(深圳)有限公司 Information customization sending method and device, computer equipment and storage medium
CN115941467A (en) * 2023-02-03 2023-04-07 成都万创科技股份有限公司 Registration template-based Internet of things tablet device registration method and system
CN115941467B (en) * 2023-02-03 2023-05-16 成都万创科技股份有限公司 Registration template-based registration method and system for tablet equipment of Internet of things

Also Published As

Publication number Publication date
CN104601445B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
CN104601445A (en) Message handling method, device, terminal and server
CN104092644A (en) Interaction method, device, client and server
EP3020179B1 (en) Distributed programmable connection method to establish peer-to-peer multimedia interactions
CN113489636B (en) Location-based access control for manual dialog entities
CN102196037A (en) Method and apparatus for accessing services of a device
CN101056185A (en) Processing method for service subscription, system and its gateway device
US10817137B2 (en) Method and system for communication between web browsers, using a unified communication environment
CN104580179A (en) Message processing method and device, as well as server
CN102754387A (en) System and method of multi-media conferencing between universal plug and play (upnp) enabled telephony devices and wireless area network (wan) devices
US20180176165A1 (en) Third party messaging system for monitoring and managing domain names and websites
CN104731465A (en) Service provision method, device and system
CN104717131A (en) Information interaction method and server
JP2012178799A (en) Data mediation system
KR101641166B1 (en) Apparatus and system for providing lettering service
CN102629943B (en) A kind of method of mobile broadband equipment and mobile broadband service process thereof
CN103200591A (en) Method for processing mobile network call requests
KR20030063791A (en) System for Processing Clients Certification and Event Information by Mixing the Wire·Wireless Network
CN104158893A (en) Method and system for transmitting clipboard content based on WiFi (Wireless Fidelity) equipment
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN106888231A (en) A kind of data interactive processing method and its device
KR101378254B1 (en) Method and System for Adaptive Messaging
CN105338055A (en) Information interaction method, server, and information interaction system
KR100873421B1 (en) System for Processing Certificate Information
CN113824625B (en) Information interaction method and device
CN112423249B (en) User short message sending method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221116

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.