CN102546794B - Method for directly communicating browser client with back-end server as well as gateway and communication system - Google Patents

Method for directly communicating browser client with back-end server as well as gateway and communication system Download PDF

Info

Publication number
CN102546794B
CN102546794B CN201110456297.9A CN201110456297A CN102546794B CN 102546794 B CN102546794 B CN 102546794B CN 201110456297 A CN201110456297 A CN 201110456297A CN 102546794 B CN102546794 B CN 102546794B
Authority
CN
China
Prior art keywords
end server
address
browser client
port
gateway
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
CN201110456297.9A
Other languages
Chinese (zh)
Other versions
CN102546794A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110456297.9A priority Critical patent/CN102546794B/en
Priority to PCT/CN2012/075776 priority patent/WO2013097401A1/en
Publication of CN102546794A publication Critical patent/CN102546794A/en
Application granted granted Critical
Publication of CN102546794B publication Critical patent/CN102546794B/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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method for directly communicating a browser client with a back-end server as well as a gateway and a communication system, aiming to improve the resource utilization rate while realizing end-to-end full-duplex communication between the browser client and the back-end server. The method comprises the following steps of: receiving a user request message sent by the browser client through a transmission control protocol (TCP) connection between the gateway and the browser client; inquiring a message forwarding table according to the IP (Internet Protocol) address and port of the browser client to obtain the IP address and port, which are relevant to the IP address and port of the browser client, of the back-end server; and sending the user request message to the back-end server corresponding to the IP address and port of the back-end server through the TCP connection between the gateway and the back-end server. According to the method provided by the invention, the protocol conversion between an HTTP (Hyper Text Transport Protocol) and the back-end server is realized without consuming extra resources, thereby saving the expenses.

Description

