CN104601445B - Message handling method, device, terminal and server - Google Patents
Message handling method, device, terminal and server Download PDFInfo
- Publication number
- CN104601445B CN104601445B CN201410840978.9A CN201410840978A CN104601445B CN 104601445 B CN104601445 B CN 104601445B CN 201410840978 A CN201410840978 A CN 201410840978A CN 104601445 B CN104601445 B CN 104601445B
- 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.)
- Active
Links
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
Technical field
The present invention relates to Internet technical field, and in particular to technical field of internet application, more particularly to a kind of message
Processing method, device, terminal and server.
Background technology
With the development of Internet technology, internet, applications are developed rapidly.Wherein, public service account number refers to developer
Or the service account numbers that service provider registers in internet, applications, developer or service provider can be interconnection by public service account number
One or more users in net application provide service;Wherein, internet, applications can refer to:Instant messaging application, SNS
The social networking application of (Social Networking Services, social network services) application etc., it is also possible to refer to:Game should
With other non-social networking applications such as, electric business applications.At present, public service account number is to paying close attention to all with per family of the public service account number
Using unified method of service, for example:In social networking application, public service account number is to paying close attention to all societies of the public service account number
User is handed over to push identical notification message etc., user cannot customize or obtain and be directed to the personalized service of public service account number and disappear
Breath, so as to reduce the practicality of Message Processing, and reduces the motility of Message Processing.
The content of the invention
The embodiment of the present invention provides a kind of message treatment method, device, terminal and server, is capable of achieving to be directed to public service
The message subscribing of account number, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Embodiment of the present invention first aspect provides a kind of message treatment method, it may include:
Terminal sends the message subscribing request for public service account number to processing server, in the message subscribing request
Carry the mark of the mark, subscriber identity and destination service message of the public service account number;
The processing server searches the association clothes of the public service account number according to the mark of the public service account number
Business device;
The processing server according to the message subscribing request generate subscribing notification, and by the subscribing notification send to
The associated server;
The associated server pushes the destination service message according to the subscribing notification to the terminal;
The terminal exports the destination service message in the service page of the public service account number.
Embodiment of the present invention second aspect provides another kind of message treatment method, it may include:
Terminal sends the message subscribing request for public service account number to processing server, makes the processing server root
Subscribing notification is generated according to message subscribing request, and the subscribing notification is sent to the association clothes of the public service account number
Business device, according to the subscribing notification, to the terminal destination service message is pushed with by the associated server;
The terminal exports the destination service message in the service page of the public service account number;
Wherein, mark, subscriber identity and the target clothes of the public service account number are carried in the message subscribing request
The mark of business message.
The embodiment of the present invention third aspect provides another message treatment method, it may include:
The message subscribing for public service account number that processing server receiving terminal sends is asked, and the message subscribing please
Seek the mark of the middle mark, subscriber identity and destination service message for carrying the public service account number;
The processing server searches the association clothes of the public service account number according to the mark of the public service account number
Business device;
The processing server according to the message subscribing request generate subscribing notification, and by the subscribing notification send to
The associated server, so that the associated server pushes the destination service according to the subscribing notification to the terminal
Message, and the destination service message is exported in the service page of the public service account number by the terminal.
Embodiment of the present invention fourth aspect provides another message treatment method, it may include:
The subscribing notification that the associated server reception processing server of public service account number sends, wherein, it is described to process clothes
Business device generates the subscribing notification according to the message subscribing request for public service account number that terminal sends;
The associated server pushes the destination service message according to the subscribing notification to the terminal, makes described
Terminal exports the destination service message in the service page of the public service account number;
Wherein, mark, subscriber identity and the target clothes of the public service account number are carried in the message subscribing request
The mark of business message.
The aspect of the embodiment of the present invention the 5th provides a kind of message processing apparatus, it may include:
Request unit, for sending the message subscribing request for public service account number to processing server, makes the place
Reason server generates subscribing notification according to message subscribing request, and the subscribing notification is sent to the public service account
Number associated server, according to the subscribing notification, to terminal the destination service message is pushed with by the associated server;
Output unit, for exporting the destination service message in the service page of the public service account number;
Wherein, mark, subscriber identity and the target clothes of the public service account number are carried in the message subscribing request
The mark of business message.
The aspect of the embodiment of the present invention the 6th provides a kind of terminal, it may include the message processing apparatus of above-mentioned 5th aspect.
The aspect of the embodiment of the present invention the 7th provides another kind of message processing apparatus, it may include:
Receiving unit, asks for the message subscribing for public service account number that receiving terminal sends, and the message is ordered
Read the mark of mark, subscriber identity and destination service message that the public service account number is carried in request;
Searching unit, for according to the mark of the public service account number, searching the association clothes of the public service account number
Business device;
Subscribing notification signal generating unit, for generating subscribing notification according to message subscribing request;
Transmitting element, for the subscribing notification to be sent to the associated server, so that the associated server root
According to the subscribing notification, the destination service message is pushed to the terminal, and by the terminal in the public service account number
Service page in the output destination service message.
Embodiment of the present invention eighth aspect provides another message processing apparatus, it may include:
Notification receiving unit, for reception processing server send subscribing notification, wherein, the processing server according to
The message subscribing request for public service account number that terminal sends generates the subscribing notification;
Push unit, for according to the subscribing notification, to the terminal destination service message being pushed, makes the end
End exports the destination service message in the service page of the public service account number;
Wherein, mark, subscriber identity and the target clothes of the public service account number are carried in the message subscribing request
The mark of business message.
The aspect of the embodiment of the present invention the 9th provides a kind of server, it may include the message of above-mentioned 7th aspect or eighth aspect
Processing meanss.
Implement the embodiment of the present invention, have the advantages that:
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of message treatment method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another kind of message treatment method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another message treatment method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another message treatment method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another message treatment method provided in an embodiment of the present invention
Fig. 6 a are a kind of schematic diagram of the service page of public service account number provided in an embodiment of the present invention;
Fig. 6 b are the schematic diagram of the service page of another kind of public service account number provided in an embodiment of the present invention;
Fig. 6 c are a kind of schematic diagram of message subscribing page provided in an embodiment of the present invention;
Fig. 6 d are a kind of schematic diagram of prompting page provided in an embodiment of the present invention;
Fig. 6 e are a kind of schematic diagram of subscription list provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of message processing apparatus provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another kind of message processing apparatus provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another message processing apparatus provided in an embodiment of the present invention;
Figure 10 is the structural representation of the embodiment of the searching unit shown in Fig. 9;
Figure 11 is the structural representation of the embodiment of the subscribing notification signal generating unit shown in Fig. 9;
Figure 12 is the structural representation of another message processing apparatus provided in an embodiment of the present invention;
Figure 13 is the structural representation of the embodiment of the push unit shown in Figure 12.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
In the embodiment of the present invention, terminal can be notebook computer, mobile phone, PAD (panel computer), car-mounted terminal, intelligence
The equipment such as wearable device.The internet, applications of at least one type can be run in terminal, including but not limited to:Social activity should
With, game application, electric business application etc..Wherein, social networking application refers to realize the application program of social functions;The social activity should
With can including but not limited to:Instant messaging application, SNS applications etc..
In the embodiment of the present invention, public service account number refers to the service account that developer or service provider register in internet, applications
Number, developer or service provider can be provided including disappearing by public service account number for one or more users in internet, applications
The service of breath push, message subscribing etc..Processing server refers to the background server of internet, applications, for processing internet, applications
Various demands during corresponding function is realized, and can be used for relevant information, public's clothes to the user in internet, applications
Between the relevant information of business account number and user, the interaction message between user and public service account number is managed.Wherein, user
Relevant information may include but be not limited to:The information such as account number, mark, password, relation chain.The relevant information of public service account number can
Including 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 can correspond to an associated server, the pass of public service account number
Connection server refers to the server for providing the services such as message push for the user in internet, applications by public service account number.
Specifically, the associated server of public service account number can be application server, for example:The developer of certain electric business application is in social activity
A public service account number for being designated xx is registered using in, the associated server of public service account number xx can be the electric business
Using application server, the associated server of public service account number xx can be using the interactive interface of the electric business application as clothes
The business page, for the user in social networking application service is provided.Specifically, the associated server of public service account number can also be webpage
Server, for example:The service provider of certain game website registers a public service account number for being designated yy, the public affairs in social networking application
The associated server of many service account numbers yy can be the web page server of the game website, and the association of public service account number yy takes
Business device can provide service using the webpage of the game website as service page for the user in social networking application.
Based on the description above, below in conjunction with accompanying drawing 1- accompanying drawings 6, to message treatment method provided in an embodiment of the present invention
Describe in detail.
Fig. 1 is referred to, is a kind of flow chart of message treatment method provided in an embodiment of the present invention;The present embodiment is from terminal
Side illustrates the flow process of message treatment method;The method may include following steps S101- step S102.
S101, terminal sends the message subscribing request for public service account number to processing server, takes described process
Business device generates subscribing notification according to message subscribing request, and the subscribing notification is sent to the public service account number
Associated server, according to the subscribing notification, to the terminal destination service message is pushed with by the associated server.
Internet, applications can run in terminal, and user can use the internet, applications by the terminal.Specifically
In realization, user can pay close attention at least one public service account number to receive to be closed during using the internet, applications
The service that the public service account number of note is provided, for example:User can pay close attention to the corresponding public of certain video website in social networking application
Service account numbers, the user is then subjected to video download or the video-see clothes that the corresponding public service account number of the video website is provided
Business;For another example:User can pay close attention to the corresponding public service account number of certain electric business application in social networking application, and the user is then subjected to should
The electric business shopping service that the corresponding public service account number of electric business application is provided.Specifically, user can pull subscription certain public
The service message of service account numbers, for example:User can pull subscription the corresponding public service account number of video website TV play update
Reminder message, or user can pull subscription article shipping order message of the corresponding public service account number of electric business application, etc..
When user's request subscribes to certain service message of certain public service account number, the terminal can be set up with the processing server
Wired or wireless connection, and the wired or wireless connection set up with the processing server can be based on, process service to described
Device sends the message subscribing request for the public service account number.The public service account number is carried in the message subscribing request
Mark, subscriber identity and destination service message mark.Wherein, the subscriber identity can be used for unique mark initiate should
Message subscribing request subscriber, the subscriber identity can be by the terminal request subscribe to the public service account number certain
The mark of the user of individual service message, or order to message of the processing server transmission for the public service account number
Read the mark of the terminal of request.
The processing server can be based on the wired or wireless connection set up with the terminal, receive the terminal and send
Message subscribing request.The processing server, can according to the mark of the public service account number carried in the message subscribing request
To find the associated server of the public service account number;The processing server can also be generated according to message subscribing request
Subscribing notification.The subscribing notification can be used to notify that the associated server pushes destination service message to subscriber.It is described to order
Readding notice may include:The subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.
Wherein, the subscription status of the subscriber may include:Subscription status and non-subscription status.The subscription transmission interface is described
It is that processing server is opened to the associated server, be supplied to the associated server to be called to be sent to subscriber
The interface of destination service message.The target message template refers to that destination service provided by the processing server, described disappears
The corresponding source template of breath, the associated server can be disappeared using destination service described in the target message template configuration
Breath.It is that the template calling interface is opened by the processing server to the associated server, be supplied to it is described association clothes
Business device is called to configure the interface of the destination service message.
Can also be attached using wired or wireless way between the processing server and the associated server, institute
The wired or wireless connection that processing server can be based between the associated server is stated, the subscribing notification is sent to institute
State associated server.The associated server can call the subscription transmission interface carried in the subscribing notification, to the end
End pushes the destination service message.
S102, the terminal exports the destination service message in the service page of the public service account number.
In implementing, if the associated server of the public service account number is application server, the public service
The service page of account number is the interactive interface of the application associated by the public service account number, for example:It is designated public's clothes of xx
Application associated by business account number is electric business application, and the associated server of public service account number xx can be answering for the electric business application
With server, the service page of public service account number xx can be the interactive interface of the electric business application.If the public service
The associated server of account number is web page server, then the service page of the public service account number is the public service account number institute
The website of association, for example:It is game website to be designated website associated by the public service account number of yy, public service account number yy
Associated server can be the game website web page server, the service page of public service account number yy can be the trip
Certain webpage of play website.In this step, the terminal can export the clothes of the public service account number in internet, applications
The business page, and the destination service message is exported in the service page so that the user of end side can disappear to the destination service
Breath the management such as is browsed, is closed and being operated.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Fig. 2 is referred to, is the flow chart of another kind of message treatment method provided in an embodiment of the present invention;The present embodiment is from
Reason server side illustrates the flow process of message treatment method;The method may include following steps S201- step S204.
S201, the message subscribing for public service account number that processing server receiving terminal sends is asked, the message
Subscribe to the mark of mark, subscriber identity and destination service message that the public service account number is carried in request.
When the user's request of end side subscribes to certain service message of certain public service account number, the terminal can be with institute
State processing server and set up wired or wireless connection, and the wired or wireless company set up with the processing server can be based on
Connect, to the processing server message subscribing request for the public service account number is sent.Take in the message subscribing request
The mark of mark, subscriber identity and destination service message with the public service account number.Wherein, the subscriber identity can
For the subscriber that unique mark initiates the message subscribing request, the subscriber identity can be to be subscribed to by the terminal request
The mark of the user of certain service message of the public service account number, or send to the processing server and be directed to the public affairs
The mark of the terminal of the message subscribing request of many service account numbers.The processing server can set up wired or wireless with the terminal
Connection, and the wired or wireless connection set up with the terminal can be based on, receive that the terminal sends for public service
The message subscribing request of account number.
S202, the processing server searches the public service account number according to the mark of the public service account number
Associated server.
Developer or service provider in internet, applications to the processing server application service account numbers when, can at the place
The address of the server of process demand for services is configured in reason server, the processing server is developer or service provider point
With public service account number, and while the log-on message of the distributed public service account number of record, wherein, the log-on message can be wrapped
Include but be not limited to:Mark, address of configuration server of the public service account number distributed etc..It is described to process clothes in this step
Business device inquires about the registration of the public service account number according to the mark of public service account number entrained in message subscribing request
Information, and the address of the configuration server of the public service account number is read from log-on message, by the configuration clothes for reading
The address of business device is defined as the address of the associated server of the public service account number.
S203, the processing server generates subscribing notification according to message subscribing request.
The subscribing notification can be used to notify that the associated server pushes destination service message to subscriber.The subscription
Notice may include:The subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Its
In, the subscription status of the subscriber may include:Subscription status and non-subscription status.The subscription transmission interface is the place
Reason server opened to the associated server, be supplied to the associated server to be called with to subscriber send mesh
The interface of mark service message.The target message template refers to destination service message provided by the processing server, described
Corresponding source template, the associated server can utilize destination service message described in the target message template configuration.
It is that the template calling interface is opened by the processing server to the associated server, be supplied to the associated server
It is called to configure the interface of the destination service message.
S204, the processing server sends the subscribing notification to the associated server, so that the association clothes
Business device pushes the destination service message according to the subscribing notification to the terminal, and is taken in the public by the terminal
The output destination service message in the service page of business account number.
Can be attached using wired or wireless way between the processing server and the associated server, it is described
Processing server can be based on wired or wireless connection between the associated server, and the subscribing notification is sent to described
Associated server.The associated server can call the subscription transmission interface carried in the subscribing notification, to the terminal
Push the destination service message.Further, the terminal can export the public service account number in internet, applications
Service page, and the destination service message is exported in the service page so that the user of end side can be to the destination service
Message such as is browsed, is closed at the management operation.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Fig. 3 is referred to, is the flow chart of another message treatment method provided in an embodiment of the present invention;The present embodiment is from public affairs
The associated server side of many service account numbers illustrates the flow process of message treatment method;The method may include following steps S301- step
S302。
S301, the subscribing notification of the associated server reception processing server transmission of public service account number, wherein, the place
Reason server generates the subscribing notification according to the message subscribing request for public service account number that terminal sends.
When the user's request of end side subscribes to certain service message of certain public service account number, the terminal can be with institute
State processing server and set up wired or wireless connection, and the wired or wireless company set up with the processing server can be based on
Connect, to the processing server message subscribing request for the public service account number is sent.Take in the message subscribing request
The mark of mark, subscriber identity and destination service message with the public service account number.Wherein, the subscriber identity can
For the subscriber that unique mark initiates the message subscribing request, the subscriber identity can be to be subscribed to by the terminal request
The mark of the user of certain service message of the public service account number, or send to the processing server and be directed to the public affairs
The mark of the terminal of the message subscribing request of many service account numbers.
The processing server can generate subscribing notification according to message subscribing request.The subscribing notification can be used to lead to
Know that the associated server pushes destination service message to subscriber.The subscribing notification may include:The subscription status of subscriber,
Subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of the subscriber can be wrapped
Include:Subscription status and non-subscription status.The subscription transmission interface is the processing server to the associated server institute
It is open, be supplied to the associated server to be called to send the interface of destination service message to subscriber.The target
Source template refers to the source template corresponding to destination service message provided by the processing server, described, the association
Server can utilize destination service message described in the target message template configuration.The template calling interface is the process
It is that server is opened to the associated server, be supplied to the associated server to be called to configure the destination service
The interface of message.The associated server can be based on the wired or wireless connection set up with the processing server, receive institute
State processing server and send the subscribing notification.
S302, the associated server pushes the destination service message according to the subscribing notification to the terminal, makes
The terminal exports the destination service message in the service page of the public service account number.
In implementing, the associated server can be according to the subscription shape of subscriber entrained in the subscribing notification
State, confirms the subscriber whether destination server described in successful subscription.The associated server can also call described subscription to lead to
Template calling interface invocation target source template entrained in knowing, is disappeared using the destination service described in target message template configuration
Breath.Further, the associated server can also call subscription transmission interface entrained in the subscribing notification, and configuration is generated
The destination service message push to the terminal.The terminal can export the public service account in internet, applications
Number service page, and the destination service message is exported in the service page so that the user of end side can be to the target
Service message such as is browsed, is closed at the management operation.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Fig. 4 is referred to, is the flow chart of another message treatment method provided in an embodiment of the present invention;The present embodiment is from end
End, the interaction side between processing server and the associated server of public service account number illustrate the flow process of message treatment method;
The method may include following steps S401- step S405.
S401, terminal sends the message subscribing request for public service account number, the message subscribing to processing server
The mark of the mark, subscriber identity and destination service message of the public service account number is carried in request.
Internet, applications can run in terminal, and user can use the internet, applications by the terminal.Specifically
In realization, user can pay close attention at least one public service account number to receive to be closed during using the internet, applications
The service that the public service account number of note is provided, for example:User can pay close attention to the corresponding public of certain video website in social networking application
Service account numbers, the user is then subjected to video download or the video-see clothes that the corresponding public service account number of the video website is provided
Business;For another example:User can pay close attention to the corresponding public service account number of certain electric business application in social networking application, and the user is then subjected to should
The electric business shopping service that the corresponding public service account number of electric business application is provided.Specifically, user can pull subscription certain public
The service message of service account numbers, for example:User can pull subscription the corresponding public service account number of video website TV play update
Reminder message, or user can pull subscription article shipping order message of the corresponding public service account number of electric business application, etc..
When user's request subscribes to certain service message of certain public service account number, the terminal can be set up with the processing server
Wired or wireless connection, and the wired or wireless connection set up with the processing server can be based on, process service to described
Device sends the message subscribing request for the public service account number.The public service account number is carried in the message subscribing request
Mark, subscriber identity and destination service message mark.Wherein, the subscriber identity can be used for unique mark initiate should
Message subscribing request subscriber, the subscriber identity can be by the terminal request subscribe to the public service account number certain
The mark of the user of individual service message, or order to message of the processing server transmission for the public service account number
Read the mark of the terminal of request.
S402, the processing server searches the public service account number according to the mark of the public service account number
Associated server.
Developer or service provider in internet, applications to the processing server application service account numbers when, can at the place
The address of the server of process demand for services is configured in reason server, the processing server is developer or service provider point
With public service account number, and while the log-on message of the distributed public service account number of record, wherein, the log-on message can be wrapped
Include but be not limited to:Mark, address of configuration server of the public service account number distributed etc..It is described to process clothes in this step
Business device inquires about the registration of the public service account number according to the mark of public service account number entrained in message subscribing request
Information, and the address of the configuration server of the public service account number is read from log-on message, by the configuration clothes for reading
The address of business device is defined as the address of the associated server of the public service account number.
S403, the processing server generates subscribing notification according to message subscribing request.
The subscribing notification can be used to notify that the associated server pushes destination service message to subscriber.The subscription
Notice may include:The subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Its
In, the subscription status of the subscriber may include:Subscription status and non-subscription status.The subscription transmission interface is the place
Reason server opened to the associated server, be supplied to the associated server to be called with to subscriber send mesh
The interface of mark service message.The target message template refers to destination service message provided by the processing server, described
Corresponding source template, the associated server can utilize destination service message described in the target message template configuration.
It is that the template calling interface is opened by the processing server to the associated server, be supplied to the associated server
It is called to configure the interface of the destination service message.
S404, the processing server sends the subscribing notification to the associated server.
Can be attached using wired or wireless way between the processing server and the associated server, it is described
Processing server can be based on wired or wireless connection between the associated server, and the subscribing notification is sent to described
Associated server.
S405, the associated server pushes the destination service message according to the subscribing notification to the terminal.
In implementing, the associated server can be according to the subscription shape of subscriber entrained in the subscribing notification
State, confirms the subscriber whether destination server described in successful subscription.The associated server can also call described subscription to lead to
Template calling interface invocation target source template entrained in knowing, is disappeared using the destination service described in target message template configuration
Breath.Further, the associated server can also call subscription transmission interface entrained in the subscribing notification, and configuration is generated
The destination service message push to the terminal.
S406, the terminal exports the destination service message in the service page of the public service account number.
In implementing, if the associated server of the public service account number is application server, the public service
The service page of account number is the interactive interface of the application associated by the public service account number, for example:It is designated public's clothes of xx
Application associated by business account number is electric business application, and the associated server of public service account number xx can be answering for the electric business application
With server, the service page of public service account number xx can be the interactive interface of the electric business application.If the public service
The associated server of account number is web page server, then the service page of the public service account number is the public service account number institute
The website of association, for example:It is game website to be designated website associated by the public service account number of yy, public service account number yy
Associated server can be the game website web page server, the service page of public service account number yy can be the trip
Certain webpage of play website.In this step, the terminal can export the clothes of the public service account number in internet, applications
The business page, and the destination service message is exported in the service page so that the user of end side can disappear to the destination service
Breath the management such as is browsed, is closed and being operated.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Fig. 5 is referred to, is the flow chart of another message treatment method provided in an embodiment of the present invention;The present embodiment is from end
End, the interaction side between processing server and public service account number illustrate the flow process of message treatment method;The method may include
Following steps S501- step S517.
S501, associated server calls the message subscribing address that processing server is provided.
The message subscribing address can be with one message subscribing page of unique mark.For convenience the associated server is entered
Row is called, and the use of user for convenience, and the processing server can be providing the message by the way of button control
Address is subscribed to, i.e., described processing server can be packaged process to the message subscribing address, generate and carry message subscribing ground
The button control of location.In implementing, if the associated server is application server, the associated server can be adopted
SDK (Software Development Kit, SDK) mode calls the message that the processing server is provided
Subscribe to address.If the associated server be web page server, the associated server can using JS (Javascript, one
Kind of literal translation formula script) mode calls the message subscribing address that the processing server provides.
S502, the associated server exports the message subscribing address in the service page of public service account number.
In implementing, the service page of the public service account number is exported in internet, applications by terminal.If described
Associated server is application server, and the associated server can transmit the message subscribing address to the terminal, by institute
The interactive interface that terminal exports the associated application of the public service account number in internet, applications is stated, and in the public service
The output message subscribing address in the interactive interface of the associated application of account number.If the associated server is web page server,
The associated server can transmit the message subscribing address to the terminal, be exported in internet, applications by the terminal
The webpage of the associating websites of the public service account number, and export institute in the webpage of the associating websites of the public service account number
State message subscribing address.It is one kind provided in an embodiment of the present invention please also refer to Fig. 6 a in a kind of feasible embodiment
The schematic diagram of the service page of public service account number.The associated server calls the message subscribing address of button control form
Afterwards, terminal can be directly transferred to, be exported in the service page of the public service account number by the terminal.As shown in Figure 6 a
Service page in " subscription " button control.
It is provided in an embodiment of the present invention another kind of public please also refer to Fig. 6 b in another kind of feasible embodiment
The schematic diagram of the service page of many service account numbers.The associated server is called behind the message subscribing address, can be to this
Message subscribing address carries out being re-packaged into Quick Response Code, and Quick Response Code is transmitted to terminal, is taken in the public by the terminal
Output in the service page of business account number.The Quick Response Code in service page as shown in Figure 6 b.
S503, when detecting the operation for the message subscribing address in the service page in the public service account number
During event, the terminal pulls the corresponding message subscribing page in the message subscribing address from the processing server.
It is described when user operates in the service page of the public service account number to the message subscribing address
Terminal can detect that Action Events, for example:When user clicks on " subscription " button control in the service page shown in Fig. 6 a, or
When person, Quick Response Code in the service page shown in scanning input Fig. 6 b, the terminal can detect that for message subscribing ground
The Action Events of location.Further, the terminal pulls message subscribing according to the message subscribing address from the processing server
The page.Wherein, the message subscribing page is provided by the processing server, facilitates user's completion message to subscribe to flow process
Interaction page.
S504, the terminal exports the message subscribing page.
The terminal can export the message subscribing page in internet, applications, to be supplied to user's completion message to subscribe to
Flow process.It is a kind of schematic diagram of message subscribing page provided in an embodiment of the present invention specifically please also refer to Fig. 6 c;Shown in Fig. 6 c
The message subscribing page in describe the details that user can subscribe to, including:Public service account number, destination service message
Brief introduction etc., further, additionally provides the button for being confirmed whether to subscribe in the message subscribing page shown in Fig. 6 c.
S505, when message subscribing request operation is detected in the message subscribing page, the terminal obtains described
The mark of the mark, subscriber identity and destination service message of public service account number, and generate for the public service account number
Message subscribing request.
When the button that the confirmation in the message subscribing page that user is clicked on shown in Fig. 6 c is subscribed to, the terminal can be described
Message subscribing request operation is detected in the message subscribing page, the terminal then generates pin according to message subscribing request operation
The message subscribing of the public service account number is asked.In the embodiment of the present invention, whether the terminal is also exportable subscribes to successfully
Prompting, be a kind of schematic diagram of prompting page provided in an embodiment of the present invention please also refer to Fig. 6 d;If the terminal success
The message subscribing request is generated, then the page is successfully pointed out in the subscription that can be exported to user shown in Fig. 6 d.It is understood that
If the terminal is unsuccessful to generate the message subscribing request, the prompting for subscribing to failure can be exported to user.
S506, terminal sends the message subscribing request for public service account number, the message subscribing to processing server
The mark of the mark, subscriber identity and destination service message of the public service account number is carried in request.
The terminal can set up wired or wireless connection with the processing server, and can be based on and the processing server
The wired or wireless connection set up, to the processing server message subscribing request for the public service account number is sent.
The mark of the mark, subscriber identity and destination service message of the public service account number is carried in the message subscribing request.
Wherein, the subscriber identity can be used for the subscriber that unique mark initiates message subscribing request, and the subscriber identity can be with
It is the mark of the user of certain service message that the public service account number is subscribed to by the terminal request, or to described
Processing server sends the mark of the terminal asked for the message subscribing of the public service account number.
S507, the processing server inquires about the public service account number according to the mark of the public service account number
Log-on message.
Developer or service provider in internet, applications to the processing server application service account numbers when, can at the place
The address of the server of process demand for services is configured in reason server, the processing server is developer or service provider point
With public service account number, and while the log-on message of the distributed public service account number of record, wherein, the log-on message can be wrapped
Include but be not limited to:Mark, address of configuration server of the public service account number distributed etc..It is described to process clothes in this step
Business device inquires about the registration of the public service account number according to the mark of public service account number entrained in message subscribing request
Information.
S508, the processing server obtains the public service account number from the log-on message of the public service account number
Server configures address.
The server configures address of the public service account number is defined as public's clothes by S509, the processing server
The address of the associated server of business account number.
S510, the processing server updates the subscription status of the subscriber according to the subscriber identity, and extracts
Subscribe to transmission interface.
The subscription status of the subscriber may include:Subscription status and non-subscription status.It is described subscription transmission interface be
It is that the processing server is opened to the associated server, be supplied to the associated server to be called with to subscriber
Send the interface of destination service message.
S511, the processing server obtains the destination service message corresponding according to the mark of destination service message
The mark of target message template, and extract template calling interface.
The target message template refers to disappearing corresponding to destination service message provided by the processing server, described
Breath template, the associated server can utilize destination service message described in the target message template configuration.The template is adjusted
It is being opened to the associated server by the processing server with interface, be supplied to the associated server to be called with
Configure the interface of the destination service message.
S512, the processing server disappears to the subscription status of the subscriber, the subscription transmission interface, the target
The mark and the template calling interface of breath template is packaged process, generates subscribing notification.
S513, the processing server sends the subscribing notification to the associated server.
Can be attached using wired or wireless way between the processing server and the associated server, it is described
Processing server can be based on wired or wireless connection between the associated server, and the subscribing notification is sent to described
Associated server.
In implementing, the subscribing notification can be processed as XML data by the processing server, and by the XML numbers
According to transmission to the associated server.The structure of the XML data of the subscribing notification will be represented using an instantiation below:
<xml>
<ToUserName><![CDATA[gh_fb579bf5f1cc]]></ToUserName>
<FromUserName><![CDATA[ocYxcuF53MLG9ag45xD5EeWrykqk]]></FromUser Name
>
<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 unique mark of the user in public service account number;
CreateTime:Represent the time for creating;
MsgType:Expression type of message is event;
Event:The message subscribing operation of user is represented, wherein subscribe_msg represents that message subscribing is operated,
Unsubscrib_msg represents that message quits the subscription of operation;
TemplateID:Represent target message template ID subscribed to or quit the subscription of;
Sid:Represent that the Action Events in the service page of public service account number for the message subscribing address are incoming
For the mark of identifying user identity;
OpenID:Unique mark of the user in public service account number is represented, it is identical with FromUserName.
S514, the associated server calls the template calling interface, obtains the target message template.
The associated server can call template calling interface entrained in the subscribing notification, and according to target message
The mark of template, obtains the target message template.In implementing, the associated server can call the subscribing notification
In entrained template calling interface, send the POST request of acquisition request target message template to the processing server.Under
Face will represent the structure of POST request using an instantiation:
The structure of above-mentioned POST request is described as follows:
templat_id:Represent target message template ID to be obtained;
OpenID:Represent the ID to be obtained.
The processing server is returned corresponding according to the POST request of the associated server to the associated server
JSON data.The structure of the JSON data will be represented using an instantiation below:
The structure of above-mentioned JSON data is described as follows:
errcode:Error code is represented, 0 represents normal, non-zero expression mistake;
errmsg:Represent the description of error message;
subscribe:Indicate whether to subscribe to, 0 represents that 1 expression is subscribed to without subscribing to.
S515, associated server configuration service content in the target message template generates the destination service
Message.
S516, the associated server calls the subscription transmission interface, by the processing server to the terminal
Push the destination service message.
The associated server can call subscription transmission interface entrained in the subscribing notification, be taken by described process
Business device to the terminal pushes the destination service message.In implementing, the associated server can call the subscription
Subscription transmission interface entrained in notice, the POST for sending request transmission destination service message to the processing server please
Ask.The structure of the POST request will be represented using an instantiation below:
The above-mentioned POST request that the processing server sends according to the associated server, by the destination service message
Push to the terminal.
S517, the terminal exports the destination service message in the service page of the public service account number.
If the associated server of the public service account number is application server, the service page of the public service account number
Face is the interactive interface of the application associated by the public service account number, for example:It is designated associated by the public service account number of xx
Application be electric business application, the associated server of public service account number xx can be the application server of the electric business application, should
The service page of public service account number xx can be the interactive interface of the electric business application.If the association clothes of the public service account number
Business device is web page server, then the service page of the public service account number is the website associated by the public service account number,
For example:It is game website to be designated website associated by the public service account number of yy, the association service of public service account number yy
Device can be the web page server of the game website, and the service page of public service account number yy can be certain of the game website
Individual webpage.In this step, the terminal can export the service page of the public service account number in internet, applications, and
The output destination service message in the service page so that the user of end side can carry out such as clear to the destination service message
The management operation such as look at, close.
S518, the processing server detects the push result of the destination service message.
The push result may include:Push successfully, due to user reject and push failure, due to network etc. other
Reason and push failure.
The push result is fed back to the associated server by S519, the processing server.
In implementing, the push result treatment can be XML data by the processing server, and by the XML numbers
According to transmission to the associated server.The structure of the XML data of the push result will be represented using an instantiation below:
(1) when the push result is to push successfully, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUser Name
>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163836></MsgID>
<Status><![CDATA[success]]></Status>
</xml>
(2) when the push result for due to user reject pushes unsuccessfully when, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUser Name
>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:user block]]></Status>
</xml>
(3) when it is described push result for due to the other reasonses such as network are pushed unsuccessfully when, its XML data structure can
It is as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUser Name
>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:system failed]]></Status>
</xml>
S520, when receive that the terminal sends for the destination service message unsubscription request when, the process
Server according to the unsubscription request generate quit the subscription of notice, carry in the unsubscription request public service account number mark,
Subscriber identity and the mark of destination service message.
After the service message of user's successful subscription public service account number, the terminal inquiry subscription list can be passed through,
The terminal can obtain the subscription list of the user and export from the processing server.It is this please also refer to Fig. 6 e
A kind of schematic diagram of subscription list that bright embodiment is provided;Also include " quitting the subscription of " button in subscription list as shown in fig 6e, when
User clicks on is somebody's turn to do " quitting the subscription of " button, and the terminal then sends to the processing server please for quitting the subscription of for destination service message
Ask.The processing server is generated according to the unsubscription request and quits the subscription of notice, and the public service is carried in the unsubscription request
The mark of the mark, subscriber identity and destination service message of account number.The notice of quitting the subscription of is for notifying the associated server
Stop pushing the destination service message to the terminal.
S521, the processing server sends the notice of quitting the subscription of to the associated server.
The processing server can be based on the wired or wireless connection with the associated server, and the notice of quitting the subscription of is sent out
Deliver to the associated server.It should be noted that the step of the present embodiment S520- steps S521 elaborate the master that message is quit the subscription of
Flow process is wanted, its specific flow process is similar with the flow process of message subscribing, specifically can be found in step S501- step S519 and order with regard to message
The associated description read.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Below in conjunction with accompanying drawing 7- accompanying drawings 8, a kind of structure of message processing apparatus provided in an embodiment of the present invention is carried out
It is discussed in detail.It should be noted that the message processing apparatus shown in Fig. 7-Fig. 8 can run on the terminal described in the embodiment of the present invention
In, and can be applicable in the method shown in above-mentioned Fig. 1-Fig. 6.
Fig. 7 is referred to, is a kind of structural representation of message processing apparatus provided in an embodiment of the present invention;The device can be wrapped
Include:Request unit 101 and output unit 102.
Request unit 101, for sending the message subscribing request for public service account number to processing server, makes described
Processing server generates subscribing notification according to message subscribing request, and the subscribing notification is sent to the public service
The associated server of account number, according to the subscribing notification, pushes the destination service and disappears with by the associated server to terminal
Breath.
Internet, applications can run in terminal, and user can use the internet, applications by the terminal.Specifically
In realization, user can pay close attention at least one public service account number to receive each public affairs during using the internet, applications
The service that many service account numbers are provided, for example:User can pay close attention to the corresponding public service of certain video website in internet, applications
Account number, the user is then subjected to video download or the video-see service that the corresponding public service account number of the video website is provided;
For another example:User can pay close attention to the corresponding public service account number of certain electric business application in social networking application, and the user is then subjected to the electricity
The electric business shopping service that business provides using corresponding public service account number.Specifically, user can pull subscription certain public clothes
The service message of business account number, for example:User can pull subscription the corresponding public service account number of video website TV play update carry
Awake message, or user can pull subscription article shipping order message of the corresponding public service account number of electric business application, etc..When
When user's request subscribes to certain service message of certain public service account number, the terminal can be set up with the processing server to be had
Line or wireless connection, the request unit 101 can be based on the wired or wireless connection set up with the processing server, to institute
State processing server and send the message subscribing request for being directed to the public service account number.The public affairs are carried in the message subscribing request
The mark of the mark, subscriber identity and destination service message of many service account numbers.Wherein, the subscriber identity can be used for uniquely
Mark initiates the subscriber of the message subscribing request, and the subscriber identity can be to subscribe to public's clothes by the terminal request
The mark of the user of certain service message of business account number, or send to the processing server and be directed to the public service account
Number message subscribing request terminal mark.
The processing server can be based on the wired or wireless connection set up with the terminal, receive the request unit
The 101 message subscribing requests for sending.The processing server is according to the public service account number carried in the message subscribing request
Mark, can find the associated server of the public service account number;The processing server can also be according to the message subscribing
Request generates subscribing notification.The subscribing notification can be used to notify that the associated server pushes destination service and disappears to subscriber
Breath.The subscribing notification may include:The subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template
Calling interface.Wherein, the subscription status of the subscriber may include:Subscription status and non-subscription status.Described subscription sends
It is that interface is opened by the processing server to the associated server, be supplied to the associated server to be called with to
Subscriber sends the interface of destination service message.The target message template refers to being provided by the processing server, described
Source template corresponding to destination service message, the associated server can utilize mesh described in the target message template configuration
Mark service message.It is that the template calling interface is opened by the processing server to the associated server, be supplied to institute
State associated server to be called to configure the interface of the destination service message.
Can also be attached using wired or wireless way between the processing server and the associated server, institute
The wired or wireless connection that processing server can be based between the associated server is stated, the subscribing notification is sent to institute
State associated server.The associated server can call the subscription transmission interface carried in the subscribing notification, to the end
End pushes the destination service message.
Output unit 102, for exporting the destination service message in the service page of the public service account number.
In implementing, if the associated server of the public service account number is application server, the public service
The service page of account number is the interactive interface of the application associated by the public service account number, for example:It is designated public's clothes of xx
Application associated by business account number is electric business application, and the associated server of public service account number xx can be answering for the electric business application
With server, the service page of public service account number xx can be the interactive interface of the electric business application.If the public service
The associated server of account number is web page server, then the service page of the public service account number is the public service account number institute
The website of association, for example:It is game website to be designated website associated by the public service account number of yy, public service account number yy
Associated server can be the game website web page server, the service page of public service account number yy can be the trip
Certain webpage of play website.The output unit 102 can export the service of the public service account number in internet, applications
The page, and the destination service message is exported in the service page so that the user of end side can be to the destination service message
The management operation such as browsed, closed.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Fig. 8 is referred to, is the structural representation of another kind of message processing apparatus provided in an embodiment of the present invention;The device can
Including:Request unit 101, output unit 102, event detection unit 103, page output unit 104 and request signal generating unit
105.Wherein, request unit 101 can be found in the related of above-mentioned embodiment illustrated in fig. 8 and retouches to the 26S Proteasome Structure and Function of output unit 102
State, will not be described here.
Event detection unit 103, disappears for working as to be detected in the service page of the public service account number for described
When breath subscribes to the Action Events of address, from the processing server the corresponding message subscribing page in the message subscribing address is pulled
Face.
It is described when user operates in the service page of the public service account number to the message subscribing address
Terminal can detect that Action Events, for example:When user clicks on " subscription " button control in the service page shown in Fig. 6 a, or
When person, Quick Response Code in the service page shown in scanning input Fig. 6 b, the event detection unit 103 can detect that for described
The Action Events of message subscribing address.Further, the event detection unit 103 is according to the message subscribing address, from described
Processing server pulls the message subscribing page.Wherein, the message subscribing page is being provided by the processing server, square
Just user's completion message subscribes to the interaction page of flow process.
Page output unit 104, for exporting the message subscribing page.
The page output unit 104 can export the message subscribing page in internet, applications, to be supplied to user
Completion message subscribes to flow process.Specifically please also refer to Fig. 6 c, the detailed letter that user can subscribe to is described in the message subscribing page
Breath, including:Public service account number, the brief introduction of destination service message etc., further, the message subscribing page shown in Fig. 6 c
In additionally provide be confirmed whether subscribe to button.
Request signal generating unit 105, for when message subscribing request operation is detected in the message subscribing page, obtaining
The mark of the mark, subscriber identity and destination service message of the public service account number is taken, and is generated for public clothes
The message subscribing request of business account number.
When the button that the confirmation in the message subscribing page that user is clicked on shown in Fig. 6 c is subscribed to, the request signal generating unit
105 can detect message subscribing request operation in the message subscribing page, and the request signal generating unit 105 is then according to described
Message subscribing request operation generates the message subscribing request for the public service account number.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
The embodiment of the invention also discloses a kind of terminal, it may include a message processing apparatus, the knot of the message processing apparatus
Structure and function can be found in the associated description of above-mentioned Fig. 7-embodiment illustrated in fig. 8, will not be described here.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Below in conjunction with accompanying drawing 9- accompanying drawings 11, the structure of another kind of message processing apparatus provided in an embodiment of the present invention is entered
Row is discussed in detail.It should be noted that the message processing apparatus shown in Fig. 9-Figure 11 can run on described in the embodiment of the present invention
In processing server, and can be applicable in the method shown in above-mentioned Fig. 1-Fig. 6.
Fig. 9 is referred to, is the structural representation of another message processing apparatus provided in an embodiment of the present invention;The device can
Including:Receiving unit 201, searching unit 202, subscribing notification signal generating unit 203 and transmitting element 204.
Receiving unit 201, asks, the message for the message subscribing for public service account number that receiving terminal sends
Subscribe to the mark of mark, subscriber identity and destination service message that the public service account number is carried in request.
When the user's request of end side subscribes to certain service message of certain public service account number, the terminal can be with institute
State processing server and set up wired or wireless connection, and the wired or wireless company set up with the processing server can be based on
Connect, to the processing server message subscribing request for the public service account number is sent.Take in the message subscribing request
The mark of mark, subscriber identity and destination service message with the public service account number.Wherein, the subscriber identity can
For the subscriber that unique mark initiates the message subscribing request, the subscriber identity can be to be subscribed to by the terminal request
The mark of the user of certain service message of the public service account number, or send to the processing server and be directed to the public affairs
The mark of the terminal of the message subscribing request of many service account numbers.The processing server can set up wired or wireless with the terminal
Connection, the receiving unit 201 can be based on the wired or wireless connection set up with the terminal, receive what the terminal sent
Ask for the message subscribing of public service account number.
Searching unit 202, for according to the mark of the public service account number, searching the association of the public service account number
Server.
Developer or service provider in internet, applications to the processing server application service account numbers when, can at the place
The address of the server of process demand for services is configured in reason server, the processing server is developer or service provider point
With public service account number, and while the log-on message of the distributed public service account number of record, wherein, the log-on message can be wrapped
Include but be not limited to:Mark, address of configuration server of the public service account number distributed etc..The basis of the searching unit 202
The mark of entrained public service account number, inquires about the log-on message of the public service account number in the message subscribing request, and
The address of the configuration server of the public service account number is read from log-on message, by the ground of the configuration server for reading
Location is defined as the address of the associated server of the public service account number.
Subscribing notification signal generating unit 203, for generating subscribing notification according to message subscribing request.
The subscribing notification can be used to notify that the associated server pushes destination service message to subscriber.The subscription
Notice may include:The subscription status of subscriber, subscribe to transmission interface, the mark of target message template and template calling interface.Its
In, the subscription status of the subscriber may include:Subscription status and non-subscription status.The subscription transmission interface is the place
Reason server opened to the associated server, be supplied to the associated server to be called with to subscriber send mesh
The interface of mark service message.The target message template refers to destination service message provided by the processing server, described
Corresponding source template, the associated server can utilize destination service message described in the target message template configuration.
It is that the template calling interface is opened by the processing server to the associated server, be supplied to the associated server
It is called to configure the interface of the destination service message.
Transmitting element 204, for the subscribing notification to be sent to the associated server, so that the associated server
According to the subscribing notification, the destination service message is pushed to the terminal, and by the terminal in the public service account
Number service page in the output destination service message.
Can be attached using wired or wireless way between the processing server and the associated server, it is described
Transmitting element 204 can be based on the wired or wireless connection between the associated server, and the subscribing notification is sent to institute
State associated server.The associated server can call the subscription transmission interface carried in the subscribing notification, to the end
End pushes the destination service message.Further, the terminal can export the public service account number in internet, applications
Service page, and the destination service message is exported in the service page so that the user of end side can be to target clothes
Business message the management such as is browsed, is closed and being operated.
Alternatively, then Fig. 9 is referred to, the device may also include:Detector unit 205 and result feedback unit 206.
Detector unit 205, for detecting the push result of the destination service message.
The push result may include:Push successfully, due to user reject and push failure, due to network etc. other
Reason and push failure.
As a result feedback unit 206, for the push result to be fed back to into the associated server.
In implementing, the push result treatment can be XML (Extensible by the result feedback unit 206
Markup Language, extensible markup language) data, and the XML data is sent to the associated server.Below will
The structure of the XML data of the push result is represented with instantiation:
(1) when the push result is to push successfully, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUser Name
>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163836></MsgID>
<Status><![CDATA[success]]></Status>
</xml>
(2) when the push result for due to user reject pushes unsuccessfully when, its XML data structure can be as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUser Name
>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:user block]]></Status>
</xml>
(3) when it is described push result for due to the other reasonses such as network are pushed unsuccessfully when, its XML data structure can
It is as follows:
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName>
<FromUserName><![CDATA[oia2TjuEGTNoeX76QEJQNrcURxG8]]></FromUser Name
>
<CreateTime>1395658920</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[TEMPLTESENDJOBFINISH]]></Event>
<MsgID><200163840></MsgID>
<Status><![CDATA[failed:system failed]]></Status>
</xml>
Still optionally further, then Fig. 9 is referred to, the device may also include:Quit the subscription of notice signal generating unit 207.
Notice signal generating unit 207 is quit the subscription of, for when receiving that the terminal sends for the destination service message
During unsubscription request, generated according to the unsubscription request and quit the subscription of notice, the public service account number is carried in the unsubscription request
The mark of mark, subscriber identity and destination service message.
After the service message of user's successful subscription public service account number, the terminal inquiry subscription list can be passed through,
The terminal can obtain the subscription list of the user and export from the processing server.May include in subscription list " quitting the subscription of "
Button, when user clicks on " quitting the subscription of " button is somebody's turn to do, and the terminal is then sent for destination service message to the processing server
Unsubscription request.The notice signal generating unit 207 of quitting the subscription of quits the subscription of notice according to unsubscription request generation, takes in the unsubscription request
The mark of mark, subscriber identity and destination service message with the public service account number.The notice of quitting the subscription of is for notifying
The associated server stops pushing the destination service message to the terminal.
The transmitting element 204 is additionally operable to the notice of quitting the subscription of be sent to the associated server.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Figure 10 is referred to, is the structural representation of the embodiment of searching unit shown in Fig. 9;The searching unit 202 can be wrapped
Include:Trade mark enquiries unit 2201, configuration reading unit 2202 and address determination unit 2203.
Trade mark enquiries unit 2201, for according to the mark of the public service account number, inquiring about the public service account number
Log-on message.
Developer or service provider in internet, applications to the processing server application service account numbers when, can at the place
The address of the server of process demand for services is configured in reason server, the processing server is developer or service provider point
With public service account number, and while the log-on message of the distributed public service account number of record, wherein, the log-on message can be wrapped
Include but be not limited to:Mark, address of configuration server of the public service account number distributed etc..The trade mark enquiries unit 2201
According to the mark of public service account number entrained in message subscribing request, the registration letter of the public service account number is inquired about
Breath.
Configuration reading unit 2202, for obtaining the public service account from the log-on message of the public service account number
Number server configures address.
Address determination unit 2203, for the server configures address of the public service account number to be defined as into the public
The address of the associated server of service account numbers.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Figure 11 is referred to, is the structural representation of the embodiment of subscribing notification signal generating unit shown in Fig. 9;The subscribing notification
Signal generating unit 203 may include:Subscribe to processing unit 2301, template processing unit 2302 and encapsulation process unit 2303.
Processing unit 2301 is subscribed to, for according to the subscriber identity, updating the subscription status of the subscriber, and is carried
Take subscription transmission interface.
The subscription status of the subscriber may include:Subscription status and non-subscription status.It is described subscription transmission interface be
It is that the processing server is opened to the associated server, be supplied to the associated server to be called with to subscriber
Send the interface of destination service message.
Template processing unit 2302, for according to the mark of destination service message, obtaining the destination service message correspondence
Target message template mark, and extract template calling interface.
The target message template refers to disappearing corresponding to destination service message provided by the processing server, described
Breath template, the associated server can utilize destination service message described in the target message template configuration.The template is adjusted
It is being opened to the associated server by the processing server with interface, be supplied to the associated server to be called with
Configure the interface of the destination service message.
Encapsulation process unit 2303, for the subscription status of the subscriber, the subscription transmission interface, the target
The mark of source template and the template calling interface are packaged process, generate subscribing notification.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
The embodiment of the invention also discloses a kind of server, the server can be the processing server, it may include one
Message processing apparatus, the 26S Proteasome Structure and Function of the message processing apparatus can be found in the correlation of above-mentioned Fig. 9-embodiment illustrated in fig. 11 and retouch
State, will not be described here.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Below in conjunction with accompanying drawing 12- accompanying drawings 13, the structure to another message processing apparatus provided in an embodiment of the present invention
Describe in detail.It should be noted that the message processing apparatus shown in Figure 12-Figure 13 can run on described in the embodiment of the present invention
Public service account number associated server in, and can be applicable in the method shown in above-mentioned Fig. 1-Fig. 6.
Figure 12 is referred to, is the structural representation of another message processing apparatus provided in an embodiment of the present invention;The device
May include:Notification receiving unit 301 and push unit 302.
Notification receiving unit 301, for the subscribing notification that reception processing server sends, wherein, the processing server
The subscribing notification is generated according to the message subscribing request for public service account number that terminal sends.
When the user's request of end side subscribes to certain service message of certain public service account number, the terminal can be with institute
State processing server and set up wired or wireless connection, and the wired or wireless company set up with the processing server can be based on
Connect, to the processing server message subscribing request for the public service account number is sent.Take in the message subscribing request
The mark of mark, subscriber identity and destination service message with the public service account number.Wherein, the subscriber identity can
For the subscriber that unique mark initiates the message subscribing request, the subscriber identity can be to be subscribed to by the terminal request
The mark of the user of certain service message of the public service account number, or send to the processing server and be directed to the public affairs
The mark of the terminal of the message subscribing request of many service account numbers.
The processing server can generate subscribing notification according to message subscribing request.The subscribing notification can be used to lead to
Know that the associated server pushes destination service message to subscriber.The subscribing notification may include:The subscription status of subscriber,
Subscribe to transmission interface, the mark of target message template and template calling interface.Wherein, the subscription status of the subscriber can be wrapped
Include:Subscription status and non-subscription status.The subscription transmission interface is the processing server to the associated server institute
It is open, be supplied to the associated server to be called to send the interface of destination service message to subscriber.The target
Source template refers to the source template corresponding to destination service message provided by the processing server, described, the association
Server can utilize destination service message described in the target message template configuration.The template calling interface is the process
It is that server is opened to the associated server, be supplied to the associated server to be called to configure the destination service
The interface of message.The notification receiving unit 301 can be based on the wired or wireless connection set up with the processing server, connect
Receive the processing server and send the subscribing notification.
Push unit 302, for according to the subscribing notification, to the terminal destination service message being pushed, makes institute
State terminal and the destination service message is exported in the service page of the public service account number.
In implementing, the associated server can be according to the subscription shape of subscriber entrained in the subscribing notification
State, confirms the subscriber whether destination server described in successful subscription.The associated server can also call described subscription to lead to
Template calling interface invocation target source template entrained in knowing, is disappeared using the destination service described in target message template configuration
Breath.Further, the push unit 302 can also call subscription transmission interface entrained in the subscribing notification, by configuration life
Into the destination service message push to the terminal.The terminal can export the public service in internet, applications
The service page of account number, and the destination service message is exported in the service page so that the user of end side can be to the mesh
Mark service message the management such as is browsed, is closed and being operated.
Alternatively, then Figure 12 is referred to, the device may also include:Call by location unit 303 and address output cell 304.
Call by location unit 303, for the message subscribing address for calling the processing server to provide.
The message subscribing address can be with one message subscribing page of unique mark.For convenience the associated server is entered
Row is called, and the use of user for convenience, and the processing server can be providing the message by the way of button control
Address is subscribed to, i.e., described processing server can be packaged process to the message subscribing address, generate and carry message subscribing ground
The button control of location.In implementing, if the associated server is application server, the call by location unit 303 can be with
The message subscribing address of the processing server offer is called using SDK modes.If the associated server is web page server,
The call by location unit 303 can be calling the message subscribing address that the processing server provides using JS modes.
Address output cell 304, for exporting the message subscribing ground in the service page of the public service account number
Location.
In implementing, the service page of the public service account number is exported in internet, applications by terminal.If described
Associated server is application server, and the address output cell 304 can transmit the message subscribing address to the terminal,
The interactive interface of the associated application of the public service account number is exported in internet, applications by the terminal, and in the public
The output message subscribing address in the interactive interface of the associated application of service account numbers.If the associated server is web service
Device, the address output cell 304 can transmit the message subscribing address to the terminal, should in the Internet by the terminal
With the webpage of the associating websites of the middle output public service account number, and the webpage of the associating websites in the public service account number
It is interior to export the message subscribing address.In a kind of feasible embodiment, please also refer to Fig. 6 a, the call by location unit
Behind the 303 message subscribing addresses for calling button control form, the address output cell 304 can be directly transferred to terminal,
Exported in the service page of the public service account number by the terminal." subscription " in service page as shown in Figure 6 a is pressed
Button control.
In another kind of feasible embodiment, please also refer to Fig. 6 b, the call by location unit 303 calls described
Behind message subscribing address, the address output cell 304 can carry out being re-packaged into Quick Response Code to the message subscribing address, and
Quick Response Code is transmitted to terminal, is exported in the service page of the public service account number by the terminal.As shown in Figure 6 b
Quick Response Code in service page.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
Figure 13 is referred to, is the structural representation of the embodiment of push unit shown in Figure 12;The push unit 302 can be wrapped
Include:Template acquiring unit 3201, message generation unit 3202 and message push unit 3203.
Template acquiring unit 3201, for calling the template calling interface, obtains the target message template.
The template acquiring unit 3201 can call template calling interface entrained in the subscribing notification, and according to mesh
The mark of mark source template, obtains the target message template.In implementing, the template acquiring unit 3201 can be called
Template calling interface entrained in the subscribing notification, to the processing server acquisition request target message template is sent
POST request.The structure of POST request will be represented using an instantiation below:
The structure of above-mentioned POST request is described as follows:
templat_id:Represent target message template ID to be obtained;
OpenID:Represent the ID to be obtained.
The processing server is returned corresponding according to the POST request of the associated server to the associated server
JSON data.The structure of the JSON data will be represented using an instantiation below:
The structure of above-mentioned JSON data is described as follows:
errcode:Error code is represented, 0 represents normal, non-zero expression mistake;
errmsg:Represent the description of error message;
subscribe:Indicate whether to subscribe to, 0 represents that 1 expression is subscribed to without subscribing to.
Message generation unit 3202, for the configuration service content in the target message template, generates the target clothes
Business message.
Message push unit 3203, for calling the subscription transmission interface, by the processing server to the end
End pushes the destination service message.
The message push unit 3203 can call subscription transmission interface entrained in the subscribing notification, by described
Processing server to the terminal pushes the destination service message.In implementing, the message push unit 3203 can be with
Subscription transmission interface entrained in the subscribing notification is called, request transmission destination service is sent to the processing server and is disappeared
The POST request of breath.The structure of the POST request will be represented using an instantiation below:
The above-mentioned POST request that the processing server sends according to the message push unit 3203, by target clothes
Business message pushes to the terminal.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
The embodiment of the invention also discloses a kind of server, the server can be that the association of the public service account number takes
Business device a, it may include message processing apparatus, the 26S Proteasome Structure and Function of the message processing apparatus can be found in shown in above-mentioned Figure 12-Figure 13 in fact
The associated description of example is applied, be will not be described here.
In the embodiment of the present invention, terminal can subscribe to the destination service message for public service account number, and processing server can
Subscribing notification is generated according to the subscription of terminal to send to the associated server of public service account number, by associated server according to described
Subscribing notification, by the destination service message terminal is pushed to, and by the terminal the public service account number service page
The destination service message is exported in face, it is achieved thereby that for the message subscribing of public service account number, allowing users to obtain
Customization, personalized service message, lifts the practicality of Message Processing, lifts the motility of Message Processing.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, can be
Related hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only present pre-ferred embodiments, can not limit the right model of the present invention with this certainly
Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.
Claims (23)
1. a kind of message treatment method, it is characterised in that include:
Terminal sends the message subscribing request for public service account number to processing server, carries in the message subscribing request
The mark of the mark, subscriber identity and destination service message of the public service account number, wherein, the public service account number
Include message subscribing address in service page, the message subscribing address is button control or Quick Response Code, when described in user's click
When button control or the scanning Quick Response Code, message subscribing flow process of the triggering for the public service account number;
The processing server searches the association service of the public service account number according to the mark of the public service account number
Device;
The processing server generates subscribing notification according to message subscribing request, and the subscribing notification is sent to described
Associated server;Wherein, the subscribing notification includes the mark of target message template, and the associated server utilizes the target
Source template configures the destination service message;
The associated server pushes the destination service message according to the subscribing notification to the terminal;
The terminal exports the destination service message in the service page of the public service account number.
2. a kind of message treatment method, it is characterised in that include:
Terminal sends the message subscribing request for public service account number to processing server, makes the processing server according to institute
State message subscribing request and generate subscribing notification, and the subscribing notification is sent to the association service of the public service account number
Device, according to the subscribing notification, to the terminal destination service message is pushed with by the associated server;The subscribing notification
Including the mark of target message template, the associated server is disappeared using destination service described in the target message template configuration
Breath, wherein, message subscribing address is included in the service page of the public service account number, the message subscribing address is button control
Part or Quick Response Code, when user clicks on the button control or scans the Quick Response Code, triggering is directed to the public service
The message subscribing flow process of account number;
The terminal exports the destination service message in the service page of the public service account number;
Wherein, mark, subscriber identity and the destination service that the public service account number is carried in the message subscribing request disappears
The mark of breath.
3. method as claimed in claim 2, it is characterised in that the terminal sends to processing server and is directed to public service account
Number message subscribing request before, also include:
When the Action Events for message subscribing address are detected in the service page in the public service account number, the end
End pulls the corresponding message subscribing page in the message subscribing address from the processing server;
The terminal exports the message subscribing page;
When message subscribing request operation is detected in the message subscribing page, the terminal obtains the public service account
Number mark, subscriber identity and destination service message mark, and generate for the public service account number message subscribing
Request.
4. a kind of message treatment method, it is characterised in that include:
The message subscribing for public service account number that processing server receiving terminal sends is asked, in the message subscribing request
The mark of the mark, subscriber identity and destination service message of the public service account number is carried, wherein, the public service account
Number service page in include message subscribing address, the message subscribing address is button control or Quick Response Code, when user clicks on
When the button control or the scanning Quick Response Code, message subscribing flow process of the triggering for the public service account number;
The processing server searches the association service of the public service account number according to the mark of the public service account number
Device;
The processing server generates subscribing notification according to message subscribing request, and the subscribing notification is sent to described
Associated server, so that the associated server pushes the destination service message according to the subscribing notification to the terminal,
And the destination service message is exported in the service page of the public service account number by the terminal;Wherein, the subscription
Notice includes the mark of target message template, and the associated server utilizes destination service described in the target message template configuration
Message.
5. method as claimed in claim 4, it is characterised in that mark of the processing server according to the public service account number
Know, search the associated server of the public service account number, including:
The processing server inquires about the log-on message of the public service account number according to the mark of the public service account number;
The processing server obtains the server of the public service account number from the log-on message of the public service account number
Configuration address;
The server configures address of the public service account number is defined as the public service account number by the processing server
The address of associated server.
6. method as claimed in claim 4, it is characterised in that the processing server is generated according to message subscribing request
Subscribing notification, including:
The processing server updates the subscription status of the subscriber according to the subscriber identity, and extracts subscription transmission
Interface;
The processing server obtains the corresponding target message mould of the destination service message according to the mark of destination service message
The mark of plate, and extract template calling interface;
The processing server is to the subscription status of the subscriber, the subscription transmission interface, the target message template
Mark and the template calling interface are packaged process, generate subscribing notification.
7. method as claimed in claim 4, it is characterised in that the associated server according to the subscribing notification, to described
Terminal is pushed after the destination service message, is also included:
The processing server detects the push result of the destination service message;
The push result is fed back to the associated server by the processing server.
8. the method as described in any one of claim 4-7, it is characterised in that also include:
When receive that the terminal sends for the destination service message unsubscription request when, the processing server according to
The unsubscription request is generated and quits the subscription of notice, and mark, the subscriber identity of the public service account number are carried in the unsubscription request
And the mark of destination service message;
The processing server sends the notice of quitting the subscription of to the associated server.
9. a kind of message treatment method, it is characterised in that include:
The subscribing notification that the associated server reception processing server of public service account number sends, wherein, the processing server
The subscribing notification is generated according to the message subscribing request for public service account number that terminal sends;Wherein, it is described to subscribe to logical
Know the mark including target message template, the associated server is disappeared using destination service described in the target message template configuration
Breath, wherein, message subscribing address is included in the service page of the public service account number, the message subscribing address is button control
Part or Quick Response Code, when user clicks on the button control or scans the Quick Response Code, triggering is directed to the public service
The message subscribing flow process of account number;
The associated server pushes the destination service message according to the subscribing notification to the terminal, makes the terminal
The destination service message is exported in the service page of the public service account number;
Wherein, mark, subscriber identity and the destination service that the public service account number is carried in the message subscribing request disappears
The mark of breath.
10. method as claimed in claim 9, it is characterised in that the associated server reception processing of the public service account number
Before the subscribing notification that server sends, also include:
The associated server calls the message subscribing address that the processing server is provided;
The associated server exports the message subscribing address in the service page of the public service account number.
11. methods as described in claim 9 or 10, it is characterised in that the associated server according to the subscribing notification, to
The terminal pushes the destination service message, including:
The associated server calls template calling interface, obtains the target message template;
Associated server configuration service content in the target message template, generates the destination service message;
The associated server calls subscription transmission interface, and the target clothes are pushed to the terminal by the processing server
Business message;
Wherein, the subscribing notification includes:The subscription status of the subscriber, subscription transmission interface, the mark of target message template
Know and template calling interface.
12. a kind of message processing apparatus, it is characterised in that include:
Request unit, for sending the message subscribing request for public service account number to processing server, takes described process
Business device generates subscribing notification according to message subscribing request, and the subscribing notification is sent to the public service account number
Associated server, according to the subscribing notification, to terminal destination service message is pushed with by the associated server;Wherein, institute
Mark of the subscribing notification including target message template is stated, the associated server utilizes mesh described in the target message template configuration
Mark service message, wherein, message subscribing address, the message subscribing address are included in the service page of the public service account number
For button control or Quick Response Code, when user clicks on the button control or scans the Quick Response Code, triggering is for described
The message subscribing flow process of public service account number;
Output unit, for exporting the destination service message in the service page of the public service account number;
Wherein, mark, subscriber identity and the destination service that the public service account number is carried in the message subscribing request disappears
The mark of breath.
13. devices as claimed in claim 12, it is characterised in that also include:
Event detection unit, detects for message subscribing address for working as in the service page of the public service account number
During Action Events, from the processing server the corresponding message subscribing page in the message subscribing address is pulled;
Page output unit, for exporting the message subscribing page;
Request signal generating unit, for when message subscribing request operation is detected in the message subscribing page, obtaining described
The mark of the mark, subscriber identity and destination service message of public service account number, and generate for the public service account number
Message subscribing request.
14. a kind of terminals, it is characterised in that include the message processing apparatus as described in claim 12 or 13.
15. a kind of message processing apparatus, it is characterised in that include:
Receiving unit, asks for the message subscribing for public service account number that receiving terminal sends, and the message subscribing please
The mark of the middle mark, subscriber identity and destination service message for carrying the public service account number is sought, wherein, public's clothes
Include message subscribing address in the service page of business account number, the message subscribing address is button control or Quick Response Code, works as user
When clicking on the button control or scanning the Quick Response Code, message subscribing stream of the triggering for the public service account number
Journey;
Searching unit, for according to the mark of the public service account number, searching the associated server of the public service account number;
Subscribing notification signal generating unit, for generating subscribing notification according to message subscribing request;
Transmitting element, for the subscribing notification to be sent to the associated server, so that the associated server is according to institute
State subscribing notification, to the terminal destination service message pushed, and by the terminal the public service account number clothes
The output destination service message in the business page, wherein, the subscribing notification includes the mark of target message template, the association
Destination service message described in target message template configuration described in server by utilizing.
16. devices as claimed in claim 15, it is characterised in that the searching unit includes:
Trade mark enquiries unit, for according to the mark of the public service account number, inquiring about the registration letter of the public service account number
Breath;
Configuration reading unit, for obtaining the service of the public service account number from the log-on message of the public service account number
Device configuration address;
Address determination unit, for the server configures address of the public service account number to be defined as into the public service account number
Associated server address.
17. devices as claimed in claim 15, it is characterised in that the subscribing notification signal generating unit includes:
Processing unit is subscribed to, is sent out for according to the subscriber identity, updating the subscription status of the subscriber, and extracting subscription
Send interface;
Template processing unit, disappears for according to the mark of destination service message, obtaining the corresponding target of the destination service message
The mark of breath template, and extract template calling interface;
Encapsulation process unit, for the subscription status of the subscriber, the subscription transmission interface, the target message template
Mark and the template calling interface be packaged process, generate subscribing notification.
18. devices as claimed in claim 15, it is characterised in that also include:
Detector unit, for detecting the push result of the destination service message;
As a result feedback unit, for the push result to be fed back to into the associated server.
19. devices as described in any one of claim 15-18, it is characterised in that also include:
Notice signal generating unit is quit the subscription of, for when the unsubscription request for the destination service message for receiving the terminal transmission
When, generated according to the unsubscription request and quit the subscription of notice, the mark of the public service account number is carried in the unsubscription request, is subscribed to
The mark of person's mark and destination service message;
The transmitting element is additionally operable to the notice of quitting the subscription of be sent to the associated server.
A kind of 20. message processing apparatus, are applied to the associated server of public service account number, it is characterised in that include:
Notification receiving unit, for the subscribing notification that reception processing server sends, wherein, the processing server is according to terminal
The message subscribing request for public service account number for sending generates the subscribing notification;Wherein, the subscribing notification includes mesh
The mark of mark source template, the associated server utilizes the target message template configuration destination service message, wherein, it is described
Include message subscribing address in the service page of public service account number, the message subscribing address is button control or Quick Response Code,
When user clicks on the button control or scans the Quick Response Code, triggering is ordered for the message of the public service account number
Read flow process;
Push unit, for according to the subscribing notification, to the terminal destination service message being pushed, makes the terminal exist
The output destination service message in the service page of the public service account number;
Wherein, mark, subscriber identity and the destination service that the public service account number is carried in the message subscribing request disappears
The mark of breath.
21. devices as claimed in claim 20, it is characterised in that also include:
Call by location unit, for the message subscribing address for calling the processing server to provide;
Address output cell, for exporting the message subscribing address in the service page of the public service account number.
22. devices as described in claim 20 or 21, it is characterised in that the push unit includes:
Template acquiring unit, for calling template calling interface, obtains the target message template;
Message generation unit, for the configuration service content in the target message template, generates the destination service message;
Message push unit, for calling the subscription transmission interface, institute is pushed by the processing server to the terminal
State destination service message;
Wherein, the subscribing notification includes:The subscription status of the subscriber, subscription transmission interface, the mark of target message template
Know and template calling interface.
23. a kind of servers, it is characterised in that include the message processing apparatus as described in any one of claim 15-19, or
Message processing apparatus as described in any one of claim 20-22.
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 CN104601445A (en) | 2015-05-06 |
CN104601445B true 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) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104901955B (en) | 2015-05-20 | 2017-09-26 | 腾讯科技(深圳)有限公司 | A kind of method for early warning, device and processing server |
CN105577777B (en) | 2015-12-18 | 2019-12-13 | 腾讯科技(深圳)有限公司 | message processing method, device and system |
CN105808683A (en) * | 2016-03-02 | 2016-07-27 | 百度在线网络技术(北京)有限公司 | Artificial intelligence based self-media information subscription method and apparatus |
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 |
WO2018161851A1 (en) | 2017-03-10 | 2018-09-13 | 腾讯科技(深圳)有限公司 | Device control method, storage medium, and computer device |
CN107070891B (en) * | 2017-03-10 | 2018-05-22 | 腾讯科技(深圳)有限公司 | Service calling method and device |
CN107124628B (en) * | 2017-05-10 | 2020-08-11 | 深圳创维数字技术有限公司 | Advertisement data publishing method and system |
CN110324372A (en) * | 2018-03-29 | 2019-10-11 | 中国移动通信有限公司研究院 | A kind of service calling method, device, medium, equipment and system |
CN108769229B (en) * | 2018-06-06 | 2021-07-16 | 平安科技(深圳)有限公司 | Information customization sending method and device, computer equipment and storage medium |
CN115941467B (en) * | 2023-02-03 | 2023-05-16 | 成都万创科技股份有限公司 | Registration template-based registration method and system for tablet equipment of Internet of things |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104125134A (en) * | 2013-04-27 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Network interaction method, device and system |
-
2014
- 2014-12-27 CN CN201410840978.9A patent/CN104601445B/en active Active
Patent Citations (1)
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)
Title |
---|
公众平台开放模板消息,增加业务通知能力;lyxiatian001;《检索自互联网:<url: http://bbs.paidai.com/topic/286030 >》;20140904;正文 * |
微信公众号开发之[发送模板消息];QINGTY;《检索自互联网:<url: http://www.thinksaas.cn/topics/0/348/348237.html >》;20141213;正文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104601445A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601445B (en) | Message handling method, device, terminal and server | |
CN104901955B (en) | A kind of method for early warning, device and processing server | |
CN110392054A (en) | Log in method of calibration, device, system, equipment and readable storage medium storing program for executing | |
CN106464573A (en) | Cross-device notifications | |
CN102119525A (en) | Method and apparatus for notifying remote user interface client about event of remote user interface server in home network | |
WO2018137476A1 (en) | Information processing method, first terminal, second terminal and server | |
US10817137B2 (en) | Method and system for communication between web browsers, using a unified communication environment | |
CN107613091A (en) | A kind of method and terminal for establishing communication | |
CN109391476A (en) | Internet phone-calling method, apparatus and system | |
CN104731465A (en) | Service provision method, device and system | |
JP6377293B1 (en) | Information acquisition system, information acquisition server, information acquisition method, and information acquisition program | |
JP4889813B1 (en) | Data brokerage system | |
CN111147348B (en) | Instant message sending method, device and readable medium | |
CN107508746A (en) | Good friend's adding method, device and electronic equipment | |
CN103995680A (en) | Terminal remote communication printing method and printing system thereof | |
CN109714425A (en) | Communication means and device | |
CN105812460A (en) | Mobile Internet message push technology for enterprise customers | |
JP2010165189A (en) | Advertisement providing device, terminal device, method of providing advertisement, and program | |
CN103339898B (en) | For providing the method and system of enhancement mode event notice in UPnP home network environment | |
JP5942165B2 (en) | Information system for collective housing | |
CN106161199A (en) | A kind of Content of Communication treating method and apparatus | |
JP5009241B2 (en) | Communication connection control device, communication connection method, communication service system, and program | |
CN108965356A (en) | A kind of information interacting method and electronic equipment | |
CN114731493A (en) | Method for sending or receiving short message through internet message application program under condition of not using internet | |
KR100873421B1 (en) | System for Processing Certificate Information |
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. |