CN104618517B - A kind of method, system and device of PUSH message - Google Patents

A kind of method, system and device of PUSH message Download PDF

Info

Publication number
CN104618517B
CN104618517B CN201510098176.XA CN201510098176A CN104618517B CN 104618517 B CN104618517 B CN 104618517B CN 201510098176 A CN201510098176 A CN 201510098176A CN 104618517 B CN104618517 B CN 104618517B
Authority
CN
China
Prior art keywords
message
client
application server
server
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510098176.XA
Other languages
Chinese (zh)
Other versions
CN104618517A (en
Inventor
王伟
姜海东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing China Power Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Beijing China Power Information Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510098176.XA priority Critical patent/CN104618517B/en
Publication of CN104618517A publication Critical patent/CN104618517A/en
Application granted granted Critical
Publication of CN104618517B publication Critical patent/CN104618517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a kind of method, system and device of PUSH message, application server receives the reception message request that the first client is sent, and forwarded to message proxy server and receive message request, wherein receives the identification information for carrying request message in message request;Application server receives first message that message proxy server is sent and corresponding with identification information;Application server determines the first client address, and first message is sent to the first client according to the first client address.It can be seen that, a kind of method, system and device of PUSH message provided in an embodiment of the present invention, by the first client received message request is sent to application server, corresponding first message is obtained from message proxy server, solve the problem of that the request of client transmission data is futile requests and leads to waste bandwidth and server resource.

Description

A kind of method, system and device of PUSH message
Technical field
The present invention relates to push technology fields, more specifically to a kind of method, system and device of PUSH message.
Background technology
With the arrival of information age, generated information content is growing day by day daily, while in order to meet user not Same demand, it is desirable to provide more personalized functions.Wherein push technology can be needed by periodically transmitting user on the internet The information wanted reduces information overload, to reduce the time for being searched on network;And it according to the interest of user come Search, filtering information, and it is periodically pushed to user, help user expeditiously to excavate valuable information.
In the method for existing propelling data, client timing is asked to server transmission data, and server is connected to request Afterwards, judge whether to need PUSH message, if desired to client push message, then send the message to the client, then Connection is closed, if not needing PUSH message, closes connection.
Therefore, it is useless ask in the request of data that client is sent when server need not be to client push message It asks, it can waste bandwidth and server resource.
Invention content
The purpose of the present invention is to provide a kind of method, system and device of PUSH message, are sent to solve client Request of data is futile requests, the problem of leading to waste bandwidth and server resource.
To achieve the above object, an embodiment of the present invention provides following technical solutions:
A kind of method of PUSH message, including:
Application server receives the reception message request that the first client is sent, and to described in message proxy server forwarding Receive message request, wherein described to receive the identification information that request message is carried in message request;
The application server receives that the message proxy server is sent and corresponding with the identification information first Message;
The application server determines first client address, according to first client address to described first Client sends the first message.
Preferably, the application server determines first client address, including:
The application server obtains the communication information of server, wherein the communication information includes client and client Hold address;
The application server obtains the address of first client in the communication information.
Preferably, the application server receives the first message that the message proxy server issues, including:
The application server receives the first message in the message queue of the message proxy server.
Preferably, further include:
The application server receives the second message that the first client is sent, and is forwarded to the message proxy server The second message.
Preferably, after the application server forwards the second message to the message proxy server, further include:
The application server receives the message authentication that the message proxy server is sent and preserves information;
The application server determines first client address, according to first client address to described first Client sends the message authentication and preserves information.
A kind of device of PUSH message, including:
First receiving module, the reception message request for receiving the transmission of the first client;Wherein, the reception message is asked The identification information of request message is carried in asking;
First sending module, for forwarding the reception message module to message proxy server;
Second receiving module is that the message proxy server is sent and corresponding with the identification information for receiving Message;
Client address determining module, for determining first client address;
Second sending module disappears for sending described first to first client according to first client address Breath.
Preferably, the client address determining module includes:
First acquisition unit, the communication information for obtaining server, wherein the packets include client and visitor Family end address;
Second acquisition unit, for obtaining first client address in the communication information.
Preferably, second receiving module receive it is that the message proxy server is sent and with the identification information When corresponding first message, it is specifically used for:
Obtain the first message in the Message Queuing of the message proxy server.
Preferably, further include:
Third receiving module, the second message for receiving the transmission of the first client;
Third sending module, for sending the second message to the message proxy server.
Preferably, further include:
4th receiving module preserves information for receiving the message authentication that the message proxy server is sent;
4th sending module preserves information for sending the message authentication to first client.
A kind of system of PUSH message, including:
First client, for sending and receiving messages request to application server;
Application server disappears for obtaining the reception message request, and to the message proxy server forwarding reception Breath request;It is additionally operable to receive first message that the message proxy server is sent and corresponding with the identification information;And really Fixed first client address sends the first message according to first client address to first client; Wherein, described to receive the identification information that request message is carried in message request;
Message proxy server, for responding the reception message request, and to the application server issue with it is described Message corresponding to identification information;
Server, for the application server provide the communication information, wherein the communication information include client and Client address.
Preferably, the message proxy server issues first corresponding with the identification information to the application server When message, it is specifically used for:
The message proxy server obtains in message queue and corresponding with identification information first message;
The message proxy server sends the first message to the application server.
Preferably, when the application server determines first client address, it is specifically used for:
The application server obtains the communication information of the server, and obtain in the communication information described first Client address.
Preferably, first client is additionally operable to send second message to the application server;
The application server, is additionally operable to receive the second message that first client is sent, and to the message generation It manages server and sends the second message;
The message proxy server is additionally operable to receive the second message that the application server is sent, and described in preservation Second message.
Preferably, the message proxy server, is additionally operable to generate message authentication and preserves message, and to the application service Device is sent;
The application server is additionally operable to receive the message authentication preservation information, and is sent to first client;
First client is additionally operable to receive the message authentication preservation information.
Preferably, further include:
Second client receives request for sending given client end to the server;Wherein:
The server, is additionally operable to:
The given client end for receiving the transmission of the second client receives message request, and sends the reception to given client end Message request.
By above scheme it is found that a kind of method, system and device of PUSH message provided in an embodiment of the present invention, application Server receives the reception message request that the first client is sent, and is forwarded to message proxy server and receive message request, In, receive the identification information that request message is carried in message request;Application server receive message proxy server send and The first message corresponding with identification information;Application server determines the first client address, according to the first client address to One client sends first message.As it can be seen that a kind of method, system and device of PUSH message provided in an embodiment of the present invention, lead to It crosses the first client and sends received message request to application server, corresponding first message, solution are obtained from message proxy server The problem of certainly request of client transmission data is futile requests, leads to waste bandwidth and server resource.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of method flow diagram of PUSH message disclosed by the embodiments of the present invention;
Fig. 2 is the method flow diagram of another PUSH message disclosed by the embodiments of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram of PUSH message disclosed by the embodiments of the present invention;
Fig. 4 is the apparatus structure schematic diagram of another PUSH message disclosed by the embodiments of the present invention;
Fig. 5 is a kind of sequence diagram of the system of PUSH message disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of method, system and device of PUSH message, to realize the solution prior art The problem of middle client transmission data request is futile requests, leads to waste bandwidth and server resource.
Referring to Fig. 1, a kind of method of PUSH message provided by the invention, including:
S11, application server receive the reception message request that the first client is sent, and are forwarded to message proxy server Receive message request, wherein receive the identification information that request message is carried in message request;
S12, application server receive first message that message proxy server is sent and corresponding with identification information;
S13, application server determine the first client address, and the is sent to the first client according to the first client address One message.
Specifically, the first client is designated user's browser;Message proxy server is JMS, i.e. Java Message Service (Java Message Service) application programming interfaces are that the API in a Java platform about Message Oriented Middleware (is answered With routine interface), for sending message between two application programs or in distributed system, carry out asynchronous communication.
Specifically, receiving the identification information for carrying request message in message request, the reception that client is sent every time is made to disappear The mark of message will be received by all being carried in breath request, to make the message that application server receives all be it is corresponding with mark, To solves the problems, such as the message request of the transmission of client in the prior art be futile requests this.
Specifically, application server receives the reception message request that designated user's browser is sent, and forwards and receive to JMS Message request, JMS find corresponding message, are handed down to application server, and application server finds the position of designated user's browser It sets, and is sent to message, and show on a web browser.
A kind of method of PUSH message provided in an embodiment of the present invention, application server receive connecing for the first client transmission Message request is received, and is forwarded to message proxy server and receives message request, wherein receives in message request and carries request message Identification information;Application server receives first message that message proxy server is sent and corresponding with identification information;Using Server determines the first client address, and first message is sent to the first client according to the first client address.As it can be seen that this hair A kind of method for PUSH message that bright embodiment provides sends received message request by the first client to application server, Corresponding first message is obtained from message proxy server, it is futile requests to solve the request of client transmission data, causes to waste band The problem of wide and server resource.
Preferably, application server determines the first client address in another embodiment of the invention, including:
Application server obtains the communication information of server, wherein the communication information includes client and client address;
Application server obtains the address of the first client in the communication information.
Specifically, server is Node.js, Node.js is one, and based on Chrome JavaScript, (browser describes Language) operation when a platform establishing, for easily building quick easy-to-use network application.Node.js is by event Driving, Non-Blocking I/O (input/output) model become light weight with efficiently, and the data for being very suitable for operating in distributed apparatus are close The real-time application of collection type.The speed that the platform executes JavaScript is very fast, and performance is very good.Node is to some special cases It is optimized, provides the API (application programming interfaces) of replacement so that the platform is run more under non-browser environment It is good.
Specifically, being communicated always between application server and Node.js, the information for the client that Node.js is transmitted is received And the location information of client carries to make after being sent to corresponding message under application server reception JMS according to Node.js The location information of the first client supplied gives the first client messaging.
Preferably, application server first disappearing of receiving that message proxy server issues in another embodiment of the invention Breath, including:
Application server receives the first message in the message queue of message proxy server.
Specifically, application server calls the routing of message queue, and first message is received, wherein routing refers to router Data packet is received from an interface, the process of another interface is oriented and be forwarded to according to the destination address of data packet.
Specifically, message queue refers to the container for preserving message in the transmit process of message.Message is in two computers Between the data unit that transmits.Message queue manager is acted as an intermediary when message to be relayed to its target from its source.Team The main purpose of row is to provide routing and ensures the transmission of message;If recipient is unavailable when sending message, message queue meeting Reservation message, until can successfully transmit it.
Referring to Fig. 2, in another embodiment of the invention, the method for providing another PUSH message, including:
S21, application server receive the reception message request that the first client is sent, and are forwarded to message proxy server Receive message request, wherein receive the identification information that request message is carried in message request;
S22, application server receive first message that message proxy server is sent and corresponding with identification information;
S23, application server determine the first client address, and the is sent to the first client according to the first client address One message.
S24, application server receive the message that the first client is sent, and disappear to message proxy server forwarding second Breath;
S25, application server receive the message authentication that message proxy server is sent and preserve information;
S26, application server determine the first client address, are disappeared to the transmission of the first client according to the first client address Breath, which confirms, preserves information;
Specifically, S21-S23 is process of the message proxy server to the first client push message, it is the first client To the process of message proxy server PUSH message;First client sends message to application server, and by application server It is transmitted to JMS, if JMS is properly received message, message authentication can be sent to the first client and preserve information, and by application service Device is transmitted to the first client.Wherein the first client is not limited in JMS to the process of JMS PUSH messages to the first client End carries out after sending message.
Referring to Fig. 3, a kind of device of PUSH message provided by the invention, including:
First receiving module 11, the reception message request for receiving the transmission of the first client;Wherein, message request is received In carry the identification information of request message;
First sending module 12 receives message module for being forwarded to message proxy server;
Second receiving module 13, message for receiving message proxy server transmission and corresponding with identification information;
Client address determining module 14, for determining the first client address;
Second sending module 15, for sending first message to the first client according to the first client address.Specifically, Message proxy server is JMS, i.e. Java Message Service (Java Message Service) application programming interfaces, is one It about the API of Message Oriented Middleware (application programming interfaces) in Java platform, is used between two application programs, or distribution Message is sent in formula system, carries out asynchronous communication.
Specifically, receiving the identification information for carrying request message in message request, make what the first client sent every time to connect The mark for all being carried in message request and receiving message is received, to which the first message for making the second receiving module 13 receive all is and mark It is sensible corresponding, to solves the problems, such as the message request of the transmission of client in the prior art be futile requests this.
Specifically, the first receiving module 11 receives the reception message request that the first client is sent, and mould is sent by first Block 12 sends and receives messages request to JMS, and JMS finds corresponding message, is handed down to the second receiving module 13, and according to client The address for the first client that address determination module 14 obtains, is sent to the first client, and clear by the second sending module 15 Device of looking at is shown.
A kind of device of PUSH message provided in an embodiment of the present invention, the first receiving module 11, for receiving the first client Hold the reception message request sent;Wherein, the identification information that request message is carried in message request is received;First sending module 12, receive message module for being forwarded to message proxy server;Second receiving module 13, for receiving message proxy server First message send and corresponding with identification information;Client address determining module 14, for determining the first client Location;Second sending module 15, for sending first message to the first client according to the first client address.As it can be seen that of the invention A kind of device for PUSH message that embodiment provides, send received message to ask by the first client to the first receiving module 11, Corresponding first message is obtained from message proxy server, it is futile requests to solve the request of client transmission data, causes to waste band The problem of wide and server resource.
Preferably, in another embodiment of the invention, client address determining module 14 includes:
First acquisition unit 21, the communication information for obtaining server, wherein communication information include client and client Hold address;
Second acquisition unit 22, for obtaining the first client address in communication information.
Specifically, server is Node.js, Node.js is one, and based on Chrome JavaScript, (browser describes Language) operation when a platform establishing, for easily building quick easy-to-use network application.Node.js is by event Driving, Non-Blocking I/O (input/output) model become light weight with efficiently, and the data for being very suitable for operating in distributed apparatus are close The real-time application of collection type.The speed that the platform executes JavaScript is very fast, and performance is very good.Node is to some special cases It is optimized, provides the API (application programming interfaces) of replacement so that the platform is run more under non-browser environment It is good.
Specifically, being communicated always between first acquisition unit 21 and Node.js, the client that Node.js is transmitted is received The location information of information and client, after making the second sending module 15 receive and be sent to corresponding message under JMS, according to the First message, is sent to the first client by the location information for the first client that one acquiring unit 22 provides.
Preferably, in another embodiment of the invention, the second receiving module 13 receive message proxy server send, And when corresponding with identification information first message, it is specifically used for:
Obtain the first message in the Message Queuing of message proxy server.
Specifically, the second receiving module calls the routing of message queue, and first message is received, wherein routing refers to routing Device receives data packet from an interface, and the mistake of another interface is oriented and be forwarded to according to the destination address of data packet Journey.
Specifically, message queue refers to the container for preserving message in the transmit process of message.Message is in two computers Between the data unit that transmits.Message queue manager is acted as an intermediary when message to be relayed to its target from its source.Team The main purpose of row is to provide routing and ensures the transmission of message;If recipient is unavailable when sending message, message queue meeting Reservation message, until can successfully transmit it.
Referring to Fig. 4, in another embodiment of the invention, the device of another PUSH message is provided, including:
First receiving module 11, the reception message request for receiving the transmission of the first client;Wherein, message request is received In carry the identification information of request message;
First sending module 12 receives message module for being forwarded to message proxy server;
Second receiving module 13, message for receiving message proxy server transmission and corresponding with identification information;
Client address determining module 14, for determining the first client address;
Second sending module 15, for sending first message to the first client according to the first client address.
Third receiving module 16, the second message for receiving the transmission of the first client;
Third sending module 17, for sending second message to message proxy server.
4th receiving module 18, the message authentication for receiving message proxy server transmission preserve information;
4th sending module 19 preserves information for sending message authentication to the first client.
Specifically, the first client by third receiving module 16 receive second message, and from third sending module 17 to Message proxy server PUSH message, if PUSH message success, message proxy server disappears to the transmission of the 4th receiving module 18 Breath, which confirms, preserves information, and is transmitted to the first client by the 4th sending module 19.
Referring to Fig. 5, a kind of system of PUSH message, including:
First client 21, for sending and receiving messages request to application server;
Application server 22 receives message request for obtaining, and forwards reception message to ask to message proxy server 23 It asks;It is additionally operable to receive first message that message proxy server 23 is sent and corresponding with identification information;And determine the first client 21 addresses are held, first message is sent to the first client 21 according to the first client address;Wherein, it receives and is carried in message request There is the identification information of request message;
Message proxy server 23 receives message request for responding, and issues to application server 22 and identification information Corresponding message;
Server 24, for providing the communication information to application server 22, the wherein communication information includes client and client Hold address.
Specifically, the first client 21 is browser;Message proxy server 23 is JMS, i.e. Java Message Service (Java Message Service) application programming interfaces are the API (application programs about Message Oriented Middleware in a Java platform Interface), for sending message between two application programs or in distributed system, carry out asynchronous communication.
Specifically, receiving the identification information for carrying request message in message request, the first client 21 is made to send every time The mark for all being carried in message request and receiving message is received, to make the message that application server 22 receives all be and mark phase It is corresponding, to solves the problems, such as the message request of the transmission of the first client 21 in the prior art be futile requests this.
Specifically, server 24 is Node.js, Node.js is one, and based on Chrome JavaScript, (browser is retouched Predicate is sayed) operation when a platform establishing, for easily building quick easy-to-use network application.Node.js is by thing Part drives, and Non-Blocking I/O (input/output) model becomes light weight with efficiently, is very suitable for operating in the data of distributed apparatus Intensive real-time application.The speed that the platform executes JavaScript is very fast, and performance is very good.Node is to some special use Example is optimized, and provides the API (application programming interfaces) of replacement so that the platform is run more under non-browser environment It is good.
Specifically, being communicated always between application server 22 and server 24, the first client that server 24 transmits is received The information at end 21 and the location information of the first client 21 are sent to corresponding disappear to make application server 22 receive under JMS23 After breath, according to the location information for the first client that server 24 provides, messaging to client 21.
A kind of system of PUSH message provided in an embodiment of the present invention, application server 22 receive the first client 21 and send Reception message request, and forwarded to message proxy server 23 and receive message request, wherein received and carry and ask in message request Seek the identification information of message;Application server 22 receives that message proxy server is sent and corresponding with identification information first Message;And the first client 21 address is obtained from server 24, according to the first client address the is sent to the first client 21 One message.As it can be seen that a kind of system of PUSH message provided in an embodiment of the present invention, by the first client 21 to application server 22 send received message request, obtain corresponding message from message proxy server 23, it is nothing to solve the request of client transmission data With request, the problem of leading to waste bandwidth and server resource.
Preferably, in another embodiment of the present invention, message proxy server 23 is issued and is identified to application server 22 When the corresponding first message of information, it is specifically used for:
Message proxy server 23 obtains in message queue and corresponding with identification information first message;
Message proxy server 23 sends first message to application server 22.
Specifically, application server 22 calls the routing of message queue, and first message is received, wherein routing refers to routing Device receives data packet from an interface, and the mistake of another interface is oriented and be forwarded to according to the destination address of data packet Journey.
Specifically, message queue refers to the container for preserving message in the transmit process of message.Message is in two computers Between the data unit that transmits.Message queue manager is acted as an intermediary when message to be relayed to its target from its source.Team The main purpose of row is to provide routing and ensures the transmission of message;If recipient is unavailable when sending message, message queue meeting Reservation message, until can successfully transmit it.
Preferably, in another embodiment of the present invention, when application server 22 determines the first 21 address of client, tool Body is used for:
Application server 22 obtains the communication information of server 24, and obtains 21 ground of the first client in the communication information Location.
Specifically, server 24 is Node.js, Node.js is one, and based on Chrome JavaScript, (browser is retouched Predicate is sayed) operation when a platform establishing, for easily building quick easy-to-use network application.Node.js is by thing Part drives, and Non-Blocking I/O (input/output) model becomes light weight with efficiently, is very suitable for operating in the data of distributed apparatus Intensive real-time application.The speed that the platform executes JavaScript is very fast, and performance is very good.Node is to some special use Example is optimized, and provides the API (application programming interfaces) of replacement so that the platform is run more under non-browser environment It is good.
Specifically, being communicated always between application server 22 and Node.js24, the client that Node.js24 is transmitted is received Information and client location information, to make application server 22 receive JMS23 under be sent to corresponding message after, according to The location information for the first client 21 that Node.js24 is provided gives the first client 21 messaging.
Preferably, in another embodiment of the invention, this system is additionally operable to:
Application server 22 is additionally operable to receive the second message that the first client 21 is sent, and to message proxy server 23 send second message;
Message proxy server 23 is additionally operable to receive the second message that application server 22 is sent, and preserves second message.
Specifically, provided in this embodiment is process of first client 21 to 23 PUSH message of message proxy server; Wherein the first client 21 sends second message to application server 22, and is transmitted to Message Agent service by application server 22 Device 23.
Preferably, in another embodiment of the invention, this system is additionally operable to:
Message proxy server 23 is additionally operable to generate message authentication preservation message, and is sent to application server 22;
Application server 22 is additionally operable to receive message authentication preservation information, and is sent to the first client 21;
First client 21 is additionally operable to receive message authentication preservation information.
Specifically, in a upper embodiment, if message proxy server 23 successfully receives the of the forwarding of application server 22 Two message, then message proxy server 23 send message authentication to application server 22 and preserve message, and by Message Agent service Device 22 is transmitted to the first client 21. preferably, and in another embodiment of the invention, the present apparatus further includes:
Second client receives request for sending given client end to server;Wherein:
Server is additionally operable to:
The given client end for receiving the transmission of the second client receives message request, and is sent and received messages to given client end Request.
Specifically, before the first client 21 sends and receives messages request to application server 22, the second client to Server 24 sends given client end and receives message request, and the given client end that server receives the transmission of the second client receives After message request, the address at given client end is found, and request is sent and received messages to given client end.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (13)

1. a kind of method of PUSH message, which is characterized in that including:
Application server receives the reception message request that the first client is sent, and forwards the reception to message proxy server Message request, wherein described to receive the identification information that request message is carried in message request;
The application server receives that the message proxy server is sent and corresponding with the identification information first and disappears Breath;
The application server determines first client address, according to first client address to first client End sends the first message;
Wherein, the application server receives the first message that the message proxy server issues, including:The application Server receives the first message in the message queue of the message proxy server.
2. according to the method described in claim 1, it is characterized in that, the application server with determining first client Location, including:
The application server obtains the communication information of server, wherein the communication information includes client and client Location;
The application server obtains the address of first client in the communication information.
3. according to the method described in claim 1, it is characterized in that, further including:
The application server receives the second message that the first client is sent, and to described in message proxy server forwarding Second message.
4. according to the method described in claim 3, it is characterized in that, the application server turns to the message proxy server After sending out second message described, further include:
The application server receives the message authentication that the message proxy server is sent and preserves information;
The application server determines first client address, according to first client address to first client End sends the message authentication and preserves information.
5. a kind of device of PUSH message, which is characterized in that including:
First receiving module, the reception message request for receiving the transmission of the first client;Wherein, in the reception message request Carry the identification information of request message;
First sending module, for forwarding the reception message module to message proxy server;
Second receiving module, for receiving message that the message proxy server is sent and corresponding with the identification information;
Client address determining module, for determining first client address;
Second sending module, for sending first message to first client according to first client address;
Wherein, second receiving module receives that the message proxy server is sent and corresponding with the identification information When first message, it is specifically used for:
Obtain the first message in the Message Queuing of the message proxy server.
6. device according to claim 5, which is characterized in that the client address determining module includes:
First acquisition unit, the communication information for obtaining server, wherein the packets include client and client Address;
Second acquisition unit, for obtaining first client address in the communication information.
7. device according to claim 5, which is characterized in that further include:
Third receiving module, the second message for receiving the transmission of the first client;
Third sending module, for sending the second message to the message proxy server.
8. device according to claim 7, which is characterized in that further include:
4th receiving module preserves information for receiving the message authentication that the message proxy server is sent;
4th sending module preserves information for sending the message authentication to first client.
9. a kind of system of PUSH message, which is characterized in that including:
First client, for sending and receiving messages request to application server;
Application server forwards the reception message to ask for obtaining the reception message request, and to message proxy server It asks;It is additionally operable to receive first message that the message proxy server is sent and corresponding with identification information;And determine described the One client address sends the first message according to first client address to first client;Wherein, described Receive the identification information that request message is carried in message request;
Message proxy server issues and the mark for responding the reception message request, and to the application server The corresponding message of information;
Server, for providing the communication information to the application server, wherein the communication information includes client and client Hold address;
Wherein, the message proxy server issues the first message corresponding with the identification information to the application server When, it is specifically used for:
The message proxy server obtains in message queue and corresponding with identification information first message;
The message proxy server sends the first message to the application server.
10. system according to claim 9, which is characterized in that the application server is with determining first client When location, it is specifically used for:
The application server obtains the communication information of the server, and obtains first client in the communication information Hold address.
11. system according to claim 9, which is characterized in that
First client is additionally operable to send second message to the application server;
The application server is additionally operable to receive the second message that first client is sent, and is taken to the Message Agent Business device sends the second message;
The message proxy server is additionally operable to receive the second message that the application server is sent, and preserves described second Message.
12. system according to claim 11, which is characterized in that
The message proxy server is additionally operable to generate message authentication preservation message, and is sent to the application server;
The application server is additionally operable to receive the message authentication preservation information, and is sent to first client;
First client is additionally operable to receive the message authentication preservation information.
13. system according to claim 9, which is characterized in that further include:
Second client receives request for sending given client end to the server;Wherein:
The server, is additionally operable to:
The given client end for receiving the transmission of the second client receives message request, and sends the reception message to given client end Request.
CN201510098176.XA 2015-03-05 2015-03-05 A kind of method, system and device of PUSH message Active CN104618517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510098176.XA CN104618517B (en) 2015-03-05 2015-03-05 A kind of method, system and device of PUSH message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510098176.XA CN104618517B (en) 2015-03-05 2015-03-05 A kind of method, system and device of PUSH message

Publications (2)

Publication Number Publication Date
CN104618517A CN104618517A (en) 2015-05-13
CN104618517B true CN104618517B (en) 2018-08-07

Family

ID=53152792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510098176.XA Active CN104618517B (en) 2015-03-05 2015-03-05 A kind of method, system and device of PUSH message

Country Status (1)

Country Link
CN (1) CN104618517B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852695A (en) * 2016-11-01 2021-12-28 鲸彩在线科技(大连)有限公司 Information pushing method and network architecture
CN113726836A (en) * 2020-11-16 2021-11-30 北京沃东天骏信息技术有限公司 Information response method, device, equipment and computer readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316423A (en) * 2010-07-06 2012-01-11 华为技术有限公司 Information pushing method, device and system
CN103037312A (en) * 2011-10-08 2013-04-10 阿里巴巴集团控股有限公司 Message push method and message push device
CN103188311A (en) * 2011-12-30 2013-07-03 北京新媒传信科技有限公司 Client-side agent positioning system and method
CN103297395A (en) * 2012-02-24 2013-09-11 阿里巴巴集团控股有限公司 Achievement method, system and device of internet business
CN103370917A (en) * 2012-11-20 2013-10-23 华为技术有限公司 Message processing method and server
CN103501486A (en) * 2013-09-29 2014-01-08 华为软件技术有限公司 Message pushing method and pushing server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316423A (en) * 2010-07-06 2012-01-11 华为技术有限公司 Information pushing method, device and system
CN103037312A (en) * 2011-10-08 2013-04-10 阿里巴巴集团控股有限公司 Message push method and message push device
CN103188311A (en) * 2011-12-30 2013-07-03 北京新媒传信科技有限公司 Client-side agent positioning system and method
CN103297395A (en) * 2012-02-24 2013-09-11 阿里巴巴集团控股有限公司 Achievement method, system and device of internet business
CN103370917A (en) * 2012-11-20 2013-10-23 华为技术有限公司 Message processing method and server
CN103501486A (en) * 2013-09-29 2014-01-08 华为软件技术有限公司 Message pushing method and pushing server

Also Published As

Publication number Publication date
CN104618517A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
US7984163B2 (en) Method and system for optimizing DNS queries
US8677011B2 (en) Load distribution system, load distribution method, apparatuses constituting load distribution system, and program
EP2611111B1 (en) Method of implementing content-centric network (CCN) using internet protocol (IP)-based network in gateway, and gateway
CN102932461B (en) Network acceleration transmission method and device
CN110012083B (en) Data transmission method, server and data transmission device
CA2557145A1 (en) System, apparatus and method for communicating asynchronously with synchronous web services using a mediator service
WO2019201299A1 (en) Path identifier acquisition method and device
BR112019015897A2 (en) DATA TRANSMISSION METHOD, TERMINAL, ACCESS NETWORK ELEMENT, COMPUTER STORAGE MEDIA AND COMMUNICATION SYSTEM
RU2012152098A (en) METHOD, DEVICE AND SYSTEM FOR MAKING ACCESS TO THE MOBILE STATION SERVICE
CN102790798A (en) Transparent proxy implementation method, device and system in content distribution network
EP3160172A1 (en) Method and device for short messaging service intercommunication
CN106464596A (en) Openflow communication method, system, controller, and service gateway
WO2015090225A1 (en) Linux-based adaptive component communication method
CN105933435A (en) Real-time query method based on Internet of Things
WO2023221452A1 (en) Packet processing system and method, device, and storage medium
CN104618517B (en) A kind of method, system and device of PUSH message
JP6457960B2 (en) Communication flow labeling system, label management device, communication flow identification device, and communication flow labeling method
JP2011055236A (en) Communication system, mapping information notification device, mapping information notification method and program
CN112261146B (en) Edge cloud cooperative communication system and method based on message communication and file transmission
EP3107352A1 (en) Information transfer method and apparatus
KR20190064066A (en) Traffic load management apparatus and method based on coordinated application protocol for internet of things local networks
CN103873355B (en) A kind of information matching method
CN106487890A (en) A kind of cross-node communication network requesting method based on XMPP
CN103546513B (en) The method and device of communication between a kind of customer terminal webpage
JP6263452B2 (en) BAND CONTROL SYSTEM, BAND CONTROL METHOD, AND PROGRAM

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