CN103457843A - Communication method, communication system, relay gateway device, application server and client side - Google Patents

Communication method, communication system, relay gateway device, application server and client side Download PDF

Info

Publication number
CN103457843A
CN103457843A CN2012101753729A CN201210175372A CN103457843A CN 103457843 A CN103457843 A CN 103457843A CN 2012101753729 A CN2012101753729 A CN 2012101753729A CN 201210175372 A CN201210175372 A CN 201210175372A CN 103457843 A CN103457843 A CN 103457843A
Authority
CN
China
Prior art keywords
gateway device
tandem gateway
message
transmit leg
recipient
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.)
Pending
Application number
CN2012101753729A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2012101753729A priority Critical patent/CN103457843A/en
Publication of CN103457843A publication Critical patent/CN103457843A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a communication method, a communication system, a relay gateway device, an application server and a client side. Data transmission between the application server and the client side is realized by the relay gateway device in the communication method. The method specifically includes that the relay gateway device receives a message from a sender according to communication connection with the sender; the relay gateway device analyzes content of the message, and an acquired analysis result includes a communication protocol of the sender; the relay gateway device assembles the message according to the communication protocol of the sender to acquire a message corresponding to a communication protocol of a receiver; the relay gateway device sends the message corresponding to the communication protocol of the receiver to the receiver according to communication connection with the receiver. By the communication method, the communication system and the relay gateway device, stability and efficiency of communication between the application server and the client side can be improved.

Description