Method, gateway and communication system that browser client and back-end server lead directly to
Technical field
The present invention relates to the communications field, particularly relate to method, gateway and communication system that browser client and back-end server are straight-through.
Background technology
Real-Time Web is the class internet, applications in Web2.0 system, and its Typical Representative mainly comprises social network sites Facebook and the twitter microblogging of the Internet.Such as social network sites Facebook and twitter microblogging this type of Real-Time Web application in, Website server needs in real time output (Feed) information of user good friend to be initiatively pushed to user, makes to produce whenever and wherever possible between user and good friend thereof, share and content of consumption.The Web application such as other are such as monitored, instant messaging and Flash Quote system also need server that the change that backstage occurs is sent to client in real time.It can thus be appreciated that the principal character of Real-Time Web application is high interactivity and real-time, be namely starved of provide end to end between browser and back-end server, the real time communication of two-way (full duplex).
Existing browser and the back-end server real-time, interactive of realizing obtains real-time update information approach and has based on HTML (Hypertext Markup Language) (Hypertext Transfer Protocol, HTTP) poll (Polling) with based on long " server push " technology (i.e. Comet technology) etc. connected of HTTP.Below to be polled as example based on HTTP, illustrate that the browser that prior art provides and back-end server real-time, interactive obtain real-time update information approach, comprise the steps:
S11, browser is connected to Web Application Server by Web, and sends HTTP request based on HTTP to Web Application Server;
S12, Web Application Server receives and resolves the HTTP request of browser, HTTP request is converted to calling its expansion customized application service routine;
S13, expansion customized application service routine resolves Web applied logic and agreement, and is the standard A PI to back-end server or message call by these Web applied logics and protocol conversion;
S14, expansion customized application service routine calls corresponding information client side program, such as, RSS (Really Simple Syndication) client, JMS (Java Message Service) client, EJB (Enterprise Java Bean) client or XMPP (The Extensible Messaging and Presence Protocol) client-side program, the TCP/IP setting up a full duplex is connected to back-end server, and mutual based on corresponding messaging protocol, obtain lastest imformation from back-end server;
S14, browser is based on HTTP poll to Web server request, or Web server uses Comet technology that information is sent to browser display.
The browser that above-mentioned prior art provides and back-end server real-time, interactive obtain in real-time update information approach, session between browser and Web Application Server and the session between Web Application Server and back-end server are that complete independent sum isolates, therefore, there is following defect in above-mentioned prior art:
1) serious waste of resources.Because the information that carries of http protocol adopted often only has several byte, and HTTP excessive (nearly 1K), namely invalid information load is many, therefore, frequently poll cause system bandwidth consumption large, postpone high;
2) system has performance bottleneck.Because the Web server between browser and back-end server needs to run main service logic and calculating, therefore, the performance of Web server becomes the performance bottleneck of system;
3) full-duplex communication end to end cannot be realized.Communicating between browser with Web Application Server is based on http protocol, and such as traditional HTTP poll or Comet technology, to obtain real time information; Because traditional HTTP poll is half-duplex, Comet technology based on http protocol needs to connect at two to realize two-way communication, therefore compare and expend server resource, the communication of full duplex end to end cannot be realized well between browser and back-end server.
Summary of the invention
Method, gateway and communication system that the embodiment of the present invention provides browser client and back-end server to lead directly to, improve resource utilization to realize full-duplex communication end to end between browser client and back-end server while.
A kind of method that the embodiment of the present invention provides browser client and back-end server to lead directly to, described method comprises: be connected the subscription request message receiving browser client and send with the transmission control protocol TCP of browser client by gateway, described subscription request message comprises: the IP address of described browser client and port;
Transmit according to the IP address of described browser client and interface querying message, obtain and the IP address of the IP address of described browser client and the back-end server of port association and port;
According to IP address and the port of described back-end server, connected by gateway and the TCP of described back-end server and described subscription request message is sent to and the IP address of described back-end server and back-end server corresponding to port.
The embodiment of the present invention provides a kind of gateway, and described gateway comprises:
Receiver module, for being connected the subscription request message receiving browser client and send with the transmission control protocol TCP of browser client by gateway, described subscription request message comprises: the IP address of described browser client and port;
First acquisition module, for transmitting according to the IP address of described browser client and interface querying message, obtains and the IP address of the IP address of described browser client and the back-end server of port association and port;
Sending module, for according to the IP address of described back-end server and port, is connected by gateway and the TCP of described back-end server and to be sent to by described subscription request message and the IP address of described back-end server and back-end server corresponding to port.
The embodiment of the present invention provides a kind of communication system, and described communication system comprises: browser client, gateway and back-end server;
Described browser client, for sending subscription request message by being connected with the transmission control protocol TCP of described gateway, described subscription request message comprises: the IP address of described browser client and port;
Described gateway, for by being connected the described subscription request message receiving browser client and send with the described TCP of browser client; Transmit according to the IP address of browser client in described subscription request message and interface querying message, obtain and the IP address of the IP address of described browser client and the back-end server of port association and port; According to IP address and the port of described back-end server, described subscription request message is sent to and the IP address of described back-end server and back-end server corresponding to port by connecting with the TCP of described back-end server;
Described back-end server, for receiving the subscription request message of described gateway forwards.From the invention described above embodiment, due to gateway and browser client and back-end server set up to be that TCP is long be connected, on the one hand, browser client can realize full-duplex communication with back-end server, the real time information of browser client is close to issuing time and just can be sent to back-end server in real time, therefore real-time; On the other hand, gateway is connected by TCP to be responsible for forwarding the subscription request message between browser client to back-end server, main service logic and Computation distribution are at browser client and back-end server, gateway does not need to bear main service logic and calculating, without the need to expending the protocol conversion that extra resource realizes between HTTP and back-end server, therefore save expense.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the required accompanying drawing used in prior art or embodiment description below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, other accompanying drawing can also be obtained as these accompanying drawings.
Fig. 1 is the straight-through method flow schematic diagram of the browser client that provides of the embodiment of the present invention and back-end server;
Fig. 2 is browser client in the method that leads directly to of the browser client that provides of the embodiment of the present invention and back-end server, mutual schematic diagram between WebSocket gateway and back-end server;
Fig. 3 is the gateway architecture schematic diagram that the embodiment of the present invention provides;
Fig. 4 is the gateway architecture schematic diagram that another embodiment of the present invention provides;
Fig. 5 is the gateway architecture schematic diagram that another embodiment of the present invention provides;
Fig. 6 is the gateway architecture schematic diagram that another embodiment of the present invention provides;
The communication system architecture schematic diagram that Fig. 7 embodiment of the present invention provides;
Fig. 8 is the communication system physical connection schematic diagram that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain, all belongs to the scope of protection of the invention.
Referring to accompanying drawing 1, is the straight-through method flow schematic diagram of the browser client that provides of the embodiment of the present invention and back-end server.The method of accompanying drawing 1 example is take browser as webpage (Web) browser, gateway is WebSocket gateway, WebSocket gateway be HTML5 standard WebSocket agreement with the communication protocol that browser client, back-end server carry out communicating is that example is carried out, its executive agent can be WebSocket gateway, mainly comprises step:
S101, be connected the subscription request message receiving browser client and send with the transmission control protocol TCP of browser client by gateway, described subscription request message comprises: the IP address of described browser client and port.
Alternatively, described method can also comprise: be connected the handshake request message receiving browser client and send with the TCP of browser client by gateway, and described handshake request message comprises IP address and the port of back-end server; Set up gateway according to described handshake request message to be connected with the TCP of described back-end server; By the IP address of the IP address of described browser client, port and described back-end server, port association, and during described update of incidence relation is transmitted to described message.Wherein, describedly set up gateway according to described handshake request message and to be connected with the TCP of described back-end server and can be: the IP address of the described back-end server that described handshake request message of extracting comprises and port; Set up gateway according to the IP address of described back-end server with port to be connected with the TCP of described back-end server.
In embodiments of the present invention, user is when accessing gateway, and browser client sends an application program download request, from gateway downloads web application to browser client to gateway.After this, user, in order to obtain real time information from back-end server, runs described web application at browser client and connects to ask setting up transmission control protocol (Transmission Control Protocol, TCP) with gateway.
After the TCP connection establishment of browser client and gateway, browser client can be connected to gateway transmission, gateway by this TCP reception subscription request message by this TCP, such as, subscribe request, IP address and port etc. that this subscription request message comprises browser client show the information of information source.In order to improve the efficiency of transmission of messages between browser client and gateway, set up after TCP is connected at browser client and gateway, browser client can send a handshake request message to gateway, and this handshake request message is based on http protocol.Gateway is connected by it handshake request message receiving browser client and send with the TCP of browser client.When gateway to browser client send one shake hands successful response message time, consult successfully between browser client and gateway, between follow-up browser client and gateway is all that sing on web Socket agreement is carried out alternately, and WebSocket protocol message transmits by this TCP connection.The expense of the very little i.e. message of the message header (Head) due to WebSocket protocol message is little, and therefore, adopts http protocol to carry out compared with transmission with browser in prior art and Web Application Server, efficiency wants height; On the other hand, the communication protocol of carrying out communicating due to gateway and browser client, back-end server is HTML5 standard WebSocket agreement instead of privately owned custom protocol, and therefore, versatility is good.
The handshake request message that gateway receives can comprise the information such as communication protocol of the IP address of back-end server, port and described back-end server, wherein, the communication protocol of back-end server is the option in handshake request message, namely handshake request message can not comprise the communication protocol of back-end server, and this information of the communication protocol of back-end server can be pre-configured.The information such as the communication protocol of the IP address of back-end server, port and described back-end server can by forming at newly-increased cell in request message of shaking hands, as follows, be the example of the HTTP Upgrade handshake request message of newly-increased cell in handshake request message:
Wherein, newly-increased cell " DestHost:tcp: //myDestHostAddress:9960 ", namely for stating the communication protocol of the IP address of back-end server, port and described back-end server, in the present embodiment, the communication protocol of back-end server is TCP.
After the handshake request message receiving browser client transmission, gateway is set up it according to described handshake request message and is connected with the TCP of back-end server.Particularly, gateway is extracted the IP address of described back-end server that described handshake request message comprises and port, then sets up gateway according to the IP address of described back-end server and port and is connected to the TCP of described back-end server.
S102, transmits according to the IP address of described browser client and interface querying message, obtains and the IP address of the IP address of described browser client and the back-end server of port association, port.
In embodiments of the present invention, gateway safeguards that a message is transmitted, and when there being new connection establishment, this message can be transmitted and upgrade by gateway.Such as, gateway receive handshake request message and set up accordingly gateway to described back-end server TCP connect after, can updating message transmit, that is, the IP address of described back-end server, port, the communication protocol of described back-end server and the information such as the IP address of described browser client and port is recorded.In the invention process, gateway is set up after gateway is connected with the TCP of described back-end server according to the handshake request message that browser client sends, by the IP address of the IP address of browser client, port and back-end server, port association, and during described update of incidence relation is transmitted to described message.Therefore, message after renewal transmit comprise described back-end server IP address, port, the communication protocol of described back-end server and the information such as the IP address of described browser client and port, and the IP address of described browser client, the IP address of port and described back-end server, port association relation can be recorded.Message is transmitted the meaning recording these incidence relations and is, according to IP address, the port of browser client, transmitted by query messages, the IP address of the back-end server of associated, port can be obtained, otherwise or, according to IP address, the port of back-end server, transmitted by query messages, the IP address of the browser client of associated, port can be obtained.
It should be noted that, because back-end server can be broadcasted, " connect request information; therefore; gateway also can after the request information that connects listening to these broadcast; set up and be connected with the TCP of back-end server, the present invention sets up to gateway the mode be connected with the TCP of back-end server and can not limit.
S103, according to IP address and the port of back-end server, is connected by gateway and the TCP of back-end server and to be sent to by subscription request message and the IP address of described back-end server and back-end server corresponding to port.
When user sends a request message by browser client, gateway receives the request message that browser client sends.Due to the network protocol layer below application layer (such as, IP layer), gateway can parse the communication protocol of the IP address of the back-end server that this request message comprises, port, back-end server, therefore, message after gateway can inquire about described renewal is transmitted, that is, gateway is transmitted according to the IP address of browser client, interface querying message, obtain with the IP address of described browser client and the back-end server of port association IP address and port.Then, according to the described back-end server IP address obtained and port, described request message is sent to the back-end server corresponding with the IP address of described back-end server and port, thus realize being connected by the TCP of described gateway with described back-end server, forward the mutual message between described browser client and described back-end server.
Alternatively, the method that the embodiment of the present invention provides can also comprise: be connected the request response receiving described back-end server and send with the TCP of back-end server by gateway, described request response message comprises: the IP address of described back-end server and port; According to the IP address of described back-end server and interface querying, message is transmitted, and obtains and the IP address of the IP address of described back-end server and the browser client of port association and port; According to IP address and the port of described browser client, connected by gateway and the TCP of described browser client and described request response message is sent to and the IP address of described browser client and browser client corresponding to port.
When back-end server receives the request message by gateway forwards, send request response message to gateway.Gateway is connected by it request response receiving described back-end server and send with the TCP of back-end server, this request response is the response to the subscription request message that browser client sends, wherein comprise IP address and the port of back-end server, the information such as the communication protocol of back-end server can also be comprised.
Due to the network protocol layer below application layer (such as, IP layer), gateway can parse the information such as communication protocol of the IP address of the back-end server that this request response comprises, port and back-end server, therefore, message after gateway can inquire about described renewal is transmitted, namely, gateway is according to the IP address of back-end server and port, the message of inquiring about after described renewal is transmitted, and obtains and the IP address of described back-end server, the IP address of the browser client of port association, port.Then, according to IP address, the port of the described browser client obtained, described request response message is forwarded to the browser client corresponding with the IP address of described browser client and port, thus being connected with the TCP of described browser client of realizing being set up by gateway in advance, forward message mutual between described browser client and described back-end server.
The method that the browser client provided from the invention described above embodiment and back-end server lead directly to, due to gateway and browser client and back-end server can set up to be that TCP is long be connected, on the one hand, browser client can realize full-duplex communication with back-end server, the real time information of browser client is close to issuing time and just can be sent to back-end server in real time, therefore real-time; On the other hand, gateway sends to the subscription request message between back-end server by TCP connection responsible forwarding browser client, main service logic and Computation distribution are at browser client and back-end server, gateway does not need to bear main service logic and calculating, without the need to expending the protocol conversion that extra resource realizes between HTTP and back-end server, therefore save expense.
Below with browser client, mutual between WebSocket gateway and back-end server, and browser client is connected to the request of WebSocket gateway transmission message subscribing by the TCP set up for the new message that pulls subscription, further illustrate the method that browser and back-end server are straight-through, refer to accompanying drawing 2, browser client, mainly comprising alternately between WebSocket gateway and back-end server:
S201, browser client sends web application download request to WebSocket gateway.
Web application download request is when user accesses gateway, and browser client sends to WebSocket gateway after this access request of reception.
Web application is downloaded to browser client by S202, WebSocket gateway.
S203, browser client runs web application.
S204, browser client receives the real time information request message of user's input.
S205, browser client sends handshake request message by web application to WebSocket gateway.
When communicating beginning, browser client can send the handshake request message based on HTTP form to gateway, to ask and gateway negotiation communication agreement.This handshake request message comprises IP address, the port of back-end server, alternatively, can also comprise the communication protocol etc. of described back-end server.The IP address of back-end server, port, alternatively, can also comprise the information such as the communication protocol of described back-end server can, by forming at newly-increased cell in request message of shaking hands, be below the example of the HTTP Upgrade handshake request message of newly-increased cell in handshake request message:
Wherein, newly-increased cell " DestHost:tcp: //myDestHostAddress:9960 ", namely for stating the communication protocol of the IP address of back-end server, port and described back-end server, in the present embodiment, the communication protocol of back-end server is TCP.
S206, WebSocket gateway resolves handshake request message.
Gateway, by resolving handshake request message, the IP address of the described back-end server wherein comprised of extracting and port, is then set up gateway according to the IP address of described back-end server with port and is connected with the TCP of described back-end server, comprising:
S207, WebSocket gateway to the back-end server sends the request of TCP connection establishment.
S208, back-end server returns response message to WebSocket gateway.
S209, WebSocket gateway updating message is transmitted.
Namely, WebSocket gateway records the IP address of described back-end server, port, the communication protocol of described back-end server and the IP address of described browser client and port etc. in message is transmitted, message after renewal transmit comprise described back-end server IP address, port, the communication protocol of described back-end server and the information such as the IP address of described browser client and port, and the IP address of described browser client, the IP address of port and described back-end server, port association relation can be recorded.In this enforcement, gateway is set up after gateway is connected with the TCP of described back-end server according to the handshake request message that browser client sends, by the IP address of the IP address of browser client, port and back-end server, port association, and during described update of incidence relation is transmitted to described message.Therefore, message after renewal transmit comprise described back-end server IP address, port, the communication protocol of described back-end server and the information such as the IP address of described browser client and port, and comprise the IP address of described browser client, the IP address of port and described back-end server, port association relation.Message is transmitted the meaning recording these incidence relations and is, according to IP address, the port of browser client, transmitted by query messages, the IP address of the back-end server of associated, port can be obtained, otherwise or, according to IP address, the port of back-end server, transmitted by query messages, the IP address of the browser client of associated, port can be obtained.
S210, WebSocket gateway sends handshake request response message to browser client.
To the handshake request response message that browser client sends, WebSocket gateway shows that WebSocket gateway is successfully set up TCP with browser client and back-end server and is connected, follow-up browser client can be connected by this TCP with the interacting message of back-end server and carry out.
S211, browser client sends message subscribing request to WebSocket gateway.
For the network protocol layer below application layer, such as, IP layer, this message subscribing request comprises the information such as communication protocol of the IP address of described back-end server, port and described back-end server.
S212, WebSocket gateway resolves this message subscribing request.
Network protocol layer below application layer (such as, IP layer), WebSocket gateway can parse the information such as communication protocol of the IP address of the described back-end server that this message subscribing request comprises, port and described back-end server, therefore, message after WebSocket gateway can upgrade in query steps S209 is transmitted, namely, WebSocket gateway is according to the IP address of browser client and port, query messages is transmitted, and obtains IP address and the port of the back-end server associated with described browser client.
S213, WebSocket gateway to the back-end server sends message subscribing request.
Described message subscribing request, according to the IP address of the back-end server obtained and port, is sent to the back-end server corresponding with the IP address of described back-end server and port by WebSocket gateway.
S214, back-end server sends the request response corresponding to message subscribing request to WebSocket gateway.
For the network protocol layer below application layer, such as, IP layer, the response message corresponding to message subscribing request comprises IP address and the port of back-end server, the information such as the communication protocol of back-end server can also be comprised.
The response message of back-end server is forwarded to browser client by S215, WebSocket gateway.
S216, back-end server sends updating message to WebSocket gateway.
This updating message is the message that message subscribing request pulls subscription.
S217, WebSocket gateway resolves the response message corresponding to message subscribing request.
Due to the network protocol layer below application layer (such as, IP layer), WebSocket gateway can parse the IP address of the described back-end server back-end server that the request response corresponding to message subscribing request comprises, the information such as the communication protocol of port and back-end server, therefore, message after WebSocket gateway can upgrade in query steps S209 is transmitted, namely, WebSocket gateway is according to the IP address of back-end server and port, the message of inquiring about after described renewal is transmitted, obtain the IP address of the browser client associated with described back-end server, port.
S218, WebSocket gateway forwards updating message to browser client.
WebSocket gateway is according to after the IP address of the browser client associated with described back-end server obtained, port, communicated to connect to corresponding browser by the IP address of browser client, interface querying, back-end server in step S216 is forwarded to the browser client corresponding with the IP address of described browser client and port to the updating message that WebSocket gateway sends.
S219, browser client sends the response message corresponding to updating message to WebSocket gateway.
This response message is the confirmation of the updating message to WebSocket gateway forwards.
The response message corresponding to updating message is sent to back-end server by S220, WebSocket gateway.
Referring to accompanying drawing 3, is the gateway architecture schematic diagram that the embodiment of the present invention provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The gateway of accompanying drawing 3 example can be WebSocket gateway, and the communication protocol that itself and browser client, back-end server carry out communicating can be HTML5 standard WebSocket agreement.The gateway of accompanying drawing 3 example comprises receiver module 301, first acquisition module 302 and sending module 303, wherein:
Receiver module 301, for being connected the subscription request message receiving browser client and send with the transmission control protocol TCP of browser client by gateway, described subscription request message comprises: the IP address of described browser client and port;
First acquisition module 302, for transmitting according to the IP address of described browser client and interface querying message, obtains and the IP address of the IP address of described browser client and the back-end server of port association and port;
Sending module 303, for according to the IP address of described back-end server and port, is connected by gateway and the TCP of described back-end server and to be sent to by described subscription request message and the IP address of described back-end server and back-end server corresponding to port.
When user sends a request message by browser client, receiver module 301 receives the request message that browser client sends.Due to the network protocol layer below application layer (such as, IP layer), gateway can parse the communication protocol of the IP address of the back-end server that this request message comprises, port, back-end server, therefore, message after first acquisition module 302 can inquire about described renewal is transmitted, namely, first acquisition module 302 is transmitted according to the IP address of browser client, interface querying message, obtain with the IP address of described browser client and the back-end server of port association IP address and port.Then, sending module 303 is according to the described back-end server IP address obtained and port, described request message is sent to the back-end server corresponding with the IP address of described back-end server and port, thus realize being connected by the TCP of described gateway with described back-end server, forward the mutual message between described browser client and described back-end server.
From the gateway that the invention described above embodiment provides, due to gateway and browser client and back-end server can set up to be that TCP is long be connected, on the one hand, browser client can realize full-duplex communication with back-end server, the real time information of browser client is close to issuing time and just can be sent to back-end server in real time, therefore real-time; On the other hand, gateway sends to the subscription request message between back-end server by TCP connection responsible forwarding browser client, main service logic and Computation distribution are at browser client and back-end server, gateway does not need to bear main service logic and calculating, without the need to expending the protocol conversion that extra resource realizes between HTTP and back-end server, therefore save expense.
It should be noted that, in the execution mode of above gateway, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions distribution is completed by different functional modules, the internal structure by described gateway is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware to complete, such as, aforesaid receiver module, can be have to perform aforementionedly to be connected with the transmission control protocol TCP of browser client the hardware receiving the subscription request message that browser client sends by gateway, such as receiver also can be general processor or other hardware devices that can perform corresponding computer program thus complete aforementioned function; First acquisition module as the aforementioned again, can be have to perform aforementionedly to transmit according to the IP address of described browser client and interface querying message, obtain and the IP address of described browser client and the IP address of the back-end server of port association and the hardware of port function, such as the first getter also can be general processor or other hardware devices (each embodiment that this specification provides all can apply foregoing description principle) that can perform corresponding computer program thus complete aforementioned function.Handshake information receiver module 401, connection establishment module 402 and update module 403 is may further include, as shown in Figure 4 the gateway that provides of another embodiment of the present invention at the gateway of accompanying drawing 3 example, wherein:
Handshake information receiver module 401, for being connected the handshake request message receiving browser client and send with the TCP of browser client by gateway, described handshake request message comprises IP address and the port of back-end server;
In order to improve the efficiency of transmission of messages between browser client and gateway, set up after TCP is connected at browser client and gateway, browser client can send a handshake request message to gateway, and this handshake request message is based on http protocol.Handshake information receiver module 401 is connected the handshake request message receiving browser client and send with the TCP of browser client by gateway.When gateway to browser client send one shake hands successful response message time, consult successfully between browser client and gateway, between follow-up browser client and gateway is all that sing on web Socket agreement is carried out alternately, and WebSocket protocol message transmits by this TCP connection.The expense of the very little i.e. message of the message header (Head) due to WebSocket protocol message is little, and therefore, adopts http protocol to carry out compared with transmission with browser in prior art and Web Application Server, efficiency wants height; On the other hand, the communication protocol of carrying out communicating due to gateway and browser client, back-end server is HTML5 standard WebSocket agreement instead of privately owned custom protocol, and therefore, versatility is good.
The handshake request message that handshake information receiver module 401 receives can comprise the information such as communication protocol of the IP address of back-end server, port and described back-end server, wherein, the communication protocol of back-end server is the option in handshake request message, namely handshake request message can not comprise the communication protocol of back-end server, and this information of the communication protocol of back-end server can be pre-configured.The information such as the communication protocol of the IP address of back-end server, port and described back-end server can by forming at newly-increased cell in request message of shaking hands, as follows, be the example of the HTTP Upgrade handshake request message of newly-increased cell in handshake request message:
Wherein, newly-increased cell " DestHost:tcp: //myDestHostAddress:9960 ", namely for stating the communication protocol of the IP address of back-end server, port and described back-end server, in the present embodiment, the communication protocol of back-end server is TCP.
Connection establishment module 402, is connected with the TCP of described back-end server for setting up gateway according to described handshake request message;
Update module 403, for by the IP address of the IP address of described browser client, port and described back-end server, port association, and in being transmitted to described message by described update of incidence relation.The gateway of accompanying drawing 3 example may further include response message receiver module 501, second acquisition module 502 and response message sending module 503, as shown in Figure 5 the gateway that provides of another embodiment of the present invention, wherein:
Response message receiver module 501, for being connected the request response receiving described back-end server and send with the TCP of back-end server by gateway, described request response message comprises: the IP address of described back-end server and port;
Second acquisition module 502, transmits for message according to the IP address of described back-end server and interface querying, obtains and the IP address of the IP address of described back-end server and the browser client of port association and port;
Response message sending module 503, for according to the IP address of described browser client and port, connected by gateway and the TCP of described browser client and described request response message is sent to and the IP address of described browser client and browser client corresponding to port.
Should be understood that, the gateway of accompanying drawing 4 example also may further include response message receiver module 501, second acquisition module 502 as shown in Figure 5 and response message sending module 503, and function as above, does not repeat them here.
In embodiments of the present invention, gateway safeguards that a message is transmitted, and when there being new connection establishment, this message can be transmitted and upgrade by update module 403.Such as, connection establishment module 402 receive handshake request message and set up accordingly gateway to described back-end server TCP connect after, update module 403 can updating message be transmitted, that is, the IP address of described back-end server, port, the communication protocol of described back-end server and the information such as the IP address of described browser client and port is recorded.In the invention process, connection establishment module 402 is set up after gateway is connected with the TCP of described back-end server according to the handshake request message that browser client sends, update module 403 by the IP address of the IP address of browser client, port and back-end server, port association, and during described update of incidence relation is transmitted to described message.Therefore, message after renewal transmit comprise described back-end server IP address, port, the communication protocol of described back-end server and the information such as the IP address of described browser client and port, and the IP address of described browser client, the IP address of port and described back-end server, port association relation can be recorded.The meaning that message transmits the incidence relation of record is, first acquisition module 302 is according to the IP address of browser client, port, transmitted by query messages, the IP address of the back-end server of associated, port can be obtained, otherwise or, second acquisition module 502, according to the IP address of back-end server, port, is transmitted by query messages, can be obtained the IP address of the browser client of associated, port.
In the gateway of accompanying drawing 4 example, connection establishment module 402 may further include resolution unit 601 and sets up unit 602, as shown in Figure 6 the gateway that provides of another embodiment of the present invention, wherein:
The IP address of the described back-end server that resolution unit 601 comprises for described handshake request message of extracting and port;
Setting up unit 602, being connected with the TCP of described back-end server for setting up gateway according to the IP address of described back-end server with port.
Refer to accompanying drawing 7, a kind of communication system that the embodiment of the present invention provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The communication system of accompanying drawing 7 example comprises the gateway 702 of browser client 701, back-end server 703 and the arbitrary example of accompanying drawing 3 to accompanying drawing 6, wherein:
Browser client 701 for, for sending subscription request message by being connected with the transmission control protocol TCP of described gateway, described subscription request message comprises: the IP address of described browser client and port;
Gateway 702, for for by being connected the described subscription request message receiving browser client and send with the described TCP of browser client; Transmit according to the IP address of browser client in described subscription request message and interface querying message, obtain and the IP address of the IP address of described browser client and the back-end server of port association and port; According to IP address and the port of described back-end server, described subscription request message is sent to and the IP address of described back-end server and back-end server corresponding to port by connecting with the TCP of described back-end server;
Back-end server 703, for receiving the subscription request message of described gateway forwards.
In the communication system of accompanying drawing 7 example, browser client 701 is also for sending handshake request message by being connected with the TCP of described gateway 702, and described handshake request message comprises IP address and the port of described back-end server; Described gateway 702 is also for by being connected the described handshake request message receiving described browser client 701 and send with the TCP of described browser client 701; Set up according to described handshake request message and be connected with the described TCP of described back-end server 703; By the IP address of the IP address of described browser client 701, port and described back-end server, port association, and during described update of incidence relation is transmitted to described message.
In the communication system of accompanying drawing 7 example, back-end server 703 is also for sending request response message by being connected with the TCP of described gateway 702 to described gateway 702, and described request response message comprises: the IP address of described back-end server and port; Described gateway 702 is also for by being connected the request response receiving described back-end server 703 and send with the TCP of described back-end server; According to the IP address of the back-end server 703 in described request response message and interface querying, message is transmitted, and obtains and the IP address of the IP address of described back-end server 703 and the browser client 701 of port association and port; According to IP address and the port of described browser client 701, described request response message is sent to and the IP address of described browser client 701 and browser client corresponding to port by connecting with the TCP of described browser client 701; Described browser client 701 also for: receive described gateway send described request response message.
Accompanying drawing 8 is communication system physical connection (actual deployment) schematic diagrames of accompanying drawing 7 example.The gateway 702 of accompanying drawing 7 example can be WebSocket gateway, adopt WebSocket agreement and browser client mutual, the TCP set up by browser client, back-end server is connected, and forwards real time information mutual between browser client and back-end server.
Implement from the invention described above, due to gateway and browser client and back-end server set up to be that TCP is long be connected, on the one hand, browser client can realize full-duplex communication with back-end server, the real time information of browser client is close to issuing time and just can be sent to back-end server in real time, therefore real-time; On the other hand, gateway is connected by TCP to be responsible for forwarding the subscription request message between browser client to back-end server, main service logic and Computation distribution are at browser client and back-end server, gateway does not need to bear main service logic and calculating, without the need to expending the protocol conversion that extra resource realizes between HTTP and back-end server, therefore save expense.
It should be noted that, the content such as information interaction, implementation between each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content see describing in the inventive method embodiment, can repeat no more herein.
The all or part of step that one of ordinary skill in the art will appreciate that in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, such as following various method one or more or all:
Be connected the subscription request message receiving browser client and send with the transmission control protocol TCP of browser client by gateway, described subscription request message comprises: the IP address of described browser client and port;
Transmit according to the IP address of described browser client and interface querying message, obtain and the IP address of the IP address of described browser client and the back-end server of port association and port;
According to IP address and the port of described back-end server, connected by gateway and the TCP of described back-end server and described subscription request message is sent to and the IP address of described back-end server and back-end server corresponding to port.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
The browser client provided the embodiment of the present invention above and straight-through method, gateway and the communication system of back-end server are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. the method that browser client and back-end server are straight-through, it is characterized in that, described method comprises:
The handshake request message based on http protocol receiving browser client and send is connected by the TCP set up in advance between gateway with browser client, and sending a successful response message of shaking hands to described browser client, described response message is used to indicate between described browser client and described gateway to be consulted successfully; Described handshake request message comprises IP address and the port of back-end server;
Set up gateway according to described handshake request message to be connected with the TCP of described back-end server;
By the IP address of the IP address of described browser client, port and described back-end server, port association, and during described update of incidence relation is transmitted to described message;
Be connected the subscription request message receiving the sing on web Socket agreement that browser client sends by the transmission control protocol TCP set up in advance between gateway with browser client, described subscription request message comprises: the IP address of described browser client and port;
Transmit according to the IP address of described browser client and interface querying message, obtain and the IP address of the IP address of described browser client and the back-end server of port association and port;
According to IP address and the port of described back-end server, connected by gateway and the TCP of described back-end server and described subscription request message is sent to and the IP address of described back-end server and back-end server corresponding to port.
2. method according to claim 1, is characterized in that, described method also comprises:
Be connected the request response receiving described back-end server and send with the TCP of back-end server by gateway, described request response message comprises: the IP address of described back-end server and port;
According to the IP address of described back-end server and interface querying, message is transmitted, and obtains and the IP address of the IP address of described back-end server and the browser client of port association and port;
According to IP address and the port of described browser client, connected by the TCP set up in advance between gateway with described browser client and described request response message is sent to and the IP address of described browser client and browser client corresponding to port.
3. method according to claim 1, is characterized in that, describedly sets up gateway according to described handshake request message and is connected with the TCP of described back-end server, specifically comprises:
The IP address of the described back-end server that described handshake request message of extracting comprises and port;
Set up gateway according to the IP address of described back-end server with port to be connected with the TCP of described back-end server.
4. a gateway, is characterized in that, described gateway comprises:
Handshake information receiver module, the handshake request message based on http protocol receiving browser client and send is connected for the TCP by setting up in advance between gateway with browser client, and sending a successful response message of shaking hands to described browser client, described response message is used to indicate between described browser client and described gateway to be consulted successfully; Described handshake request message comprises IP address and the port of back-end server;
Connection establishment module, is connected with the TCP of described back-end server for setting up gateway according to described handshake request message;
Update module, for by the IP address of the IP address of described browser client, port and described back-end server, port association, and in being transmitted to described message by described update of incidence relation;
Receiver module, be connected the subscription request message receiving the sing on web Socket agreement that browser client sends for the transmission control protocol TCP by setting up in advance between gateway with browser client, described subscription request message comprises: the IP address of described browser client and port;
First acquisition module, for transmitting according to the IP address of described browser client and interface querying message, obtains and the IP address of the IP address of described browser client and the back-end server of port association and port;
Sending module, for according to the IP address of described back-end server and port, is connected by gateway and the TCP of described back-end server and to be sent to by described subscription request message and the IP address of described back-end server and back-end server corresponding to port.
5. gateway as claimed in claim 4, it is characterized in that, described gateway also comprises:
Response message receiver module, for being connected the request response receiving described back-end server and send with the TCP of back-end server by gateway, described request response message comprises: the IP address of described back-end server and port;
Second acquisition module, transmits for message according to the IP address of described back-end server and interface querying, obtains and the IP address of the IP address of described back-end server and the browser client of port association and port;
Response message sending module, for according to the IP address of described browser client and port, connected by the TCP set up in advance between gateway with described browser client and described request response message is sent to and the IP address of described browser client and browser client corresponding to port.
6. gateway as claimed in claim 4, it is characterized in that, described connection establishment module specifically comprises:
Resolution unit, the IP address of the described back-end server comprised for described handshake request message of extracting and port;
Setting up unit, being connected with the TCP of described back-end server for setting up gateway according to the IP address of described back-end server with port.
7. a communication system, is characterized in that, described communication system comprises browser client, gateway and back-end server;
Described browser client, be connected the handshake request message sent based on http protocol for the TCP by setting up in advance between gateway with browser client, described handshake request message comprises IP address and the port of back-end server; By being connected with the transmission control protocol TCP set up in advance between described gateway the subscription request message sending sing on web Socket agreement, described subscription request message comprises: the IP address of described browser client and port;
Described gateway, the handshake request message based on http protocol receiving browser client and send is connected for the TCP by setting up in advance between gateway with browser client, send a successful response message of shaking hands to described browser client, described response message is used to indicate between described browser client and described gateway to be consulted successfully; Described handshake request message comprises IP address and the port of back-end server; Set up gateway according to described handshake request message to be connected with the TCP of described back-end server; By the IP address of the IP address of described browser client, port and described back-end server, port association, and during described update of incidence relation is transmitted to described message; By being connected the subscription request message receiving the described sing on web Socket agreement that browser client sends with the described TCP set up in advance between browser client; Transmit according to the IP address of browser client in described subscription request message and interface querying message, obtain and the IP address of the IP address of described browser client and the back-end server of port association and port; According to IP address and the port of described back-end server, described subscription request message is sent to and the IP address of described back-end server and back-end server corresponding to port by connecting with the TCP of described back-end server;
Described back-end server, for receiving the subscription request message of described gateway forwards.
8. system according to claim 7, is characterized in that,
Described back-end server is also for sending request response message by being connected with the TCP of described gateway to described gateway, and described request response message comprises: the IP address of described back-end server and port;
Described gateway is also for by being connected the request response receiving described back-end server and send with the TCP of described back-end server; According to the IP address of the back-end server in described request response message and interface querying, message is transmitted, and obtains and the IP address of the IP address of described back-end server and the browser client of port association and port; According to IP address and the port of described browser client, described request response message is sent to and the IP address of described browser client and browser client corresponding to port by connecting with the TCP set up in advance between described browser client;
Described browser client also for: receive described gateway send described request response message.
CN201110456297.9A 2011-12-30 2011-12-30 Method for directly communicating browser client with back-end server as well as gateway and communication system Active CN102546794B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110456297.9A CN102546794B (en) 2011-12-30 2011-12-30 Method for directly communicating browser client with back-end server as well as gateway and communication system
PCT/CN2012/075776 WO2013097401A1 (en) 2011-12-30 2012-05-19 Method, gateway and communication system for browser client directly communicating with back-end server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110456297.9A CN102546794B (en) 2011-12-30 2011-12-30 Method for directly communicating browser client with back-end server as well as gateway and communication system