Communication means and system, Tandem Gateway device, application server and client
Technical field
The application relates to networking technology area, particularly relates to a kind of communication means and system, a kind of Tandem Gateway device, a kind of application server and a kind of client.
Background technology
At present more and more extensive along with the Internet technology application, can provide various services, on the internet as ecommerce, the Internet bank, game on line, e-mail etc.These systems that service is provided by network, in the process of these services is provided, need frequently between application server and client, to transmit data.
The agriculture of take believes that silver-colored liquidation center service system is example, and application server is positioned at agriculture and believes silver-colored liquidation center end, and client is positioned at each member's row end; Usually service system defines a set of communication protocol, the long communication mode be connected of application server and customer end adopted, and application server is connected all and can triggers communication with side's initiating communication in client.The long connection here refers to sets up the TCP(transmission control protocol, Transmission Control Protocol) or the UDP(User Datagram Protocol, User Datagram Protocol) three-way handshake sends packet later continuously, and connection keeps not closing; If while not having packet to transmit, need both sides to send out the link detecting bag and detect connection and whether interrupt.
But the letter of agriculture at present silver has more than 30,000 member's row, mostly uses long the connection, along with increasing of communication connection number, application server need to be done corresponding dilatation to adapt to linking number; In addition, because application server is common and communication protocol binds together, therefore the code of application server also needs to change according to the modification of communication protocol; Also have, when application server is hung or restarted, also need again to create with the communication connection between client accordingly.
Therefore, in the process of application server and client communication, one or more if there is concurrent higher, the procotol more complicated of communication connection and network environment in unstable, bottleneck all easily appears in existing application server, has seriously reduced communication stability and communication efficiency.
In a word, need the urgent technical problem solved of those skilled in the art to be exactly: how can improve stability and the efficiency of communicating by letter between application server and client.
Summary of the invention
The application's technical problem to be solved is to provide a kind of communication means and system, a kind of Tandem Gateway device, a kind of application server and a kind of client, can improve stability and the efficiency of communicating by letter between application server and client.
In order to address the above problem, the application discloses a kind of communication means, by the Tandem Gateway device, between application server and client, transmits data, and described method comprises:
The Tandem Gateway device, according to the communication connection to transmit leg, receives the message from transmit leg;
The Tandem Gateway device is resolved the content of described message, and the analysis result obtained comprises the communication protocol of transmit leg;
The Tandem Gateway device is assembled described message according to the communication protocol of described transmit leg, obtains and the corresponding message of recipient's communication protocol;
The Tandem Gateway device, according to the communication connection to the recipient, is sent to the recipient by described with the corresponding message of the communication protocol recipient.
Preferably, described method also comprises:
The Tandem Gateway device adopts buffer memory to store the communication connection to transmit leg that maintenance do not close and one or more in recipient's communication connection temporarily;
The Tandem Gateway device, according to the communication connection to transmit leg in buffer memory, receives the message from transmit leg;
The Tandem Gateway device, according to the communication connection to the recipient in buffer memory, is sent to the recipient by described with the corresponding message of the communication protocol recipient.
Preferably, described Tandem Gateway device comprises an above Tandem Gateway, and described method also comprises:
The Tandem Gateway device is selected one according to load balancing from a described above Tandem Gateway;
Selected Tandem Gateway is resolved the content of described message, and the analysis result obtained comprises the communication protocol of transmit leg;
Selected Tandem Gateway is assembled described message according to the communication protocol of described transmit leg, obtains and the corresponding message of recipient's communication protocol;
Selected Tandem Gateway, according to the communication connection to the recipient, is sent to the recipient by described with the corresponding message of the communication protocol recipient.
Preferably, described recipient is application server, and the number of described application server is more than one, and described method also comprises:
The Tandem Gateway device is selected one according to load balancing from a described above application server;
The Tandem Gateway device, according to the communication connection to application server, is sent to selected application server by described with the corresponding message of communication protocol application server.
Preferably, described method also comprises:
The Tandem Gateway device when the message received from transmit leg, if there is the communication connection of transmit leg in buffer memory, using the current time as in buffer memory to connection update time of the communication connection of transmit leg;
The Tandem Gateway device regularly detects the connection update time in buffer memory, if the difference of described connection update time and current time is greater than the preset time interval, in buffer memory, deletes the corresponding communication connection to transmit leg.
Preferably, described method also comprises:
Be greater than preset heartbeat detection during the time interval when the resting period of the communication connection to transmit leg, the Tandem Gateway device is deleted the corresponding communication connection to transmit leg in buffer memory.
Preferably, described method also comprises:
The Tandem Gateway device is when the message received from transmit leg, if there is not the communication connection of transmit leg in buffer memory, the communication connection that will arrive transmit leg is put to buffer memory; And/or
The Tandem Gateway device is according to the described and corresponding message of the communication protocol recipient, obtain the corresponding communication connection to the recipient in buffer memory, and be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient of obtaining.
Preferably, described Tandem Gateway device is according to the communication connection to transmit leg, and reception further comprises from the step of the message of transmit leg:
Described Tandem Gateway device, according to the communication connection to transmit leg, receives the message from transmit leg by listening port.
Preferably, described transmit leg is client, and described recipient is application server, and described method also comprises:
The Tandem Gateway device, according to the type of service of the corresponding message of communication protocol with application server, is determined corresponding application server;
The Tandem Gateway device, according to the communication connection to application server, is sent to determined application server by described with the corresponding message of communication protocol application server.
Preferably, the type of message that also comprises transmit leg in described analysis result; Described method also comprises:
The Tandem Gateway device is assembled described message according to communication protocol and the type of message of described transmit leg, obtains communication protocol and the corresponding message of type of message with the recipient;
The Tandem Gateway device, according to the communication connection to the recipient, is sent to the recipient by described with communication protocol and the corresponding message of the type of message recipient.
On the other hand, disclosed herein as well is a kind of Tandem Gateway device, it,, between application server and client, transmitting data, comprising:
Receiver module, for the communication connection according to transmit leg, receive the message from transmit leg;
Parsing module, for resolving the content of described message, the analysis result obtained comprises the communication protocol of transmit leg;
Knockdown block, assembled described message for the communication protocol according to described transmit leg, obtains and the corresponding message of recipient's communication protocol; And
Sending module, for the communication connection according to the recipient, be sent to the recipient by described with the corresponding message of the communication protocol recipient.
Preferably, described device also comprises:
Cache module is stored the communication connection to transmit leg that maintenance do not close and one or more to recipient's communication connection for adopting buffer memory temporarily;
Described receiver module, specifically for the communication connection to transmit leg in the foundation buffer memory, receive the message from transmit leg;
Described sending module, specifically for the communication connection to the recipient in the foundation buffer memory, be sent to the recipient by described with the corresponding message of the communication protocol recipient.
Preferably, described Tandem Gateway device also comprises:
An above Tandem Gateway; And
The first load balancing module, be connected between transmit leg and a described above Tandem Gateway, for according to load balancing, from a described above Tandem Gateway, selecting one;
Wherein, described Tandem Gateway further comprises described parsing module, Knockdown block and sending module, for working when being selected by described the first load balancing module.
Preferably, described recipient is application server, and the number of described application server is more than one, and described Tandem Gateway device also comprises:
The second load balancing module, be connected with a described above application server, for according to load balancing, from a described above application server, selecting one;
Described sending module, specifically for the communication connection according to application server, be sent to selected application server by described with the corresponding message of communication protocol application server.
Preferably, described device also comprises:
Connect determination module update time, during for the message receiving from transmit leg, if there is the communication connection of transmit leg in buffer memory, using the current time as in buffer memory to connection update time of the communication connection of transmit leg;
The timing detection module, for regularly detecting the connection update time of buffer memory;
The first removing module while for the difference in described connection update time and current time, being greater than the preset time interval, is deleted the corresponding communication connection to transmit leg in buffer memory.
Preferably, described device also comprises:
The second removing module, be greater than preset heartbeat detection during the time interval for resting period of the communication connection when to transmit leg, and the Tandem Gateway device is deleted the corresponding communication connection to transmit leg in buffer memory.
Preferably, described device also comprises:
Connect storage module, during for the message receiving from transmit leg, if there is not the communication connection of transmit leg in buffer memory, the communication connection that will arrive transmit leg is put to buffer memory; And/or
Connect acquisition module, described and the corresponding message of the communication protocol recipient for foundation, obtain the corresponding communication connection to the recipient in buffer memory, and be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient of obtaining.
Preferably, described receiver module further comprises:
Monitor submodule, the communication connection for according to transmit leg, receive the message from transmit leg by listening port.
Preferably, described transmit leg is client, and described recipient is application server, and described Tandem Gateway device also comprises:
The application server determination module, for the type of service of the corresponding message of communication protocol according to application server, determine corresponding application server;
Described sending module, specifically for the communication connection according to application server, be sent to determined application server by described with the corresponding message of communication protocol application server.
Preferably, the type of message that also comprises transmit leg in described analysis result;
Described Knockdown block, also assembled described message for communication protocol and type of message according to described transmit leg, obtains communication protocol and the corresponding message of type of message with the recipient;
Described sending module, also for the communication connection according to the recipient, be sent to the recipient by described with communication protocol and the corresponding message of the type of message recipient.
On the other hand, disclosed herein as well is a kind of application server, comprising:
Sending module, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
Receiver module, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
On the other hand, disclosed herein as well is a kind of client, comprising:
Sending module, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
Receiver module, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
On the one hand, disclosed herein as well is a kind of communication system again, it comprises application server, client and aforesaid Tandem Gateway device.
Compared with prior art, the application has the following advantages:
The application is transmitted data by the Tandem Gateway device between application server and client, particularly, receive message according to the communication connection to transmit leg from transmit leg, and, be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient.
At first, because the application adopts the Tandem Gateway device to realize the communication connection to client, therefore when the communication connection number increases, only need the number that increases the Tandem Gateway device to get final product, without the dilatation of carrying out application server, therefore can avoid the bottleneck of application server, thereby can effectively improve communication stability and communication efficiency, and can save the cost of application server.
Secondly, because adopting the Tandem Gateway device, the application realizes the parsing to the recipient's of the communication protocol of the parsing of communication protocol and transmit leg communication protocol, therefore when the communication protocol of client is revised, the application server end is used the communication protocol of self to get final product, without the code of doing the communication protocol aspect, change, thereby can effectively improve communication stability and communication efficiency, and the development cost that can save application server.
Moreover, communication connection in the application between client and application server specifically can comprise the connection of Tandem Gateway device and client and the connection of Tandem Gateway device and application server, there do not is physical connection between client and application server, therefore the network environment of application server end can not have a direct impact client, therefore can increase the stability of communication connection, thereby can improve stability and the efficiency of communicating by letter between application server and client.
In addition, the application can also adopt buffer memory to store the communication connection to transmit leg that maintenance do not close and one or more in recipient's communication connection temporarily, can take out at any time communication connection from buffer memory and send or receive message; Because the communication connection in buffer memory can keep not closing, therefore can avoid the establishment that repeats of communication connection, the performances such as the efficiency of raising communication and stability.
Further, the application can also select according to load balancing a relay process of carrying out message from an above Tandem Gateway; Like this, when the communication connection number is more, can avoid some message to can not get relay process and the appearance of the idle situation of some Tandem Gateway, therefore can be under the prerequisite of the relay process efficiency that keeps message, improve most possibly the utilance of an above Tandem Gateway, thereby can guarantee the optimum of communication efficiency, stability and Tandem Gateway installation cost.
Further, the application can also select according to load balancing a Business Processing of carrying out message from an above application server; Like this, when the communication connection number is more, can avoid some message to can not get Business Processing and the appearance of the idle situation of some application server, therefore can be under the prerequisite of the Business Processing efficiency that keeps message, improve most possibly the utilance of an above application server, thereby can guarantee the optimum of communication efficiency, stability and application server cost.
The accompanying drawing explanation
Fig. 1 is the flow chart of a kind of communication means embodiment 1 of the application;
Fig. 2 is the flow chart of a kind of communication means embodiment 2 of the application;
Fig. 3 is the flow chart of a kind of communication means embodiment 3 of the application;
Fig. 4 is the flow chart of a kind of communication means embodiment 4 of the application;
Fig. 5 is the flow chart of a kind of communication means embodiment 5 of the application;
Fig. 6 is the flow chart of a kind of communication means embodiment 6 of the application;
Fig. 7 is the structure chart of a kind of Tandem Gateway device of the application embodiment;
Fig. 8 is the structure chart of a kind of application server embodiment of the application;
Fig. 9 is the structure chart of a kind of client implementation example of the application;
Figure 10 is the structure chart of a kind of communication system embodiment of the application.
Embodiment
For above-mentioned purpose, the feature and advantage that make the application can become apparent more, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
With reference to Fig. 1, show the flow chart of a kind of communication means embodiment 1 of the application, described method is transmitted data by the Tandem Gateway device between application server and client, specifically can comprise:
Step 101, Tandem Gateway device, according to the communication connection to transmit leg, receive the message from transmit leg;
Step 102, Tandem Gateway device are resolved the content of described message, specifically can comprise the communication protocol of transmit leg in the analysis result obtained;
Step 103, Tandem Gateway device are assembled described message according to the communication protocol of described transmit leg, obtain and the corresponding message of recipient's communication protocol;
Step 104, Tandem Gateway device, according to the communication connection to the recipient, are sent to the recipient by described with the corresponding message of the communication protocol recipient.
The embodiment of the present application is transmitted data by the Tandem Gateway device between application server and client, particularly, receive message according to the communication connection to transmit leg from transmit leg, and, be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient.In actual applications, transmit leg can be the either party in application server and client, and the recipient can be also the either party in application server and client.
In specific implementation, the Tandem Gateway device can be created to by active or passive mode transmit leg and/or recipient's communication connection; Wherein, the principle of active mode be the Tandem Gateway device to transmit leg and/or recipient's initiating communication connection request, the principle of passive mode is that the Tandem Gateway device receives the communication connection request from transmit leg and/or recipient.
The Tandem Gateway device can be long the connection or short connection according to the communication connection to transmit leg and/or recipient, and those skilled in the art can determine according to actual conditions.The short connection here refers to when communication two party has data interaction, just sets up a connection, after data are sent completely, disconnect this and connects, i.e. each connection only completes the transmission of a business.
In practice, the communication mode between Tandem Gateway device and application server can be diversified, specifically can comprise TCP, UDP, WEBSERVICE(external interface), JSON(JavaScript Object Notation)) etc.Communication mode between Tandem Gateway device and client can be diversified, specifically can comprise TCP, HTTP(HTML (Hypertext Markup Language), hypertext transport protocol), HTTPS(has the HTML (Hypertext Markup Language) of SSL, and support synchronous or asynchronous communication Hypertext Transfer Protocol over Secure Socket Layer) etc..
The data communication system of a plurality of diverse geographic locations that get up by communication channel and apparatus interconnection, collaborative work to realize information exchange and resource-sharing, between them, must have common language.What exchanges, how to exchange and when exchange, all must follow the rule that certain can be accepted mutually.This rule is exactly communication protocol.
Re-assemblying of the application is mainly the communication protocol according to different, assembles different messages.HTTP message as bank is sent, convert TCP message of Alipay self etc. to.The application goes for the communication protocols such as HTTP, HTTPS, TCP, UDP, and can between any two kinds of communication protocols, be changed.
The technical problem existed in one by one for prior art at this, discuss the application's technique effect:
At first, one of technical problem existed in prior art, along with increasing of communication connection number, application server need to be done corresponding dilatation to adapt to linking number; Because the application adopts the Tandem Gateway device to realize the communication connection to client, therefore when the communication connection number increases, only need the number that increases the Tandem Gateway device to get final product, without the dilatation of carrying out application server, therefore can avoid the bottleneck of application server, thereby can effectively improve communication stability and communication efficiency, and can save the cost of application server.
Secondly, two of the technical problem existed in prior art, the code of application server need to be changed according to the modification of communication protocol; Because adopting the Tandem Gateway device, the application realizes the parsing to the recipient's of the communication protocol of the parsing of communication protocol and transmit leg communication protocol, therefore when the communication protocol of client is revised, the application server end is used the communication protocol of self to get final product, without the code of doing the communication protocol aspect, change, thereby can effectively improve communication stability and communication efficiency, and the development cost that can save application server.
In addition, three of the technical problem existed in prior art, when application server is hung or restarted, also need again to create with the communication connection between client accordingly; In the embodiment of the present application, communication connection between client and application server specifically can comprise the connection of Tandem Gateway device and client and the connection of Tandem Gateway device and application server, there do not is physical connection between client and application server, therefore the network environment of application server end can not have a direct impact client, therefore can increase the stability of communication connection, thereby can improve stability and the efficiency of communicating by letter between application server and client.
In a preferred embodiment of the present application, described Tandem Gateway device is according to the communication connection to transmit leg, reception may further include from the step of the message of transmit leg: described Tandem Gateway device, according to the communication connection to transmit leg, receives the message from transmit leg by listening port.
Described Tandem Gateway device can be according to the various port of different SM service monitorings.For example, a kind of GPS(global positioning system in the application, Global Positioning System) in the business scenario of scheduling, the GPS dispatching patcher specifically can comprise map server and map client, Tandem Gateway device and GPS car-mounted terminal, wherein, the Tandem Gateway device need to keep the communication of same car-mounted terminal, and sends the vehicle real-time track by the UDP mode to map server; Here all GPS car-mounted terminals can be connected on 9999 ports, and so, the Tandem Gateway device is monitored 9999 these ports can receive the message from the GPS car-mounted terminal.
In another preferred embodiment of the present application, described transmit leg is client, and described recipient is application server, and described method can also comprise:
The Tandem Gateway device, according to the type of service of the corresponding message of communication protocol with application server, is determined corresponding application server;
The Tandem Gateway device, according to the communication connection to application server, is sent to determined application server by described with the corresponding message of communication protocol application server.
The agriculture of take believes that silver-colored liquidation center service system is example, if with the type of service of the corresponding message of communication protocol of application server be " refund ", the Tandem Gateway device can be sent to this message on application server corresponding to " refund "; If with the type of service of the corresponding message of communication protocol of application server be " fund ", the Tandem Gateway device can be sent to this message on the application server that " fund " is corresponding.
In another preferred embodiment of the application, can also comprise the type of message of transmit leg in described analysis result; Described method can also comprise:
The Tandem Gateway device is assembled described message according to communication protocol and the type of message of described transmit leg, obtains communication protocol and the corresponding message of type of message with the recipient;
The Tandem Gateway device, according to the communication connection to the recipient, is sent to the recipient by described with communication protocol and the corresponding message of the type of message recipient.
Except the assembling of communication protocol, this preferred embodiment can also be supported the assembling of type of message.Because the most frequently used type of message specifically can comprise the TEXT(text), ISO8583(standard 8583), binary system, character string etc.So, the binary system message of the ISO 8583 that this preferred embodiment can send bank, convert the character string message of Alipay inside to.
With reference to Fig. 2, show the flow chart of a kind of communication means embodiment 2 of the application, described method is transmitted data by the Tandem Gateway device between application server and client, specifically can comprise:
Step 201, Tandem Gateway device adopt buffer memory to store the communication connection to transmit leg that maintenance do not close and one or more in recipient's communication connection temporarily;
Step 202, Tandem Gateway device, according to the communication connection to transmit leg in buffer memory, receive the message from transmit leg;
Step 203, Tandem Gateway device are resolved the content of described message, specifically can comprise the communication protocol of transmit leg in the analysis result obtained;
Step 204, Tandem Gateway device are assembled described message according to the communication protocol of described transmit leg, obtain and the corresponding message of recipient's communication protocol;
Step 205, Tandem Gateway device, according to the communication connection to the recipient in buffer memory, are sent to the recipient by described with the corresponding message of the communication protocol recipient.
One of difference of embodiment 2 and embodiment 1 is, adopts buffer memory to store the communication connection to transmit leg that maintenance do not close and one or more in recipient's communication connection temporarily, can take out at any time communication connection from buffer memory and send or receive message; Because the communication connection in buffer memory can keep not closing, therefore can avoid the establishment that repeats of communication connection, the performances such as the efficiency of raising communication and stability.
It should be noted that, those skilled in the art can arrange the capacity of buffer memory according to actual communication requirement, and as in a kind of application example of the application, buffer memory can be stored at most 10000 communication connections.
The application can provide the scheme that alleviates as follows the buffer memory burden:
Scheme 1,
In a preferred embodiment of the present application, described method can also comprise:
The Tandem Gateway device when the message received from transmit leg, if there is the communication connection of transmit leg in buffer memory, using the current time as in buffer memory to connection update time of the communication connection of transmit leg;
The Tandem Gateway device regularly detects the connection update time in buffer memory, if the difference of described connection update time and current time is greater than the preset time interval, in buffer memory, deletes the corresponding communication connection to transmit leg.
Be appreciated that described preset time interval can be determined according to the capacity of buffer memory, the practical situation such as number of communication connection by those skilled in the art, the application was not limited the concrete preset time interval.
Scheme 2,
In a preferred embodiment of the present application, described method can also comprise:
Be greater than preset heartbeat detection during the time interval when the resting period of the communication connection to transmit leg, the Tandem Gateway device is deleted the corresponding communication connection to transmit leg in buffer memory.
Heartbeat detection is the measure that can improve system availability.For example: carry out communication between service end and client, carried out one time heartbeat detection every 5 minutes, whether detection is connected normal with main website.Client is sent out a heartbeat detection Frame in every 5 minutes, and service end receives Frame and means to pass through, otherwise means that client disconnects, throw exception.Here within 5 minutes, be exactly an example in preset heartbeat detection time interval, not as the application's application restric-tion.
In another preferred embodiment of the present application, described method can also comprise:
The Tandem Gateway device is when the message received from transmit leg, if there is not the communication connection of transmit leg in buffer memory, the communication connection that will arrive transmit leg is put to buffer memory; And/or
The Tandem Gateway device is according to the described and corresponding message of the communication protocol recipient, obtain the corresponding communication connection to the recipient in buffer memory, and be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient of obtaining.
In a kind of application example of the application, can be according to the agreement interconnected between the IP(network, Internet Protocol) one or more in+port+message header field, will communicate to connect accordingly and put to buffer memory; So, in practice, can be according in IP+ port+message header field one or more, take out at any time communication connection and send or receive message from buffer memory.
With reference to Fig. 3, show the flow chart of a kind of communication means embodiment 3 of the application, described method is transmitted data by the Tandem Gateway device between application server and client, and described Tandem Gateway device specifically can comprise an above Tandem Gateway, and described method specifically can comprise:
Step 301, Tandem Gateway device, according to the communication connection to transmit leg, receive the message from transmit leg;
Step 302, Tandem Gateway device are selected one according to load balancing from a described above Tandem Gateway;
Step 303, selected Tandem Gateway are resolved the content of described message, specifically can comprise the communication protocol of transmit leg in the analysis result obtained;
Step 304, selected Tandem Gateway are assembled described message according to the communication protocol of described transmit leg, obtain and the corresponding message of recipient's communication protocol;
Step 305, selected Tandem Gateway, according to the communication connection to the recipient, are sent to the recipient by described with the corresponding message of the communication protocol recipient.
Load balancing is a kind of technology that realizes load balancing by certain algorithm.Popular saying is exactly the equipment of unified distribution request, and load balancing can unify to receive whole requests, then according to the algorithm set, these requests is distributed to all members in this load balancing group, and the equilibrium that realizes request (load) with this distributes.
One of difference of embodiment 3 and embodiment 1 is, selects a relay process of carrying out message from a described above Tandem Gateway according to load balancing; Like this, when the communication connection number is more, can avoid some message to can not get relay process and the appearance of the idle situation of some Tandem Gateway, therefore can be under the prerequisite of the relay process efficiency that keeps message, improve most possibly the utilance of an above Tandem Gateway, thereby can guarantee the optimum of communication efficiency, stability and Tandem Gateway installation cost.
It should be noted that, when the reasons such as the communication connection number increases cause the dilatation of Tandem Gateway device, the number of Tandem Gateway also can increase thereupon, now, load balancing also can be carried out according to newly-increased Tandem Gateway again the dispense flow rate of coming of equal horizontal stroke, can not give the single too large pressure of Tandem Gateway increase like this, keep the stability of communication.
In actual applications, the equipment brand that realizes load balancing specifically can comprise: F5, Radware, Array, A10, Cisco, SINFOR and China's innovation etc.; Certainly, the said equipment brand is not as the application's application restric-tion.
With reference to Fig. 4, show the flow chart of a kind of communication means embodiment 4 of the application, described method is transmitted data by the Tandem Gateway device between application server and client, and the recipient is application server, the number of described application server is more than one, and described method specifically can comprise:
Step 401, Tandem Gateway device, according to the communication connection to transmit leg, receive the message from transmit leg;
Step 402, Tandem Gateway device are resolved the content of described message, specifically can comprise the communication protocol of transmit leg in the analysis result obtained;
Step 403, Tandem Gateway device are assembled described message according to the communication protocol of described transmit leg, obtain and the corresponding message of the communication protocol of application server;
Step 404, Tandem Gateway device are selected one according to load balancing from a described above application server;
Step 405, Tandem Gateway device, according to the communication connection to application server, are sent to selected application server by described with the corresponding message of communication protocol application server.
One of difference of embodiment 4 and embodiment 1 is, selects a Business Processing of carrying out message from a described above application server according to load balancing; Like this, when the communication connection number is more, can avoid some message to can not get Business Processing and the appearance of the idle situation of some application server, therefore can be under the prerequisite of the Business Processing efficiency that keeps message, improve most possibly the utilance of an above application server, thereby can guarantee the optimum of communication efficiency, stability and application server cost.
With reference to Fig. 5, show the flow chart of a kind of communication means embodiment 5 of the application, described method will, from the transfer of data of client to application server, specifically can comprise by the Tandem Gateway device:
After step 501, Tandem Gateway device start, be created to the long connection that connects each application server according to configuration;
Step 502, Tandem Gateway device receive the connection request of client by listening port;
Step 503, Tandem Gateway device are according to load balancing, and from a plurality of Tandem Gateways, this connection request is processed in one of random selection;
Step 504, selected this Tandem Gateway are resolved and the corresponding message of this connection request, in the analysis result obtained, specifically can comprise communication protocol, type of message and type of service;
Step 505, selected this Tandem Gateway, according to the analysis result of message, re-assembly the corresponding message of communication protocol, type of message obtained with application server;
Step 506, selected this Tandem Gateway, according to IP and the port of message, judge the communication connection whether mutually required client is arranged in buffer memory, if perform step 507, otherwise perform step 508;
Step 507, selected this Tandem Gateway are usingd the current time as in buffer memory, arriving the connection update time of the communication connection of client;
Step 508, selected this Tandem Gateway will be put into buffer memory with the communication connection of the mutually required client of this message;
Step 509, selected this Tandem Gateway, according to the type of service of message, are determined the application server that this message is corresponding;
Step 510, selected this Tandem Gateway, according to the load balancing principle, are selected one and are processed this message from a plurality of application servers;
Step 511, selected this Tandem Gateway, according to the communication connection to application server, are sent to selected application server by this message.
With reference to Fig. 6, show the flow chart of a kind of communication means embodiment 6 of the application, described method by the Tandem Gateway device by the back message using transfer of data of application server to client, specifically can comprise:
After step 601, Tandem Gateway device start, be created to the long connection that connects each application server according to configuration;
Step 602, Tandem Gateway device receive the back message using that application server returns;
Step 603, Tandem Gateway device are according to load balancing, and from a plurality of Tandem Gateways, this back message using is processed in one of random selection;
Step 604, selected this Tandem Gateway are resolved this back message using, in the analysis result obtained, specifically can comprise communication protocol, type of message;
Step 605, selected this Tandem Gateway be according to the analysis result of message, re-assembly obtain and the corresponding assembling of communication protocol, type of message of responded client after back message using;
IP and the port of the client of responding of storing in step 606, the header of selected this Tandem Gateway according to back message using after this assembling, judge in buffer memory and whether have the corresponding communication connection to the client of responding, if perform step 607, otherwise perform step 608;
Step 607, selected this Tandem Gateway, according to the communication connection to the client of responding, return to responded client by back message using after this assembling;
Step 608, selected this Tandem Gateway are created to the communication connection of responded client again, and back message using after this assembling is returned to responded client.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part described in detail in certain embodiment, can get final product referring to the associated description of other embodiment.
And, those skilled in the art are easy to expect: above-described embodiment 1-embodiment 6 combination in any application are all feasible, therefore the combination in any between above-described embodiment 1-embodiment 6 is all embodiment of the present invention, but this specification has not just described in detail one by one at this as space is limited.
With reference to Fig. 7, show the structure chart of a kind of Tandem Gateway device of the application embodiment, it,, between application server and client, transmitting data, specifically can comprise:
Receiver module 701, for the communication connection according to transmit leg, receive the message from transmit leg;
Parsing module 702, for resolving the content of described message, the analysis result obtained comprises the communication protocol of transmit leg;
Knockdown block 703, assembled described message for the communication protocol according to described transmit leg, obtains and the corresponding message of recipient's communication protocol; And
Sending module 704, for the communication connection according to the recipient, be sent to the recipient by described with the corresponding message of the communication protocol recipient.
In a preferred embodiment of the present application, described Tandem Gateway device can also comprise:
Cache module is stored the communication connection to transmit leg that maintenance do not close and one or more to recipient's communication connection for adopting buffer memory temporarily;
Described receiver module 701, specifically for the communication connection to transmit leg in the foundation buffer memory, receive the message from transmit leg;
Described sending module 704, specifically for the communication connection to the recipient in the foundation buffer memory, be sent to the recipient by described with the corresponding message of the communication protocol recipient.
In another preferred embodiment of the present application, described Tandem Gateway device can also comprise:
An above Tandem Gateway; And
The first load balancing module, be connected between transmit leg and a described above Tandem Gateway, for according to load balancing, from a described above Tandem Gateway, selecting one;
Wherein, described Tandem Gateway may further include described parsing module, Knockdown block and sending module, for working when being selected by described the first load balancing module.
In another preferred embodiment of the application, described recipient is application server, and the number of described application server is more than one, and described Tandem Gateway device can also comprise:
The second load balancing module, be connected with a described above application server, for according to load balancing, from a described above application server, selecting one;
Described sending module 704, can, specifically for the communication connection according to application server, be sent to selected application server by described with the corresponding message of communication protocol application server.
In a preferred embodiment of the present application, described Tandem Gateway device can also comprise:
Connect determination module update time, during for the message receiving from transmit leg, if there is the communication connection of transmit leg in buffer memory, using the current time as in buffer memory to connection update time of the communication connection of transmit leg;
The timing detection module, for regularly detecting the connection update time of buffer memory;
The first removing module while for the difference in described connection update time and current time, being greater than the preset time interval, is deleted the corresponding communication connection to transmit leg in buffer memory.
In another preferred embodiment of the present application, described Tandem Gateway device can also comprise:
The second removing module, be greater than preset heartbeat detection during the time interval for resting period of the communication connection when to transmit leg, and the Tandem Gateway device is deleted the corresponding communication connection to transmit leg in buffer memory.
In a preferred embodiment of the present application, described Tandem Gateway device can also comprise:
Connect storage module, during for the message receiving from transmit leg, if there is not the communication connection of transmit leg in buffer memory, the communication connection that will arrive transmit leg is put to buffer memory; And/or
Connect acquisition module, described and the corresponding message of the communication protocol recipient for foundation, obtain the corresponding communication connection to the recipient in buffer memory, and be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient of obtaining.
In a preferred embodiment of the present application, described receiver module 701 may further include:
Monitor submodule, the communication connection for according to transmit leg, receive the message from transmit leg by listening port.
In another preferred embodiment of the present application, described transmit leg is client, and described recipient is application server, and described Tandem Gateway device can also comprise:
The application server determination module, for the type of service of the corresponding message of communication protocol according to application server, determine corresponding application server;
Described sending module 704, can, specifically for the communication connection according to application server, be sent to determined application server by described with the corresponding message of communication protocol application server.
In another preferred embodiment of the application, can also comprise the type of message of transmit leg in described analysis result;
Described Knockdown block 703, also can be used for according to communication protocol and the type of message of described transmit leg, described message being assembled, and obtains communication protocol and the corresponding message of type of message with the recipient;
Described sending module 704, also can be used for according to the communication connection to the recipient, by described, with communication protocol and the corresponding message of the type of message recipient, is sent to the recipient.
With reference to Fig. 8, show the structure chart of a kind of application server embodiment of the application, specifically can comprise:
Sending module 801, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
Receiver module 802, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
With reference to Fig. 9, show the structure chart of a kind of client implementation example of the application, specifically can comprise:
Sending module 901, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
Receiver module 902, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
With reference to Figure 10, show the structure chart of a kind of communication system embodiment of the application, specifically can comprise: application server 1001, client 1002 and Tandem Gateway device 1003, wherein, described Tandem Gateway device 1003 may further include:
Receiver module 1031, for the communication connection according to transmit leg, receive the message from transmit leg;
Parsing module 1032, for resolving the content of described message, the analysis result obtained comprises the communication protocol of transmit leg;
Knockdown block 1033, assembled described message for the communication protocol according to described transmit leg, obtains and the corresponding message of recipient's communication protocol; And
Sending module 1034, for the communication connection according to the recipient, be sent to the recipient by described with the corresponding message of the communication protocol recipient.
In a preferred embodiment of the present application, described application server 1001 specifically can comprise:
The first sending module, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
The first receiver module, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
In another preferred embodiment of the present application, described client 1002 specifically can comprise:
The second sending module, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
The second receiver module, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Those skilled in the art should understand, the application's embodiment can be provided as method, system or computer program.Therefore, the application can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the application can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
The application describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present application.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the application's preferred embodiment, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the application's scope.
Above a kind of communication means that the application is provided and system, a kind of Tandem Gateway device, a kind of application server and a kind of client, be described in detail, applied specific case herein the application's principle and execution mode are set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, the thought according to the application, all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the application.

Claims (23)

1. a communication means, is characterized in that, by the Tandem Gateway device, between application server and client, transmits data, and described method comprises:
The Tandem Gateway device, according to the communication connection to transmit leg, receives the message from transmit leg;
The Tandem Gateway device is resolved the content of described message, and the analysis result obtained comprises the communication protocol of transmit leg;
The Tandem Gateway device is assembled described message according to the communication protocol of described transmit leg, obtains and the corresponding message of recipient's communication protocol;
The Tandem Gateway device, according to the communication connection to the recipient, is sent to the recipient by described with the corresponding message of the communication protocol recipient.
2. the method for claim 1, is characterized in that, also comprises:
The Tandem Gateway device adopts buffer memory to store the communication connection to transmit leg that maintenance do not close and one or more in recipient's communication connection temporarily;
The Tandem Gateway device, according to the communication connection to transmit leg in buffer memory, receives the message from transmit leg;
The Tandem Gateway device, according to the communication connection to the recipient in buffer memory, is sent to the recipient by described with the corresponding message of the communication protocol recipient.
3. the method for claim 1, is characterized in that, described Tandem Gateway device comprises an above Tandem Gateway, and described method also comprises:
The Tandem Gateway device is selected one according to load balancing from a described above Tandem Gateway;
Selected Tandem Gateway is resolved the content of described message, and the analysis result obtained comprises the communication protocol of transmit leg;
Selected Tandem Gateway is assembled described message according to the communication protocol of described transmit leg, obtains and the corresponding message of recipient's communication protocol;
Selected Tandem Gateway, according to the communication connection to the recipient, is sent to the recipient by described with the corresponding message of the communication protocol recipient.
4. the method for claim 1, is characterized in that, described recipient is application server, and the number of described application server is more than one, and described method also comprises:
The Tandem Gateway device is selected one according to load balancing from a described above application server;
The Tandem Gateway device, according to the communication connection to application server, is sent to selected application server by described with the corresponding message of communication protocol application server.
5. method as claimed in claim 2, is characterized in that, also comprises:
The Tandem Gateway device when the message received from transmit leg, if there is the communication connection of transmit leg in buffer memory, using the current time as in buffer memory to connection update time of the communication connection of transmit leg;
The Tandem Gateway device regularly detects the connection update time in buffer memory, if the difference of described connection update time and current time is greater than the preset time interval, in buffer memory, deletes the corresponding communication connection to transmit leg.
6. method as claimed in claim 2, is characterized in that, also comprises:
Be greater than preset heartbeat detection during the time interval when the resting period of the communication connection to transmit leg, the Tandem Gateway device is deleted the corresponding communication connection to transmit leg in buffer memory.
7. method as claimed in claim 2, is characterized in that, also comprises:
The Tandem Gateway device is when the message received from transmit leg, if there is not the communication connection of transmit leg in buffer memory, the communication connection that will arrive transmit leg is put to buffer memory; And/or
The Tandem Gateway device is according to the described and corresponding message of the communication protocol recipient, obtain the corresponding communication connection to the recipient in buffer memory, and be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient of obtaining.
8. the method for claim 1, is characterized in that, described Tandem Gateway device is according to the communication connection to transmit leg, and reception further comprises from the step of the message of transmit leg:
Described Tandem Gateway device, according to the communication connection to transmit leg, receives the message from transmit leg by listening port.
9. the method for claim 1, is characterized in that, described transmit leg is client, and described recipient is application server, and described method also comprises:
The Tandem Gateway device, according to the type of service of the corresponding message of communication protocol with application server, is determined corresponding application server;
The Tandem Gateway device, according to the communication connection to application server, is sent to determined application server by described with the corresponding message of communication protocol application server.
10. the method for claim 1, is characterized in that, also comprises the type of message of transmit leg in described analysis result; Described method also comprises:
The Tandem Gateway device is assembled described message according to communication protocol and the type of message of described transmit leg, obtains communication protocol and the corresponding message of type of message with the recipient;
The Tandem Gateway device, according to the communication connection to the recipient, is sent to the recipient by described with communication protocol and the corresponding message of the type of message recipient.
11. a Tandem Gateway device, is characterized in that, it,, between application server and client, transmitting data, comprising:
Receiver module, for the communication connection according to transmit leg, receive the message from transmit leg;
Parsing module, for resolving the content of described message, the analysis result obtained comprises the communication protocol of transmit leg;
Knockdown block, assembled described message for the communication protocol according to described transmit leg, obtains and the corresponding message of recipient's communication protocol; And
Sending module, for the communication connection according to the recipient, be sent to the recipient by described with the corresponding message of the communication protocol recipient.
12. Tandem Gateway device as claimed in claim 11, is characterized in that, also comprises:
Cache module is stored the communication connection to transmit leg that maintenance do not close and one or more to recipient's communication connection for adopting buffer memory temporarily;
Described receiver module, specifically for the communication connection to transmit leg in the foundation buffer memory, receive the message from transmit leg;
Described sending module, specifically for the communication connection to the recipient in the foundation buffer memory, be sent to the recipient by described with the corresponding message of the communication protocol recipient.
13. Tandem Gateway device as claimed in claim 11, is characterized in that, described Tandem Gateway device also comprises:
An above Tandem Gateway; And
The first load balancing module, be connected between transmit leg and a described above Tandem Gateway, for according to load balancing, from a described above Tandem Gateway, selecting one;
Wherein, described Tandem Gateway further comprises described parsing module, Knockdown block and sending module, for working when being selected by described the first load balancing module.
14. Tandem Gateway device as claimed in claim 11, is characterized in that, described recipient is application server, and the number of described application server is more than one, and described Tandem Gateway device also comprises:
The second load balancing module, be connected with a described above application server, for according to load balancing, from a described above application server, selecting one;
Described sending module, specifically for the communication connection according to application server, be sent to selected application server by described with the corresponding message of communication protocol application server.
15. Tandem Gateway device as claimed in claim 12, is characterized in that, also comprises:
Connect determination module update time, during for the message receiving from transmit leg, if there is the communication connection of transmit leg in buffer memory, using the current time as in buffer memory to connection update time of the communication connection of transmit leg;
The timing detection module, for regularly detecting the connection update time of buffer memory;
The first removing module while for the difference in described connection update time and current time, being greater than the preset time interval, is deleted the corresponding communication connection to transmit leg in buffer memory.
16. Tandem Gateway device as claimed in claim 12, is characterized in that, also comprises:
The second removing module, be greater than preset heartbeat detection during the time interval for resting period of the communication connection when to transmit leg, and the Tandem Gateway device is deleted the corresponding communication connection to transmit leg in buffer memory.
17. Tandem Gateway device as claimed in claim 12, is characterized in that, also comprises:
Connect storage module, during for the message receiving from transmit leg, if there is not the communication connection of transmit leg in buffer memory, the communication connection that will arrive transmit leg is put to buffer memory; And/or
Connect acquisition module, described and the corresponding message of the communication protocol recipient for foundation, obtain the corresponding communication connection to the recipient in buffer memory, and be sent to recipient by described with the corresponding message of the communication protocol recipient according to the communication connection to the recipient of obtaining.
18. Tandem Gateway device as claimed in claim 11, is characterized in that, described receiver module further comprises:
Monitor submodule, the communication connection for according to transmit leg, receive the message from transmit leg by listening port.
19. Tandem Gateway device as claimed in claim 11, is characterized in that, described transmit leg is client, and described recipient is application server, and described Tandem Gateway device also comprises:
The application server determination module, for the type of service of the corresponding message of communication protocol according to application server, determine corresponding application server;
Described sending module, specifically for the communication connection according to application server, be sent to determined application server by described with the corresponding message of communication protocol application server.
20. Tandem Gateway device as claimed in claim 11, is characterized in that, also comprises the type of message of transmit leg in described analysis result;
Described Knockdown block, also assembled described message for communication protocol and type of message according to described transmit leg, obtains communication protocol and the corresponding message of type of message with the recipient;
Described sending module, also for the communication connection according to the recipient, be sent to the recipient by described with communication protocol and the corresponding message of the type of message recipient.
21. an application server, is characterized in that, comprising:
Sending module, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
Receiver module, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
22. a client, is characterized in that, comprising:
Sending module, the communication connection for according to the Tandem Gateway device, will be sent to described Tandem Gateway device with the corresponding message of self communication protocol; And/or
Receiver module, for the communication connection according to the Tandem Gateway device, receive and the corresponding message of self communication protocol from described Tandem Gateway device.
23. a communication system, is characterized in that, comprises the described Tandem Gateway device of any one in application server, client and aforementioned claim 11 to 20.
CN2012101753729A 2012-05-30 2012-05-30 Communication method, communication system, relay gateway device, application server and client side Pending CN103457843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101753729A CN103457843A (en) 2012-05-30 2012-05-30 Communication method, communication system, relay gateway device, application server and client side

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101753729A CN103457843A (en) 2012-05-30 2012-05-30 Communication method, communication system, relay gateway device, application server and client side

Publications (1)

Publication Number Publication Date
CN103457843A true CN103457843A (en) 2013-12-18

Family

ID=49739820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101753729A Pending CN103457843A (en) 2012-05-30 2012-05-30 Communication method, communication system, relay gateway device, application server and client side

Country Status (1)

Country Link
CN (1) CN103457843A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144797A (en) * 2014-01-24 2015-12-09 华为技术有限公司 Service data transmission method and apparatus
CN106413123A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Data transmission method and device
CN106656998A (en) * 2016-11-09 2017-05-10 腾讯科技(深圳)有限公司 Server communication method and device
WO2017166096A1 (en) * 2016-03-30 2017-10-05 李昕光 Server front positioning method
WO2017166097A1 (en) * 2016-03-30 2017-10-05 李昕光 Server front positioning method
WO2017166099A1 (en) * 2016-03-30 2017-10-05 李昕光 Server front positioning method
CN107302750A (en) * 2017-06-21 2017-10-27 北京船舶通信导航有限公司 A kind of marine satellite terminal positional information acquisition method and system
CN107529229A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 The method of data transfer, apparatus and system
CN107819699A (en) * 2017-10-31 2018-03-20 普天东方通信集团有限公司 The processing method and system of a kind of data service
CN108737471A (en) * 2017-04-20 2018-11-02 苏宁云商集团股份有限公司 A kind of Network Access Method and device
CN108769017A (en) * 2018-05-29 2018-11-06 杭州字符串科技有限公司 A kind of data communications method and device
CN109218448A (en) * 2018-10-31 2019-01-15 江苏本能科技有限公司 Transit equipment communication means and system
CN110113343A (en) * 2019-05-13 2019-08-09 福建中润电子科技有限公司 A kind of method and system obtaining data of set top box
CN110235100A (en) * 2017-01-27 2019-09-13 住友电气工业株式会社 Vehicular communication system, gateway, switch, communication control method and communication control program
CN110581843A (en) * 2019-08-21 2019-12-17 浙江大学 Mimic Web gateway multi-application flow directional distribution method
CN114448719A (en) * 2022-03-08 2022-05-06 中国工商银行股份有限公司 Message interaction method, device and system
CN114866624A (en) * 2022-03-25 2022-08-05 深圳市国电科技通信有限公司 Data transmission method, electronic device and storage medium
CN116074225A (en) * 2023-03-28 2023-05-05 浙江大丰数艺科技有限公司 Cross-media multidimensional sensor signal data interaction method, system and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043478A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Service gateway and method for realizing message safe process
CN101534302A (en) * 2009-04-16 2009-09-16 杭州华三通信技术有限公司 Method for providing TCP service, system and relevant device thereof
CN101711048A (en) * 2009-11-13 2010-05-19 西安电子科技大学 Method for choosing gateway in integrating process of mobile self-organization network and Internet
CN101772058A (en) * 2008-12-30 2010-07-07 华为技术有限公司 Method, device and system for managing path in system architecture evolution architecture
CN101826979A (en) * 2010-02-26 2010-09-08 中山大学 Intelligent home appliance system
CN102104528A (en) * 2009-12-21 2011-06-22 中国移动通信集团山西有限公司 Network system applied in rural area and service message transmission method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043478A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Service gateway and method for realizing message safe process
CN101772058A (en) * 2008-12-30 2010-07-07 华为技术有限公司 Method, device and system for managing path in system architecture evolution architecture
CN101534302A (en) * 2009-04-16 2009-09-16 杭州华三通信技术有限公司 Method for providing TCP service, system and relevant device thereof
CN101711048A (en) * 2009-11-13 2010-05-19 西安电子科技大学 Method for choosing gateway in integrating process of mobile self-organization network and Internet
CN102104528A (en) * 2009-12-21 2011-06-22 中国移动通信集团山西有限公司 Network system applied in rural area and service message transmission method
CN101826979A (en) * 2010-02-26 2010-09-08 中山大学 Intelligent home appliance system

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144797A (en) * 2014-01-24 2015-12-09 华为技术有限公司 Service data transmission method and apparatus
CN105144797B (en) * 2014-01-24 2019-12-24 华为技术有限公司 Service data transmission method and device
CN106413123A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Data transmission method and device
CN106413123B (en) * 2015-07-31 2019-11-22 腾讯科技(深圳)有限公司 Data transmission method and device
WO2017166096A1 (en) * 2016-03-30 2017-10-05 李昕光 Server front positioning method
WO2017166099A1 (en) * 2016-03-30 2017-10-05 李昕光 Server front positioning method
WO2017166097A1 (en) * 2016-03-30 2017-10-05 李昕光 Server front positioning method
CN107529229A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 The method of data transfer, apparatus and system
CN107529229B (en) * 2016-06-21 2021-08-31 中兴通讯股份有限公司 Data transmission method, device and system
CN106656998B (en) * 2016-11-09 2019-12-17 腾讯科技(深圳)有限公司 server communication method and device
CN106656998A (en) * 2016-11-09 2017-05-10 腾讯科技(深圳)有限公司 Server communication method and device
CN110235100B (en) * 2017-01-27 2023-11-28 住友电气工业株式会社 Vehicle-mounted communication system, gateway, switching device, communication control method, and communication control program
CN110235100A (en) * 2017-01-27 2019-09-13 住友电气工业株式会社 Vehicular communication system, gateway, switch, communication control method and communication control program
CN108737471A (en) * 2017-04-20 2018-11-02 苏宁云商集团股份有限公司 A kind of Network Access Method and device
CN108737471B (en) * 2017-04-20 2021-05-28 深圳市云网万店科技有限公司 Network access method and device
CN107302750A (en) * 2017-06-21 2017-10-27 北京船舶通信导航有限公司 A kind of marine satellite terminal positional information acquisition method and system
CN107819699A (en) * 2017-10-31 2018-03-20 普天东方通信集团有限公司 The processing method and system of a kind of data service
CN108769017A (en) * 2018-05-29 2018-11-06 杭州字符串科技有限公司 A kind of data communications method and device
CN109218448A (en) * 2018-10-31 2019-01-15 江苏本能科技有限公司 Transit equipment communication means and system
CN110113343A (en) * 2019-05-13 2019-08-09 福建中润电子科技有限公司 A kind of method and system obtaining data of set top box
CN110581843A (en) * 2019-08-21 2019-12-17 浙江大学 Mimic Web gateway multi-application flow directional distribution method
CN114448719A (en) * 2022-03-08 2022-05-06 中国工商银行股份有限公司 Message interaction method, device and system
CN114448719B (en) * 2022-03-08 2024-04-05 中国工商银行股份有限公司 Message interaction method, device and system
CN114866624A (en) * 2022-03-25 2022-08-05 深圳市国电科技通信有限公司 Data transmission method, electronic device and storage medium
CN116074225A (en) * 2023-03-28 2023-05-05 浙江大丰数艺科技有限公司 Cross-media multidimensional sensor signal data interaction method, system and medium
CN116074225B (en) * 2023-03-28 2023-06-23 浙江大丰数艺科技有限公司 Cross-media multidimensional sensor signal data interaction method, system and medium

Similar Documents

Publication Publication Date Title
CN103457843A (en) Communication method, communication system, relay gateway device, application server and client side
Glaroudis et al. Survey, comparison and research challenges of IoT application protocols for smart farming
CN102469124B (en) Based on the implementation method of the mobile Internet business of AOG, gateway, agency and system
CN105075216B (en) Identify original ip address and client port connection
CN102790798B (en) Transparent proxy implementation, equipment and system in a kind of content distributing network
JP5898980B2 (en) Method, system, and storage medium for managing multiple queues of non-persistent messages in a network environment
CN108200165B (en) Request Transmission system, method, apparatus and storage medium
CN102638582B (en) Data communicating method and communication end
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN103312807B (en) Data transmission method, apparatus and system
CN103051709A (en) Data transmission path determination method, network node and content delivery network system
CN104811459A (en) Processing method, processing device and system for message services and message service system
CN104010039A (en) Multi-radar remote monitoring system and method based on WebSocket
CN110661871B (en) Data transmission method and MQTT server
CN104539531A (en) Data transmission method and device
CN109639782A (en) Message sends platform, method
CN103475654A (en) Method for optimizing network paths, equipment and network system
CN109905409A (en) Things-internet gateway real time bidirectional communication system based on Socket.IO
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN109327513A (en) Exchange method, device and computer readable storage medium
CN102394880A (en) Method and device for processing jump response in content delivery network
CN108683653A (en) A kind of active message push system based on WebSocket
US10958712B2 (en) Enhanced reliability for information services
CN103560937B (en) Data access method and portal server
US20110295956A1 (en) Transport Cost Optimization For Enterprise Service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131218

RJ01 Rejection of invention patent application after publication