Publications (2)

Publication Number Publication Date
CN102546794A CN102546794A (en) 2012-07-04
CN102546794B true CN102546794B (en) 2015-01-21

Family

ID=46352740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110456297.9A Active CN102546794B (en) 2011-12-30 2011-12-30 Method for directly communicating browser client with back-end server as well as gateway and communication system

Country Status (2)

Country Link
CN (1) CN102546794B (en)
WO (1) WO2013097401A1 (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932436A (en) * 2012-10-19 2013-02-13 广东中科遥感技术有限公司 Remote sensing conference and collaborative plotting system and method, browser and server
CN102984218B (en) * 2012-11-12 2016-08-24 北京奇虎科技有限公司 Browser and login method thereof and system
CN102932471B (en) * 2012-11-12 2015-11-18 北京奇虎科技有限公司 Browser logon server and realize browser log in method and system
CN102938788B (en) * 2012-11-15 2016-03-30 易程科技股份有限公司 The processing method of event and device
CN103023907B (en) * 2012-12-21 2017-12-01 北京奇虎科技有限公司 The method for obtaining site information, equipment and system
CN103118410B (en) * 2013-02-18 2015-10-07 广州市动景计算机科技有限公司 Method of mobile communication, system and the server for mobile communication
CN103546543A (en) * 2013-09-29 2014-01-29 北京京东尚科信息技术有限公司 Client device for electronic commerce and method and system for supplying information
CN104580106A (en) * 2013-10-24 2015-04-29 北大方正集团有限公司 Communication method and communication device
CN103546584B (en) * 2013-11-13 2018-08-14 努比亚技术有限公司 Information-pushing method and system
CN103634382B (en) * 2013-11-20 2019-10-18 科大讯飞股份有限公司 A kind of system and method for realizing real-time, interactive on webpage
CN103945003B (en) * 2014-05-06 2017-06-06 北京邮电大学 A kind of method that WebRTC clients connect dynamic adaptive selection
CN105488095A (en) * 2015-09-30 2016-04-13 小米科技有限责任公司 Search result access method, apparatus and system
CN105391536A (en) * 2015-10-28 2016-03-09 浪潮(北京)电子信息产业有限公司 Communication method and device between client end and service end
CN106201375B (en) * 2016-07-01 2019-02-19 浪潮通用软件有限公司 A method of the network share print control based on WebSocket
CN108124007A (en) * 2017-12-19 2018-06-05 深圳交控科技有限公司 The method and apparatus of message data real-time Transmission
CN110691033A (en) * 2019-09-02 2020-01-14 视联动力信息技术股份有限公司 Monitoring data processing method and device and storage medium
CN111314313A (en) * 2020-01-19 2020-06-19 成都康赛信息技术有限公司 Cloud pushing method based on message
CN111355784B (en) * 2020-02-20 2022-10-25 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for processing request information
CN112565214A (en) * 2020-11-26 2021-03-26 中国船舶工业***工程研究院 Data transmission method, system and medium based on WebSocket
CN114579224A (en) * 2020-12-02 2022-06-03 永中软件股份有限公司 Method for acquiring browser closing event, computing device and computer readable medium
CN112859752B (en) * 2021-01-06 2021-12-28 华南师范大学 Remote monitoring management system of laser embroidery machine
CN112905928B (en) * 2021-05-07 2021-08-03 杭州米络星科技(集团)有限公司 Webpage refreshing method and device, electronic equipment and storage medium
CN113613348B (en) * 2021-08-11 2023-08-29 北京达佳互联信息技术有限公司 Connection establishment method, device, electronic equipment and storage medium
CN114363427A (en) * 2021-12-24 2022-04-15 北京鼎普科技股份有限公司 Method for acquiring information of host equipment in real time based on browser
CN114386152B (en) * 2022-01-14 2024-03-29 中国电建集团昆明勘测设计研究院有限公司 Light BIM model linkage labeling system based on WebSocket
CN114553945A (en) * 2022-01-15 2022-05-27 江苏秉信科技有限公司 Message pushing method for power intranet cloud platform-crossing unified framework gateway
CN115242766A (en) * 2022-08-02 2022-10-25 亚数信息科技(上海)有限公司 Method for HTTPS transparent gateway based on two-layer network bridge

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694430A (en) * 2005-05-25 2005-11-09 复旦大学 Gateway penetration method based on UDP flow media server of NAT
CN101184275A (en) * 2007-12-19 2008-05-21 Ut斯达康通讯有限公司 Service implementing method and system and mobile terminal of mobile terminal rolling screen amusement
CN101534302A (en) * 2009-04-16 2009-09-16 杭州华三通信技术有限公司 Method for providing TCP service, system and relevant device thereof
CN101741817A (en) * 2008-11-21 2010-06-16 ***通信集团安徽有限公司 System, device and method for multi-network integration
WO2010127327A1 (en) * 2009-05-01 2010-11-04 Kaazing Corporation Enterprise client-server system and methods of providing web application support through distributed emulation of websocket communications

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4737089B2 (en) * 2004-10-19 2011-07-27 日本電気株式会社 VPN gateway device and hosting system
CN101257450A (en) * 2008-03-28 2008-09-03 华为技术有限公司 Network safety protection method, gateway equipment, client terminal as well as network system
CN101350814A (en) * 2008-08-26 2009-01-21 成都卫士通信息产业股份有限公司 Safety remote access technology and gateway thereof
CN102025746B (en) * 2010-12-21 2013-04-17 北京星网锐捷网络技术有限公司 Method, device and network equipment for establishing transmission control protocol (TCP) connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694430A (en) * 2005-05-25 2005-11-09 复旦大学 Gateway penetration method based on UDP flow media server of NAT
CN101184275A (en) * 2007-12-19 2008-05-21 Ut斯达康通讯有限公司 Service implementing method and system and mobile terminal of mobile terminal rolling screen amusement
CN101741817A (en) * 2008-11-21 2010-06-16 ***通信集团安徽有限公司 System, device and method for multi-network integration
CN101534302A (en) * 2009-04-16 2009-09-16 杭州华三通信技术有限公司 Method for providing TCP service, system and relevant device thereof
WO2010127327A1 (en) * 2009-05-01 2010-11-04 Kaazing Corporation Enterprise client-server system and methods of providing web application support through distributed emulation of websocket communications

Also Published As

Publication number Publication date
CN102546794A (en) 2012-07-04
WO2013097401A1 (en) 2013-07-04

Similar Documents

Publication Publication Date Title
CN102546794B (en) Method for directly communicating browser client with back-end server as well as gateway and communication system
CN110300050A (en) Information push method, device, computer equipment and storage medium
CN107018147B (en) Internet of things communication method and system and gateway module
US7426194B2 (en) System and method for asynchronous wireless services using reverse service schema generation
CN102904959B (en) Network accelerating method and gateway
KR100978336B1 (en) Remote access
CN110661871B (en) Data transmission method and MQTT server
CN104363291A (en) Network communication middleware implementation method
CN113132376A (en) Media data processing method, device and system, electronic equipment and storage medium
CN102594886B (en) Method and device for direct communication between browsers, and communication system
WO2012151980A1 (en) Service processing server, system, and method
CN105050202A (en) Method of establishing communication session using active connection of mobile terminal to relay server
CN108683653A (en) A kind of active message push system based on WebSocket
Hou et al. Design and implementation of application programming interface for Internet of things cloud
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN101183946A (en) Method and system of obtaining resource listing of download file
WO2010133097A1 (en) Data sharing method, server and data sharing system for widget system
CN104539510A (en) Multi-protocol-based information pushing system and method
CN104320441A (en) Method of sharing information between wireless communication systems
CN114157537A (en) System and method for realizing multi-source heterogeneous data access by general equipment gateway
CN108924773B (en) Message processing method and device
WO2011130962A1 (en) Remote processing method, device and system
Cui et al. Research and Implementation of WEBRTC Signaling via websocket-based for real-time multimedia communications
CN103731400A (en) Resource sharing system and method
CN104683419B (en) A kind of communication means and system based on Android system and m2m

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant